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

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. 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}.

↳ filter string

Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

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

getFilter

Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

Returns
Type Description
string

setFilter

Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see Filtering

Parameter
Name Description
var string
Returns
Type Description
$this