Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v2/classes.rb,
generated/google/apis/dialogflow_v2/representations.rb,
generated/google/apis/dialogflow_v2/representations.rb

Overview

Metadata for article suggestion models.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata

Returns a new instance of GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata



2759
2760
2761
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 2759

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

Instance Attribute Details

#model_typeString

Optional. Type of the article suggestion model. The available values are:

  • article-suggestion-gbt-1 - (default) Article Suggestion Gbt model. Corresponds to the JSON property modelType

Returns:

  • (String)


2757
2758
2759
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 2757

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2764
2765
2766
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 2764

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