Class ConversationTurn.Types.UserInput (1.4.0)

public sealed class UserInput : IMessage<ConversationTurn.Types.UserInput>, IEquatable<ConversationTurn.Types.UserInput>, IDeepCloneable<ConversationTurn.Types.UserInput>, IBufferMessage, IMessage

The input from the human user.

Inheritance

Object > ConversationTurn.Types.UserInput

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

UserInput()

public UserInput()

UserInput(ConversationTurn.Types.UserInput)

public UserInput(ConversationTurn.Types.UserInput other)
Parameter
NameDescription
otherConversationTurn.Types.UserInput

Properties

EnableSentimentAnalysis

public bool EnableSentimentAnalysis { get; set; }

Whether sentiment analysis is enabled.

Property Value
TypeDescription
Boolean

InjectedParameters

public Struct InjectedParameters { get; set; }

Parameters that need to be injected into the conversation during intent detection.

Property Value
TypeDescription
Struct

Input

public QueryInput Input { get; set; }

Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.

Property Value
TypeDescription
QueryInput

IsWebhookEnabled

public bool IsWebhookEnabled { get; set; }

If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.

Property Value
TypeDescription
Boolean