Reference documentation and code samples for the Google Maps Route Optimization V1 Client class PBBreak.
Data representing the execution of a break.
Generated from protobuf message google.maps.routeoptimization.v1.ShipmentRoute.Break
Namespace
Google \ Maps \ RouteOptimization \ V1 \ ShipmentRouteMethods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ start_time
↳ duration
getStartTime
Start time of a break.
hasStartTime
clearStartTime
setStartTime
Start time of a break.
Returns
Type
Description
$this
getDuration
Duration of a break.
hasDuration
clearDuration
setDuration
Duration of a break.
Returns
Type
Description
$this