Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class DataStoreTool.
A DataStoreTool is a way to provide specifications needed to search a list of data stores.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Tool.DataStoreTool
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ ToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_store_connections |
array<Google\Cloud\Dialogflow\Cx\V3\DataStoreConnection>
Required. List of data stores to search. |
↳ fallback_prompt |
DataStoreTool\FallbackPrompt
Required. Fallback prompt configurations to use. |
getDataStoreConnections
Required. List of data stores to search.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDataStoreConnections
Required. List of data stores to search.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Dialogflow\Cx\V3\DataStoreConnection>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFallbackPrompt
Required. Fallback prompt configurations to use.
| Returns | |
|---|---|
| Type | Description |
DataStoreTool\FallbackPrompt|null |
|
hasFallbackPrompt
clearFallbackPrompt
setFallbackPrompt
Required. Fallback prompt configurations to use.
| Parameter | |
|---|---|
| Name | Description |
var |
DataStoreTool\FallbackPrompt
|
| Returns | |
|---|---|
| Type | Description |
$this |
|