1.6.0 (latest) 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Security Command Center v2 API class AgentSession.

Represents a conversational session where the finding occurred.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.SecurityCenter.V2.dll

## Constructors

### AgentSession()

    public AgentSession()

### AgentSession(AgentSession)

    public AgentSession(AgentSession other)

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

## Properties

### SessionId

    public string SessionId { get; set; }

The session ID of a conversation.

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