Class: Google::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo

Returns a new instance of InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo.



30437
30438
30439
# File 'lib/google/apis/compute_alpha/classes.rb', line 30437

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)


30414
30415
30416
# File 'lib/google/apis/compute_alpha/classes.rb', line 30414

def accelerator_topology
  @accelerator_topology
end

#accelerator_topology_healthString

Corresponds to the JSON property acceleratorTopologyHealth

Returns:

  • (String)


30419
30420
30421
# File 'lib/google/apis/compute_alpha/classes.rb', line 30419

def accelerator_topology_health
  @accelerator_topology_health
end

#accelerator_topology_stateGoogle::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState

Specifies the topology state Corresponds to the JSON property acceleratorTopologyState



30424
30425
30426
# File 'lib/google/apis/compute_alpha/classes.rb', line 30424

def accelerator_topology_state
  @accelerator_topology_state
end

#instances_healthString

Corresponds to the JSON property instancesHealth

Returns:

  • (String)


30429
30430
30431
# File 'lib/google/apis/compute_alpha/classes.rb', line 30429

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)


30435
30436
30437
# File 'lib/google/apis/compute_alpha/classes.rb', line 30435

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30442
30443
30444
30445
30446
30447
30448
# File 'lib/google/apis/compute_alpha/classes.rb', line 30442

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