Method: projects.jobs.create

Creates a training or a batch prediction job.

HTTP request

POST https://{endpoint}/v1/{parent=projects/*}/jobs

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project name.

Authorization requires the following IAM permission on the specified resource parent:

  • ml.jobs.create

Request body

The request body contains an instance of Job.

Response body

If successful, the response body contains a newly created instance of Job.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.