Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Defines the Human Agent Assistant to connect to a conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig.



12870
12871
12872
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12870

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

Instance Attribute Details

#end_user_suggestion_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig

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



12853
12854
12855
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12853

def end_user_suggestion_config
  @end_user_suggestion_config
end

#human_agent_suggestion_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig

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



12858
12859
12860
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12858

def human_agent_suggestion_config
  @human_agent_suggestion_config
end

#message_analysis_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig

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



12863
12864
12865
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12863

def message_analysis_config
  @message_analysis_config
end

#notification_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig

Defines notification behavior. Corresponds to the JSON property notificationConfig



12868
12869
12870
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12868

def notification_config
  @notification_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12875
12876
12877
12878
12879
12880
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12875

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