Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).
If filter is provided, jobStateMatcher will be ignored.
filter
string
Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:
[field = value] AND [field [= value]] ...
where field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.
Example filter:
status.state = ACTIVE AND labels.env = staging AND labels.starred = *
Request body
The request body must be empty.
Response body
A list of jobs in a project.
If successful, the response body contains data with the following structure:
Optional. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the pageToken in a subsequent
ListJobsRequest
.
unreachable[]
string
Output only. List of jobs with kmsKey-encrypted parameters that could not be decrypted. A response to a jobs.get request may indicate the reason for the decryption failure for a specific job.
[[["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-06-20 UTC."],[[["\u003cp\u003eThis API endpoint retrieves a list of jobs within a specified project and region using a \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://dataproc.googleapis.com/v1/projects/{projectId}/regions/{region}/jobs\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003eprojectId\u003c/code\u003e and \u003ccode\u003eregion\u003c/code\u003e as path parameters, and authorization is needed through IAM permissions, specifically \u003ccode\u003edataproc.jobs.list\u003c/code\u003e on the given \u003ccode\u003eprojectId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters such as \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003eclusterName\u003c/code\u003e, \u003ccode\u003ejobStateMatcher\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e allow for customized job filtering and pagination of the results.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a JSON representation containing a list of jobs, a \u003ccode\u003enextPageToken\u003c/code\u003e for fetching further results, and a list of \u003ccode\u003eunreachable\u003c/code\u003e jobs with decryption issues.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e, and the \u003ccode\u003eJobStateMatcher\u003c/code\u003e enum allows for filtering jobs by their state, including \u003ccode\u003eALL\u003c/code\u003e, \u003ccode\u003eACTIVE\u003c/code\u003e, or \u003ccode\u003eNON_ACTIVE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.regions.jobs.list\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 - [JSON representation](#body.ListJobsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [JobStateMatcher](#JobStateMatcher)\n- [Try it!](#try-it)\n\nLists regions/{region}/jobs in a project.\n\n### HTTP request\n\n`GET https://dataproc.googleapis.com/v1/projects/{projectId}/regions/{region}/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 must be empty.\n\n### Response body\n\nA list of jobs in a project.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nJobStateMatcher\n---------------\n\nA matcher that specifies categories of job states."]]