Reference documentation and code samples for the Google Maps Route Optimization V1 Client class BreakRequest.
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).
Generated from protobuf message google.maps.routeoptimization.v1.BreakRule.BreakRequest
Namespace
Google \ Maps \ RouteOptimization \ V1 \ BreakRuleMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ earliest_start_time
↳ latest_start_time
↳ min_duration
getEarliestStartTime
Required. Lower bound (inclusive) on the start of the break.
hasEarliestStartTime
clearEarliestStartTime
setEarliestStartTime
Required. Lower bound (inclusive) on the start of the break.
$this
getLatestStartTime
Required. Upper bound (inclusive) on the start of the break.
hasLatestStartTime
clearLatestStartTime
setLatestStartTime
Required. Upper bound (inclusive) on the start of the break.
$this
getMinDuration
Required. Minimum duration of the break. Must be positive.
hasMinDuration
clearMinDuration
setMinDuration
Required. Minimum duration of the break. Must be positive.
$this