Reference documentation and code samples for the Google Cloud Batch V1 Client class ListTasksRequest.
ListTasks Request.
Generated from protobuf messagegoogle.cloud.batch.v1.ListTasksRequest
Namespace
Google \ Cloud \ Batch \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Name of a TaskGroup from which Tasks are being requested. Pattern: "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}"
↳ filter
string
Task filter, null filter matches all Tasks. Filter string should be of the format State=TaskStatus.State e.g. State=RUNNING
↳ page_size
int
Page size.
↳ page_token
string
Page token.
getParent
Required. Name of a TaskGroup from which Tasks are being requested.
Filter string should be of the format State=TaskStatus.State e.g.
State=RUNNING
Returns
Type
Description
string
setFilter
Task filter, null filter matches all Tasks.
Filter string should be of the format State=TaskStatus.State e.g.
State=RUNNING
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Page size.
Returns
Type
Description
int
setPageSize
Page size.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Page token.
Returns
Type
Description
string
setPageToken
Page token.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. Name of a TaskGroup from which Tasks are being requested.
Pattern:
"projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}"
Please seeBatchServiceClient::taskGroupName()for help formatting this field.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Batch V1 Client - Class ListTasksRequest (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-batch/latest/V1.ListTasksRequest)\n- [1.2.1](/php/docs/reference/cloud-batch/1.2.1/V1.ListTasksRequest)\n- [1.1.7](/php/docs/reference/cloud-batch/1.1.7/V1.ListTasksRequest)\n- [1.0.3](/php/docs/reference/cloud-batch/1.0.3/V1.ListTasksRequest)\n- [0.17.0](/php/docs/reference/cloud-batch/0.17.0/V1.ListTasksRequest)\n- [0.16.10](/php/docs/reference/cloud-batch/0.16.10/V1.ListTasksRequest)\n- [0.15.0](/php/docs/reference/cloud-batch/0.15.0/V1.ListTasksRequest)\n- [0.14.0](/php/docs/reference/cloud-batch/0.14.0/V1.ListTasksRequest)\n- [0.13.1](/php/docs/reference/cloud-batch/0.13.1/V1.ListTasksRequest)\n- [0.12.1](/php/docs/reference/cloud-batch/0.12.1/V1.ListTasksRequest)\n- [0.11.3](/php/docs/reference/cloud-batch/0.11.3/V1.ListTasksRequest)\n- [0.10.0](/php/docs/reference/cloud-batch/0.10.0/V1.ListTasksRequest)\n- [0.9.0](/php/docs/reference/cloud-batch/0.9.0/V1.ListTasksRequest)\n- [0.8.0](/php/docs/reference/cloud-batch/0.8.0/V1.ListTasksRequest)\n- [0.7.0](/php/docs/reference/cloud-batch/0.7.0/V1.ListTasksRequest)\n- [0.6.0](/php/docs/reference/cloud-batch/0.6.0/V1.ListTasksRequest)\n- [0.5.2](/php/docs/reference/cloud-batch/0.5.2/V1.ListTasksRequest)\n- [0.4.0](/php/docs/reference/cloud-batch/0.4.0/V1.ListTasksRequest)\n- [0.3.0](/php/docs/reference/cloud-batch/0.3.0/V1.ListTasksRequest)\n- [0.2.2](/php/docs/reference/cloud-batch/0.2.2/V1.ListTasksRequest) \nReference documentation and code samples for the Google Cloud Batch V1 Client class ListTasksRequest.\n\nListTasks Request.\n\nGenerated from protobuf message `google.cloud.batch.v1.ListTasksRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Batch \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Name of a TaskGroup from which Tasks are being requested.\n\nPattern:\n\"projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}\"\n\n### setParent\n\nRequired. Name of a TaskGroup from which Tasks are being requested.\n\nPattern:\n\"projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}\"\n\n### getFilter\n\nTask filter, null filter matches all Tasks.\n\nFilter string should be of the format State=TaskStatus.State e.g.\nState=RUNNING\n\n### setFilter\n\nTask filter, null filter matches all Tasks.\n\nFilter string should be of the format State=TaskStatus.State e.g.\nState=RUNNING\n\n### getPageSize\n\nPage size.\n\n### setPageSize\n\nPage size.\n\n### getPageToken\n\nPage token.\n\n### setPageToken\n\nPage token.\n\n### static::build"]]