Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

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

Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST, ENTITY_EXTRACTION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource.



16567
16568
16569
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16567

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

Instance Attribute Details

#agentString

Required. The name of a dialogflow virtual agent used for end user side intent detection and suggestion. Format: projects//locations//agent. When multiple agents are allowed in the same Dialogflow project. Corresponds to the JSON property agent

Returns:

  • (String)


16560
16561
16562
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16560

def agent
  @agent
end

#human_agent_side_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig

The configuration used for human agent side Dialogflow assist suggestion. Corresponds to the JSON property humanAgentSideConfig



16565
16566
16567
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16565

def human_agent_side_config
  @human_agent_side_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16572
16573
16574
16575
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16572

def update!(**args)
  @agent = args[:agent] if args.key?(:agent)
  @human_agent_side_config = args[:human_agent_side_config] if args.key?(:human_agent_side_config)
end