Gets the state of the specified Cloud Dataflow job.
To get the state of a job, we recommend using projects.locations.jobs.get with a regional endpoint. Using projects.jobs.get is not recommended, as you can only get the state of jobs that are running in us-central1.
HTTP request
GET https://dataflow.googleapis.com/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}
[[["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 retrieves the state of a specified Cloud Dataflow job, and it is recommended to use the \u003ccode\u003eprojects.locations.jobs.get\u003c/code\u003e method with a regional endpoint for broader job state access.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003eGET\u003c/code\u003e method with a URL that includes the project ID, location, and job ID as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request accepts one query parameter, \u003ccode\u003eview\u003c/code\u003e, which determines the level of information included in the response, refering to the JobView.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the response body will contain a Job instance if the request is successful.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint needs one of the following OAuth scopes for authorization: \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,[]]