Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig

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

The configuration used for human agent side Dialogflow assist suggestion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig.



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

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

Instance Attribute Details

#agentString

Optional. The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human agent. Format: projects//locations//agent. Corresponds to the JSON property agent

Returns:

  • (String)


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

def agent
  @agent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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