Method: projects.getConfig

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

string

Required. The project name.

Authorization requires the following 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,
  "config": {
    object (Config)
  }
}
Fields
serviceAccount

string

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

serviceAccountProject

string (int64 format)

The project number for serviceAccount.

config

object (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

string

The service account Cloud ML uses to run on TPU node.