The log of a DeliveryVehicle resource in the Deliveries API.
JSON representation |
---|
{ "name": string, "lastLocation": { object ( |
Fields | |
---|---|
name |
The delivery vehicle resource name in the format of |
lastLocation |
The last reported location of the vehicle. |
navigationStatus |
The delivery vehicle's navigation status. |
remainingDistanceMeters |
The remaining driving distance for the |
remainingDuration |
The remaining driving time for the A duration in seconds with up to nine fractional digits, ending with ' |
remainingVehicleJourneySegments[] |
The remaining set of journey segments assigned to this Vehicle. |
attributes[] |
List of custom delivery vehicle attributes. Each attribute has a unique key. |
pastLocations[] |
Optional. Past Locations of the vehicle not reported to Fleet Engine. Typically collected when there is a network outage. These logs will not contain any data that is older than 24 hours. |
DeliveryVehicleAttributeLog
Describes a vehicle attribute as a key-value pair.
JSON representation |
---|
{ "key": string, "value": string, // Union field |
Fields | |
---|---|
key |
The attribute's key; for example, |
value |
The attribute's value; for example, |
Union field delivery_vehicle_attribute_value . The attribute's value, can be in string, bool, or double type. delivery_vehicle_attribute_value can be only one of the following: |
|
stringValue |
String typed attribute value. |
boolValue |
Boolean typed attribute value. |
numberValue |
Double typed attribute value. |