Class: Google::Apis::ComputeBeta::AcceleratorTopologiesInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::AcceleratorTopologiesInfo
- 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
Overview
Info for accelerator topologies within a densely packed reservation.
Instance Attribute Summary collapse
-
#accelerator_topology_infos ⇒ Array<Google::Apis::ComputeBeta::AcceleratorTopologiesInfoAcceleratorTopologyInfo>
Info for each accelerator topology.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AcceleratorTopologiesInfo
constructor
A new instance of AcceleratorTopologiesInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AcceleratorTopologiesInfo
Returns a new instance of AcceleratorTopologiesInfo.
113 114 115 |
# File 'lib/google/apis/compute_beta/classes.rb', line 113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_topology_infos ⇒ Array<Google::Apis::ComputeBeta::AcceleratorTopologiesInfoAcceleratorTopologyInfo>
Info for each accelerator topology.
Corresponds to the JSON property acceleratorTopologyInfos
111 112 113 |
# File 'lib/google/apis/compute_beta/classes.rb', line 111 def accelerator_topology_infos @accelerator_topology_infos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
118 119 120 |
# File 'lib/google/apis/compute_beta/classes.rb', line 118 def update!(**args) @accelerator_topology_infos = args[:accelerator_topology_infos] if args.key?(:accelerator_topology_infos) end |