Method: projects.locations.nodes.list

Lists nodes.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource name.

Query parameters

Parameters
pageSize

number

The maximum number of items to return.

pageToken

string

The nextPageToken value returned from a previous List request, if any.

Request body

The request body must be empty.

Response body

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

Response for nodes.list.

JSON representation
{
  "nodes": [
    {
      object (Node)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
nodes[]

object (Node)

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.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Need help? Visit our support page.