Class BreakRequest (1.10.0)

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

The sequence of breaks (i.e. their number and order) that apply to each vehicle must be known beforehand. The repeated BreakRequest\ s define that sequence, in the order in which they must occur. Their time windows (earliest_start_time / latest_start_time) may overlap, but they must be compatible with the order (this is checked).

Attributes

Name Description
earliest_start_time google.protobuf.timestamp_pb2.Timestamp
Required. Lower bound (inclusive) on the start of the break.
latest_start_time google.protobuf.timestamp_pb2.Timestamp
Required. Upper bound (inclusive) on the start of the break.
min_duration google.protobuf.duration_pb2.Duration
Required. Minimum duration of the break. Must be positive.