- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ServiceIdentity
- Try it!
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 |
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 ( |
Fields | |
---|---|
identity |
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 |
The email address of the service identity. |