Reference documentation and code samples for the Cloud AutoML V1beta1 Client class TimestampStats.
The data statistics of a series of TIMESTAMP values.
Generated from protobuf message google.cloud.automl.v1beta1.TimestampStats
Namespace
Google \ Cloud \ AutoMl \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ granular_stats |
array|Google\Protobuf\Internal\MapField
The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated). |
getGranularStats
The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setGranularStats
The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |