public sealed class Chunk : IMessage<Chunk>, IEquatable<Chunk>, IDeepCloneable<Chunk>, IBufferMessage, IMessageReference 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)| Parameter | |
|---|---|
| Name | Description |
other |
Chunk |
Properties
AgentTransfer
public AgentTransfer AgentTransfer { get; set; }Optional. Agent transfer event.
| Property Value | |
|---|---|
| Type | Description |
AgentTransfer |
|
DataCase
public Chunk.DataOneofCase DataCase { get; }| Property Value | |
|---|---|
| Type | Description |
ChunkDataOneofCase |
|
DefaultVariables
public Struct DefaultVariables { get; set; }A struct represents default variables at the start of the conversation, keyed by variable names.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
HasText
public bool HasText { get; }Gets whether the "text" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasTranscript
public bool HasTranscript { get; }Gets whether the "transcript" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Image
public Image Image { get; set; }Optional. Image data.
| Property Value | |
|---|---|
| Type | Description |
Image |
|
Payload
public Struct Payload { get; set; }Optional. Custom payload data.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
Text
public string Text { get; set; }Optional. Text data.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolCall
public ToolCall ToolCall { get; set; }Optional. Tool execution request.
| Property Value | |
|---|---|
| Type | Description |
ToolCall |
|
ToolResponse
public ToolResponse ToolResponse { get; set; }Optional. Tool execution response.
| Property Value | |
|---|---|
| Type | Description |
ToolResponse |
|
Transcript
public string Transcript { get; set; }Optional. Transcript associated with the audio.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdatedVariables
public Struct UpdatedVariables { get; set; }A struct represents variables that were updated in the conversation, keyed by variable names.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|