1.1.0 (latest) 1.0.0

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

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

Indicates the session has terminated, due to either successful completion
(e.g. user says "Good bye!" ) or an agent escalation.

The agent will not process any further inputs after session is terminated and
the client should half-close and disconnect after receiving all remaining
responses from the agent.

## Inheritance

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

## Implements

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

### EndSession()

    public EndSession()

### EndSession(EndSession)

    public EndSession(EndSession other)

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

## Properties

### Metadata

    public Struct Metadata { get; set; }

Optional. Provides additional information about the end session signal,
such as the reason for ending the session.

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