Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
- 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
Config for suggestion features.
Instance Attribute Summary collapse
-
#conversation_model_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature.
-
#conversation_process_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
Config to process conversation.
-
#enable_event_based_suggestion ⇒ Boolean
(also: #enable_event_based_suggestion?)
Automatically iterates all participants and tries to compile suggestions.
-
#query_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
-
#suggestion_feature ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature
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::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.
8701 8702 8703 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8701 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_model_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature. Supported feature:
ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
Corresponds to the JSON property conversationModelConfig
8670 8671 8672 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8670 def conversation_model_config @conversation_model_config end |
#conversation_process_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
Config to process conversation.
Corresponds to the JSON property conversationProcessConfig
8675 8676 8677 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8675 def conversation_process_config @conversation_process_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
8681 8682 8683 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8681 def enable_event_based_suggestion @enable_event_based_suggestion end |
#query_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
Corresponds to the JSON property queryConfig
8687 8688 8689 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8687 def query_config @query_config end |
#suggestion_feature ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature
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
8694 8695 8696 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8694 def suggestion_feature @suggestion_feature end |
#suggestion_trigger_settings ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
Corresponds to the JSON property suggestionTriggerSettings
8699 8700 8701 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8699 def suggestion_trigger_settings @suggestion_trigger_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8706 8707 8708 8709 8710 8711 8712 8713 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8706 def update!(**args) @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config) @conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_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 |