Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
- 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
Detail human agent assistant config.
Instance Attribute Summary collapse
-
#feature_configs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig>
Configuration of different suggestion features.
-
#group_suggestion_responses ⇒ Boolean
(also: #group_suggestion_responses?)
If
group_suggestion_responsesis false, and there are multiplefeature_configsinevent based suggestionor StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig.
9709 9710 9711 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature_configs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig>
Configuration of different suggestion features. One feature can have only one
config.
Corresponds to the JSON property featureConfigs
9694 9695 9696 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9694 def feature_configs @feature_configs end |
#group_suggestion_responses ⇒ Boolean 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
9706 9707 9708 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9706 def group_suggestion_responses @group_suggestion_responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9714 9715 9716 9717 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9714 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 |