Method: projects.getConfig

Get the service account information associated with your project. You need this information in order to grant the service account persmissions 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://ml.googleapis.com/v1/{name=projects/*}:getConfig

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

Required. The project name.

Authorization requires the following Google IAM permission on the specified resource name:

  • ml.projects.getConfig

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,
}
Fields
serviceAccount

string

The service account Cloud ML uses to access resources in the project.

serviceAccountProject

string (int64 format)

The project number for serviceAccount.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Send feedback about...

Cloud Machine Learning Engine (Cloud ML Engine)