1.1.0 (latest) 1.0.0

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

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

Rule for transferring to a specific agent.

## Inheritance

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

## Implements

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

### TransferRule()

    public TransferRule()

### TransferRule(TransferRule)

    public TransferRule(TransferRule other)

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

## Properties

### ChildAgent

    public string ChildAgent { get; set; }

Required. The resource name of the child agent the rule applies to.
Format:
`projects/{project}/locations/{location}/apps/{app}/agents/{agent}`

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

### ChildAgentAsAgentName

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

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

### DeterministicTransfer

    public TransferRule.Types.DeterministicTransfer DeterministicTransfer { get; set; }

Optional. A rule that immediately transfers to the target agent when the
condition is met.

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

### Direction

    public TransferRule.Types.Direction Direction { get; set; }

Required. The direction of the transfer.

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

### DisablePlannerTransfer

    public TransferRule.Types.DisablePlannerTransfer DisablePlannerTransfer { get; set; }

Optional. Rule that prevents the planner from transferring to the target
agent.

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

### RuleTypeCase

    public TransferRule.RuleTypeOneofCase RuleTypeCase { get; }

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