Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Inherits:
Object
  • Object
show all
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

Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource.



11326
11327
11328
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11326

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)


11319
11320
11321
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11319

def agent
  @agent
end

#human_agent_side_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig

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



11324
11325
11326
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11324

def human_agent_side_config
  @human_agent_side_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11331
11332
11333
11334
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11331

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