Reference documentation and code samples for the Google Cloud Ces V1 Client class TransferAgent.
The agent will transfer the conversation to a different agent.
Generated from protobuf message google.cloud.ces.v1.TriggerAction.TransferAgent
Namespace
Google \ Cloud \ Ces \ V1 \ TriggerActionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ agent |
string
Required. The name of the agent to transfer the conversation to. The agent must be in the same app as the current agent. Format: |
getAgent
Required. The name of the agent to transfer the conversation to. The
agent must be in the same app as the current agent. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
| Returns | |
|---|---|
| Type | Description |
string |
|
setAgent
Required. The name of the agent to transfer the conversation to. The
agent must be in the same app as the current agent. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|