Class Granularity (1.18.3)

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

A duration of time expressed in time granularity units.

Attributes

NameDescription
unit str
The time granularity unit of this time period. The supported units are: - "minute" - "hour" - "day" - "week" - "month" - "year".
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

Methods

Granularity

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

A duration of time expressed in time granularity units.