4.34.0 (latest) 4.33.0 4.32.0 4.31.0 4.30.0 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class AgentCoachingInstruction.

Agent Coaching instructions that customer can configure.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Dialogflow.V2.dll

## Constructors

### AgentCoachingInstruction()

    public AgentCoachingInstruction()

### AgentCoachingInstruction(AgentCoachingInstruction)

    public AgentCoachingInstruction(AgentCoachingInstruction other)

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

## Properties

### AgentAction

    public string AgentAction { get; set; }

Optional. The action that human agent should take. For example, "apologize
for the slow shipping". If the users only want to use agent coaching for
intent detection, agent_action can be empty

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

### Condition

    public string Condition { get; set; }

Optional. The condition of the instruction. For example, "the customer
wants to cancel an order". If the users want the instruction to be
triggered unconditionally, the condition can be empty.

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

### DisplayDetails

    public string DisplayDetails { get; set; }

Optional. The detailed description of this instruction.

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

### DisplayName

    public string DisplayName { get; set; }

Optional. Display name for the instruction.

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

### DuplicateCheckResult

    public AgentCoachingInstruction.Types.DuplicateCheckResult DuplicateCheckResult { get; set; }

Output only. Duplication check for the AgentCoachingInstruction.

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

### SystemAction

    public string SystemAction { get; set; }

Optional. The action that system should take. For example,
"call GetOrderTime with order_number={order number provided by the
customer}". If the users don't have plugins or don't want to trigger
plugins, the system_action can be empty

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

### TriggeringEvent

    public AgentCoachingInstruction.Types.TriggerEvent TriggeringEvent { get; set; }

Optional. The event that should trigger this instruction.
If UNSPECIFIED, the instruction triggering will be same as the generator's
trigger_event.

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