Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig

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

Detail human agent assistant config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.



10217
10218
10219
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10217

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

Instance Attribute Details

#feature_configsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig>

Configuration of different suggestion features. One feature can have only one config. Corresponds to the JSON property featureConfigs



10202
10203
10204
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10202

def feature_configs
  @feature_configs
end

#group_suggestion_responsesBoolean Also known as: group_suggestion_responses?

If group_suggestion_responses is false, and there are multiple feature_configs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse. If group_suggestion_responses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse. Corresponds to the JSON property groupSuggestionResponses

Returns:

  • (Boolean)


10214
10215
10216
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10214

def group_suggestion_responses
  @group_suggestion_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10222
10223
10224
10225
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10222

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