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.



35755
35756
35757
# File 'lib/google/apis/compute_beta/classes.rb', line 35755

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



35746
35747
35748
# File 'lib/google/apis/compute_beta/classes.rb', line 35746

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)


35753
35754
35755
# File 'lib/google/apis/compute_beta/classes.rb', line 35753

def members_count
  @members_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35760
35761
35762
35763
# File 'lib/google/apis/compute_beta/classes.rb', line 35760

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