# Cloud Natural Language V1 Client - Class ContentCategoriesVersion (1.2.1)

1.2.1 (latest) 1.2.0 1.1.4 1.0.1 0.34.3 0.33.0 0.32.7 0.31.3 0.30.2 0.29.0 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`

## 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;`