Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SentimentAnalysisRequestConfig

Returns a new instance of GoogleCloudDialogflowV2SentimentAnalysisRequestConfig.



15106
15107
15108
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15106

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#analyze_query_text_sentimentBoolean Also known as: analyze_query_text_sentiment?

Corresponds to the JSON property analyzeQueryTextSentiment

Returns:

  • (Boolean)


15103
15104
15105
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15103

def analyze_query_text_sentiment
  @analyze_query_text_sentiment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15111
15112
15113
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15111

def update!(**args)
  @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
end