Cloud Natural Language V1beta2 Client - Class V2Model (0.33.0)

Reference documentation and code samples for the Cloud Natural Language V1beta2 Client class V2Model.

Options for the V2 model.

Generated from protobuf message google.cloud.language.v1beta2.ClassificationModelOptions.V2Model

Namespace

Google \ Cloud \ Language \ V1beta2 \ ClassificationModelOptions

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ content_categories_version int

The content categories used for classification.

getContentCategoriesVersion

The content categories used for classification.

Returns
Type Description
int

setContentCategoriesVersion

The content categories used for classification.

Parameter
Name Description
var int
Returns
Type Description
$this