If successful, the updatedJobis returned. If the job does not exist,NOT_FOUNDis returned.
If jobs.patch does not successfully return, it is possible for the job to be in anJob.State.UPDATE_FAILEDstate. A job in this state may not be executed. If this happens, retry the jobs.patch request until a successful response is received.
Optionally caller-specified injobs.create, after which it becomes output only.
The job name. For example:projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID.
PROJECT_IDcan contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, seeIdentifying projects
LOCATION_IDis the canonical ID for the job's location. The list of available locations can be obtained by callinglocations.list. For more information, seehttps://cloud.google.com/about/locations/.
JOB_IDcan contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-23 UTC."],[],[],null,["# Method: projects.locations.jobs.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates a job.\n\nIf successful, the updated [Job](/scheduler/docs/reference/rest/v1/projects.locations.jobs#Job) is returned. If the job does not exist, `NOT_FOUND` is returned.\n\nIf jobs.patch does not successfully return, it is possible for the job to be in an [Job.State.UPDATE_FAILED](/scheduler/docs/reference/rest/v1/projects.locations.jobs#State.ENUM_VALUES.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.\n\n### HTTP request\n\n`PATCH https://cloudscheduler.googleapis.com/v1/{job.name=projects/*/locations/*/jobs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Job](/scheduler/docs/reference/rest/v1/projects.locations.jobs#Job).\n\n### Response body\n\nIf successful, the response body contains an instance of [Job](/scheduler/docs/reference/rest/v1/projects.locations.jobs#Job).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloud-scheduler`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]