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. A maximum of 1 DataStoreSpec per
data_store is allowed. 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 document provides reference information for the \u003ccode\u003eSearchRequest.Types.DataStoreSpec\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, including its properties and constructors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataStoreSpec\u003c/code\u003e is a struct that defines data stores to filter on during a search call, with a limit of one \u003ccode\u003eDataStoreSpec\u003c/code\u003e per \u003ccode\u003edata_store\u003c/code\u003e to avoid \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e errors.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, extending from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eDataStoreSpec\u003c/code\u003e class include \u003ccode\u003eDataStore\u003c/code\u003e (a string representing the full resource name) and \u003ccode\u003eDataStoreAsDataStoreName\u003c/code\u003e (a typed view of the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the class, one blank and another which takes another \u003ccode\u003eDataStoreSpec\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]