Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
- 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
Overview
Settings of suggestion trigger.
Instance Attribute Summary collapse
-
#no_smalltalk ⇒ Boolean
(also: #no_smalltalk?)
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) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings.
11437 11438 11439 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#no_smalltalk ⇒ Boolean Also known as: no_smalltalk?
Do not trigger if last utterance is small talk.
Corresponds to the JSON property noSmalltalk
11428 11429 11430 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11428 def no_smalltalk @no_smalltalk 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
11434 11435 11436 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11434 def only_end_user @only_end_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11442 11443 11444 11445 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11442 def update!(**args) @no_smalltalk = args[:no_smalltalk] if args.key?(:no_smalltalk) @only_end_user = args[:only_end_user] if args.key?(:only_end_user) end |