Method: projects.locations.jobs.patch

Updates a Job.

HTTP request

PATCH https://run.googleapis.com/v2/{job.name}

Path parameters

Parameters
job.name

string

The fully qualified name of this Job.

Format: projects/{project}/locations/{location}/jobs/{job} It takes the formprojects/{project}/locations/{location}/jobs/{job}.

Query parameters

Parameters
validateOnly

boolean

Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.

allowMissing

boolean

Optional. If set to true, and if the Job does not exist, it will create a new one. Caller must have both create and update permissions for this call if this is set to true.

Request body

The request body contains an instance ofJob.

Response body

If successful, the response body contains an instance ofOperation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see theAuthentication Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-09 UTC.