Input for the session.
| JSON representation |
|---|
{ "willContinue": boolean, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "text": string, "dtmf": string, "audio": string, "toolResponses": { object ( |
| Fields | |
|---|---|
willContinue |
Optional. A flag to indicate if the current message is a fragment of a larger input in the bidi streaming session. When set to NOTE: This field does not apply to audio and DTMF inputs, as they are always processed automatically based on the endpointing signal. |
| The type of the input. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
text |
Optional. Text data from the end user. |
dtmf |
Optional. DTMF digits from the end user. |
audio |
Optional. Audio data from the end user. A base64-encoded string. |
toolResponses |
Optional. Execution results for the tool calls from the client. |
image |
Optional. Image data from the end user. |
blob |
Optional. Blob data from the end user. |
variables |
Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent. Unrecognized variables will still be sent to the [Dialogflow agent][Agent.RemoteDialogflowAgent] as additional session parameters. |
event |
Optional. Event input. |
| End of mutually exclusive fields. | |
ToolResponses
Execution results for the requested tool calls from the client.
| JSON representation |
|---|
{
"toolResponses": [
{
object ( |
| Fields | |
|---|---|
toolResponses[] |
Optional. The list of tool execution results. |
Event
Event input.
| JSON representation |
|---|
{ "event": string, "variables": { object } } |
| Fields | |
|---|---|
event |
Required. The name of the event. |
variables |
Optional. Additional variables associated with the event. |