public sealed class DeleteClusterRequest : IMessage<DeleteClusterRequest>, IEquatable<DeleteClusterRequest>, IDeepCloneable<DeleteClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class DeleteClusterRequest.
Optional. The current etag of the Cluster.
If an etag is provided and does not match the current etag of the Cluster,
deletion will be blocked and an ABORTED error will be returned.
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. 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 documentation for the \u003ccode\u003eDeleteClusterRequest\u003c/code\u003e class within the Google Cloud AlloyDB v1 API, detailing its purpose, inheritance, and implementation of various interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteClusterRequest\u003c/code\u003e class is used to request the deletion of a cluster, with options to specify the cluster's name, etag for conditional deletion, whether to force delete child instances, a request ID for idempotency, and to validate the request without execution.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eDeleteClusterRequest\u003c/code\u003e class available, with the latest being version 1.9.0, and going as far back as 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eDeleteClusterRequest\u003c/code\u003e implements the IMessage, IEquatable, IDeepCloneable, and IBufferMessage interfaces and inherits members from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors; one being empty and one taking another \u003ccode\u003eDeleteClusterRequest\u003c/code\u003e object to allow for the construction of a copy, and has properties to set or get values for \u003ccode\u003eClusterName\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eForce\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e and \u003ccode\u003eValidateOnly\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1 API - Class DeleteClusterRequest (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.DeleteClusterRequest) \n\n public sealed class DeleteClusterRequest : IMessage\u003cDeleteClusterRequest\u003e, IEquatable\u003cDeleteClusterRequest\u003e, IDeepCloneable\u003cDeleteClusterRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1 API class DeleteClusterRequest.\n\nMessage for deleting a Cluster \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteClusterRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.DeleteClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.DeleteClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.DeleteClusterRequest), [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.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.dll\n\nConstructors\n------------\n\n### DeleteClusterRequest()\n\n public DeleteClusterRequest()\n\n### DeleteClusterRequest(DeleteClusterRequest)\n\n public DeleteClusterRequest(DeleteClusterRequest other)\n\nProperties\n----------\n\n### ClusterName\n\n public ClusterName ClusterName { get; set; }\n\n[ClusterName](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ClusterName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.DeleteClusterRequest#Google_Cloud_AlloyDb_V1_DeleteClusterRequest_Name) resource name property.\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. The current etag of the Cluster.\nIf an etag is provided and does not match the current etag of the Cluster,\ndeletion will be blocked and an ABORTED error will be returned.\n\n### Force\n\n public bool Force { get; set; }\n\nOptional. Whether to cascade delete child instances for given cluster.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the resource. For the required format, see the\ncomment on the Cluster.name field.\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### 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."]]