class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput

The input from the human user.

Attributes

enable_sentiment_analysis[RW]

Whether sentiment analysis is enabled. Corresponds to the JSON property `enableSentimentAnalysis` @return [Boolean]

enable_sentiment_analysis?[RW]

Whether sentiment analysis is enabled. Corresponds to the JSON property `enableSentimentAnalysis` @return [Boolean]

injected_parameters[RW]

Parameters that need to be injected into the conversation during intent detection. Corresponds to the JSON property `injectedParameters` @return [Hash<String,Object>]

input[RW]

Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger.

  1. Natural language speech audio to be processed. 4. An event to be triggered.

Corresponds to the JSON property `input` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput]

is_webhook_enabled[RW]

If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled. Corresponds to the JSON property `isWebhookEnabled` @return [Boolean]

is_webhook_enabled?[RW]

If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled. Corresponds to the JSON property `isWebhookEnabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 6063
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 6068
def update!(**args)
  @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
  @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
  @input = args[:input] if args.key?(:input)
  @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
end