# Method: projects.locations.tensorflowVersions.list

- [HTTP request](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.request_body)
- [Response body](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.ListTensorFlowVersionsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#try-it)

> [!WARNING]
> This item is deprecated!

List TensorFlow versions supported by this API.

### HTTP request

`GET https://tpu.googleapis.com/v1/{parent=projects/*/locations/*}/tensorflowVersions`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent resource name. |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` The maximum number of items to return. |
| `pageToken` | `string` The nextPageToken value returned from a previous List request, if any. |
| `filter` | `string` List filter. |
| `orderBy` | `string` Sort results. |

### Request body

The request body must be empty.

### Response body

> [!WARNING]
> This item is deprecated!

Response for `https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions/list#google.cloud.tpu.v1.Tpu.ListTensorFlowVersions`.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "tensorflowVersions": [ { object (`https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions#TensorFlowVersion`) } ], "nextPageToken": string, "unreachable": [ string ] } ``` |

| Fields ||
|---|---|
| `tensorflowVersions[]` | ``object (`https://docs.cloud.google.com/tpu/docs/reference/rest/v1/projects.locations.tensorflowVersions#TensorFlowVersion`)`` The listed nodes. |
| `nextPageToken` | `string` The next page token or empty if none. |
| `unreachable[]` | `string` Locations that could not be reached. |

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud.tpu`
- `
  https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `tpu.tensorflowversions.list`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).