Vertex AI v1beta1 API - Class Session (1.0.0-beta24)

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

Reference documentation and code samples for the Vertex AI v1beta1 API class Session.

A session contains a set of actions between users and Vertex agents.

Inheritance

object > Session

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

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

Name

public string Name { get; set; }

Required. 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

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