Cloud Natural Language V1 Client - Class ContentCategoriesVersion (0.28.5)

Reference documentation and code samples for the Cloud Natural Language V1 Client class ContentCategoriesVersion.

The content categories used for classification.

Protobuf type google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

CONTENT_CATEGORIES_VERSION_UNSPECIFIED

Value: 0

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

Generated from protobuf enum CONTENT_CATEGORIES_VERSION_UNSPECIFIED = 0;

V1

Value: 1

Legacy content categories of our initial launch in 2017.

Generated from protobuf enum V1 = 1;

V2

Value: 2

Updated content categories in 2022.

Generated from protobuf enum V2 = 2;