public sealed class Chunk : IMessage<Chunk>, IEquatable<Chunk>, IDeepCloneable<Chunk>, IBufferMessage, IMessage
Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class Chunk.
A chunk of content within a message.
Namespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
Chunk()
public Chunk()
Chunk(Chunk)
public Chunk(Chunk other)
Properties
AgentTransfer
public AgentTransfer AgentTransfer { get; set; }
Optional. Agent transfer event.
Blob
public Blob Blob { get; set; }
Optional. Blob data.
DataCase
public Chunk.DataOneofCase DataCase { get; }
DefaultVariables
public Struct DefaultVariables { get; set; }
A struct represents default variables at the start of the conversation, keyed by variable names.
HasText
public bool HasText { get; }
Gets whether the "text" field is set
HasTranscript
public bool HasTranscript { get; }
Gets whether the "transcript" field is set
Image
public Image Image { get; set; }
Optional. Image data.
Payload
public
Struct
Payload
{
get
;
set
;
}
Optional. Custom payload data.
Text
public string Text { get; set; }
Optional. Text data.
ToolCall
public ToolCall ToolCall { get; set; }
Optional. Tool execution request.
ToolResponse
public ToolResponse ToolResponse { get; set; }
Optional. Tool execution response.
Transcript
public string Transcript { get; set; }
Optional. Transcript associated with the audio.
UpdatedVariables
public Struct UpdatedVariables { get; set; }
A struct represents variables that were updated in the conversation, keyed by variable names.

