Google Maps FleetEngine V1 Client - Class VehicleState (0.1.1)

Reference documentation and code samples for the Google Maps FleetEngine V1 Client class VehicleState.

The state of a Vehicle.

Protobuf type maps.fleetengine.v1.VehicleState

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN_VEHICLE_STATE

Value: 0

Default, used for unspecified or unrecognized vehicle states.

Generated from protobuf enum UNKNOWN_VEHICLE_STATE = 0;

OFFLINE

Value: 1

The vehicle is not accepting new trips. Note: the vehicle may continue to operate in this state while completing a trip assigned to it.

Generated from protobuf enum OFFLINE = 1;

ONLINE

Value: 2

The vehicle is accepting new trips.

Generated from protobuf enum ONLINE = 2;