Class: Google::Cloud::Language::V1::ClassificationModelOptions::V2Model

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/language/v1/language_service.rb

Overview

Options for the V2 model.

Defined Under Namespace

Modules: ContentCategoriesVersion

Instance Attribute Summary collapse

Instance Attribute Details

#content_categories_version::Google::Cloud::Language::V1::ClassificationModelOptions::V2Model::ContentCategoriesVersion

Returns The content categories used for classification.

Returns:



927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 927

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