Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Inherits:
Object
  • Object
show all
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 that determine how to filter recent conversation context when generating suggestions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings.



13406
13407
13408
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13406

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#drop_handoff_messagesBoolean 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

Returns:

  • (Boolean)


13391
13392
13393
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13391

def drop_handoff_messages
  @drop_handoff_messages
end

#drop_ivr_messagesBoolean Also known as: drop_ivr_messages?

If set to true, all messages from ivr stage are dropped. Corresponds to the JSON property dropIvrMessages

Returns:

  • (Boolean)


13397
13398
13399
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13397

def drop_ivr_messages
  @drop_ivr_messages
end

#drop_virtual_agent_messagesBoolean Also known as: drop_virtual_agent_messages?

If set to true, all messages from virtual agent are dropped. Corresponds to the JSON property dropVirtualAgentMessages

Returns:

  • (Boolean)


13403
13404
13405
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13403

def drop_virtual_agent_messages
  @drop_virtual_agent_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13411
13412
13413
13414
13415
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13411

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