public sealed class DeleteInstanceRequest : IMessage<DeleteInstanceRequest>, IEquatable<DeleteInstanceRequest>, IDeepCloneable<DeleteInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class DeleteInstanceRequest.
Request for
[DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance].
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id refers to a GCP region.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeleteInstanceRequest\u003c/code\u003e class is part of the Google Cloud Memorystore for Redis v1 API and is used to request the deletion of a Redis instance.\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, making it versatile for use in different contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteInstanceRequest\u003c/code\u003e has a constructor for creating a new instance and another that enables the creation of an object based on another \u003ccode\u003eDeleteInstanceRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties, notably \u003ccode\u003eInstanceName\u003c/code\u003e, which provides a typed view over the resource name, and \u003ccode\u003eName\u003c/code\u003e, which is a string that holds the required Redis instance resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe content refers to the latest version which is 3.5.0 and ranges down to version 2.2.0, all related to the \u003ccode\u003eDeleteInstanceRequest\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class DeleteInstanceRequest (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.DeleteInstanceRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.DeleteInstanceRequest) \n\n public sealed class DeleteInstanceRequest : IMessage\u003cDeleteInstanceRequest\u003e, IEquatable\u003cDeleteInstanceRequest\u003e, IDeepCloneable\u003cDeleteInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class DeleteInstanceRequest.\n\nRequest for\n\\[DeleteInstance\\]\\[google.cloud.redis.v1.CloudRedis.DeleteInstance\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.DeleteInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.DeleteInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.DeleteInstanceRequest), [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.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll\n\nConstructors\n------------\n\n### DeleteInstanceRequest()\n\n public DeleteInstanceRequest()\n\n### DeleteInstanceRequest(DeleteInstanceRequest)\n\n public DeleteInstanceRequest(DeleteInstanceRequest other)\n\nProperties\n----------\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.InstanceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.DeleteInstanceRequest#Google_Cloud_Redis_V1_DeleteInstanceRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Redis instance resource name using the form:\n`projects/{project_id}/locations/{location_id}/instances/{instance_id}`\nwhere `location_id` refers to a GCP region."]]