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.



34439
34440
34441
# File 'lib/google/apis/compute_beta/classes.rb', line 34439

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



34430
34431
34432
# File 'lib/google/apis/compute_beta/classes.rb', line 34430

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)


34437
34438
34439
# File 'lib/google/apis/compute_beta/classes.rb', line 34437

def members_count
  @members_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34444
34445
34446
34447
# File 'lib/google/apis/compute_beta/classes.rb', line 34444

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