Class Google::Cloud::Container::V1::AcceleratorConfig (v0.7.3)

AcceleratorConfig represents a Hardware Accelerator request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_count

def accelerator_count() -> ::Integer
Returns
  • (::Integer) — The number of the accelerator cards exposed to an instance.

#accelerator_count=

def accelerator_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of the accelerator cards exposed to an instance.
Returns
  • (::Integer) — The number of the accelerator cards exposed to an instance.

#accelerator_type

def accelerator_type() -> ::String
Returns
  • (::String) — The accelerator type resource name. List of supported accelerators here

#accelerator_type=

def accelerator_type=(value) -> ::String
Parameter
  • value (::String) — The accelerator type resource name. List of supported accelerators here
Returns
  • (::String) — The accelerator type resource name. List of supported accelerators here