Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
- 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
-
#enable_entity_extraction ⇒ Boolean
(also: #enable_entity_extraction?)
Corresponds to the JSON property
enableEntityExtraction. -
#enable_sentiment_analysis ⇒ Boolean
(also: #enable_sentiment_analysis?)
Corresponds to the JSON property
enableSentimentAnalysis. -
#enable_sentiment_analysis_v3 ⇒ Boolean
(also: #enable_sentiment_analysis_v3?)
Corresponds to the JSON property
enableSentimentAnalysisV3.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig.
10906 10907 10908 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_entity_extraction ⇒ Boolean Also known as: enable_entity_extraction?
Corresponds to the JSON property enableEntityExtraction
10891 10892 10893 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10891 def enable_entity_extraction @enable_entity_extraction end |
#enable_sentiment_analysis ⇒ Boolean Also known as: enable_sentiment_analysis?
Corresponds to the JSON property enableSentimentAnalysis
10897 10898 10899 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10897 def enable_sentiment_analysis @enable_sentiment_analysis end |
#enable_sentiment_analysis_v3 ⇒ Boolean Also known as: enable_sentiment_analysis_v3?
Corresponds to the JSON property enableSentimentAnalysisV3
10903 10904 10905 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10903 def enable_sentiment_analysis_v3 @enable_sentiment_analysis_v3 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10911 10912 10913 10914 10915 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10911 def update!(**args) @enable_entity_extraction = args[:enable_entity_extraction] if args.key?(:enable_entity_extraction) @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis) @enable_sentiment_analysis_v3 = args[:enable_sentiment_analysis_v3] if args.key?(:enable_sentiment_analysis_v3) end |