public sealed class SessionInput : IMessage<SessionInput>, IEquatable<SessionInput>, IDeepCloneable<SessionInput>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class SessionInput.
Input for the session.
Implements
IMessageSessionInput, IEquatableSessionInput, IDeepCloneableSessionInput, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
SessionInput()
public SessionInput()SessionInput(SessionInput)
public SessionInput(SessionInput other)| Parameter | |
|---|---|
| Name | Description |
other |
SessionInput |
Properties
Audio
public ByteString Audio { get; set; }Optional. Audio data from the end user.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
Blob
public Blob Blob { get; set; }Optional. Blob data from the end user.
| Property Value | |
|---|---|
| Type | Description |
Blob |
|
Dtmf
public string Dtmf { get; set; }Optional. DTMF digits from the end user.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Event
public Event Event { get; set; }Optional. Event input.
| Property Value | |
|---|---|
| Type | Description |
Event |
|
HasAudio
public bool HasAudio { get; }Gets whether the "audio" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasDtmf
public bool HasDtmf { get; }Gets whether the "dtmf" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasText
public bool HasText { get; }Gets whether the "text" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Image
public Image Image { get; set; }Optional. Image data from the end user.
| Property Value | |
|---|---|
| Type | Description |
Image |
|
InputTypeCase
public SessionInput.InputTypeOneofCase InputTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
SessionInputInputTypeOneofCase |
|
Text
public string Text { get; set; }Optional. Text data from the end user.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolResponses
public ToolResponses ToolResponses { get; set; }Optional. Execution results for the tool calls from the client.
| Property Value | |
|---|---|
| Type | Description |
ToolResponses |
|
Variables
public Struct Variables { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
WillContinue
public bool WillContinue { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
bool |
|