Class: Google::Apis::ComputeBeta::SnapshotGroupSourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SnapshotGroupSourceInfo
- 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) ⇒ SnapshotGroupSourceInfo
constructor
A new instance of SnapshotGroupSourceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SnapshotGroupSourceInfo
Returns a new instance of SnapshotGroupSourceInfo.
63748 63749 63750 |
# File 'lib/google/apis/compute_beta/classes.rb', line 63748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consistency_group ⇒ String
Corresponds to the JSON property consistencyGroup
63741 63742 63743 |
# File 'lib/google/apis/compute_beta/classes.rb', line 63741 def consistency_group @consistency_group end |
#consistency_group_id ⇒ String
Corresponds to the JSON property consistencyGroupId
63746 63747 63748 |
# File 'lib/google/apis/compute_beta/classes.rb', line 63746 def consistency_group_id @consistency_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
63753 63754 63755 63756 |
# File 'lib/google/apis/compute_beta/classes.rb', line 63753 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 |