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.



10460
10461
10462
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10460

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)


10458
10459
10460
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10458

def agent
  @agent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10465
10466
10467
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10465

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