Class TimeRange (1.10.1)

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

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

Attributes

NameDescription
start_time google.protobuf.timestamp_pb2.Timestamp
Start of time range. Range is inclusive.
end_time google.protobuf.timestamp_pb2.Timestamp
End of time range. Range is inclusive.

Inheritance

builtins.object > proto.message.Message > TimeRange