1.1.0 (latest) 1.0.0

    public sealed class ErrorHandlingSettings.Types.EndSessionConfig : IMessage<ErrorHandlingSettings.Types.EndSessionConfig>, IEquatable<ErrorHandlingSettings.Types.EndSessionConfig>, IDeepCloneable<ErrorHandlingSettings.Types.EndSessionConfig>, IBufferMessage, IMessage

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

Configuration for ending the session in case of system errors (e.g. LLM
errors).

## Inheritance

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

## Implements

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

### EndSessionConfig()

    public EndSessionConfig()

### EndSessionConfig(EndSessionConfig)

    public EndSessionConfig(ErrorHandlingSettings.Types.EndSessionConfig other)

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

## Properties

### EscalateSession

    public bool EscalateSession { get; set; }

Optional. Whether to escalate the session in
\[EndSession\]\[google.cloud.ces.v1.EndSession\]. If session is escalated,
\[metadata in EndSession\]\[google.cloud.ces.v1.EndSession.metadata\] will
contain `session_escalated = true`. See
<https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent>
for details.

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

### HasEscalateSession

    public bool HasEscalateSession { get; }

Gets whether the "escalate_session" field is set

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