public sealed class AssistantSession : IMessage<AssistantSession>, IEquatable<AssistantSession>, IDeepCloneable<AssistantSession>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantSession.
An assistant session represents a conversation between a user and the assistant agent.
Implements
IMessageAssistantSession, IEquatableAssistantSession, IDeepCloneableAssistantSession, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
AssistantSession()
public AssistantSession()AssistantSession(AssistantSession)
public AssistantSession(AssistantSession other)| Parameter | |
|---|---|
| Name | Description |
other |
AssistantSession |
Properties
ActiveTurn
public ActiveTurnInfo ActiveTurn { get; set; }Output only. Attachment info for this session's currently running turn. Unset when no turn is running.
| Property Value | |
|---|---|
| Type | Description |
ActiveTurnInfo |
|
Artifacts
public RepeatedField<AssistantSessionArtifact> Artifacts { get; }Output only. Document artifacts (e.g. generated TDDs in markdown) produced by the assistant in this session. Pointers only; the file content lives in the customer's Cloud Storage bucket.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAssistantSessionArtifact |
|
AssistantSessionName
public AssistantSessionName AssistantSessionName { get; set; }AssistantSessionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
AssistantSessionName |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time the assistant session was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
DisplayName
public string DisplayName { get; set; }Optional. The display name of the assistant session.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Messages
public RepeatedField<AssistantMessage> Messages { get; }Optional. History of messages in the session.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAssistantMessage |
|
Name
public string Name { get; set; }Required. Identifier. The unique identifier of the session.
Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Requestor
public string Requestor { get; set; }Output only. The user who initiated the session.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SessionCheckpoint
public SessionCheckpoint SessionCheckpoint { get; set; }Output only. Session checkpoint containing user intent and rolling history summary.
| Property Value | |
|---|---|
| Type | Description |
SessionCheckpoint |
|
State
public AssistantSessionState State { get; set; }Output only. The status of the assistant session.
| Property Value | |
|---|---|
| Type | Description |
AssistantSessionState |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The time the assistant session was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
UserResponseSuggestions
public UserResponseSuggestions UserResponseSuggestions { get; set; }Output only. Suggested user responses from the assistant agent.
| Property Value | |
|---|---|
| Type | Description |
UserResponseSuggestions |
|