Required. Name of a TaskGroup from which Tasks are being requested. Pattern: "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}"
Query parameters
Parameters
filter
string
Task filter, null filter matches all Tasks. Filter string should be of the format State=TaskStatus.State e.g. State=RUNNING
pageSize
integer
Page size.
pageToken
string
Page token.
Request body
The request body must be empty.
Response body
tasks.list Response.
If successful, the response body contains data with the following structure:
[[["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-07-09 UTC."],[[["\u003cp\u003eThis webpage details how to list tasks associated with a specific job using the Batch API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e request to retrieve the task list requires the parent path parameter, which is the name of the TaskGroup the task belongs to in the format: "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}".\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters, \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e, allow filtering, controlling the amount of results, and page navigation, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for listing tasks must be empty, and a successful response will contain a list of tasks, a next page token, and a list of unreachable locations in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope to authorize the request.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.jobs.taskGroups.tasks.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.ListTasksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList Tasks associated with a job.\n\n### HTTP request\n\n`GET https://batch.googleapis.com/v1/{parent=projects/*/locations/*/jobs/*/taskGroups/*}/tasks`\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\ntasks.list Response.\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)."]]