Reference documentation and code samples for the Google Cloud Ces V1 Client class Chunk.
A chunk of content within a message.
Generated from protobuf message google.cloud.ces.v1.Chunk
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
string
Optional. Text data.
↳ transcript
string
Optional. Transcript associated with the audio.
↳ blob
↳ payload
↳ image
↳ tool_call
↳ tool_response
↳ agent_transfer
↳ updated_variables
Google\Protobuf\Struct
A struct represents variables that were updated in the conversation, keyed by variable names.
↳ default_variables
Google\Protobuf\Struct
A struct represents default variables at the start of the conversation, keyed by variable names.
getText
Optional. Text data.
string
hasText
setText
Optional. Text data.
var
string
$this
getTranscript
Optional. Transcript associated with the audio.
string
hasTranscript
setTranscript
Optional. Transcript associated with the audio.
var
string
$this
getBlob
Optional. Blob data.
hasBlob
setBlob
Optional. Blob data.
$this
getPayload
Optional. Custom payload data.
hasPayload
setPayload
Optional. Custom payload data.
$this
getImage
Optional. Image data.
hasImage
setImage
Optional. Image data.
$this
getToolCall
Optional. Tool execution request.
hasToolCall
setToolCall
Optional. Tool execution request.
$this
getToolResponse
Optional. Tool execution response.
hasToolResponse
setToolResponse
Optional. Tool execution response.
$this
getAgentTransfer
Optional. Agent transfer event.
hasAgentTransfer
setAgentTransfer
Optional. Agent transfer event.
$this
getUpdatedVariables
A struct represents variables that were updated in the conversation, keyed by variable names.
hasUpdatedVariables
setUpdatedVariables
A struct represents variables that were updated in the conversation, keyed by variable names.
$this
getDefaultVariables
A struct represents default variables at the start of the conversation, keyed by variable names.
hasDefaultVariables
setDefaultVariables
A struct represents default variables at the start of the conversation, keyed by variable names.
$this
getData
string

