Class: Google::Apis::ComputeBeta::SnapshotGroupSourceInstantSnapshotGroupInfo

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SnapshotGroupSourceInstantSnapshotGroupInfo

Returns a new instance of SnapshotGroupSourceInstantSnapshotGroupInfo.



60394
60395
60396
# File 'lib/google/apis/compute_beta/classes.rb', line 60394

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

Instance Attribute Details

#instant_snapshot_groupString

Corresponds to the JSON property instantSnapshotGroup

Returns:

  • (String)


60387
60388
60389
# File 'lib/google/apis/compute_beta/classes.rb', line 60387

def instant_snapshot_group
  @instant_snapshot_group
end

#instant_snapshot_group_idString

Corresponds to the JSON property instantSnapshotGroupId

Returns:

  • (String)


60392
60393
60394
# File 'lib/google/apis/compute_beta/classes.rb', line 60392

def instant_snapshot_group_id
  @instant_snapshot_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60399
60400
60401
60402
# File 'lib/google/apis/compute_beta/classes.rb', line 60399

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