Class Interval (0.12.0)

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

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).

The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
end_time str
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. This field is a member of oneof_ _end_time.
start_time str
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. This field is a member of oneof_ _start_time.