public sealed class GetDataStoreRequest : IMessage<GetDataStoreRequest>, IEquatable<GetDataStoreRequest>, IDeepCloneable<GetDataStoreRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GetDataStoreRequest.
Request message for
[DataStoreService.GetDataStore][google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore]
method.
Required. Full resource name of
[DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
If the caller does not have permission to access the
[DataStore][google.cloud.discoveryengine.v1beta.DataStore], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested [DataStore][google.cloud.discoveryengine.v1beta.DataStore]
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\u003eThe latest version of the \u003ccode\u003eGetDataStoreRequest\u003c/code\u003e class is 1.0.0-beta18, which is part of the Google.Cloud.DiscoveryEngine.V1Beta namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class is a request message used for the \u003ccode\u003eDataStoreService.GetDataStore\u003c/code\u003e method within the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetDataStoreRequest\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 the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eDataStoreName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, with the latter being a required string representing the full resource name of a \u003ccode\u003eDataStore\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class also provides two constructors, a default constructor, and one which takes in another \u003ccode\u003eGetDataStoreRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class GetDataStoreRequest (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest) \n\n public sealed class GetDataStoreRequest : IMessage\u003cGetDataStoreRequest\u003e, IEquatable\u003cGetDataStoreRequest\u003e, IDeepCloneable\u003cGetDataStoreRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class GetDataStoreRequest.\n\nRequest message for\n\\[DataStoreService.GetDataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetDataStoreRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest), [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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### GetDataStoreRequest()\n\n public GetDataStoreRequest()\n\n### GetDataStoreRequest(GetDataStoreRequest)\n\n public GetDataStoreRequest(GetDataStoreRequest other)\n\nProperties\n----------\n\n### DataStoreName\n\n public DataStoreName DataStoreName { get; set; }\n\n[DataStoreName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest#Google_Cloud_DiscoveryEngine_V1Beta_GetDataStoreRequest_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.v1beta.DataStore\\], such as\n`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.\n\nIf the caller does not have permission to access the\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\], regardless of\nwhether or not it exists, a PERMISSION_DENIED error is returned.\n\nIf the requested \\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\]\ndoes not exist, a NOT_FOUND error is returned."]]