Class: Google::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo

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

Returns a new instance of InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo.



26293
26294
26295
# File 'lib/google/apis/compute_beta/classes.rb', line 26293

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

Instance Attribute Details

#accelerator_topologyString

Topology in the format of: "16x16", "4x4x4", etc. Corresponds to the JSON property acceleratorTopology

Returns:

  • (String)


26270
26271
26272
# File 'lib/google/apis/compute_beta/classes.rb', line 26270

def accelerator_topology
  @accelerator_topology
end

#accelerator_topology_healthString

Corresponds to the JSON property acceleratorTopologyHealth

Returns:

  • (String)


26275
26276
26277
# File 'lib/google/apis/compute_beta/classes.rb', line 26275

def accelerator_topology_health
  @accelerator_topology_health
end

#accelerator_topology_stateGoogle::Apis::ComputeBeta::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState

Specifies the topology state Corresponds to the JSON property acceleratorTopologyState



26280
26281
26282
# File 'lib/google/apis/compute_beta/classes.rb', line 26280

def accelerator_topology_state
  @accelerator_topology_state
end

#instances_healthString

Corresponds to the JSON property instancesHealth

Returns:

  • (String)


26285
26286
26287
# File 'lib/google/apis/compute_beta/classes.rb', line 26285

def instances_health
  @instances_health
end

#parentString

Identified by the topology Id in the accelerator_topology_info map. Empty for the top-level topology Corresponds to the JSON property parent

Returns:

  • (String)


26291
26292
26293
# File 'lib/google/apis/compute_beta/classes.rb', line 26291

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26298
26299
26300
26301
26302
26303
26304
# File 'lib/google/apis/compute_beta/classes.rb', line 26298

def update!(**args)
  @accelerator_topology = args[:accelerator_topology] if args.key?(:accelerator_topology)
  @accelerator_topology_health = args[:accelerator_topology_health] if args.key?(:accelerator_topology_health)
  @accelerator_topology_state = args[:accelerator_topology_state] if args.key?(:accelerator_topology_state)
  @instances_health = args[:instances_health] if args.key?(:instances_health)
  @parent = args[:parent] if args.key?(:parent)
end