# Google Cloud Optimization V1 Client - Class UnloadingPolicy (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.0 0.6.5 0.5.1 0.4.0 0.3.4 0.2.0 0.1.9 Reference documentation and code samples for the Google Cloud 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.cloud.optimization.v1.Vehicle.UnloadingPolicy`

## Namespace

Google \\ Cloud \\ Optimization \\ 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;`