Class: Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v1beta2/language_service.rb
Overview
Options for the V2 model.
Defined Under Namespace
Modules: ContentCategoriesVersion
Instance Attribute Summary collapse
-
#content_categories_version ⇒ ::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion
The content categories used for classification.
Instance Attribute Details
#content_categories_version ⇒ ::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion
Returns The content categories used for classification.
946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 946 class V2Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The content categories used for classification. module ContentCategoriesVersion # If `ContentCategoriesVersion` is not specified, this option will # default to `V1`. CONTENT_CATEGORIES_VERSION_UNSPECIFIED = 0 # Legacy content categories of our initial launch in 2017. V1 = 1 # Updated content categories in 2022. V2 = 2 end end |