The location, speed, and heading of a vehicle at a point in time.
JSON representation |
---|
{ "location": { object ( |
Fields | |
---|---|
location |
The location of the vehicle. When it is sent to Fleet Engine, the vehicle's location is a GPS location. When you receive it in a response, the vehicle's location can be either a GPS location, a supplemental location, or some other estimated location. The source is specified in |
horizontalAccuracy |
Deprecated: Use |
latlng |
Accuracy of |
heading |
Direction the vehicle is moving in degrees. 0 represents North. The valid range is [0,360). |
bearingAccuracy |
Deprecated: Use |
heading |
Accuracy of |
altitude |
Altitude in meters above WGS84. |
verticalAccuracy |
Deprecated: Use |
altitude |
Accuracy of |
speedKmph |
Speed of the vehicle in kilometers per hour. Deprecated: Use |
speed |
Speed of the vehicle in meters/second |
speed |
Accuracy of |
update |
The time when A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
server |
Output only. The time when the server received the location information. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
location |
Provider of location data (for example, |
is |
Whether |
is |
Input only. Indicates whether the GPS sensor is enabled on the mobile device. |
time |
Input only. Time (in seconds) since this location was first sent to the server. This will be zero for the first update. If the time is unknown (for example, when the app restarts), this value resets to zero. |
numStaleUpdates |
Input only. Deprecated: Other signals are now used to determine if a location is stale. |
raw |
Raw vehicle location (unprocessed by road-snapper). |
raw |
Timestamp associated with the raw location. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
raw |
Source of the raw location. Defaults to |
raw |
Accuracy of |
supplemental |
Supplemental location provided by the integrating app. |
supplemental |
Timestamp associated with the supplemental location. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
supplemental |
Source of the supplemental location. Defaults to |
supplemental |
Accuracy of |
roadSnapped |
Deprecated: Use |
DeliveryVehicleLocationSensor
The sensor or methodology used to determine the location.
Enums | |
---|---|
UNKNOWN_SENSOR |
The sensor is unspecified or unknown. |
GPS |
GPS or Assisted GPS. |
NETWORK |
Assisted GPS, cell tower ID, or WiFi access point. |
PASSIVE |
Cell tower ID or WiFi access point. |
ROAD_SNAPPED_LOCATION_PROVIDER |
A location determined by the mobile device to be the most likely road position. |
CUSTOMER_SUPPLIED_LOCATION |
A customer-supplied location from an independent source. Typically, this value is used for a location provided from sources other than the mobile device running Driver SDK. If the original source is described by one of the other enum values, use that value. Locations marked CUSTOMER_SUPPLIED_LOCATION are typically provided via a DeliveryVehicle's lastLocation.supplemental_location_sensor . |
FLEET_ENGINE_LOCATION |
A location calculated by Fleet Engine based on the signals available to it. Output only. This value will be rejected if it is received in a request. |
FUSED_LOCATION_PROVIDER |
Android's Fused Location Provider. |
CORE_LOCATION |
The location provider on Apple operating systems. |