Class: Google::Apis::ComputeAlpha::SnapshotGroupSourceInstantSnapshotGroupInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SnapshotGroupSourceInstantSnapshotGroupInfo

Returns a new instance of SnapshotGroupSourceInstantSnapshotGroupInfo.



69199
69200
69201
# File 'lib/google/apis/compute_alpha/classes.rb', line 69199

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instant_snapshot_groupString

Corresponds to the JSON property instantSnapshotGroup

Returns:

  • (String)


69192
69193
69194
# File 'lib/google/apis/compute_alpha/classes.rb', line 69192

def instant_snapshot_group
  @instant_snapshot_group
end

#instant_snapshot_group_idString

Corresponds to the JSON property instantSnapshotGroupId

Returns:

  • (String)


69197
69198
69199
# File 'lib/google/apis/compute_alpha/classes.rb', line 69197

def instant_snapshot_group_id
  @instant_snapshot_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69204
69205
69206
69207
# File 'lib/google/apis/compute_alpha/classes.rb', line 69204

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