Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1NluSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1NluSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1NluSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1NluSettings.
9896 9897 9898 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classification_threshold ⇒ Float
Corresponds to the JSON property classificationThreshold
9884 9885 9886 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9884 def classification_threshold @classification_threshold end |
#model_training_mode ⇒ String
Corresponds to the JSON property modelTrainingMode
9889 9890 9891 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9889 def model_training_mode @model_training_mode end |
#model_type ⇒ String
Corresponds to the JSON property modelType
9894 9895 9896 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9894 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9901 9902 9903 9904 9905 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9901 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 |