Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata

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

Overview

Metadata for article suggestion models.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ArticleSuggestionModelMetadata

Returns a new instance of GoogleCloudDialogflowV2ArticleSuggestionModelMetadata.



14473
14474
14475
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14473

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

Instance Attribute Details

#training_model_typeString

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

Returns:

  • (String)


14471
14472
14473
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14471

def training_model_type
  @training_model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14478
14479
14480
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14478

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