Class: Google::Apis::ComputeAlpha::SnapshotGroupSourceInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SnapshotGroupSourceInfo

Returns a new instance of SnapshotGroupSourceInfo.



72315
72316
72317
# File 'lib/google/apis/compute_alpha/classes.rb', line 72315

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

Instance Attribute Details

#consistency_groupString

Corresponds to the JSON property consistencyGroup

Returns:

  • (String)


72308
72309
72310
# File 'lib/google/apis/compute_alpha/classes.rb', line 72308

def consistency_group
  @consistency_group
end

#consistency_group_idString

Corresponds to the JSON property consistencyGroupId

Returns:

  • (String)


72313
72314
72315
# File 'lib/google/apis/compute_alpha/classes.rb', line 72313

def consistency_group_id
  @consistency_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



72320
72321
72322
72323
# File 'lib/google/apis/compute_alpha/classes.rb', line 72320

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