Reference documentation and code samples for the Google Cloud Ces V1 Client class AgentTransfer.
Represents an event indicating the transfer of a conversation to a different agent.
Generated from protobuf message google.cloud.ces.v1.AgentTransfer
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ target_agent |
string
Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: |
↳ display_name |
string
Output only. Display name of the agent. |
getTargetAgent
Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
| Returns | |
|---|---|
| Type | Description |
string |
|
setTargetAgent
Required. The agent to which the conversation is being transferred. The
agent will handle the conversation from this point forward. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Output only. Display name of the agent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Output only. Display name of the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|