# Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats (v0.19.0)

0.19.0 (latest) 0.18.0 0.17.0 0.16.1 0.15.0 0.14.1 0.13.1 0.12.0 0.11.1 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.5 Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats.

Stats split by a defined in context granularity.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #buckets

    def buckets() -> ::Google::Protobuf::Map{::Integer => ::Integer}

**Returns**

- (::Google::Protobuf::Map{::Integer =\> ::Integer}) --- 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).

### #buckets=

    def buckets=(value) -> ::Google::Protobuf::Map{::Integer => ::Integer}

**Parameter**

- **value** (::Google::Protobuf::Map{::Integer =\> ::Integer}) --- 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**

- (::Google::Protobuf::Map{::Integer =\> ::Integer}) --- 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).