# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::UpdateClusterRequest (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::UpdateClusterRequest.

Request for \[UpdateCluster\]\[CloudRedis.UpdateCluster\].

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cluster

    def cluster() -> ::Google::Cloud::Redis::Cluster::V1::Cluster

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster)) --- Required. Update description. Only fields specified in update_mask are updated.

### #cluster=

    def cluster=(value) -> ::Google::Cloud::Redis::Cluster::V1::Cluster

**Parameter**

- **value** ([::Google::Cloud::Redis::Cluster::V1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster)) --- Required. Update description. Only fields specified in update_mask are updated.
**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster)) --- Required. Update description. Only fields specified in update_mask are updated.

### #request_id

    def request_id() -> ::String

**Returns**

- (::String) --- Idempotent request UUID.

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Idempotent request UUID.
**Returns**

- (::String) --- Idempotent request UUID.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Mask of fields to update. At least one path must be supplied in
  this field. The elements of the repeated paths field may only include these
  fields from [Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster "Google::Cloud::Redis::Cluster::V1::Cluster (class)"):
  - `size_gb`
  - `replica_count`

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Mask of fields to update. At least one path must be supplied in
  this field. The elements of the repeated paths field may only include these
  fields from [Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster "Google::Cloud::Redis::Cluster::V1::Cluster (class)"):
  - `size_gb`
  - `replica_count`
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Protobuf-FieldMask)) ---

  Required. Mask of fields to update. At least one path must be supplied in
  this field. The elements of the repeated paths field may only include these
  fields from [Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster "Google::Cloud::Redis::Cluster::V1::Cluster (class)"):
  - `size_gb`
  - `replica_count`