Cloud AutoML V1beta1 Client - Class Row (1.6.5)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class Row.

A representation of a row in a relational table.

Generated from protobuf message google.cloud.automl.v1beta1.Row

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ column_spec_ids array

The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature column_spec_ids of the Model this row is being passed to. Note: The below values field must match order of this field, if this field is set.

↳ values array<Google\Protobuf\Value>

Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature column_specs of the Model this row is being passed to.

getColumnSpecIds

The resource IDs of the column specs describing the columns of the row.

If set must contain, but possibly in a different order, all input feature column_spec_ids of the Model this row is being passed to. Note: The below values field must match order of this field, if this field is set.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setColumnSpecIds

The resource IDs of the column specs describing the columns of the row.

If set must contain, but possibly in a different order, all input feature column_spec_ids of the Model this row is being passed to. Note: The below values field must match order of this field, if this field is set.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getValues

Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature column_specs of the Model this row is being passed to.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValues

Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature column_specs of the Model this row is being passed to.

Parameter
Name Description
var array<Google\Protobuf\Value>
Returns
Type Description
$this