Class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusAcceleratorTopology
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstanceGroupManagerStatusAcceleratorTopology
- 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
-
#accelerator_topology ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#state_details ⇒ Google::Apis::ComputeBeta::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerStatusAcceleratorTopology
constructor
A new instance of InstanceGroupManagerStatusAcceleratorTopology.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerStatusAcceleratorTopology
Returns a new instance of InstanceGroupManagerStatusAcceleratorTopology.
25274 25275 25276 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_topology ⇒ String
Output only. Topology in the format of: "16x16", "4x4x4", etc.
The value is the same as configured in the WorkloadPolicy.
Corresponds to the JSON property acceleratorTopology
25261 25262 25263 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25261 def accelerator_topology @accelerator_topology end |
#state ⇒ String
Output only. The state of the accelerator topology.
Corresponds to the JSON property state
25266 25267 25268 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25266 def state @state end |
#state_details ⇒ Google::Apis::ComputeBeta::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails
Output only. The result of the latest accelerator topology state
check.
Corresponds to the JSON property stateDetails
25272 25273 25274 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25272 def state_details @state_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25279 25280 25281 25282 25283 |
# File 'lib/google/apis/compute_beta/classes.rb', line 25279 def update!(**args) @accelerator_topology = args[:accelerator_topology] if args.key?(:accelerator_topology) @state = args[:state] if args.key?(:state) @state_details = args[:state_details] if args.key?(:state_details) end |