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.



61579
61580
61581
# File 'lib/google/apis/compute_beta/classes.rb', line 61579

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

Instance Attribute Details

#instant_snapshot_groupString

Corresponds to the JSON property instantSnapshotGroup

Returns:

  • (String)


61572
61573
61574
# File 'lib/google/apis/compute_beta/classes.rb', line 61572

def instant_snapshot_group
  @instant_snapshot_group
end

#instant_snapshot_group_idString

Corresponds to the JSON property instantSnapshotGroupId

Returns:

  • (String)


61577
61578
61579
# File 'lib/google/apis/compute_beta/classes.rb', line 61577

def instant_snapshot_group_id
  @instant_snapshot_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61584
61585
61586
61587
# File 'lib/google/apis/compute_beta/classes.rb', line 61584

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