Cloud Natural Language V1beta2 Client - Class ContentCategoriesVersion (0.30.2)

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

The content categories used for classification.

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

Namespace

Google \ Cloud \ Language \ V1beta2 \ ClassificationModelOptions \ V2Model

Methods

static::name

Parameter
NameDescription
value mixed

static::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;