AI Platform Training & Prediction API (Training)

An API for training machine learning models. This reference documentation describes the AI Platform Training-related methods of the AI Platform Training and Prediction API. For details about other parts of the API, see the following:

Service: ml.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://ml.googleapis.com

REST Resource: v1.projects

Methods
getConfig GET /v1/{name=projects/*}:getConfig
Get the service account information associated with your project.

REST Resource: v1.projects.jobs

Methods
cancel POST /v1/{name=projects/*/jobs/*}:cancel
Cancels a running job.
create POST /v1/{parent=projects/*}/jobs
Creates a training or a batch prediction job.
get GET /v1/{name=projects/*/jobs/*}
Describes a job.
getIamPolicy GET /v1/{resource=projects/*/jobs/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{parent=projects/*}/jobs
Lists the jobs in the project.
patch PATCH /v1/{name=projects/*/jobs/*}
Updates a specific job resource.
setIamPolicy POST /v1/{resource=projects/*/jobs/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource=projects/*/jobs/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.locations

Methods
get GET /v1/{name=projects/*/locations/*}
Get the complete list of CMLE capabilities in a location, along with their location-specific properties.
list GET /v1/{parent=projects/*}/locations
List all locations that provides at least one type of CMLE capability.