public sealed class UpdateClusterRequest : IMessage<UpdateClusterRequest>, IEquatable<UpdateClusterRequest>, IDeepCloneable<UpdateClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class UpdateClusterRequest.
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server ignores the
request if it has already been completed. The server guarantees that for at
least 60 minutes since the first request.
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, the server can check if the original operation with the same request ID
was received, and if so, ignores the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Optional. 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. If the
user does not provide a mask then all fields will be overwritten.
Optional. If set, performs request validation, for example, permission
checks and any other type of validation, but does not actually execute the
create request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eUpdateClusterRequest\u003c/code\u003e class within the Google Cloud AlloyDB v1alpha API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateClusterRequest\u003c/code\u003e class is used to send messages for updating a Cluster in AlloyDB, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt supports two constructors, one default and another that copies an existing \u003ccode\u003eUpdateClusterRequest\u003c/code\u003e object, allowing for flexible instantiation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eAllowMissing\u003c/code\u003e to handle cases where a cluster might not exist, \u003ccode\u003eCluster\u003c/code\u003e which is the resource to be updated, \u003ccode\u003eRequestId\u003c/code\u003e for request idempotency, \u003ccode\u003eUpdateMask\u003c/code\u003e to specify fields to update, and \u003ccode\u003eValidateOnly\u003c/code\u003e for request validation without execution.\u003c/p\u003e\n"],["\u003cp\u003eThe class resides within the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Alpha\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class UpdateClusterRequest (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.UpdateClusterRequest)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.UpdateClusterRequest) \n\n public sealed class UpdateClusterRequest : IMessage\u003cUpdateClusterRequest\u003e, IEquatable\u003cUpdateClusterRequest\u003e, IDeepCloneable\u003cUpdateClusterRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class UpdateClusterRequest.\n\nMessage for updating a Cluster \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateClusterRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.UpdateClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.UpdateClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.UpdateClusterRequest), [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.AlloyDb.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.dll\n\nConstructors\n------------\n\n### UpdateClusterRequest()\n\n public UpdateClusterRequest()\n\n### UpdateClusterRequest(UpdateClusterRequest)\n\n public UpdateClusterRequest(UpdateClusterRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nOptional. If set to true, update succeeds even if cluster is not found. In\nthat case, a new cluster is created and `update_mask` is ignored.\n\n### Cluster\n\n public Cluster Cluster { get; set; }\n\nRequired. The resource being updated\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server ignores the\nrequest if it has already been completed. The server guarantees that for at\nleast 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if the original operation with the same request ID\nwas received, and if so, ignores the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nOptional. Field mask is used to specify the fields to be overwritten in the\nCluster resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. If set, performs request validation, for example, permission\nchecks and any other type of validation, but does not actually execute the\ncreate request."]]