Reference documentation and code samples for the Google Cloud Ces V1 Client class DataStoreSource.
Configuration for searching within a specific DataStore.
Generated from protobuf message google.cloud.ces.v1.DataStoreTool.DataStoreSource
Namespace
Google \ Cloud \ Ces \ V1 \ DataStoreToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ filter |
string
Optional. Filter specification for the DataStore. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata |
↳ data_store |
Google\Cloud\Ces\V1\DataStore
Optional. The data store. |
getFilter
Optional. Filter specification for the DataStore.
See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata
| Returns | |
|---|---|
| Type | Description |
string |
|
setFilter
Optional. Filter specification for the DataStore.
See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataStore
Optional. The data store.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Ces\V1\DataStore|null |
|
hasDataStore
clearDataStore
setDataStore
Optional. The data store.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Ces\V1\DataStore
|
| Returns | |
|---|---|
| Type | Description |
$this |
|