# Natural Language V1beta2 API - Class Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model (v0.18.0)

0.18.0 (latest) 0.17.0 0.16.0 0.15.1 0.14.0 0.13.1 0.12.0 0.11.1 0.10.2 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Natural Language V1beta2 API class Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model.

Options for the V2 model.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #content_categories_version

    def content_categories_version() -> ::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion

**Returns**

- ([::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-language-v1beta2/latest/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)) --- The content categories used for classification.

### #content_categories_version=

    def content_categories_version=(value) -> ::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion

**Parameter**

- **value** ([::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-language-v1beta2/latest/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)) --- The content categories used for classification.
**Returns**

- ([::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-language-v1beta2/latest/Google-Cloud-Language-V1beta2-ClassificationModelOptions-V2Model-ContentCategoriesVersion)) --- The content categories used for classification.