Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class 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.
Generated from protobuf message google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1beta \ SearchRequest
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ data_store
string
Required. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
getDataStore
Required. Full resource name of
DataStore, such as
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
Returns
Type
Description
string
setDataStore
Required. Full resource name of
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."],[],[],null,[]]