Method: projects.locations.generateServiceIdentity

Stay organized with collections Save and categorize content based on your preferences.

Generates the Cloud TPU service identity for the project.

HTTP request

POST https://tpu.googleapis.com/v2alpha1/{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

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

Response for locations.generateServiceIdentity.

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.