Class Granularity (1.5.0)

Granularity(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A duration of time expressed in time granularity units. .. attribute:: unit

The time granularity unit of this time period. The supported units are:

  • "minute"

  • "hour"

  • "day"

  • "week"

  • "month"

  • "year".

    :type: str

Attribute

NameDescription
quantity int
The number of granularity_units between data points in the training data. If ``granularity_unit`` is ``minute``, can be 1, 5, 10, 15, or 30. For all other values of ``granularity_unit``, must be 1.

Inheritance

builtins.object > proto.message.Message > Granularity