Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#classification_threshold ⇒ Float
Corresponds to the JSON property
classificationThreshold. -
#model_training_mode ⇒ String
Corresponds to the JSON property
modelTrainingMode. -
#model_type ⇒ String
Corresponds to the JSON property
modelType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3NluSettings
constructor
A new instance of GoogleCloudDialogflowCxV3NluSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3NluSettings
Returns a new instance of GoogleCloudDialogflowCxV3NluSettings.
5489 5490 5491 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classification_threshold ⇒ Float
Corresponds to the JSON property classificationThreshold
5477 5478 5479 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5477 def classification_threshold @classification_threshold end |
#model_training_mode ⇒ String
Corresponds to the JSON property modelTrainingMode
5482 5483 5484 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5482 def model_training_mode @model_training_mode end |
#model_type ⇒ String
Corresponds to the JSON property modelType
5487 5488 5489 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5487 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5494 5495 5496 5497 5498 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5494 def update!(**args) @classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold) @model_training_mode = args[:model_training_mode] if args.key?(:model_training_mode) @model_type = args[:model_type] if args.key?(:model_type) end |