Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
- 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
-
#analyze_query_text_sentiment ⇒ Boolean
(also: #analyze_query_text_sentiment?)
Corresponds to the JSON property
analyzeQueryTextSentiment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
constructor
A new instance of GoogleCloudDialogflowV2SentimentAnalysisRequestConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
Returns a new instance of GoogleCloudDialogflowV2SentimentAnalysisRequestConfig.
15143 15144 15145 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analyze_query_text_sentiment ⇒ Boolean Also known as: analyze_query_text_sentiment?
Corresponds to the JSON property analyzeQueryTextSentiment
15140 15141 15142 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15140 def analyze_query_text_sentiment @analyze_query_text_sentiment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15148 15149 15150 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15148 def update!(**args) @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment) end |