Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
- 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
-
#disable_high_latency_features_sync_delivery ⇒ Boolean
(also: #disable_high_latency_features_sync_delivery?)
Optional.
-
#feature_configs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig>
Configuration of different suggestion features.
-
#generators ⇒ Array<String>
Optional.
-
#group_suggestion_responses ⇒ Boolean
(also: #group_suggestion_responses?)
If
group_suggestion_responses
is false, and there are multiplefeature_configs
inevent based suggestion
or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.
11149 11150 11151 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_high_latency_features_sync_delivery ⇒ Boolean Also known as: disable_high_latency_features_sync_delivery?
Optional. When disable_high_latency_features_sync_delivery is true and using
the AnalyzeContent API, we will not deliver the responses from high latency
features in the API response. The human_agent_assistant_config.
notification_config must be configured and enable_event_based_suggestion must
be set to true to receive the responses from high latency features in Pub/Sub.
High latency feature(s): KNOWLEDGE_ASSIST
Corresponds to the JSON property disableHighLatencyFeaturesSyncDelivery
11121 11122 11123 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11121 def disable_high_latency_features_sync_delivery @disable_high_latency_features_sync_delivery end |
#feature_configs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig>
Configuration of different suggestion features. One feature can have only one
config.
Corresponds to the JSON property featureConfigs
11128 11129 11130 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11128 def feature_configs @feature_configs end |
#generators ⇒ Array<String>
Optional. List of various generator resource names used in the conversation
profile.
Corresponds to the JSON property generators
11134 11135 11136 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11134 def generators @generators 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
11146 11147 11148 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11146 def group_suggestion_responses @group_suggestion_responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11154 11155 11156 11157 11158 11159 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11154 def update!(**args) @disable_high_latency_features_sync_delivery = args[:disable_high_latency_features_sync_delivery] if args.key?(:disable_high_latency_features_sync_delivery) @feature_configs = args[:feature_configs] if args.key?(:feature_configs) @generators = args[:generators] if args.key?(:generators) @group_suggestion_responses = args[:group_suggestion_responses] if args.key?(:group_suggestion_responses) end |