public sealed class SearchRequest.Types.DataStoreSpec : IMessage<SearchRequest.Types.DataStoreSpec>, IEquatable<SearchRequest.Types.DataStoreSpec>, IDeepCloneable<SearchRequest.Types.DataStoreSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class SearchRequest.Types.DataStoreSpec.
A struct to define data stores to filter on in a search call and
configurations for those data stores. Otherwise, an INVALID_ARGUMENT
error is returned.
Required. Full resource name of
[DataStore][google.cloud.discoveryengine.v1.DataStore], such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
[[["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 page provides documentation for the \u003ccode\u003eSearchRequest.Types.DataStoreSpec\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataStoreSpec\u003c/code\u003e is a struct used to define data stores for filtering in search calls, which otherwise return an \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e error if not properly configured.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eSearchRequest.Types.DataStoreSpec\u003c/code\u003e 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, which provides multiple functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataStoreSpec\u003c/code\u003e class includes properties like \u003ccode\u003eDataStore\u003c/code\u003e (a string representing the full resource name of a data store) and \u003ccode\u003eDataStoreAsDataStoreName\u003c/code\u003e (a \u003ccode\u003eDataStoreName\u003c/code\u003e-typed view over the \u003ccode\u003eDataStore\u003c/code\u003e resource name).\u003c/p\u003e\n"],["\u003cp\u003eIt contains public constructors \u003ccode\u003eDataStoreSpec()\u003c/code\u003e and \u003ccode\u003eDataStoreSpec(SearchRequest.Types.DataStoreSpec other)\u003c/code\u003e, where \u003ccode\u003eother\u003c/code\u003e refers to another \u003ccode\u003eDataStoreSpec\u003c/code\u003e class to inherit from.\u003c/p\u003e\n"]]],[],null,[]]