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.



11392
11393
11394
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11392

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)


11390
11391
11392
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11390

def agent
  @agent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11397
11398
11399
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11397

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