public sealed class UpdateAttachedClusterRequest : IMessage<UpdateAttachedClusterRequest>, IEquatable<UpdateAttachedClusterRequest>, IDeepCloneable<UpdateAttachedClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class UpdateAttachedClusterRequest.
Request message for AttachedClusters.UpdateAttachedCluster method.
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][google.cloud.gkemulticloud.v1.AttachedCluster]:
[[["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-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUpdateAttachedClusterRequest\u003c/code\u003e class is used to update an \u003ccode\u003eAttachedCluster\u003c/code\u003e resource within the Anthos Multi-Cloud v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports updating specific fields of an \u003ccode\u003eAttachedCluster\u003c/code\u003e including annotations, authorization settings, binary authorization, description, logging and monitoring configurations, platform version, proxy configuration, security posture configuration, and monitoring configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateMask\u003c/code\u003e property is required to specify which fields within the \u003ccode\u003eAttachedCluster\u003c/code\u003e should be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidateOnly\u003c/code\u003e property allows for request validation without actually applying the update to the cluster.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the API are documented, ranging from version 1.0.0-beta01 to the latest version 2.8.0, with links provided for each one.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class UpdateAttachedClusterRequest (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest) \n\n public sealed class UpdateAttachedClusterRequest : IMessage\u003cUpdateAttachedClusterRequest\u003e, IEquatable\u003cUpdateAttachedClusterRequest\u003e, IDeepCloneable\u003cUpdateAttachedClusterRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class UpdateAttachedClusterRequest.\n\nRequest message for `AttachedClusters.UpdateAttachedCluster` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateAttachedClusterRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateAttachedClusterRequest](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateAttachedClusterRequest](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateAttachedClusterRequest](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### UpdateAttachedClusterRequest()\n\n public UpdateAttachedClusterRequest()\n\n### UpdateAttachedClusterRequest(UpdateAttachedClusterRequest)\n\n public UpdateAttachedClusterRequest(UpdateAttachedClusterRequest other)\n\nProperties\n----------\n\n### AttachedCluster\n\n public AttachedCluster AttachedCluster { get; set; }\n\nRequired. The\n\\[AttachedCluster\\]\\[google.cloud.gkemulticloud.v1.AttachedCluster\\] resource\nto update.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Mask of fields to update. At least one path must be supplied in\nthis field. The elements of the repeated paths field can only include these\nfields from\n\\[AttachedCluster\\]\\[google.cloud.gkemulticloud.v1.AttachedCluster\\]:\n\n- `annotations`.\n- `authorization.admin_groups`.\n- `authorization.admin_users`.\n- `binary_authorization.evaluation_mode`.\n- `description`.\n- `logging_config.component_config.enable_components`.\n- `monitoring_config.managed_prometheus_config.enabled`.\n- `platform_version`.\n- `proxy_config.kubernetes_secret.name`.\n- `proxy_config.kubernetes_secret.namespace`.\n- `security_posture_config.vulnerability_mode`\n- `monitoring_config.cloud_monitoring_config.enabled`\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nIf set, only validate the request, but do not actually update the cluster."]]