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) — 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) — The content categories used for classification.
Returns
- (::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model::ContentCategoriesVersion) — The content categories used for classification.