Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
- 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.SetSuggestionFeatureConfig.
Instance Attribute Summary collapse
-
#participant_role ⇒ String
Required.
-
#suggestion_feature_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
Config for suggestion features.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
constructor
A new instance of GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
Returns a new instance of GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest.
17009 17010 17011 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#participant_role ⇒ String
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
17002 17003 17004 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17002 def participant_role @participant_role end |
#suggestion_feature_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
Config for suggestion features.
Corresponds to the JSON property suggestionFeatureConfig
17007 17008 17009 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17007 def suggestion_feature_config @suggestion_feature_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17014 17015 17016 17017 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17014 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 |