Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3NluSettings

Returns a new instance of GoogleCloudDialogflowCxV3NluSettings.



5495
5496
5497
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5495

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

Instance Attribute Details

#classification_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


5483
5484
5485
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5483

def classification_threshold
  @classification_threshold
end

#model_training_modeString

Corresponds to the JSON property modelTrainingMode

Returns:

  • (String)


5488
5489
5490
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5488

def model_training_mode
  @model_training_mode
end

#model_typeString

Corresponds to the JSON property modelType

Returns:

  • (String)


5493
5494
5495
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5493

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5500
5501
5502
5503
5504
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5500

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