Generated from protobuf messagegoogle.cloud.tasks.v2.ListQueuesRequest
Namespace
Google \ Cloud \ Tasks \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The location name. For example:projects/PROJECT_ID/locations/LOCATION_ID
↳ filter
string
filtercan be used to specify a subset of queues. AnyQueuefield can be used as a filter and several operators as supported. For example:<=, <, >=, >, !=, =, :. The filter syntax is the same as described inStackdriver's Advanced Logs Filters. Sample filter "state: PAUSED". Note that using filters might cause fewer queues than the requested page_size to be returned.
↳ page_size
int
Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use thenext_page_tokenin the response to determine if more queues exist.
↳ page_token
string
A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value ofnext_page_tokenreturned from the previous call toListQueuesmethod. It is an error to switch the value of thefilterwhile iterating through pages.
getParent
Required. The location name.
For example:projects/PROJECT_ID/locations/LOCATION_ID
Returns
Type
Description
string
setParent
Required. The location name.
For example:projects/PROJECT_ID/locations/LOCATION_ID
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
filtercan be used to specify a subset of queues. AnyQueuefield can be used as a filter and
several operators as supported. For example:<=, <, >=, >, !=, =, :. The
filter syntax is the same as described inStackdriver's Advanced Logs
Filters.
Sample filter "state: PAUSED".
Note that using filters might cause fewer queues than the
requested page_size to be returned.
Returns
Type
Description
string
setFilter
filtercan be used to specify a subset of queues. AnyQueuefield can be used as a filter and
several operators as supported. For example:<=, <, >=, >, !=, =, :. The
filter syntax is the same as described inStackdriver's Advanced Logs
Filters.
Sample filter "state: PAUSED".
Note that using filters might cause fewer queues than the
requested page_size to be returned.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Requested page size.
The maximum page size is 9800. If unspecified, the page size will
be the maximum. Fewer queues than requested might be returned,
even if more queues exist; use thenext_page_tokenin the response to determine if more queues exist.
Returns
Type
Description
int
setPageSize
Requested page size.
The maximum page size is 9800. If unspecified, the page size will
be the maximum. Fewer queues than requested might be returned,
even if more queues exist; use thenext_page_tokenin the response to determine if more queues exist.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
A token identifying the page of results to return.
To request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value ofnext_page_tokenreturned from the previous call toListQueuesmethod. It is an
error to switch the value of thefilterwhile iterating
through pages.
Returns
Type
Description
string
setPageToken
A token identifying the page of results to return.
To request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value ofnext_page_tokenreturned from the previous call toListQueuesmethod. It is an
error to switch the value of thefilterwhile iterating
through pages.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The location name.
For example:projects/PROJECT_ID/locations/LOCATION_IDPlease seeCloudTasksClient::locationName()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-09 UTC."],[],[],null,["# Google Cloud Tasks V2 Client - Class ListQueuesRequest (2.0.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.2 (latest)](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesRequest)\n- [2.0.1](/php/docs/reference/cloud-tasks/2.0.1/V2.ListQueuesRequest)\n- [1.15.2](/php/docs/reference/cloud-tasks/1.15.2/V2.ListQueuesRequest)\n- [1.14.6](/php/docs/reference/cloud-tasks/1.14.6/V2.ListQueuesRequest)\n- [1.13.2](/php/docs/reference/cloud-tasks/1.13.2/V2.ListQueuesRequest)\n- [1.12.2](/php/docs/reference/cloud-tasks/1.12.2/V2.ListQueuesRequest)\n- [1.11.11](/php/docs/reference/cloud-tasks/1.11.11/V2.ListQueuesRequest) \nReference documentation and code samples for the Google Cloud Tasks V2 Client class ListQueuesRequest.\n\nRequest message for\n[ListQueues](/php/docs/reference/cloud-tasks/latest/V2.Client.CloudTasksClient#_Google_Cloud_Tasks_V2_Client_CloudTasksClient__listQueues__).\n\nGenerated from protobuf message `google.cloud.tasks.v2.ListQueuesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Tasks \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The location name.\n\nFor example: `projects/PROJECT_ID/locations/LOCATION_ID`\n\n### setParent\n\nRequired. The location name.\n\nFor example: `projects/PROJECT_ID/locations/LOCATION_ID`\n\n### getFilter\n\n`filter` can be used to specify a subset of queues. Any\n[Queue](/php/docs/reference/cloud-tasks/latest/V2.Queue) field can be used as a filter and\nseveral operators as supported. For example: `\u003c=, \u003c, \u003e=, \u003e, !=, =, :`. The\nfilter syntax is the same as described in [Stackdriver's Advanced Logs\nFilters](https://cloud.google.com/logging/docs/view/advanced_filters).\n\nSample filter \"state: PAUSED\".\nNote that using filters might cause fewer queues than the\nrequested page_size to be returned.\n\n### setFilter\n\n`filter` can be used to specify a subset of queues. Any\n[Queue](/php/docs/reference/cloud-tasks/latest/V2.Queue) field can be used as a filter and\nseveral operators as supported. For example: `\u003c=, \u003c, \u003e=, \u003e, !=, =, :`. The\nfilter syntax is the same as described in [Stackdriver's Advanced Logs\nFilters](https://cloud.google.com/logging/docs/view/advanced_filters).\n\nSample filter \"state: PAUSED\".\nNote that using filters might cause fewer queues than the\nrequested page_size to be returned.\n\n### getPageSize\n\nRequested page size.\n\nThe maximum page size is 9800. If unspecified, the page size will\nbe the maximum. Fewer queues than requested might be returned,\neven if more queues exist; use the\n[next_page_token](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesResponse#_Google_Cloud_Tasks_V2_ListQueuesResponse__getNextPageToken__)\nin the response to determine if more queues exist.\n\n### setPageSize\n\nRequested page size.\n\nThe maximum page size is 9800. If unspecified, the page size will\nbe the maximum. Fewer queues than requested might be returned,\neven if more queues exist; use the\n[next_page_token](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesResponse#_Google_Cloud_Tasks_V2_ListQueuesResponse__getNextPageToken__)\nin the response to determine if more queues exist.\n\n### getPageToken\n\nA token identifying the page of results to return.\n\nTo request the first page results, page_token must be empty. To\nrequest the next page of results, page_token must be the value of\n[next_page_token](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesResponse#_Google_Cloud_Tasks_V2_ListQueuesResponse__getNextPageToken__)\nreturned from the previous call to\n[ListQueues](/php/docs/reference/cloud-tasks/latest/V2.Client.CloudTasksClient#_Google_Cloud_Tasks_V2_Client_CloudTasksClient__listQueues__) method. It is an\nerror to switch the value of the\n[filter](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesRequest#_Google_Cloud_Tasks_V2_ListQueuesRequest__getFilter__) while iterating\nthrough pages.\n\n### setPageToken\n\nA token identifying the page of results to return.\n\nTo request the first page results, page_token must be empty. To\nrequest the next page of results, page_token must be the value of\n[next_page_token](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesResponse#_Google_Cloud_Tasks_V2_ListQueuesResponse__getNextPageToken__)\nreturned from the previous call to\n[ListQueues](/php/docs/reference/cloud-tasks/latest/V2.Client.CloudTasksClient#_Google_Cloud_Tasks_V2_Client_CloudTasksClient__listQueues__) method. It is an\nerror to switch the value of the\n[filter](/php/docs/reference/cloud-tasks/latest/V2.ListQueuesRequest#_Google_Cloud_Tasks_V2_ListQueuesRequest__getFilter__) while iterating\nthrough pages.\n\n### static::build"]]