Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SentimentAnalysisRequestConfig (v0.18.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SentimentAnalysisRequestConfig.

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.