Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
- 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
-
#participant_role ⇒ String
Required.
-
#suggestion_feature_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
Config for suggestion features.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
Returns a new instance of GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest.
16044 16045 16046 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16044 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
16037 16038 16039 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16037 def participant_role @participant_role end |
#suggestion_feature_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
Config for suggestion features.
Corresponds to the JSON property suggestionFeatureConfig
16042 16043 16044 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16042 def suggestion_feature_config @suggestion_feature_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16049 16050 16051 16052 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16049 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 |