Class: Google::Apis::ComputeBeta::MultiMigStatus

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) ⇒ MultiMigStatus

Returns a new instance of MultiMigStatus.



37340
37341
37342
# File 'lib/google/apis/compute_beta/classes.rb', line 37340

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

Instance Attribute Details

#applied_accelerator_topologiesArray<Google::Apis::ComputeBeta::MultiMigStatusAcceleratorTopology>

Output only. [Output Only] The accelerator topology applied to this multi-MIG. Currently only one accelerator topology is supported. Corresponds to the JSON property appliedAcceleratorTopologies



37331
37332
37333
# File 'lib/google/apis/compute_beta/classes.rb', line 37331

def applied_accelerator_topologies
  @applied_accelerator_topologies
end

#members_countFixnum

Output only. [Output Only] The number of instance group manager members in this multi-MIG. Corresponds to the JSON property membersCount

Returns:

  • (Fixnum)


37338
37339
37340
# File 'lib/google/apis/compute_beta/classes.rb', line 37338

def members_count
  @members_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37345
37346
37347
37348
# File 'lib/google/apis/compute_beta/classes.rb', line 37345

def update!(**args)
  @applied_accelerator_topologies = args[:applied_accelerator_topologies] if args.key?(:applied_accelerator_topologies)
  @members_count = args[:members_count] if args.key?(:members_count)
end