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 \ SearchRequestMethods
__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 |
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 |
|