Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest

Inherits:
Object
  • Object
show all
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

The request message for ConversationProfiles.SetSuggestionFeature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest

Returns a new instance of GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest.



17238
17239
17240
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17238

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

Instance Attribute Details

#participant_roleString

Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used. Corresponds to the JSON property participantRole

Returns:

  • (String)


17231
17232
17233
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17231

def participant_role
  @participant_role
end

#suggestion_feature_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig

Config for suggestion features. Corresponds to the JSON property suggestionFeatureConfig



17236
17237
17238
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17236

def suggestion_feature_config
  @suggestion_feature_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17243
17244
17245
17246
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17243

def update!(**args)
  @participant_role = args[:participant_role] if args.key?(:participant_role)
  @suggestion_feature_config = args[:suggestion_feature_config] if args.key?(:suggestion_feature_config)
end