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.



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

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

Instance Attribute Details

#classification_thresholdFloat

Corresponds to the JSON property classificationThreshold

Returns:

  • (Float)


5477
5478
5479
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5477

def classification_threshold
  @classification_threshold
end

#model_training_modeString

Corresponds to the JSON property modelTrainingMode

Returns:

  • (String)


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

def model_training_mode
  @model_training_mode
end

#model_typeString

Corresponds to the JSON property modelType

Returns:

  • (String)


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