Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class UserInput.
The input from the human user.
Generated from protobuf message google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ ConversationTurnMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ input
Google\Cloud\Dialogflow\Cx\V3\QueryInput
Supports text input , event input , dtmf input in the test case.
↳ injected_parameters
Google\Protobuf\Struct
Parameters that need to be injected into the conversation during intent detection.
↳ is_webhook_enabled
bool
If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.
↳ enable_sentiment_analysis
bool
Whether sentiment analysis is enabled.
getInput
Supports text input , event input , dtmf input in the test case.
hasInput
clearInput
setInput
Supports text input , event input , dtmf input in the test case.
$this
getInjectedParameters
Parameters that need to be injected into the conversation during intent detection.
hasInjectedParameters
clearInjectedParameters
setInjectedParameters
Parameters that need to be injected into the conversation during intent detection.
$this
getIsWebhookEnabled
If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.
bool
setIsWebhookEnabled
If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.
var
bool
$this
getEnableSentimentAnalysis
Whether sentiment analysis is enabled.
bool
setEnableSentimentAnalysis
Whether sentiment analysis is enabled.
var
bool
$this