Model options available for classification requests.
| JSON representation | 
|---|
| { // Union field | 
| Fields | |
|---|---|
| Union field model_type. If this field is not set, then thev1_modelwill be used by default.model_typecan be only one of the following: | |
| v1 | 
 Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future. | 
| v2 | 
 Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model. | 
V1Model
This type has no fields.
Options for the V1 model.
V2Model
Options for the V2 model.
| JSON representation | 
|---|
| {
  "contentCategoriesVersion": enum ( | 
| Fields | |
|---|---|
| content | 
 The content categories used for classification. | 
ContentCategoriesVersion
The content categories used for classification.
| Enums | |
|---|---|
| CONTENT_CATEGORIES_VERSION_UNSPECIFIED | If ContentCategoriesVersionis not specified, this option will default toV1. | 
| V1 | Legacy content categories of our initial launch in 2017. | 
| V2 | Updated content categories in 2022. |