public sealed class Session : IMessage<Session>, IEquatable<Session>, IDeepCloneable<Session>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class Session.
A session contains a set of actions between users and Vertex agents.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Session()
public Session()Session(Session)
public Session(Session other)| Parameter | |
|---|---|
| Name | Description |
other |
Session |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Output only. Timestamp when the session was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
DisplayName
public string DisplayName { get; set; }Optional. The display name of the session.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ExpirationCase
public Session.ExpirationOneofCase ExpirationCase { get; }| Property Value | |
|---|---|
| Type | Description |
SessionExpirationOneofCase |
|
ExpireTime
public Timestamp ExpireTime { get; set; }Optional. Timestamp of when this session is considered expired. This is always provided on output, regardless of what was sent on input.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Name
public string Name { get; set; }Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SessionName
public SessionName SessionName { get; set; }SessionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
SessionName |
|
SessionState
public Struct SessionState { get; set; }Optional. Session specific memory which stores key conversation points.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
Ttl
public Duration Ttl { get; set; }Optional. Input only. The TTL for this session.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Timestamp when the session was updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
UserId
public string UserId { get; set; }Required. Immutable. String id provided by the user
| Property Value | |
|---|---|
| Type | Description |
string |
|