# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::ListClustersRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::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-v1/latest/Google-Cloud-Redis-Cluster-V1-ListClustersResponse#Google__Cloud__Redis__Cluster__V1__ListClustersResponse_next_page_token_instance_ "Google::Cloud::Redis::Cluster::V1::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-v1/latest/Google-Cloud-Redis-Cluster-V1-ListClustersResponse#Google__Cloud__Redis__Cluster__V1__ListClustersResponse_next_page_token_instance_ "Google::Cloud::Redis::Cluster::V1::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-v1/latest/Google-Cloud-Redis-Cluster-V1-ListClustersResponse#Google__Cloud__Redis__Cluster__V1__ListClustersResponse_next_page_token_instance_ "Google::Cloud::Redis::Cluster::V1::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.