Class: Google::Apis::ComputeAlpha::AcceleratorTopologiesInfo

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

Overview

Info for accelerator topologies within a densely packed reservation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AcceleratorTopologiesInfo

Returns a new instance of AcceleratorTopologiesInfo.



316
317
318
# File 'lib/google/apis/compute_alpha/classes.rb', line 316

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accelerator_topology_infosArray<Google::Apis::ComputeAlpha::AcceleratorTopologiesInfoAcceleratorTopologyInfo>

Info for each accelerator topology. Corresponds to the JSON property acceleratorTopologyInfos



314
315
316
# File 'lib/google/apis/compute_alpha/classes.rb', line 314

def accelerator_topology_infos
  @accelerator_topology_infos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



321
322
323
# File 'lib/google/apis/compute_alpha/classes.rb', line 321

def update!(**args)
  @accelerator_topology_infos = args[:accelerator_topology_infos] if args.key?(:accelerator_topology_infos)
end