1.1.0 (latest) 1.0.0

    public sealed class AgentTransfer : IMessage<AgentTransfer>, IEquatable<AgentTransfer>, IDeepCloneable<AgentTransfer>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class AgentTransfer.

Represents an event indicating the transfer of a conversation to a different
agent.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AgentTransfer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentTransfer.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AgentTransfer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentTransfer.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AgentTransfer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentTransfer.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

### AgentTransfer()

    public AgentTransfer()

### AgentTransfer(AgentTransfer)

    public AgentTransfer(AgentTransfer other)

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

## Properties

### DisplayName

    public string DisplayName { get; set; }

Output only. Display name of the agent.

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

### TargetAgent

    public string TargetAgent { get; set; }

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

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

### TargetAgentAsAgentName

    public AgentName TargetAgentAsAgentName { 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 [TargetAgent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentTransfer.md.txt#Google_Cloud_Ces_V1_AgentTransfer_TargetAgent) resource name property.

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