class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Settings that determine how to filter recent conversation context when generating suggestions.

Attributes

drop_handoff_messages[RW]

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` @return [Boolean]

drop_handoff_messages?[RW]

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` @return [Boolean]

drop_ivr_messages[RW]

If set to true, all messages from ivr stage are dropped. Corresponds to the JSON property `dropIvrMessages` @return [Boolean]

drop_ivr_messages?[RW]

If set to true, all messages from ivr stage are dropped. Corresponds to the JSON property `dropIvrMessages` @return [Boolean]

drop_virtual_agent_messages[RW]

If set to true, all messages from virtual agent are dropped. Corresponds to the JSON property `dropVirtualAgentMessages` @return [Boolean]

drop_virtual_agent_messages?[RW]

If set to true, all messages from virtual agent are dropped. Corresponds to the JSON property `dropVirtualAgentMessages` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 9918
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 9923
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