Method: projects.locations.jobs.create

Creates a job.

HTTP request

POST https://cloudscheduler.googleapis.com/v1/{parent=projects/*/locations/*}/jobs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.

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

  • cloudscheduler.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 one of the following OAuth scopes:

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

For more information, see the Authentication Overview.