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].
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:
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:
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:
[[["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,["# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::UpdateClusterRequest (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-redis-cluster-v1/1.0.1/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.6.0/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.5.0/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [0.4.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.4.2/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.3.0/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [0.2.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.2.2/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.1.0/Google-Cloud-Redis-Cluster-V1-UpdateClusterRequest) \nReference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::UpdateClusterRequest.\n\nRequest for \\[UpdateCluster\\]\\[CloudRedis.UpdateCluster\\]. \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### #cluster\n\n def cluster() -\u003e ::Google::Cloud::Redis::Cluster::V1::Cluster\n\n**Returns**\n\n- ([::Google::Cloud::Redis::Cluster::V1::Cluster](./Google-Cloud-Redis-Cluster-V1-Cluster)) --- Required. Update description. Only fields specified in update_mask are updated.\n\n### #cluster=\n\n def cluster=(value) -\u003e ::Google::Cloud::Redis::Cluster::V1::Cluster\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Redis::Cluster::V1::Cluster](./Google-Cloud-Redis-Cluster-V1-Cluster)) --- Required. Update description. Only fields specified in update_mask are updated. \n**Returns**\n\n- ([::Google::Cloud::Redis::Cluster::V1::Cluster](./Google-Cloud-Redis-Cluster-V1-Cluster)) --- Required. Update description. Only fields specified in update_mask are updated.\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Idempotent request UUID.\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Idempotent request UUID. \n**Returns**\n\n- (::String) --- Idempotent request UUID.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n Required. Mask of fields to update. At least one path must be supplied in\n this field. The elements of the repeated paths field may only include these\n fields from [Cluster](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster \"Google::Cloud::Redis::Cluster::V1::Cluster (class)\"):\n - `size_gb`\n - `replica_count`\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n Required. Mask of fields to update. At least one path must be supplied in\n this field. The elements of the repeated paths field may only include these\n fields from [Cluster](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster \"Google::Cloud::Redis::Cluster::V1::Cluster (class)\"):\n - `size_gb`\n- `replica_count` \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n Required. Mask of fields to update. At least one path must be supplied in\n this field. The elements of the repeated paths field may only include these\n fields from [Cluster](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-Cluster \"Google::Cloud::Redis::Cluster::V1::Cluster (class)\"):\n - `size_gb`\n - `replica_count`"]]