# Cloud TPU V1 API - Class Google::Cloud::Tpu::V1::AcceleratorType (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud TPU V1 API class Google::Cloud::Tpu::V1::AcceleratorType.

A accelerator type that a Node can be configured with.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- The resource name.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The resource name.
**Returns**

- (::String) --- The resource name.

### #type

    def type() -> ::String

**Returns**

- (::String) --- the accelerator type.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::String) --- the accelerator type.
**Returns**

- (::String) --- the accelerator type.