Class: Google::Apis::ComputeAlpha::InstantSnapshotGroupSourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstantSnapshotGroupSourceInfo
- 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
-
#consistency_group ⇒ String
Corresponds to the JSON property
consistencyGroup. -
#consistency_group_id ⇒ String
Corresponds to the JSON property
consistencyGroupId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstantSnapshotGroupSourceInfo
constructor
A new instance of InstantSnapshotGroupSourceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstantSnapshotGroupSourceInfo
Returns a new instance of InstantSnapshotGroupSourceInfo.
33118 33119 33120 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 33118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consistency_group ⇒ String
Corresponds to the JSON property consistencyGroup
33111 33112 33113 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 33111 def consistency_group @consistency_group end |
#consistency_group_id ⇒ String
Corresponds to the JSON property consistencyGroupId
33116 33117 33118 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 33116 def consistency_group_id @consistency_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33123 33124 33125 33126 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 33123 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 |