Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig

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

Defines the Human Agent Assist to connect to a conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfig.



10831
10832
10833
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10831

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

Instance Attribute Details

#end_user_suggestion_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig

Detail human agent assistant config. Corresponds to the JSON property endUserSuggestionConfig



10814
10815
10816
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10814

def end_user_suggestion_config
  @end_user_suggestion_config
end

#human_agent_suggestion_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig

Detail human agent assistant config. Corresponds to the JSON property humanAgentSuggestionConfig



10819
10820
10821
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10819

def human_agent_suggestion_config
  @human_agent_suggestion_config
end

#message_analysis_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig

Configuration for analyses to run on each conversation message. Corresponds to the JSON property messageAnalysisConfig



10824
10825
10826
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10824

def message_analysis_config
  @message_analysis_config
end

#notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property notificationConfig



10829
10830
10831
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10829

def notification_config
  @notification_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10836
10837
10838
10839
10840
10841
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10836

def update!(**args)
  @end_user_suggestion_config = args[:end_user_suggestion_config] if args.key?(:end_user_suggestion_config)
  @human_agent_suggestion_config = args[:human_agent_suggestion_config] if args.key?(:human_agent_suggestion_config)
  @message_analysis_config = args[:message_analysis_config] if args.key?(:message_analysis_config)
  @notification_config = args[:notification_config] if args.key?(:notification_config)
end