Class SessionInput
Input for the session.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class SessionInput : IDirectResponseSchema
Properties
Audio
Optional. Audio data from the end user.
Declaration
[JsonProperty("audio")]
public virtual string Audio { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Blob
Optional. Blob data from the end user.
Declaration
[JsonProperty("blob")]
public virtual Blob Blob { get; set; }
Property Value
| Type | Description |
|---|---|
| Blob |
Dtmf
Optional. DTMF digits from the end user.
Declaration
[JsonProperty("dtmf")]
public virtual string Dtmf { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Event__
Optional. Event input.
Declaration
[JsonProperty("event")]
public virtual Event Event__ { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
Image
Optional. Image data from the end user.
Declaration
[JsonProperty("image")]
public virtual Image Image { get; set; }
Property Value
| Type | Description |
|---|---|
| Image |
RecordingControl
Optional. Whether the conversation may be recorded and logged from here on. Use this when the app, rather than the agent, decides what may be kept: for example when the end user has to consent to being recorded before anything about the call can be stored. The value stays in effect until the client sends a different one, so it only needs to be sent when the answer changes. Whatever is in effect when a turn completes decides that turn, both whether its audio reaches the recording bucket and whether its transcript reaches conversation history, BigQuery and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that complete before the client first sends this are recorded according to the app's logging settings, as though the field did not exist. If more than one input in the same request sets it, the last one wins.
Declaration
[JsonProperty("recordingControl")]
public virtual string RecordingControl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Text
Optional. Text data from the end user.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToolResponses
Optional. Execution results for the tool calls from the client.
Declaration
[JsonProperty("toolResponses")]
public virtual ToolResponses ToolResponses { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolResponses |
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 as additional session parameters.
Declaration
[JsonProperty("variables")]
public virtual IDictionary<string, object> Variables { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
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 true, the agent defers processing until it receives a subsequent message where
will_continue is false, or until the system detects an endpoint in the audio input. NOTE: This field
does not apply to audio and DTMF inputs, as they are always processed automatically based on the endpointing
signal.
Declaration
[JsonProperty("willContinue")]
public virtual bool? WillContinue { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |