0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 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 \\ TriggerAction

## Methods

### __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: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}` |

### 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` |   |