Class: Google::Apis::ComputeAlpha::SnapshotGroupSourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SnapshotGroupSourceInfo
- 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) ⇒ 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.
70946 70947 70948 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70946 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consistency_group ⇒ String
Corresponds to the JSON property consistencyGroup
70939 70940 70941 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70939 def consistency_group @consistency_group end |
#consistency_group_id ⇒ String
Corresponds to the JSON property consistencyGroupId
70944 70945 70946 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70944 def consistency_group_id @consistency_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70951 70952 70953 70954 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70951 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 |