public sealed class DeleteInstancePartitionRequest : IMessage<DeleteInstancePartitionRequest>, IEquatable<DeleteInstancePartitionRequest>, IDeepCloneable<DeleteInstancePartitionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class DeleteInstancePartitionRequest.
The request for
[DeleteInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition].
Optional. If not empty, the API only deletes the instance partition when
the etag provided matches the current status of the requested instance
partition. Otherwise, deletes the instance partition without checking the
current status of the requested instance partition.
Required. The name of the instance partition to be deleted.
Values are of the form
projects/{project}/instances/{instance}/instancePartitions/{instance_partition}
[[["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-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeleteInstancePartitionRequest\u003c/code\u003e class is used to request the deletion of an instance partition in the Google Cloud Spanner Instance Administration v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 5.0.0-beta05, and the documentation offers various prior versions of this class, all the way back to version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eIt has two properties, \u003ccode\u003eEtag\u003c/code\u003e which is optional and \u003ccode\u003eName\u003c/code\u003e, which is required, and \u003ccode\u003eInstancePartitionName\u003c/code\u003e which is a view over the name resource property, used to specify the instance partition to delete.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one taking no parameters and the other taking a \u003ccode\u003eDeleteInstancePartitionRequest\u003c/code\u003e object as a parameter, for creating a copy of an existing request.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class DeleteInstancePartitionRequest (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest) \n\n public sealed class DeleteInstancePartitionRequest : IMessage\u003cDeleteInstancePartitionRequest\u003e, IEquatable\u003cDeleteInstancePartitionRequest\u003e, IDeepCloneable\u003cDeleteInstancePartitionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class DeleteInstancePartitionRequest.\n\nThe request for\n\\[DeleteInstancePartition\\]\\[google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteInstancePartitionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteInstancePartitionRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteInstancePartitionRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteInstancePartitionRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest), [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.Spanner.Admin.Instance.V1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.Admin.Instance.V1.dll\n\nConstructors\n------------\n\n### DeleteInstancePartitionRequest()\n\n public DeleteInstancePartitionRequest()\n\n### DeleteInstancePartitionRequest(DeleteInstancePartitionRequest)\n\n public DeleteInstancePartitionRequest(DeleteInstancePartitionRequest other)\n\nProperties\n----------\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. If not empty, the API only deletes the instance partition when\nthe etag provided matches the current status of the requested instance\npartition. Otherwise, deletes the instance partition without checking the\ncurrent status of the requested instance partition.\n\n### InstancePartitionName\n\n public InstancePartitionName InstancePartitionName { get; set; }\n\n[InstancePartitionName](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.InstancePartitionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.DeleteInstancePartitionRequest#Google_Cloud_Spanner_Admin_Instance_V1_DeleteInstancePartitionRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the instance partition to be deleted.\nValues are of the form\n`projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`"]]