Skip to main content

config

Creates, updates, deletes, gets or lists a config resource.

Overview

Nameconfig
TypeResource
Idgoogle.ml.config

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
configobject (id: GoogleCloudMlV1__Config)
serviceAccountstringThe service account Cloud ML uses to access resources in the project.
serviceAccountProjectstring (int64)The project number for service_account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_get_configselectprojectsIdGet 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectsIdstring

SELECT examples

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.

SELECT
config,
serviceAccount,
serviceAccountProject
FROM google.ml.config
WHERE projectsId = '{{ projectsId }}' -- required;