Class Period (0.5.1)

Period(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 unit are: "hour" "day" "week" "month" "year".
quantity int
The number of units per period, e.g. 3 weeks or 2 months.

Inheritance

builtins.object > proto.message.Message > Period