Method: projects.jobs.create

Creates a new job.

Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.

HTTP request

POST https://jobs.googleapis.com/v4beta1/{parent=projects/*}/jobs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the tenant under which the job is created.

The format is "projects/{project_id}/tenants/{tenantId}". For example, "projects/foo/tenant/bar". If tenant id is unspecified a default tenant is created. For example, "projects/foo".

Request body

The request body contains data with the following structure:

JSON representation
{
  "job": {
    object (Job)
  }
}
Fields
job

object (Job)

Required. The Job to be created.

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/jobs
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...

Job search documentation
Trenger du hjelp? Gå til brukerstøttesiden vår.