public sealed class DeleteEngineRequest : IMessage<DeleteEngineRequest>, IEquatable<DeleteEngineRequest>, IDeepCloneable<DeleteEngineRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DeleteEngineRequest.
Request message for
[EngineService.DeleteEngine][google.cloud.discoveryengine.v1.EngineService.DeleteEngine]
method.
Required. Full resource name of
[Engine][google.cloud.discoveryengine.v1.Engine], such as
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}.
If the caller does not have permission to delete the
[Engine][google.cloud.discoveryengine.v1.Engine], regardless of whether or
not it exists, a PERMISSION_DENIED error is returned.
If the [Engine][google.cloud.discoveryengine.v1.Engine] to delete does not
exist, a NOT_FOUND error is returned.
[[["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\u003eDeleteEngineRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, detailing its usage for deleting an engine.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDeleteEngineRequest\u003c/code\u003e class is 1.6.0, with links to documentation for previous versions ranging from 1.5.0 to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteEngineRequest\u003c/code\u003e 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eEngineName\u003c/code\u003e, which provides a typed view over the resource name, and \u003ccode\u003eName\u003c/code\u003e, which requires a full resource name string to identify the engine to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eDeleting an engine using the \u003ccode\u003eDeleteEngineRequest\u003c/code\u003e requires proper permissions and will return a \u003ccode\u003eNOT_FOUND\u003c/code\u003e error if the engine does not exist, or \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e if permissions are lacking.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class DeleteEngineRequest (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.DeleteEngineRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest) \n\n public sealed class DeleteEngineRequest : IMessage\u003cDeleteEngineRequest\u003e, IEquatable\u003cDeleteEngineRequest\u003e, IDeepCloneable\u003cDeleteEngineRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class DeleteEngineRequest.\n\nRequest message for\n\\[EngineService.DeleteEngine\\]\\[google.cloud.discoveryengine.v1.EngineService.DeleteEngine\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteEngineRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest), [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### DeleteEngineRequest()\n\n public DeleteEngineRequest()\n\n### DeleteEngineRequest(DeleteEngineRequest)\n\n public DeleteEngineRequest(DeleteEngineRequest other)\n\nProperties\n----------\n\n### EngineName\n\n public EngineName EngineName { get; set; }\n\n[EngineName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.EngineName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteEngineRequest#Google_Cloud_DiscoveryEngine_V1_DeleteEngineRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Full resource name of\n\\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\], such as\n`projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.\n\nIf the caller does not have permission to delete the\n\\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\], regardless of whether or\nnot it exists, a PERMISSION_DENIED error is returned.\n\nIf the \\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\] to delete does not\nexist, a NOT_FOUND error is returned."]]