Cloud Natural Language V1beta2 Client - Class V2Model (0.29.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setContentCategoriesVersion

The content categories used for classification.

Parameter
NameDescription
var int
Returns
TypeDescription
$this