Class: Google::Apis::ComputeAlpha::SnapshotGroupSourceInstantSnapshotGroupInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SnapshotGroupSourceInstantSnapshotGroupInfo
- 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
-
#instant_snapshot_group ⇒ String
Corresponds to the JSON property
instantSnapshotGroup. -
#instant_snapshot_group_id ⇒ String
Corresponds to the JSON property
instantSnapshotGroupId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SnapshotGroupSourceInstantSnapshotGroupInfo
constructor
A new instance of SnapshotGroupSourceInstantSnapshotGroupInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SnapshotGroupSourceInstantSnapshotGroupInfo
Returns a new instance of SnapshotGroupSourceInstantSnapshotGroupInfo.
70914 70915 70916 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70914 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instant_snapshot_group ⇒ String
Corresponds to the JSON property instantSnapshotGroup
70907 70908 70909 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70907 def instant_snapshot_group @instant_snapshot_group end |
#instant_snapshot_group_id ⇒ String
Corresponds to the JSON property instantSnapshotGroupId
70912 70913 70914 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70912 def instant_snapshot_group_id @instant_snapshot_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70919 70920 70921 70922 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 70919 def update!(**args) @instant_snapshot_group = args[:instant_snapshot_group] if args.key?(:instant_snapshot_group) @instant_snapshot_group_id = args[:instant_snapshot_group_id] if args.key?(:instant_snapshot_group_id) end |