- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a job.
If successful, the updated Job
is returned. If the job does not exist, NOT_FOUND
is returned.
If jobs.patch does not successfully return, it is possible for the job to be in an Job.State.UPDATE_FAILED
state. A job in this state may not be executed. If this happens, retry the jobs.patch request until a successful response is received.
HTTP request
PATCH https://cloudscheduler.googleapis.com/v1beta1/{job.name=projects/*/locations/*/jobs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
job.name |
Optionally caller-specified in The job name. For example:
|
Query parameters
Parameters | |
---|---|
updateMask |
A mask used to specify which fields of the job are being updated. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Job
.
Response body
If successful, the response body contains an 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.