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://ml.googleapis.com/v1/{name=projects/*}:getConfig

The URL uses gRPC Transcoding 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,
  "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.

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
AI Platform
需要協助嗎?請前往我們的支援網頁