Cloud AutoML V1beta1 Client - Class Row (1.4.17)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Protobuf\Value>
Returns
TypeDescription
$this