# Cloud Tasks V2beta2 API - Class Google::Cloud::Tasks::V2beta2::ListQueuesRequest (v0.18.0)

0.18.0 (latest) 0.17.0 0.16.1 0.15.0 0.14.1 0.13.0 0.12.1 0.11.3 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Tasks V2beta2 API class Google::Cloud::Tasks::V2beta2::ListQueuesRequest.

Request message for
[ListQueues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-CloudTasks-Client#Google__Cloud__Tasks__V2beta2__CloudTasks__Client_list_queues_instance_ "Google::Cloud::Tasks::V2beta2::CloudTasks::Client#list_queues (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- `filter` can be used to specify a subset of queues. Any [Queue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-Queue "Google::Cloud::Tasks::V2beta2::Queue (class)") 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](https://cloud.google.com/logging/docs/view/advanced_filters).


  Sample filter "app_engine_http_target: \*".

  Note that using filters might cause fewer queues than the
  requested_page size to be returned.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- `filter` can be used to specify a subset of queues. Any [Queue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-Queue "Google::Cloud::Tasks::V2beta2::Queue (class)") 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](https://cloud.google.com/logging/docs/view/advanced_filters).


  Sample filter "app_engine_http_target: \*".

  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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-Queue "Google::Cloud::Tasks::V2beta2::Queue (class)") 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](https://cloud.google.com/logging/docs/view/advanced_filters).


  Sample filter "app_engine_http_target: \*".

  Note that using filters might cause fewer queues than the
  requested_page size to be returned.

### #page_size

    def page_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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesResponse#Google__Cloud__Tasks__V2beta2__ListQueuesResponse_next_page_token_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesResponse#next_page_token (method)")
  in the response to determine if more queues exist.

### #page_size=

    def page_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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesResponse#Google__Cloud__Tasks__V2beta2__ListQueuesResponse_next_page_token_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesResponse#next_page_token (method)")
  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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesResponse#Google__Cloud__Tasks__V2beta2__ListQueuesResponse_next_page_token_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesResponse#next_page_token (method)")
  in the response to determine if more queues exist.

### #page_token

    def page_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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesResponse#Google__Cloud__Tasks__V2beta2__ListQueuesResponse_next_page_token_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesResponse#next_page_token (method)")
  returned from the previous call to
  [ListQueues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-CloudTasks-Client#Google__Cloud__Tasks__V2beta2__CloudTasks__Client_list_queues_instance_ "Google::Cloud::Tasks::V2beta2::CloudTasks::Client#list_queues (method)") method. It
  is an error to switch the value of the
  [filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesRequest#Google__Cloud__Tasks__V2beta2__ListQueuesRequest_filter_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesRequest#filter (method)") while
  iterating through pages.

### #page_token=

    def page_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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesResponse#Google__Cloud__Tasks__V2beta2__ListQueuesResponse_next_page_token_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesResponse#next_page_token (method)")
  returned from the previous call to
  [ListQueues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-CloudTasks-Client#Google__Cloud__Tasks__V2beta2__CloudTasks__Client_list_queues_instance_ "Google::Cloud::Tasks::V2beta2::CloudTasks::Client#list_queues (method)") method. It
  is an error to switch the value of the
  [filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesRequest#Google__Cloud__Tasks__V2beta2__ListQueuesRequest_filter_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesRequest#filter (method)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesResponse#Google__Cloud__Tasks__V2beta2__ListQueuesResponse_next_page_token_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesResponse#next_page_token (method)")
  returned from the previous call to
  [ListQueues](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-CloudTasks-Client#Google__Cloud__Tasks__V2beta2__CloudTasks__Client_list_queues_instance_ "Google::Cloud::Tasks::V2beta2::CloudTasks::Client#list_queues (method)") method. It
  is an error to switch the value of the
  [filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Cloud-Tasks-V2beta2-ListQueuesRequest#Google__Cloud__Tasks__V2beta2__ListQueuesRequest_filter_instance_ "Google::Cloud::Tasks::V2beta2::ListQueuesRequest#filter (method)") while
  iterating through pages.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`

### #parent=

    def parent=(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`

### #read_mask

    def read_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-FieldMask)) --- Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except \[Queue.stats\]. \[Queue.stats\] will be returned only if it was explicitly specified in the mask.

### #read_mask=

    def read_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-FieldMask)) --- Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except \[Queue.stats\]. \[Queue.stats\] will be returned only if it was explicitly specified in the mask.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-FieldMask)) --- Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except \[Queue.stats\]. \[Queue.stats\] will be returned only if it was explicitly specified in the mask.