Cloud Natural Language V1 Client - Class V2Model (0.31.3)

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

Options for the V2 model.

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

Namespace

Google \ Cloud \ Language \ V1 \ ClassificationModelOptions

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