Class Google::Cloud::Dialogflow::V2::SentimentAnalysisRequestConfig (v0.12.0)

Configures the types of sentiment analysis to perform.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#analyze_query_text_sentiment

def analyze_query_text_sentiment() -> ::Boolean
Returns
  • (::Boolean) — Instructs the service to perform sentiment analysis on query_text. If not provided, sentiment analysis is not performed on query_text.

#analyze_query_text_sentiment=

def analyze_query_text_sentiment=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Instructs the service to perform sentiment analysis on query_text. If not provided, sentiment analysis is not performed on query_text.
Returns
  • (::Boolean) — Instructs the service to perform sentiment analysis on query_text. If not provided, sentiment analysis is not performed on query_text.