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 v1beta 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.v1beta.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"]],[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSearchRequest.Types.DataStoreSpec\u003c/code\u003e class within the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchRequest.Types.DataStoreSpec\u003c/code\u003e is a struct that defines data stores and their configurations for filtering in a search call, returning an \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e error if improperly used.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \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\u003eThe \u003ccode\u003eDataStoreSpec\u003c/code\u003e class includes properties like \u003ccode\u003eDataStore\u003c/code\u003e, \u003ccode\u003eDataStoreAsDataStoreName\u003c/code\u003e, and \u003ccode\u003eFilter\u003c/code\u003e to configure the data store and filter specifications for searches.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are listed, \u003ccode\u003eDataStoreSpec()\u003c/code\u003e and \u003ccode\u003eDataStoreSpec(DataStoreSpec other)\u003c/code\u003e, allowing for the creation of new instances, and instances based on existing \u003ccode\u003eSearchRequest.Types.DataStoreSpec\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,[]]