Class: Google::Apis::ComputeBeta::InstantSnapshotGroupSourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstantSnapshotGroupSourceInfo
- 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
-
#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.
28229 28230 28231 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consistency_group ⇒ String
Corresponds to the JSON property consistencyGroup
28222 28223 28224 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28222 def consistency_group @consistency_group end |
#consistency_group_id ⇒ String
Corresponds to the JSON property consistencyGroupId
28227 28228 28229 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28227 def consistency_group_id @consistency_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28234 28235 28236 28237 |
# File 'lib/google/apis/compute_beta/classes.rb', line 28234 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 |