Class AssistantSession
An assistant session represents a conversation between a user and the assistant agent.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class AssistantSession : IDirectResponseSchema
Properties
ActiveTurn
Output only. Attachment info for this session's currently running turn. Unset when no turn is running.
Declaration
[JsonProperty("activeTurn")]
public virtual ActiveTurnInfo ActiveTurn { get; set; }
Property Value
| Type | Description |
|---|---|
| ActiveTurnInfo |
Artifacts
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.
Declaration
[JsonProperty("artifacts")]
public virtual IList<AssistantSessionArtifact> Artifacts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AssistantSessionArtifact> |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time the assistant session was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Optional. The display name of the assistant session.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Messages
Optional. History of messages in the session.
Declaration
[JsonProperty("messages")]
public virtual IList<AssistantMessage> Messages { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AssistantMessage> |
Name
Required. Identifier. The unique identifier of the session. Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Requestor
Output only. The user who initiated the session.
Declaration
[JsonProperty("requestor")]
public virtual string Requestor { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SessionCheckpoint
Output only. Session checkpoint containing user intent and rolling history summary.
Declaration
[JsonProperty("sessionCheckpoint")]
public virtual SessionCheckpoint SessionCheckpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| SessionCheckpoint |
State
Output only. The status of the assistant session.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time the assistant session was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserResponseSuggestions
Output only. Suggested user responses from the assistant agent.
Declaration
[JsonProperty("userResponseSuggestions")]
public virtual UserResponseSuggestions UserResponseSuggestions { get; set; }
Property Value
| Type | Description |
|---|---|
| UserResponseSuggestions |