Method: projects.locations.generateServiceIdentity

Generates the Cloud TPU service identity for the project.

HTTP request

POST https://tpu.googleapis.com/v2/{parent=projects/*/locations/*}:generateServiceIdentity

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name.

Request body

The request body must be empty.

Response body

Response for locations.generateServiceIdentity.

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

JSON representation
{
  "identity": {
    object (ServiceIdentity)
  }
}
Fields
identity

object (ServiceIdentity)

ServiceIdentity that was created or retrieved.

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.

ServiceIdentity

The per-product per-project service identity for Cloud TPU service.

JSON representation
{
  "email": string
}
Fields
email

string

The email address of the service identity.