# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::UpdateClusterRequest (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::UpdateClusterRequest.

Request for UpdateCluster.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cluster

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

**Returns**

- ([::Google::Cloud::ManagedKafka::V1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Cluster)) --- Required. The cluster to update. Its `name` field must be populated.

### #cluster=

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

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::V1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Cluster)) --- Required. The cluster to update. Its `name` field must be populated.
**Returns**

- ([::Google::Cloud::ManagedKafka::V1::Cluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Cluster)) --- Required. The cluster to update. Its `name` field must be populated.

### #request_id

    def request_id() -> ::String

**Returns**

- (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.

  For example, consider a situation where you make an initial request and the
  request times out. If you make the request again with the same request ID
  within 60 minutes of the last request, the server checks if an original
  operation with the same request ID was received. If so, the server ignores
  the second request.

  The request ID must be a valid UUID. A zero UUID is not supported
  (00000000-0000-0000-0000-000000000000).

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.


  For example, consider a situation where you make an initial request and the
  request times out. If you make the request again with the same request ID
  within 60 minutes of the last request, the server checks if an original
  operation with the same request ID was received. If so, the server ignores
  the second request.

  The request ID must be a valid UUID. A zero UUID is not supported
  (00000000-0000-0000-0000-000000000000).
**Returns**

- (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.

  For example, consider a situation where you make an initial request and the
  request times out. If you make the request again with the same request ID
  within 60 minutes of the last request, the server checks if an original
  operation with the same request ID was received. If so, the server ignores
  the second request.

  The request ID must be a valid UUID. A zero UUID is not supported
  (00000000-0000-0000-0000-000000000000).

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Protobuf-FieldMask)) --- Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields.

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Protobuf-FieldMask)) --- Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Protobuf-FieldMask)) --- Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields.