Class: Google::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo
- 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
-
#accelerator_topology ⇒ String
Topology in the format of: "16x16", "4x4x4", etc.
-
#accelerator_topology_health ⇒ String
Corresponds to the JSON property
acceleratorTopologyHealth. -
#accelerator_topology_state ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState
Specifies the topology state Corresponds to the JSON property
acceleratorTopologyState. -
#instances_health ⇒ String
Corresponds to the JSON property
instancesHealth. -
#parent ⇒ String
Identified by the topology Id in the accelerator_topology_info map.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo
constructor
A new instance of InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo
Returns a new instance of InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo.
28642 28643 28644 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28642 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_topology ⇒ String
Topology in the format of: "16x16", "4x4x4", etc.
Corresponds to the JSON property acceleratorTopology
28619 28620 28621 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28619 def accelerator_topology @accelerator_topology end |
#accelerator_topology_health ⇒ String
Corresponds to the JSON property acceleratorTopologyHealth
28624 28625 28626 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28624 def accelerator_topology_health @accelerator_topology_health end |
#accelerator_topology_state ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState
Specifies the topology state
Corresponds to the JSON property acceleratorTopologyState
28629 28630 28631 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28629 def accelerator_topology_state @accelerator_topology_state end |
#instances_health ⇒ String
Corresponds to the JSON property instancesHealth
28634 28635 28636 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28634 def instances_health @instances_health end |
#parent ⇒ String
Identified by the topology Id in the accelerator_topology_info map. Empty
for the top-level topology
Corresponds to the JSON property parent
28640 28641 28642 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28640 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28647 28648 28649 28650 28651 28652 28653 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28647 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 |