# Google Cloud Memorystore for Redis V1BETA1 API - Class Google::Cloud::Redis::Cluster::V1beta1::ListClustersRequest (v0.11.0)

0.11.0 (latest) 0.10.0 0.9.1 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API class Google::Cloud::Redis::Cluster::V1beta1::ListClustersRequest.

Request for \[ListClusters\]\[CloudRedis.ListClusters\].

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of items to return.

  If not specified, a default value of 1000 will be used by the service.
  Regardless of the page_size value, the response may include a partial list
  and a caller should only rely on response's
  [`next_page_token`](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-ListClustersResponse#Google__Cloud__Redis__Cluster__V1beta1__ListClustersResponse_next_page_token_instance_ "Google::Cloud::Redis::Cluster::V1beta1::ListClustersResponse#next_page_token (method)")
  to determine if there are more clusters left to be queried.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of items to return.


  If not specified, a default value of 1000 will be used by the service.
  Regardless of the page_size value, the response may include a partial list
  and a caller should only rely on response's
  [`next_page_token`](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-ListClustersResponse#Google__Cloud__Redis__Cluster__V1beta1__ListClustersResponse_next_page_token_instance_ "Google::Cloud::Redis::Cluster::V1beta1::ListClustersResponse#next_page_token (method)")
  to determine if there are more clusters left to be queried.
**Returns**

- (::Integer) --- The maximum number of items to return.

  If not specified, a default value of 1000 will be used by the service.
  Regardless of the page_size value, the response may include a partial list
  and a caller should only rely on response's
  [`next_page_token`](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1beta1/latest/Google-Cloud-Redis-Cluster-V1beta1-ListClustersResponse#Google__Cloud__Redis__Cluster__V1beta1__ListClustersResponse_next_page_token_instance_ "Google::Cloud::Redis::Cluster::V1beta1::ListClustersResponse#next_page_token (method)")
  to determine if there are more clusters left to be queried.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- The `next_page_token` value returned from a previous \[ListClusters\]\[CloudRedis.ListClusters\] request, if any.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The `next_page_token` value returned from a previous \[ListClusters\]\[CloudRedis.ListClusters\] request, if any.
**Returns**

- (::String) --- The `next_page_token` value returned from a previous \[ListClusters\]\[CloudRedis.ListClusters\] request, if any.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
**Returns**

- (::String) --- Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.