Method: projects.locations.batchPredictionJobs.create

Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.

HTTP request

POST https://{service-endpoint}/v1/{parent}/batchPredictionJobs

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

Path parameters

Parameters
parent

string

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

Request body

The request body contains an instance of BatchPredictionJob.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • aiplatform.batchPredictionJobs.create

For more information, see the IAM documentation.