Cloud AutoML V1beta1 Client - Class SingleCategoryStats (1.4.17)

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

The statistics of a single CATEGORY value.

Generated from protobuf message google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value string

The CATEGORY value.

↳ count int|string

The number of occurrences of this value in the series.

getValue

The CATEGORY value.

Returns
TypeDescription
string

setValue

The CATEGORY value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCount

The number of occurrences of this value in the series.

Returns
TypeDescription
int|string

setCount

The number of occurrences of this value in the series.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this