public sealed class DeleteControlRequest : IMessage<DeleteControlRequest>, IEquatable<DeleteControlRequest>, IDeepCloneable<DeleteControlRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DeleteControlRequest.
Required. The resource name of the Control to delete. Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}
[[["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\u003eThis document provides reference information for the \u003ccode\u003eDeleteControlRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, detailing its structure, usage, and available versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteControlRequest\u003c/code\u003e class, designed for requesting the deletion of a control, inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eDeleteControlRequest\u003c/code\u003e is version 1.6.0, with several older versions also documented, ranging back to version 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors \u003ccode\u003eDeleteControlRequest()\u003c/code\u003e and \u003ccode\u003eDeleteControlRequest(DeleteControlRequest)\u003c/code\u003e as well as two properties \u003ccode\u003eControlName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, a required string, specifies the full resource name of the control to be deleted, following the specified format for projects, locations, collections, data stores, and controls.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class DeleteControlRequest (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest) \n\n public sealed class DeleteControlRequest : IMessage\u003cDeleteControlRequest\u003e, IEquatable\u003cDeleteControlRequest\u003e, IDeepCloneable\u003cDeleteControlRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class DeleteControlRequest.\n\nRequest for DeleteControl method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteControlRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteControlRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteControlRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteControlRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### DeleteControlRequest()\n\n public DeleteControlRequest()\n\n### DeleteControlRequest(DeleteControlRequest)\n\n public DeleteControlRequest(DeleteControlRequest other)\n\nProperties\n----------\n\n### ControlName\n\n public ControlName ControlName { get; set; }\n\n[ControlName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ControlName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteControlRequest#Google_Cloud_DiscoveryEngine_V1_DeleteControlRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the Control to delete. Format:\n`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`"]]