Show / Hide Table of Contents

Class StreamChatAiAssistantResponse

Response message for SessionService.StreamChatAiAssistant.

Inheritance
object
StreamChatAiAssistantResponse
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class StreamChatAiAssistantResponse : IDirectResponseSchema

Properties

ArtifactChunk

Generated-document artifact event (live preview deltas + final GCS pointer).

Declaration
[JsonProperty("artifactChunk")]
public virtual ArtifactChunk ArtifactChunk { get; set; }
Property Value
Type Description
ArtifactChunk

ConfirmationRequest

A blocking confirmation the agent paused on. The agent resumes when the answer arrives on a later request's confirmation_response. Only sent to clients that declared the CONFIRMATION_CARDS capability on the request.

Declaration
[JsonProperty("confirmationRequest")]
public virtual AssistantConfirmationRequest ConfirmationRequest { get; set; }
Property Value
Type Description
AssistantConfirmationRequest

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EventId

Unique identifier for the event.

Declaration
[JsonProperty("eventId")]
public virtual string EventId { get; set; }
Property Value
Type Description
string

EventTime

object representation of EventTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimeDateTimeOffset instead.")]
public virtual object EventTime { get; set; }
Property Value
Type Description
object

EventTimeDateTimeOffset

DateTimeOffset representation of EventTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

EventTimeRaw

Timestamp when the event occurred.

Declaration
[JsonProperty("eventTime")]
public virtual string EventTimeRaw { get; set; }
Property Value
Type Description
string

Handoff

Tells the client to silently reconnect with resume_from_sequence_number: the task serving this stream is going away and the turn will continue elsewhere. Not an error; the stream completes normally after this event.

Declaration
[JsonProperty("handoff")]
public virtual TurnHandoffEvent Handoff { get; set; }
Property Value
Type Description
TurnHandoffEvent

OptionQuestionsChunk

Structured clarification options parsed out of the model turn. The console renders these as a selectable option list instead of raw text.

Declaration
[JsonProperty("optionQuestionsChunk")]
public virtual OptionQuestionsChunk OptionQuestionsChunk { get; set; }
Property Value
Type Description
OptionQuestionsChunk

ResumeSnapshot

A compacted replay of an in-flight turn, sent as the first event of every attach or resume before any live event. The client replaces any locally rendered state for this turn with the snapshot's contents.

Declaration
[JsonProperty("resumeSnapshot")]
public virtual TurnResumeSnapshot ResumeSnapshot { get; set; }
Property Value
Type Description
TurnResumeSnapshot

SequenceNumber

Optional. Monotonically increasing sequence number for this session turn.

Declaration
[JsonProperty("sequenceNumber")]
public virtual long? SequenceNumber { get; set; }
Property Value
Type Description
long?

SessionCheckpoint

Session checkpoint/compaction recap event containing user intent and rolling summary.

Declaration
[JsonProperty("sessionCheckpoint")]
public virtual SessionCheckpoint SessionCheckpoint { get; set; }
Property Value
Type Description
SessionCheckpoint

Status

Simple status update.

Declaration
[JsonProperty("status")]
public virtual Status Status { get; set; }
Property Value
Type Description
Status

TextChunk

Text Token (for streaming Gemini responses word-by-word).

Declaration
[JsonProperty("textChunk")]
public virtual string TextChunk { get; set; }
Property Value
Type Description
string

ThoughtChunk

Thought text chunk (agent's reasoning before generating response).

Declaration
[JsonProperty("thoughtChunk")]
public virtual string ThoughtChunk { get; set; }
Property Value
Type Description
string

ToolCall

Tool call execution event.

Declaration
[JsonProperty("toolCall")]
public virtual ToolCall ToolCall { get; set; }
Property Value
Type Description
ToolCall

ToolResponse

Tool call response event.

Declaration
[JsonProperty("toolResponse")]
public virtual ToolResponse ToolResponse { get; set; }
Property Value
Type Description
ToolResponse

TurnCompleted

The turn has ended. Sent as the last event of every turn, on the original stream and on every attached or resumed stream, so clients can end the turn on an explicit signal instead of inferring it from stream closure.

Declaration
[JsonProperty("turnCompleted")]
public virtual TurnCompletedEvent TurnCompleted { get; set; }
Property Value
Type Description
TurnCompletedEvent

TurnInProgress

Optional. Indicates whether the turn is still actively running in the background.

Declaration
[JsonProperty("turnInProgress")]
public virtual bool? TurnInProgress { get; set; }
Property Value
Type Description
bool?

TurnMetadata

Optional. Turn-level metadata and intent categorization.

Declaration
[JsonProperty("turnMetadata")]
public virtual TurnMetadata TurnMetadata { get; set; }
Property Value
Type Description
TurnMetadata

UiEvent

Optional. UI event payload.

Declaration
[JsonProperty("uiEvent")]
public virtual UiEvent UiEvent { get; set; }
Property Value
Type Description
UiEvent

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX