Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
- 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 that determine how to filter recent conversation context when generating suggestions.
Instance Attribute Summary collapse
-
#drop_handoff_messages ⇒ Boolean
(also: #drop_handoff_messages?)
If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped.
-
#drop_ivr_messages ⇒ Boolean
(also: #drop_ivr_messages?)
If set to true, all messages from ivr stage are dropped.
-
#drop_virtual_agent_messages ⇒ Boolean
(also: #drop_virtual_agent_messages?)
If set to true, all messages from virtual agent are dropped.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings.
11343 11344 11345 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drop_handoff_messages ⇒ Boolean Also known as: drop_handoff_messages?
If set to true, the last message from virtual agent (hand off message) and the
message before it (trigger message of hand off) are dropped.
Corresponds to the JSON property dropHandoffMessages
11328 11329 11330 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11328 def @drop_handoff_messages end |
#drop_ivr_messages ⇒ Boolean Also known as: drop_ivr_messages?
If set to true, all messages from ivr stage are dropped.
Corresponds to the JSON property dropIvrMessages
11334 11335 11336 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11334 def @drop_ivr_messages end |
#drop_virtual_agent_messages ⇒ Boolean Also known as: drop_virtual_agent_messages?
If set to true, all messages from virtual agent are dropped.
Corresponds to the JSON property dropVirtualAgentMessages
11340 11341 11342 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11340 def @drop_virtual_agent_messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11348 11349 11350 11351 11352 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11348 def update!(**args) @drop_handoff_messages = args[:drop_handoff_messages] if args.key?(:drop_handoff_messages) @drop_ivr_messages = args[:drop_ivr_messages] if args.key?(:drop_ivr_messages) @drop_virtual_agent_messages = args[:drop_virtual_agent_messages] if args.key?(:drop_virtual_agent_messages) end |