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.



24542
24543
24544
# File 'lib/google/apis/compute_alpha/classes.rb', line 24542

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)


24535
24536
24537
# File 'lib/google/apis/compute_alpha/classes.rb', line 24535

def accelerator_topology
  @accelerator_topology
end

#accelerator_topology_healthString

Corresponds to the JSON property acceleratorTopologyHealth

Returns:

  • (String)


24540
24541
24542
# File 'lib/google/apis/compute_alpha/classes.rb', line 24540

def accelerator_topology_health
  @accelerator_topology_health
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24547
24548
24549
24550
# File 'lib/google/apis/compute_alpha/classes.rb', line 24547

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)
end