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.



37889
37890
37891
# File 'lib/google/apis/compute_beta/classes.rb', line 37889

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



37880
37881
37882
# File 'lib/google/apis/compute_beta/classes.rb', line 37880

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)


37887
37888
37889
# File 'lib/google/apis/compute_beta/classes.rb', line 37887

def members_count
  @members_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37894
37895
37896
37897
# File 'lib/google/apis/compute_beta/classes.rb', line 37894

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