Class: Google::Apis::ComputeBeta::SnapshotGroupSourceInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SnapshotGroupSourceInfo

Returns a new instance of SnapshotGroupSourceInfo.



60369
60370
60371
# File 'lib/google/apis/compute_beta/classes.rb', line 60369

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#consistency_groupString

Corresponds to the JSON property consistencyGroup

Returns:

  • (String)


60362
60363
60364
# File 'lib/google/apis/compute_beta/classes.rb', line 60362

def consistency_group
  @consistency_group
end

#consistency_group_idString

Corresponds to the JSON property consistencyGroupId

Returns:

  • (String)


60367
60368
60369
# File 'lib/google/apis/compute_beta/classes.rb', line 60367

def consistency_group_id
  @consistency_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60374
60375
60376
60377
# File 'lib/google/apis/compute_beta/classes.rb', line 60374

def update!(**args)
  @consistency_group = args[:consistency_group] if args.key?(:consistency_group)
  @consistency_group_id = args[:consistency_group_id] if args.key?(:consistency_group_id)
end