Class: Google::Apis::LanguageV1beta2::ClassificationModelOptionsV2Model
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::ClassificationModelOptionsV2Model
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Overview
Options for the V2 model.
Instance Attribute Summary collapse
-
#content_categories_version ⇒ String
The content categories used for classification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClassificationModelOptionsV2Model
constructor
A new instance of ClassificationModelOptionsV2Model.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClassificationModelOptionsV2Model
Returns a new instance of ClassificationModelOptionsV2Model.
478 479 480 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_categories_version ⇒ String
The content categories used for classification.
Corresponds to the JSON property contentCategoriesVersion
476 477 478 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 476 def content_categories_version @content_categories_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
483 484 485 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 483 def update!(**args) @content_categories_version = args[:content_categories_version] if args.key?(:content_categories_version) end |