Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ConnectorTool.
A ConnectorTool enabling using Integration Connectors Connections as tools.
Generated from protobuf message google.cloud.dialogflow.v2.Tool.ConnectorTool
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The full resource name of the referenced Integration Connectors Connection. Format: 'projects//locations//connections/*' |
↳ actions |
array<ConnectorTool\Action>
Required. Actions for the tool to use. |
getName
Required. The full resource name of the referenced Integration Connectors Connection. Format: 'projects//locations//connections/*'
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The full resource name of the referenced Integration Connectors Connection. Format: 'projects//locations//connections/*'
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getActions
Required. Actions for the tool to use.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setActions
Required. Actions for the tool to use.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ConnectorTool\Action>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|