Class: Google::Apis::ComputeV1::InstantSnapshotGroupSourceInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstantSnapshotGroupSourceInfo

Returns a new instance of InstantSnapshotGroupSourceInfo.



27935
27936
27937
# File 'lib/google/apis/compute_v1/classes.rb', line 27935

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

Instance Attribute Details

#consistency_groupString

Corresponds to the JSON property consistencyGroup

Returns:

  • (String)


27928
27929
27930
# File 'lib/google/apis/compute_v1/classes.rb', line 27928

def consistency_group
  @consistency_group
end

#consistency_group_idString

Corresponds to the JSON property consistencyGroupId

Returns:

  • (String)


27933
27934
27935
# File 'lib/google/apis/compute_v1/classes.rb', line 27933

def consistency_group_id
  @consistency_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27940
27941
27942
27943
# File 'lib/google/apis/compute_v1/classes.rb', line 27940

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