Reference documentation and code samples for the Google Maps Route Optimization V1 Client class UnloadingPolicy.
Policy on how a vehicle can be unloaded. Applies only to shipments having both a pickup and a delivery.
Other shipments are free to occur anywhere on the route independent of
unloading_policy.
Protobuf type google.maps.routeoptimization.v1.Vehicle.UnloadingPolicy
Namespace
Google \ Maps \ RouteOptimization \ V1 \ VehicleMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNLOADING_POLICY_UNSPECIFIED
Value: 0Unspecified unloading policy; deliveries must just occur after their corresponding pickups.
Generated from protobuf enum UNLOADING_POLICY_UNSPECIFIED = 0;
LAST_IN_FIRST_OUT
Value: 1Deliveries must occur in reverse order of pickups
Generated from protobuf enum LAST_IN_FIRST_OUT = 1;
FIRST_IN_FIRST_OUT
Value: 2Deliveries must occur in the same order as pickups
Generated from protobuf enum FIRST_IN_FIRST_OUT = 2;