Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest

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

The request message for ConversationProfiles.ClearSuggestionFeatureConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest

Returns a new instance of GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest.



9354
9355
9356
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9354

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

Instance Attribute Details

#participant_roleString

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

Returns:

  • (String)


9347
9348
9349
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9347

def participant_role
  @participant_role
end

#suggestion_feature_typeString

Required. The type of the suggestion feature to remove. Corresponds to the JSON property suggestionFeatureType

Returns:

  • (String)


9352
9353
9354
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9352

def suggestion_feature_type
  @suggestion_feature_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9359
9360
9361
9362
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9359

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