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

0.10.0 (latest) 0.9.0 0.8.1 0.7.1 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.3 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"`.