Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig (v0.1.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig.

A specification of the type and number of accelerator cards attached to the instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

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

#count=

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

#type

def type() -> ::String
Returns
  • (::String) — Accelerator name. See https://cloud.google.com/compute/docs/gpus/#introduction for a full list of accelerator types.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Accelerator name. See https://cloud.google.com/compute/docs/gpus/#introduction for a full list of accelerator types.
Returns
  • (::String) — Accelerator name. See https://cloud.google.com/compute/docs/gpus/#introduction for a full list of accelerator types.