Class: Google::Apis::ComputeAlpha::InstantSnapshotGroupSourceInfo

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) ⇒ InstantSnapshotGroupSourceInfo

Returns a new instance of InstantSnapshotGroupSourceInfo.



27598
27599
27600
# File 'lib/google/apis/compute_alpha/classes.rb', line 27598

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

Instance Attribute Details

#consistency_groupString

Corresponds to the JSON property consistencyGroup

Returns:

  • (String)


27591
27592
27593
# File 'lib/google/apis/compute_alpha/classes.rb', line 27591

def consistency_group
  @consistency_group
end

#consistency_group_idString

Corresponds to the JSON property consistencyGroupId

Returns:

  • (String)


27596
27597
27598
# File 'lib/google/apis/compute_alpha/classes.rb', line 27596

def consistency_group_id
  @consistency_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27603
27604
27605
27606
# File 'lib/google/apis/compute_alpha/classes.rb', line 27603

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