Updates the state of an existing Cloud Dataflow job.
To update the state of an existing job, we recommend using projects.locations.jobs.update with a regional endpoint. Using projects.jobs.update is not recommended, as you can only update the state of jobs that are running in us-central1.
HTTP request
PUT https://dataflow.googleapis.com/v1b3/projects/{projectId}/locations/{___location}/jobs/{jobId}
The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and updateMask are specified, an error will be returned as we cannot update both state and mask.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
[[["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-30 UTC."],[[["\u003cp\u003eThis endpoint updates the state of an existing Cloud Dataflow job, and it is recommended to use the \u003ccode\u003eprojects.locations.jobs.update\u003c/code\u003e method with a regional endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a PUT operation directed to a specific job within a project and ___location, using a URL with gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003ePath parameters \u003ccode\u003eprojectId\u003c/code\u003e, \u003ccode\u003elocation\u003c/code\u003e, and \u003ccode\u003ejobId\u003c/code\u003e are required to identify the specific job to be updated.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameter \u003ccode\u003eupdateMask\u003c/code\u003e can be used to specify which fields within the job to update; leaving it empty only updates the \u003ccode\u003eRequestedJobState\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body and response body both contain an instance of \u003ccode\u003eJob\u003c/code\u003e, and the request requires authorization scopes such as \u003ccode\u003ehttps://www.googleapis.com/auth/compute\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]