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.



9908
9909
9910
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9908

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

Instance Attribute Details

#classification_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


9896
9897
9898
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9896

def classification_threshold
  @classification_threshold
end

#model_training_modeString

Corresponds to the JSON property modelTrainingMode

Returns:

  • (String)


9901
9902
9903
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9901

def model_training_mode
  @model_training_mode
end

#model_typeString

Corresponds to the JSON property modelType

Returns:

  • (String)


9906
9907
9908
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9906

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9913
9914
9915
9916
9917
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9913

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