Cloud Workstations V1BETA API - Class Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator (v0.1.2)

Reference documentation and code samples for the Cloud Workstations V1BETA API class Google::Cloud::Workstations::V1beta::WorkstationConfig::Host::GceInstance::Accelerator.

An accelerator card attached to the instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Integer
Returns
  • (::Integer) — Optional. Number of accelerator cards exposed to the instance.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Number of accelerator cards exposed to the instance.
Returns
  • (::Integer) — Optional. Number of accelerator cards exposed to the instance.

#type

def type() -> ::String
Returns
  • (::String) — Optional. Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Optional. Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
Returns
  • (::String) — Optional. Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".