1.1.0 (latest) 1.0.0

    public sealed class TriggerAction.Types.TransferAgent : IMessage<TriggerAction.Types.TransferAgent>, IEquatable<TriggerAction.Types.TransferAgent>, IDeepCloneable<TriggerAction.Types.TransferAgent>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class TriggerAction.Types.TransferAgent.

The agent will transfer the conversation to a different agent.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TriggerAction.Types.TransferAgent

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[TriggerAction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.md.txt)[TransferAgent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.TransferAgent.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TriggerAction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.md.txt)[TransferAgent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.TransferAgent.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[TriggerAction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.md.txt)[TransferAgent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.TransferAgent.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### TransferAgent()

    public TransferAgent()

### TransferAgent(TransferAgent)

    public TransferAgent(TriggerAction.Types.TransferAgent other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `TriggerActionTypesTransferAgent` |

## Properties

### Agent

    public string Agent { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### AgentAsAgentName

    public AgentName AgentAsAgentName { get; set; }

[AgentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentName.md.txt)-typed view over the [Agent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.TriggerAction.Types.TransferAgent.md.txt#Google_Cloud_Ces_V1_TriggerAction_Types_TransferAgent_Agent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AgentName` |   |