# Cloud TPU v1 API - Class AcceleratorType (2.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorType)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.4.0/Google.Cloud.Tpu.V1.AcceleratorType)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.3.0/Google.Cloud.Tpu.V1.AcceleratorType)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.2.0/Google.Cloud.Tpu.V1.AcceleratorType)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.1.0/Google.Cloud.Tpu.V1.AcceleratorType)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.0.0/Google.Cloud.Tpu.V1.AcceleratorType)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/1.1.0/Google.Cloud.Tpu.V1.AcceleratorType)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/1.0.0/Google.Cloud.Tpu.V1.AcceleratorType)

    public sealed class AcceleratorType : IMessage<AcceleratorType>, IEquatable<AcceleratorType>, IDeepCloneable<AcceleratorType>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud TPU v1 API class AcceleratorType.

A accelerator type that a Node can be configured with.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AcceleratorType

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AcceleratorType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorType), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AcceleratorType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorType), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AcceleratorType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorType), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Tpu.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1)

## Assembly

Google.Cloud.Tpu.V1.dll

## Constructors

### AcceleratorType()

    public AcceleratorType()

### AcceleratorType(AcceleratorType)

    public AcceleratorType(AcceleratorType other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorType` |

## Properties

### AcceleratorTypeName

    public AcceleratorTypeName AcceleratorTypeName { get; set; }

[AcceleratorTypeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorTypeName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorType#Google_Cloud_Tpu_V1_AcceleratorType_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.AcceleratorTypeName` |   |

### Name

    public string Name { get; set; }

The resource name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Type

    public string Type { get; set; }

the accelerator type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |