Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::MachineSpec (v0.12.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::MachineSpec.

Specification of a single machine.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_count

def accelerator_count() -> ::Integer
Returns
  • (::Integer) — The number of accelerators to attach to the machine.

#accelerator_count=

def accelerator_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of accelerators to attach to the machine.
Returns
  • (::Integer) — The number of accelerators to attach to the machine.

#accelerator_type

def accelerator_type() -> ::Google::Cloud::AIPlatform::V1::AcceleratorType
Returns

#accelerator_type=

def accelerator_type=(value) -> ::Google::Cloud::AIPlatform::V1::AcceleratorType
Parameter
Returns

#machine_type

def machine_type() -> ::String
Returns

#machine_type=

def machine_type=(value) -> ::String
Parameter
Returns