Interface protos.google.maps.routeoptimization.v1.IShipmentRoute (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Properties of a ShipmentRoute.
Package
@googlemaps/routeoptimization
Properties
breaks
breaks?: (google.maps.routeoptimization.v1.ShipmentRoute.IBreak[]|null);
hasTrafficInfeasibilities
hasTrafficInfeasibilities?: (boolean|null);
ShipmentRoute hasTrafficInfeasibilities
metrics
metrics?: (google.maps.routeoptimization.v1.IAggregatedMetrics|null);
routeCosts
routeCosts?: ({ [k: string]: number }|null);
routePolyline
routePolyline?: (google.maps.routeoptimization.v1.ShipmentRoute.IEncodedPolyline|null);
ShipmentRoute routePolyline
routeTotalCost
routeTotalCost?: (number|null);
ShipmentRoute routeTotalCost
transitions
transitions?: (google.maps.routeoptimization.v1.ShipmentRoute.ITransition[]|null);
ShipmentRoute transitions
vehicleEndTime
vehicleEndTime?: (google.protobuf.ITimestamp|null);
ShipmentRoute vehicleEndTime
vehicleIndex
vehicleIndex?: (number|null);
ShipmentRoute vehicleIndex
vehicleLabel
vehicleLabel?: (string|null);
ShipmentRoute vehicleLabel
vehicleStartTime
vehicleStartTime?: (google.protobuf.ITimestamp|null);
ShipmentRoute vehicleStartTime
visits
visits?: (google.maps.routeoptimization.v1.ShipmentRoute.IVisit[]|null);
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface protos.google.maps.routeoptimization.v1.IShipmentRoute (0.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.0 (latest)](/nodejs/docs/reference/routeoptimization/latest/routeoptimization/protos.google.maps.routeoptimization.v1.ishipmentroute)\n- [0.2.0](/nodejs/docs/reference/routeoptimization/0.2.0/routeoptimization/protos.google.maps.routeoptimization.v1.ishipmentroute)\n- [0.1.0](/nodejs/docs/reference/routeoptimization/0.1.0/routeoptimization/protos.google.maps.routeoptimization.v1.ishipmentroute) \nProperties of a ShipmentRoute.\n\nPackage\n-------\n\n[@googlemaps/routeoptimization](../overview.html)\n\nProperties\n----------\n\n### breaks\n\n breaks?: (google.maps.routeoptimization.v1.ShipmentRoute.IBreak[]|null);\n\nShipmentRoute breaks\n\n### hasTrafficInfeasibilities\n\n hasTrafficInfeasibilities?: (boolean|null);\n\nShipmentRoute hasTrafficInfeasibilities\n\n### metrics\n\n metrics?: (google.maps.routeoptimization.v1.IAggregatedMetrics|null);\n\nShipmentRoute metrics\n\n### routeCosts\n\n routeCosts?: ({ [k: string]: number }|null);\n\nShipmentRoute routeCosts\n\n### routePolyline\n\n routePolyline?: (google.maps.routeoptimization.v1.ShipmentRoute.IEncodedPolyline|null);\n\nShipmentRoute routePolyline\n\n### routeTotalCost\n\n routeTotalCost?: (number|null);\n\nShipmentRoute routeTotalCost\n\n### transitions\n\n transitions?: (google.maps.routeoptimization.v1.ShipmentRoute.ITransition[]|null);\n\nShipmentRoute transitions\n\n### vehicleEndTime\n\n vehicleEndTime?: (google.protobuf.ITimestamp|null);\n\nShipmentRoute vehicleEndTime\n\n### vehicleIndex\n\n vehicleIndex?: (number|null);\n\nShipmentRoute vehicleIndex\n\n### vehicleLabel\n\n vehicleLabel?: (string|null);\n\nShipmentRoute vehicleLabel\n\n### vehicleStartTime\n\n vehicleStartTime?: (google.protobuf.ITimestamp|null);\n\nShipmentRoute vehicleStartTime\n\n### visits\n\n visits?: (google.maps.routeoptimization.v1.ShipmentRoute.IVisit[]|null);\n\nShipmentRoute visits"]]