Google Cloud Discovery Engine V1 Client - Class DataStoreSpec (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 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.v1.SearchRequest.DataStoreSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ 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}.

Parameter
Name Description
var string
Returns
Type Description
$this