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.



37387
37388
37389
# File 'lib/google/apis/compute_beta/classes.rb', line 37387

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



37378
37379
37380
# File 'lib/google/apis/compute_beta/classes.rb', line 37378

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)


37385
37386
37387
# File 'lib/google/apis/compute_beta/classes.rb', line 37385

def members_count
  @members_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37392
37393
37394
37395
# File 'lib/google/apis/compute_beta/classes.rb', line 37392

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