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.
10874 10875 10876 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10874 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
10859 10860 10861 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10859 def enable_entity_extraction @enable_entity_extraction end |
#enable_sentiment_analysis ⇒ Boolean Also known as: enable_sentiment_analysis?
Corresponds to the JSON property enableSentimentAnalysis
10865 10866 10867 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10865 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
10871 10872 10873 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10871 def enable_sentiment_analysis_v3 @enable_sentiment_analysis_v3 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10879 10880 10881 10882 10883 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10879 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 |