Class: Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/data_stats.rb

Overview

Stats split by a defined in context granularity.

Defined Under Namespace

Classes: BucketsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#buckets::Google::Protobuf::Map{::Integer => ::Integer}

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



138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'proto_docs/google/cloud/automl/v1beta1/data_stats.rb', line 138

class GranularStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::Integer]
  # @!attribute [rw] value
  #   @return [::Integer]
  class BucketsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end