Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Settings of suggestion trigger.
Instance Attribute Summary collapse
-
#no_small_talk ⇒ Boolean
(also: #no_small_talk?)
Do not trigger if last utterance is small talk.
-
#only_end_user ⇒ Boolean
(also: #only_end_user?)
Only trigger suggestion if participant role of last utterance is END_USER.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings.
12228 12229 12230 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#no_small_talk ⇒ Boolean Also known as: no_small_talk?
Do not trigger if last utterance is small talk.
Corresponds to the JSON property noSmallTalk
12219 12220 12221 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12219 def no_small_talk @no_small_talk end |
#only_end_user ⇒ Boolean Also known as: only_end_user?
Only trigger suggestion if participant role of last utterance is END_USER.
Corresponds to the JSON property onlyEndUser
12225 12226 12227 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12225 def only_end_user @only_end_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12233 12234 12235 12236 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12233 def update!(**args) @no_small_talk = args[:no_small_talk] if args.key?(:no_small_talk) @only_end_user = args[:only_end_user] if args.key?(:only_end_user) end |