Reference documentation and code samples for the Natural Language V1beta2 API module Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion.
The content categories used for classification.
Constants
CONTENT_CATEGORIES_VERSION_UNSPECIFIED
value: 0 If ContentCategoriesVersion is not specified, this option will
default to V1.
V1
value: 1 Legacy content categories of our initial launch in 2017.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Natural Language V1beta2 API - Module Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion (v0.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.0 (latest)](/ruby/docs/reference/google-cloud-language-v1beta2/latest/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.13.1](/ruby/docs/reference/google-cloud-language-v1beta2/0.13.1/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.12.0](/ruby/docs/reference/google-cloud-language-v1beta2/0.12.0/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.11.1](/ruby/docs/reference/google-cloud-language-v1beta2/0.11.1/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.10.2](/ruby/docs/reference/google-cloud-language-v1beta2/0.10.2/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.9.0](/ruby/docs/reference/google-cloud-language-v1beta2/0.9.0/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.8.1](/ruby/docs/reference/google-cloud-language-v1beta2/0.8.1/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.7.0](/ruby/docs/reference/google-cloud-language-v1beta2/0.7.0/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.6.0](/ruby/docs/reference/google-cloud-language-v1beta2/0.6.0/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.5.0](/ruby/docs/reference/google-cloud-language-v1beta2/0.5.0/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)\n- [0.4.5](/ruby/docs/reference/google-cloud-language-v1beta2/0.4.5/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion) \nReference documentation and code samples for the Natural Language V1beta2 API module Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion.\n\nThe content categories used for classification.\n\nConstants\n---------\n\n### CONTENT_CATEGORIES_VERSION_UNSPECIFIED\n\n**value:** 0 \nIf `ContentCategoriesVersion` is not specified, this option will\ndefault to `V1`.\n\n### V1\n\n**value:** 1 \nLegacy content categories of our initial launch in 2017.\n\n### V2\n\n**value:** 2 \nUpdated content categories in 2022."]]