Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyModelMetadata

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

Overview

Metadata for smart reply models.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SmartReplyModelMetadata

Returns a new instance of GoogleCloudDialogflowV2SmartReplyModelMetadata.



14678
14679
14680
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14678

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

Instance Attribute Details

#training_model_typeString

Optional. Type of the smart reply model. If not provided, model_type is used. Corresponds to the JSON property trainingModelType

Returns:

  • (String)


14676
14677
14678
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14676

def training_model_type
  @training_model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14683
14684
14685
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14683

def update!(**args)
  @training_model_type = args[:training_model_type] if args.key?(:training_model_type)
end