Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig

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

Config for suggestion features.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.



7148
7149
7150
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7148

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

Instance Attribute Details

#conversation_model_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig

Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY. Corresponds to the JSON property conversationModelConfig



7122
7123
7124
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7122

def conversation_model_config
  @conversation_model_config
end

#enable_event_based_suggestionBoolean 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

Returns:

  • (Boolean)


7128
7129
7130
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7128

def enable_event_based_suggestion
  @enable_event_based_suggestion
end

#query_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig

Config for suggestion query. Corresponds to the JSON property queryConfig



7134
7135
7136
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7134

def query_config
  @query_config
end

#suggestion_featureGoogle::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



7141
7142
7143
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7141

def suggestion_feature
  @suggestion_feature
end

#suggestion_trigger_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings

Settings of suggestion trigger. Corresponds to the JSON property suggestionTriggerSettings



7146
7147
7148
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7146

def suggestion_trigger_settings
  @suggestion_trigger_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7153
7154
7155
7156
7157
7158
7159
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7153

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