Cloud Natural Language V1 Client - Class ContentCategoriesVersion (0.32.4)

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

Namespace

Google \ Cloud \ Language \ V1 \ ClassificationModelOptions \ V2Model

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
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;