Reference documentation and code samples for the Cloud AutoML V1beta1 Client class GranularStats.
Stats split by a defined in context granularity.
Generated from protobuf message google.cloud.automl.v1beta1.TimestampStats.GranularStats
Namespace
Google \ Cloud \ AutoMl \ V1beta1 \ TimestampStatsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ buckets |
array|Google\Protobuf\Internal\MapField
A map from granularity key to example count for that key. E.g. for hour_of_day |
getBuckets
A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setBuckets
A map from granularity key to example count for that key.
E.g. for hour_of_day 13 means 1pm, or for month_of_year 5 means May).
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|