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 |
latlngAccuracy |
Accuracy of |
heading |
Direction the vehicle is moving in degrees. 0 represents North. The valid range is [0,360). |
bearingAccuracy |
Deprecated: Use |
headingAccuracy |
Accuracy of |
altitude |
Altitude in meters above WGS84. |
verticalAccuracy |
Deprecated: Use |
altitudeAccuracy |
Accuracy of |
speedKmph |
Speed of the vehicle in kilometers per hour. Deprecated: Use |
speed |
Speed of the vehicle in meters/second |
speedAccuracy |
Accuracy of |
updateTime |
The time when A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
serverTime |
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: |
locationSensor |
Provider of location data (for example, |
isRoadSnapped |
Whether |
isGpsSensorEnabled |
Input only. Indicates whether the GPS sensor is enabled on the mobile device. |
timeSinceUpdate |
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. Number of additional attempts to send this location to the server. If this value is zero, then it is not stale. |
rawLocation |
Raw vehicle location (unprocessed by road-snapper). |
rawLocationTime |
Input only. Timestamp associated with the raw location. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
rawLocationSensor |
Input only. Source of the raw location. |
rawLocationAccuracy |
Input only. Accuracy of |
supplementalLocation |
Input only. Supplemental location provided by the integrating app. |
supplementalLocationTime |
Input only. Timestamp associated with the supplemental location. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
supplementalLocationSensor |
Input only. Source of the supplemental location. |
supplementalLocationAccuracy |
Input only. Accuracy of |
roadSnapped |
Deprecated: Use |
LocationSensor
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 signal snapped to the best road position. |
FUSED_LOCATION_PROVIDER |
The fused location provider in Google Play services. |
CORE_LOCATION |
The location provider on Apple operating systems. |