Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
- 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
Config for suggestion features.
Instance Attribute Summary collapse
-
#conversation_model_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature.
-
#enable_event_based_suggestion ⇒ Boolean
(also: #enable_event_based_suggestion?)
Automatically iterates all participants and tries to compile suggestions.
-
#query_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
-
#suggestion_feature ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature
The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type.
-
#suggestion_trigger_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.
9754 9755 9756 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9754 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_model_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature. Supported feature:
ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.
Corresponds to the JSON property conversationModelConfig
9728 9729 9730 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9728 def conversation_model_config @conversation_model_config end |
#enable_event_based_suggestion ⇒ Boolean Also known as: enable_event_based_suggestion?
Automatically iterates all participants and tries to compile suggestions.
Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
Corresponds to the JSON property enableEventBasedSuggestion
9734 9735 9736 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9734 def enable_event_based_suggestion @enable_event_based_suggestion end |
#query_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
Corresponds to the JSON property queryConfig
9740 9741 9742 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9740 def query_config @query_config end |
#suggestion_feature ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature
The type of Human Agent Assistant API suggestion to perform, and the maximum
number of results to return for that type. Multiple Feature objects can be
specified in the features list.
Corresponds to the JSON property suggestionFeature
9747 9748 9749 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9747 def suggestion_feature @suggestion_feature end |
#suggestion_trigger_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
Corresponds to the JSON property suggestionTriggerSettings
9752 9753 9754 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9752 def suggestion_trigger_settings @suggestion_trigger_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9759 9760 9761 9762 9763 9764 9765 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9759 def update!(**args) @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config) @enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion) @query_config = args[:query_config] if args.key?(:query_config) @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature) @suggestion_trigger_settings = args[:suggestion_trigger_settings] if args.key?(:suggestion_trigger_settings) end |