# Google Maps FleetEngine Delivery V1 Client - Class Type (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 Type.

The type of Task.

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

## Namespace

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

## Methods

### static::name

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

### static::value

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

## Constants

### TYPE_UNSPECIFIED

    Value: 0

Default, the Task type is unknown.

Generated from protobuf enum `TYPE_UNSPECIFIED = 0;`

### PICKUP

    Value: 1

A pickup Task is the action taken for picking up a shipment from a
customer. Depot or feeder vehicle pickups should use the `SCHEDULED_STOP`
type.

Generated from protobuf enum `PICKUP = 1;`

### DELIVERY

    Value: 2

A delivery Task is the action taken for delivering a shipment to an end
customer. Depot or feeder vehicle dropoffs should use the
`SCHEDULED_STOP` type.

Generated from protobuf enum `DELIVERY = 2;`

### SCHEDULED_STOP

    Value: 3

A scheduled stop Task is used for planning purposes. For example, it
could represent picking up or dropping off shipments from feeder vehicles
or depots. It shouldn't be used for any shipments that are picked up or
dropped off from an end customer.

Generated from protobuf enum `SCHEDULED_STOP = 3;`

### UNAVAILABLE

    Value: 4

A Task that means the Vehicle is not available for service. For example,
this can happen when the driver takes a break, or when the vehicle
is being refueled.

Generated from protobuf enum `UNAVAILABLE = 4;`