1.1.0 (latest) 1.0.0

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

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

Action that is taken when a certain precondition is met.

## Inheritance

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

## 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), [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), [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), [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

### TriggerAction()

    public TriggerAction()

### TriggerAction(TriggerAction)

    public TriggerAction(TriggerAction other)

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

## Properties

### ActionCase

    public TriggerAction.ActionOneofCase ActionCase { get; }

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

### GenerativeAnswer

    public TriggerAction.Types.GenerativeAnswer GenerativeAnswer { get; set; }

Optional. Respond with a generative answer.

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

### RespondImmediately

    public TriggerAction.Types.RespondImmediately RespondImmediately { get; set; }

Optional. Immediately respond with a preconfigured response.

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

### TransferAgent

    public TriggerAction.Types.TransferAgent TransferAgent { get; set; }

Optional. Transfer the conversation to a different agent.

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