Cloud AutoML V1 Client - Class TextClassificationDatasetMetadata (2.0.1)

Reference documentation and code samples for the Cloud AutoML V1 Client class TextClassificationDatasetMetadata.

Dataset metadata for classification.

Generated from protobuf message google.cloud.automl.v1.TextClassificationDatasetMetadata

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ classification_type int

Required. Type of the classification problem.

getClassificationType

Required. Type of the classification problem.

Returns
Type Description
int

setClassificationType

Required. Type of the classification problem.

Parameter
Name Description
var int
Returns
Type Description
$this