Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
- 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.ClearFeature.
Instance Attribute Summary collapse
-
#participant_role ⇒ String
Required.
-
#suggestion_feature_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
Returns a new instance of GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest.
11591 11592 11593 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#participant_role ⇒ String
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
11584 11585 11586 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11584 def participant_role @participant_role end |
#suggestion_feature_type ⇒ String
Required. The type of the suggestion feature to remove.
Corresponds to the JSON property suggestionFeatureType
11589 11590 11591 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11589 def suggestion_feature_type @suggestion_feature_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11596 11597 11598 11599 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11596 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 |