Natural Language V1beta2 API - Module Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion (v0.10.2)

Reference documentation and code samples for the Natural Language V1beta2 API module Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion.

The content categories used for classification.

Constants

CONTENT_CATEGORIES_VERSION_UNSPECIFIED

value: 0
If ContentCategoriesVersion is not specified, this option will default to V1.

V1

value: 1
Legacy content categories of our initial launch in 2017.

V2

value: 2
Updated content categories in 2022.