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

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).