Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


9884
9885
9886
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9884

def classification_threshold
  @classification_threshold
end

#model_training_modeString

Corresponds to the JSON property modelTrainingMode

Returns:

  • (String)


9889
9890
9891
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9889

def model_training_mode
  @model_training_mode
end

#model_typeString

Corresponds to the JSON property modelType

Returns:

  • (String)


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