Natural Language V1 API - Module Google::Cloud::Language::V1::ClassificationModelOptions::V2Model::ContentCategoriesVersion (v0.6.0)

Reference documentation and code samples for the Natural Language V1 API module Google::Cloud::Language::V1::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.