# Cloud TPU API

TPU API provides customers with access to Google TPU technology.

- [REST Resource: v2alpha1.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations)
- [REST Resource: v2alpha1.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations.acceleratorTypes)
- [REST Resource: v2alpha1.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations.nodes)
- [REST Resource: v2alpha1.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations.operations)
- [REST Resource: v2alpha1.projects.locations.queuedResources](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations.queuedResources)
- [REST Resource: v2alpha1.projects.locations.reservations](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations.reservations)
- [REST Resource: v2alpha1.projects.locations.runtimeVersions](https://docs.cloud.google.com/tpu/docs/reference/rest#v2alpha1.projects.locations.runtimeVersions)
- [REST Resource: v2.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest#v2.projects.locations)
- [REST Resource: v2.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest#v2.projects.locations.acceleratorTypes)
- [REST Resource: v2.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest#v2.projects.locations.nodes)
- [REST Resource: v2.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest#v2.projects.locations.operations)
- [REST Resource: v2.projects.locations.queuedResources](https://docs.cloud.google.com/tpu/docs/reference/rest#v2.projects.locations.queuedResources)
- [REST Resource: v2.projects.locations.runtimeVersions](https://docs.cloud.google.com/tpu/docs/reference/rest#v2.projects.locations.runtimeVersions)
- [REST Resource: v1alpha1.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest#v1alpha1.projects.locations)
- [REST Resource: v1alpha1.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest#v1alpha1.projects.locations.acceleratorTypes)
- [REST Resource: v1alpha1.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest#v1alpha1.projects.locations.nodes)
- [REST Resource: v1alpha1.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest#v1alpha1.projects.locations.operations)
- [REST Resource: v1alpha1.projects.locations.tensorflowVersions](https://docs.cloud.google.com/tpu/docs/reference/rest#v1alpha1.projects.locations.tensorflowVersions)
- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest#v1.projects.locations.acceleratorTypes)
- [REST Resource: v1.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest#v1.projects.locations.nodes)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.tensorflowVersions](https://docs.cloud.google.com/tpu/docs/reference/rest#v1.projects.locations.tensorflowVersions)

## Service: tpu.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://tpu.googleapis.com/$discovery/rest?version=v2>
- <https://tpu.googleapis.com/$discovery/rest?version=v2alpha1>
- <https://tpu.googleapis.com/$discovery/rest?version=v1>
- <https://tpu.googleapis.com/$discovery/rest?version=v1alpha1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://tpu.googleapis.com`

## REST Resource: [v2alpha1.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations/generateServiceIdentity` | `POST /v2alpha1/{parent=projects/*/locations/*}:generateServiceIdentity` Generates the Cloud TPU service identity for the project. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations/get` | `GET /v2alpha1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations/list` | `GET /v2alpha1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v2alpha1.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.acceleratorTypes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.acceleratorTypes/get` | `GET /v2alpha1/{name=projects/*/locations/*/acceleratorTypes/*}` Gets AcceleratorType. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.acceleratorTypes/list` | `GET /v2alpha1/{parent=projects/*/locations/*}/acceleratorTypes` Lists accelerator types supported by this API. |

## REST Resource: [v2alpha1.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/create` | `POST /v2alpha1/{parent=projects/*/locations/*}/nodes` Creates a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/delete` | `DELETE /v2alpha1/{name=projects/*/locations/*/nodes/*}` Deletes a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/get` | `GET /v2alpha1/{name=projects/*/locations/*/nodes/*}` Gets the details of a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/getGuestAttributes` | `POST /v2alpha1/{name=projects/*/locations/*/nodes/*}:getGuestAttributes` Retrieves the guest attributes for the node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/list` | `GET /v2alpha1/{parent=projects/*/locations/*}/nodes` Lists nodes. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/patch` | `PATCH /v2alpha1/{node.name=projects/*/locations/*/nodes/*}` Updates the configurations of a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/performMaintenance` | `POST /v2alpha1/{name=projects/*/locations/*/nodes/*}:performMaintenance` Perform manual maintenance on a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/simulateMaintenanceEvent` | `POST /v2alpha1/{name=projects/*/locations/*/nodes/*}:simulateMaintenanceEvent` Simulates a maintenance event. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/start` | `POST /v2alpha1/{name=projects/*/locations/*/nodes/*}:start` Starts a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.nodes/stop` | `POST /v2alpha1/{name=projects/*/locations/*/nodes/*}:stop` Stops a node. |

## REST Resource: [v2alpha1.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.operations/cancel` | `POST /v2alpha1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.operations/delete` | `DELETE /v2alpha1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.operations/get` | `GET /v2alpha1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.operations/list` | `GET /v2alpha1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2alpha1.projects.locations.queuedResources](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/create` | `POST /v2alpha1/{parent=projects/*/locations/*}/queuedResources` Creates a QueuedResource TPU instance. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/delete` | `DELETE /v2alpha1/{name=projects/*/locations/*/queuedResources/*}` Deletes a QueuedResource TPU instance. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/get` | `GET /v2alpha1/{name=projects/*/locations/*/queuedResources/*}` Gets details of a queued resource. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/getMaintenanceInfo` | `GET /v2alpha1/{name=projects/*/locations/*/queuedResources/*}:getMaintenanceInfo` Gets the maintenance info for a queued resource. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/list` | `GET /v2alpha1/{parent=projects/*/locations/*}/queuedResources` Lists queued resources. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/performMaintenanceQueuedResource` | `POST /v2alpha1/{name=projects/*/locations/*/queuedResources/*}:performMaintenanceQueuedResource` Perform manual maintenance on specific nodes of a QueuedResource. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.queuedResources/reset` | `POST /v2alpha1/{name=projects/*/locations/*/queuedResources/*}:reset` Resets a QueuedResource TPU instance |

## REST Resource: [v2alpha1.projects.locations.reservations](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.reservations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.reservations/list` | `GET /v2alpha1/{parent=projects/*/locations/*}/reservations` Retrieves the reservations for the given project in the given location. |

## REST Resource: [v2alpha1.projects.locations.runtimeVersions](https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.runtimeVersions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.runtimeVersions/get` | `GET /v2alpha1/{name=projects/*/locations/*/runtimeVersions/*}` Gets a runtime version. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2alpha1/projects.locations.runtimeVersions/list` | `GET /v2alpha1/{parent=projects/*/locations/*}/runtimeVersions` Lists runtime versions supported by this API. |

## REST Resource: [v2.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations/generateServiceIdentity` | `POST /v2/{parent=projects/*/locations/*}:generateServiceIdentity` Generates the Cloud TPU service identity for the project. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations/get` | `GET /v2/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations/list` | `GET /v2/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v2.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.acceleratorTypes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.acceleratorTypes/get` | `GET /v2/{name=projects/*/locations/*/acceleratorTypes/*}` Gets AcceleratorType. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.acceleratorTypes/list` | `GET /v2/{parent=projects/*/locations/*}/acceleratorTypes` Lists accelerator types supported by this API. |

## REST Resource: [v2.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/create` | `POST /v2/{parent=projects/*/locations/*}/nodes` Creates a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/delete` | `DELETE /v2/{name=projects/*/locations/*/nodes/*}` Deletes a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/get` | `GET /v2/{name=projects/*/locations/*/nodes/*}` Gets the details of a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/getGuestAttributes` | `POST /v2/{name=projects/*/locations/*/nodes/*}:getGuestAttributes` Retrieves the guest attributes for the node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/list` | `GET /v2/{parent=projects/*/locations/*}/nodes` Lists nodes. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/patch` | `PATCH /v2/{node.name=projects/*/locations/*/nodes/*}` Updates the configurations of a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/start` | `POST /v2/{name=projects/*/locations/*/nodes/*}:start` Starts a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.nodes/stop` | `POST /v2/{name=projects/*/locations/*/nodes/*}:stop` Stops a node. |

## REST Resource: [v2.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.operations/cancel` | `POST /v2/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.operations/delete` | `DELETE /v2/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.operations/get` | `GET /v2/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.operations/list` | `GET /v2/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v2.projects.locations.queuedResources](https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.queuedResources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.queuedResources/create` | `POST /v2/{parent=projects/*/locations/*}/queuedResources` Creates a QueuedResource TPU instance. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.queuedResources/delete` | `DELETE /v2/{name=projects/*/locations/*/queuedResources/*}` Deletes a QueuedResource TPU instance. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.queuedResources/get` | `GET /v2/{name=projects/*/locations/*/queuedResources/*}` Gets details of a queued resource. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.queuedResources/list` | `GET /v2/{parent=projects/*/locations/*}/queuedResources` Lists queued resources. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.queuedResources/reset` | `POST /v2/{name=projects/*/locations/*/queuedResources/*}:reset` Resets a QueuedResource TPU instance |

## REST Resource: [v2.projects.locations.runtimeVersions](https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.runtimeVersions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.runtimeVersions/get` | `GET /v2/{name=projects/*/locations/*/runtimeVersions/*}` Gets a runtime version. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v2/projects.locations.runtimeVersions/list` | `GET /v2/{parent=projects/*/locations/*}/runtimeVersions` Lists runtime versions supported by this API. |

## REST Resource: [v1alpha1.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations/get` | `GET /v1alpha1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations/list` | `GET /v1alpha1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1alpha1.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.acceleratorTypes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.acceleratorTypes/get (deprecated)` | `GET /v1alpha1/{name=projects/*/locations/*/acceleratorTypes/*}` Gets AcceleratorType. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.acceleratorTypes/list (deprecated)` | `GET /v1alpha1/{parent=projects/*/locations/*}/acceleratorTypes` Lists accelerator types supported by this API. |

## REST Resource: [v1alpha1.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/create (deprecated)` | `POST /v1alpha1/{parent=projects/*/locations/*}/nodes` Creates a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/delete (deprecated)` | `DELETE /v1alpha1/{name=projects/*/locations/*/nodes/*}` Deletes a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/get (deprecated)` | `GET /v1alpha1/{name=projects/*/locations/*/nodes/*}` Gets the details of a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/list (deprecated)` | `GET /v1alpha1/{parent=projects/*/locations/*}/nodes` Lists nodes. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/reimage (deprecated)` | `POST /v1alpha1/{name=projects/*/locations/*/nodes/*}:reimage` Reimages a node's OS. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/start (deprecated)` | `POST /v1alpha1/{name=projects/*/locations/*/nodes/*}:start` Starts a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.nodes/stop (deprecated)` | `POST /v1alpha1/{name=projects/*/locations/*/nodes/*}:stop` Stops a node. |

## REST Resource: [v1alpha1.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.operations/cancel` | `POST /v1alpha1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.operations/delete` | `DELETE /v1alpha1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.operations/get` | `GET /v1alpha1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.operations/list` | `GET /v1alpha1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1alpha1.projects.locations.tensorflowVersions](https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.tensorflowVersions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.tensorflowVersions/get (deprecated)` | `GET /v1alpha1/{name=projects/*/locations/*/tensorflowVersions/*}` Gets TensorFlow Version. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1alpha1/projects.locations.tensorflowVersions/list (deprecated)` | `GET /v1alpha1/{parent=projects/*/locations/*}/tensorflowVersions` Lists TensorFlow versions supported by this API. |

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations/list` | `GET /v1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1.projects.locations.acceleratorTypes](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.acceleratorTypes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.acceleratorTypes/get (deprecated)` | `GET /v1/{name=projects/*/locations/*/acceleratorTypes/*}` Gets AcceleratorType. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.acceleratorTypes/list (deprecated)` | `GET /v1/{parent=projects/*/locations/*}/acceleratorTypes` Lists accelerator types supported by this API. |

## REST Resource: [v1.projects.locations.nodes](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/create (deprecated)` | `POST /v1/{parent=projects/*/locations/*}/nodes` Creates a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/delete (deprecated)` | `DELETE /v1/{name=projects/*/locations/*/nodes/*}` Deletes a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/get (deprecated)` | `GET /v1/{name=projects/*/locations/*/nodes/*}` Gets the details of a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/list (deprecated)` | `GET /v1/{parent=projects/*/locations/*}/nodes` Lists nodes. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/reimage (deprecated)` | `POST /v1/{name=projects/*/locations/*/nodes/*}:reimage` Reimages a node's OS. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/start (deprecated)` | `POST /v1/{name=projects/*/locations/*/nodes/*}:start` Starts a node. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.nodes/stop (deprecated)` | `POST /v1/{name=projects/*/locations/*/nodes/*}:stop` Stops a node, this operation is only available with single TPU nodes. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1.projects.locations.tensorflowVersions](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/get (deprecated)` | `GET /v1/{name=projects/*/locations/*/tensorflowVersions/*}` Gets TensorFlow Version. |
| `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list (deprecated)` | `GET /v1/{parent=projects/*/locations/*}/tensorflowVersions` List TensorFlow versions supported by this API. |