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 \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNKNOWN_VEHICLE_STATE
Value: 0Default, used for unspecified or unrecognized vehicle states.
Generated from protobuf enum UNKNOWN_VEHICLE_STATE = 0;
OFFLINE
Value: 1The 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: 2The vehicle is accepting new trips.
Generated from protobuf enum ONLINE = 2;