# Google Maps Route Optimization V1 Client - Class UnloadingPolicy (0.6.2)

0.6.2 (latest) 0.6.1 0.5.1 0.4.1 0.3.3 0.2.0 0.1.0 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 \\ Vehicle

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### UNLOADING_POLICY_UNSPECIFIED

    Value: 0

Unspecified unloading policy; deliveries must just occur after their
corresponding pickups.

Generated from protobuf enum `UNLOADING_POLICY_UNSPECIFIED = 0;`

### LAST_IN_FIRST_OUT

    Value: 1

Deliveries must occur in reverse order of pickups

Generated from protobuf enum `LAST_IN_FIRST_OUT = 1;`

### FIRST_IN_FIRST_OUT

    Value: 2

Deliveries must occur in the same order as pickups

Generated from protobuf enum `FIRST_IN_FIRST_OUT = 2;`