# Google Maps FleetEngine Delivery V1 Client - Class State (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.1 0.2.0 0.1.8 Reference documentation and code samples for the Google Maps FleetEngine Delivery V1 Client class State.

The state of a Task. This indicates the Tasks's progress.

Protobuf type `maps.fleetengine.delivery.v1.Task.State`

## Namespace

Google \\ Maps \\ FleetEngine \\ Delivery \\ V1 \\ Task

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default. Used for an unspecified or unrecognized Task state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### OPEN

    Value: 1

Either the Task has not yet been assigned to a delivery vehicle, or the
delivery vehicle has not yet passed the `Task`'s assigned vehicle stop.

Generated from protobuf enum `OPEN = 1;`

### CLOSED

    Value: 2

When the vehicle passes the vehicle stop for this Task.

Generated from protobuf enum `CLOSED = 2;`