Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest

Returns a new instance of GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest.



15486
15487
15488
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15486

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

Instance Attribute Details

#participant_roleString

Corresponds to the JSON property participantRole

Returns:

  • (String)


15479
15480
15481
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15479

def participant_role
  @participant_role
end

#suggestion_feature_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig

Corresponds to the JSON property suggestionFeatureConfig



15484
15485
15486
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15484

def suggestion_feature_config
  @suggestion_feature_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15491
15492
15493
15494
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15491

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