Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.
HTTP request
GET https://{endpoint}/v1/{name=projects/*}:getConfig
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The project name. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Returns service account information associated with a project.
JSON representation | |
---|---|
{
"serviceAccount": string,
"serviceAccountProject": string,
"config": {
object ( |
Fields | |
---|---|
serviceAccount |
The service account Cloud ML uses to access resources in the project. |
serviceAccountProject |
The project number for |
config |
|
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Config
JSON representation | |
---|---|
{ "tpuServiceAccount": string } |
Fields | |
---|---|
tpuServiceAccount |
The service account Cloud ML uses to run on TPU node. |