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.



29341
29342
29343
# File 'lib/google/apis/compute_alpha/classes.rb', line 29341

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)


29318
29319
29320
# File 'lib/google/apis/compute_alpha/classes.rb', line 29318

def accelerator_topology
  @accelerator_topology
end

#accelerator_topology_healthString

Corresponds to the JSON property acceleratorTopologyHealth

Returns:

  • (String)


29323
29324
29325
# File 'lib/google/apis/compute_alpha/classes.rb', line 29323

def accelerator_topology_health
  @accelerator_topology_health
end

#accelerator_topology_stateGoogle::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState

Specifies the topology state Corresponds to the JSON property acceleratorTopologyState



29328
29329
29330
# File 'lib/google/apis/compute_alpha/classes.rb', line 29328

def accelerator_topology_state
  @accelerator_topology_state
end

#instances_healthString

Corresponds to the JSON property instancesHealth

Returns:

  • (String)


29333
29334
29335
# File 'lib/google/apis/compute_alpha/classes.rb', line 29333

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)


29339
29340
29341
# File 'lib/google/apis/compute_alpha/classes.rb', line 29339

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29346
29347
29348
29349
29350
29351
29352
# File 'lib/google/apis/compute_alpha/classes.rb', line 29346

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