public sealed class DeleteDataStoreRequest : IMessage<DeleteDataStoreRequest>, IEquatable<DeleteDataStoreRequest>, IDeepCloneable<DeleteDataStoreRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DeleteDataStoreRequest.
Request message for
[DataStoreService.DeleteDataStore][google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore]
method.
Required. Full resource name of
[DataStore][google.cloud.discoveryengine.v1.DataStore], such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
If the caller does not have permission to delete the
[DataStore][google.cloud.discoveryengine.v1.DataStore], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the [DataStore][google.cloud.discoveryengine.v1.DataStore] 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"]],[["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 documentation for the \u003ccode\u003eDeleteDataStoreRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteDataStoreRequest\u003c/code\u003e is the request message used for the \u003ccode\u003eDataStoreService.DeleteDataStore\u003c/code\u003e method, which is used to delete a specific data store.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteDataStoreRequest\u003c/code\u003e class 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 has properties such as \u003ccode\u003eDataStoreName\u003c/code\u003e (typed view) and \u003ccode\u003eName\u003c/code\u003e (string), where \u003ccode\u003eName\u003c/code\u003e is a required field that represents the full resource name of the DataStore to delete.\u003c/p\u003e\n"],["\u003cp\u003eThis API has multiple versions available, ranging from 1.6.0 to 1.0.0-beta06, with 1.6.0 being the most current release.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class DeleteDataStoreRequest (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.DeleteDataStoreRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest) \n\n public sealed class DeleteDataStoreRequest : IMessage\u003cDeleteDataStoreRequest\u003e, IEquatable\u003cDeleteDataStoreRequest\u003e, IDeepCloneable\u003cDeleteDataStoreRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class DeleteDataStoreRequest.\n\nRequest message for\n\\[DataStoreService.DeleteDataStore\\]\\[google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteDataStoreRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest), [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### DeleteDataStoreRequest()\n\n public DeleteDataStoreRequest()\n\n### DeleteDataStoreRequest(DeleteDataStoreRequest)\n\n public DeleteDataStoreRequest(DeleteDataStoreRequest other)\n\nProperties\n----------\n\n### DataStoreName\n\n public DataStoreName DataStoreName { get; set; }\n\n[DataStoreName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStoreName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DeleteDataStoreRequest#Google_Cloud_DiscoveryEngine_V1_DeleteDataStoreRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Full resource name of\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\], such as\n`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.\n\nIf the caller does not have permission to delete the\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\], regardless of\nwhether or not it exists, a PERMISSION_DENIED error is returned.\n\nIf the \\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\] to delete\ndoes not exist, a NOT_FOUND error is returned."]]