# AcceleratorConfig

- [JSON representation](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/AcceleratorConfig#SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/AcceleratorConfig#Type)

A TPU accelerator configuration.

| JSON representation |
|---|
| ``` { "type": enum (`https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/AcceleratorConfig#Type`), "topology": string } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/AcceleratorConfig#Type`)`` Required. Type of TPU. |
| `topology` | `string` Required. Topology of TPU in chips. |

## Type

TPU type.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Unspecified version. |
| `V2` | TPU v2. |
| `V3` | TPU v3. |
| `V4` | TPU v4. |
| `V5LITE_POD` | TPU v5lite pod. |
| `V5P` | TPU v5. |
| `V6E` | TPU v6e. |