class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
Configures the types of sentiment analysis to perform.
Attributes
analyze_query_text_sentiment[RW]
Instructs the service to perform sentiment analysis on `query_text`. If not provided, sentiment analysis is not performed on `query_text`. Corresponds to the JSON property `analyzeQueryTextSentiment` @return [Boolean]
analyze_query_text_sentiment?[RW]
Instructs the service to perform sentiment analysis on `query_text`. If not provided, sentiment analysis is not performed on `query_text`. Corresponds to the JSON property `analyzeQueryTextSentiment` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13454 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_v2beta1/classes.rb, line 13459 def update!(**args) @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment) end