(::String) — filter can be used to specify a subset of queues. Any
Queue field can be used as a filter and
several operators as supported. For example: <=, <, >=, >, !=, =, :. The
filter syntax is the same as described in Stackdriver's Advanced Logs
Filters.
Sample filter "state: PAUSED".
Note that using filters might cause fewer queues than the
requested page_size to be returned.
#filter=
deffilter=(value)->::String
Parameter
value (::String) — filter can be used to specify a subset of queues. Any
Queue field can be used as a filter and
several operators as supported. For example: <=, <, >=, >, !=, =, :. The
filter syntax is the same as described in Stackdriver'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
(::String) — filter can be used to specify a subset of queues. Any
Queue field can be used as a filter and
several operators as supported. For example: <=, <, >=, >, !=, =, :. The
filter syntax is the same as described in Stackdriver'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
defpage_size()->::Integer
Returns
(::Integer) — 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 the
next_page_token
in the response to determine if more queues exist.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — 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 the
next_page_token
in the response to determine if more queues exist.
Returns
(::Integer) — 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 the
next_page_token
in the response to determine if more queues exist.
#page_token
defpage_token()->::String
Returns
(::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 of
next_page_token
returned from the previous call to
ListQueues method. It is an
error to switch the value of the
filter while iterating
through pages.
#page_token=
defpage_token=(value)->::String
Parameter
value (::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 of
next_page_token
returned from the previous call to
ListQueues method. It is an
error to switch the value of the
filter while iterating
through pages.
Returns
(::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 of
next_page_token
returned from the previous call to
ListQueues method. It is an
error to switch the value of the
filter while iterating
through pages.
#parent
defparent()->::String
Returns
(::String) — Required. The location name.
For example: projects/PROJECT_ID/locations/LOCATION_ID
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The location name.
For example: projects/PROJECT_ID/locations/LOCATION_ID
Returns
(::String) — Required. The location name.
For example: projects/PROJECT_ID/locations/LOCATION_ID
[[["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,["# Cloud Tasks V2 API - Class Google::Cloud::Tasks::V2::ListQueuesRequest (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-tasks-v2/1.2.1/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-tasks-v2/1.1.0/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-tasks-v2/1.0.1/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-tasks-v2/0.11.0/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.10.2](/ruby/docs/reference/google-cloud-tasks-v2/0.10.2/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-tasks-v2/0.9.0/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.8.2](/ruby/docs/reference/google-cloud-tasks-v2/0.8.2/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-tasks-v2/0.7.0/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-tasks-v2/0.6.0/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-tasks-v2/0.5.0/Google-Cloud-Tasks-V2-ListQueuesRequest)\n- [0.4.6](/ruby/docs/reference/google-cloud-tasks-v2/0.4.6/Google-Cloud-Tasks-V2-ListQueuesRequest) \nReference documentation and code samples for the Cloud Tasks V2 API class Google::Cloud::Tasks::V2::ListQueuesRequest.\n\nRequest message for\n[ListQueues](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-CloudTasks-Client#Google__Cloud__Tasks__V2__CloudTasks__Client_list_queues_instance_ \"Google::Cloud::Tasks::V2::CloudTasks::Client#list_queues (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- `filter` can be used to specify a subset of queues. Any [Queue](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-Queue \"Google::Cloud::Tasks::V2::Queue (class)\") field can be used as a filter and several operators as supported. For example: `\u003c=, \u003c, \u003e=, \u003e, !=, =, :`. The filter syntax is the same as described in [Stackdriver's Advanced Logs\n Filters](https://cloud.google.com/logging/docs/view/advanced_filters).\n\n\n Sample filter \"state: PAUSED\".\n\n Note that using filters might cause fewer queues than the\n requested page_size to be returned.\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- `filter` can be used to specify a subset of queues. Any [Queue](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-Queue \"Google::Cloud::Tasks::V2::Queue (class)\") field can be used as a filter and several operators as supported. For example: `\u003c=, \u003c, \u003e=, \u003e, !=, =, :`. The filter syntax is the same as described in [Stackdriver's Advanced Logs\n Filters](https://cloud.google.com/logging/docs/view/advanced_filters).\n\n\n Sample filter \"state: PAUSED\".\n\n Note that using filters might cause fewer queues than the\nrequested page_size to be returned. \n**Returns**\n\n- (::String) --- `filter` can be used to specify a subset of queues. Any [Queue](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-Queue \"Google::Cloud::Tasks::V2::Queue (class)\") field can be used as a filter and several operators as supported. For example: `\u003c=, \u003c, \u003e=, \u003e, !=, =, :`. The filter syntax is the same as described in [Stackdriver's Advanced Logs\n Filters](https://cloud.google.com/logging/docs/view/advanced_filters).\n\n\n Sample filter \"state: PAUSED\".\n\n Note that using filters might cause fewer queues than the\n requested page_size to be returned.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Requested page size.\n\n The maximum page size is 9800. If unspecified, the page size will\n be the maximum. Fewer queues than requested might be returned,\n even if more queues exist; use the\n [next_page_token](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesResponse#Google__Cloud__Tasks__V2__ListQueuesResponse_next_page_token_instance_ \"Google::Cloud::Tasks::V2::ListQueuesResponse#next_page_token (method)\")\n in the response to determine if more queues exist.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Requested page size.\n\n\n The maximum page size is 9800. If unspecified, the page size will\n be the maximum. Fewer queues than requested might be returned,\n even if more queues exist; use the\n [next_page_token](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesResponse#Google__Cloud__Tasks__V2__ListQueuesResponse_next_page_token_instance_ \"Google::Cloud::Tasks::V2::ListQueuesResponse#next_page_token (method)\")\nin the response to determine if more queues exist. \n**Returns**\n\n- (::Integer) --- Requested page size.\n\n The maximum page size is 9800. If unspecified, the page size will\n be the maximum. Fewer queues than requested might be returned,\n even if more queues exist; use the\n [next_page_token](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesResponse#Google__Cloud__Tasks__V2__ListQueuesResponse_next_page_token_instance_ \"Google::Cloud::Tasks::V2::ListQueuesResponse#next_page_token (method)\")\n in the response to determine if more queues exist.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A token identifying the page of results to return.\n\n To request the first page results, page_token must be empty. To\n request the next page of results, page_token must be the value of\n [next_page_token](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesResponse#Google__Cloud__Tasks__V2__ListQueuesResponse_next_page_token_instance_ \"Google::Cloud::Tasks::V2::ListQueuesResponse#next_page_token (method)\")\n returned from the previous call to\n [ListQueues](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-CloudTasks-Client#Google__Cloud__Tasks__V2__CloudTasks__Client_list_queues_instance_ \"Google::Cloud::Tasks::V2::CloudTasks::Client#list_queues (method)\") method. It is an\n error to switch the value of the\n [filter](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesRequest#Google__Cloud__Tasks__V2__ListQueuesRequest_filter_instance_ \"Google::Cloud::Tasks::V2::ListQueuesRequest#filter (method)\") while iterating\n through pages.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A token identifying the page of results to return.\n\n\n To request the first page results, page_token must be empty. To\n request the next page of results, page_token must be the value of\n [next_page_token](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesResponse#Google__Cloud__Tasks__V2__ListQueuesResponse_next_page_token_instance_ \"Google::Cloud::Tasks::V2::ListQueuesResponse#next_page_token (method)\")\n returned from the previous call to\n [ListQueues](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-CloudTasks-Client#Google__Cloud__Tasks__V2__CloudTasks__Client_list_queues_instance_ \"Google::Cloud::Tasks::V2::CloudTasks::Client#list_queues (method)\") method. It is an\n error to switch the value of the\n [filter](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesRequest#Google__Cloud__Tasks__V2__ListQueuesRequest_filter_instance_ \"Google::Cloud::Tasks::V2::ListQueuesRequest#filter (method)\") while iterating\nthrough pages. \n**Returns**\n\n- (::String) --- A token identifying the page of results to return.\n\n To request the first page results, page_token must be empty. To\n request the next page of results, page_token must be the value of\n [next_page_token](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesResponse#Google__Cloud__Tasks__V2__ListQueuesResponse_next_page_token_instance_ \"Google::Cloud::Tasks::V2::ListQueuesResponse#next_page_token (method)\")\n returned from the previous call to\n [ListQueues](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-CloudTasks-Client#Google__Cloud__Tasks__V2__CloudTasks__Client_list_queues_instance_ \"Google::Cloud::Tasks::V2::CloudTasks::Client#list_queues (method)\") method. It is an\n error to switch the value of the\n [filter](/ruby/docs/reference/google-cloud-tasks-v2/latest/Google-Cloud-Tasks-V2-ListQueuesRequest#Google__Cloud__Tasks__V2__ListQueuesRequest_filter_instance_ \"Google::Cloud::Tasks::V2::ListQueuesRequest#filter (method)\") while iterating\n through pages.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` \n**Returns**\n\n- (::String) --- Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`"]]