# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::UpdateAttachedClusterRequest (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::UpdateAttachedClusterRequest.

Request message for `AttachedClusters.UpdateAttachedCluster` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #attached_cluster

    def attached_cluster() -> ::Google::Cloud::GkeMultiCloud::V1::AttachedCluster

**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster)) --- Required. The [AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster "Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)") resource to update.

### #attached_cluster=

    def attached_cluster=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AttachedCluster

**Parameter**

- **value** ([::Google::Cloud::GkeMultiCloud::V1::AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster)) --- Required. The [AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster "Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)") resource to update.
**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster)) --- Required. The [AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster "Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)") resource to update.

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-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 can only include these
  fields from
  [AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster "Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)"):
  - `annotations`.
  - `authorization.admin_groups`.
  - `authorization.admin_users`.
  - `binary_authorization.evaluation_mode`.
  - `description`.
  - `logging_config.component_config.enable_components`.
  - `monitoring_config.managed_prometheus_config.enabled`.
  - `platform_version`.
  - `proxy_config.kubernetes_secret.name`.
  - `proxy_config.kubernetes_secret.namespace`.
  - `security_posture_config.vulnerability_mode`
  - `monitoring_config.cloud_monitoring_config.enabled`

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-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 can only include these
  fields from
  [AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster "Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)"):
  - `annotations`.
  - `authorization.admin_groups`.
  - `authorization.admin_users`.
  - `binary_authorization.evaluation_mode`.
  - `description`.
  - `logging_config.component_config.enable_components`.
  - `monitoring_config.managed_prometheus_config.enabled`.
  - `platform_version`.
  - `proxy_config.kubernetes_secret.name`.
  - `proxy_config.kubernetes_secret.namespace`.
  - `security_posture_config.vulnerability_mode`
  - `monitoring_config.cloud_monitoring_config.enabled`
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-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 can only include these
  fields from
  [AttachedCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster "Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)"):
  - `annotations`.
  - `authorization.admin_groups`.
  - `authorization.admin_users`.
  - `binary_authorization.evaluation_mode`.
  - `description`.
  - `logging_config.component_config.enable_components`.
  - `monitoring_config.managed_prometheus_config.enabled`.
  - `platform_version`.
  - `proxy_config.kubernetes_secret.name`.
  - `proxy_config.kubernetes_secret.namespace`.
  - `security_posture_config.vulnerability_mode`
  - `monitoring_config.cloud_monitoring_config.enabled`

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- If set, only validate the request, but do not actually update the cluster.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If set, only validate the request, but do not actually update the cluster.
**Returns**

- (::Boolean) --- If set, only validate the request, but do not actually update the cluster.