Last Mile Fleet Solution is currently available only to select customers. Contact sales to learn more.

DeliveryVehicleLocationLog

The location, speed, and heading of a vehicle at a point in time.

JSON representation
{
  "locationHandle": string,
  "serverTime": string,
  "heading": integer,
  "headingAccuracy": number,
  "altitude": number,
  "altitudeAccuracy": number,
  "speed": number,
  "speedAccuracy": number,
  "locationSensor": enum (DeliveryVehicleLocationSensorLog),
  "isGpsSensorEnabled": boolean,
  "rawLocation": {
    object (LatLng)
  },
  "rawLocationTime": string,
  "rawLocationAccuracy": number,
  "location": {
    object (LatLng)
  }
}
Fields
locationHandle

string (bytes format)

The handle to get the high resolution vehicle location from Archive Service.

A base64-encoded string.

serverTime

string (Timestamp format)

The time when server receives the location.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

heading

integer

Direction the vehicle is moving in degrees. 0 represents North. The valid range is [0,360).

headingAccuracy

number

Accuracy of heading in degrees.

altitude

number

Altitude in meters above WGS84.

altitudeAccuracy

number

Accuracy of altitude in meters.

speed

number

Speed of vehicle in meters/second

speedAccuracy

number

Accuracy of speed in meters/second.

locationSensor

enum (DeliveryVehicleLocationSensorLog)

Location data provider.

isGpsSensorEnabled

boolean

Specifies whether GPS Provider is enabled.

rawLocation

object (LatLng)

Raw location with no road-snapping processing.

rawLocationTime

string (Timestamp format)

The time when the raw location was recorded.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

rawLocationAccuracy

number

Accuracy of raw location (lat/lng) in meters as a radius.

location

object (LatLng)

The high resolution vehicle location