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 |
last |
The last reported location of the vehicle. |
navigation |
The delivery vehicle's navigation status. |
remaining |
The remaining driving distance for the |
remaining |
The remaining driving time for the A duration in seconds with up to nine fractional digits, ending with ' |
remaining |
The remaining set of journey segments assigned to this Vehicle. |
attributes[] |
List of custom delivery vehicle attributes. Each attribute has a unique key. |
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: |
|
string |
String typed attribute value. |
bool |
Boolean typed attribute value. |
number |
Double typed attribute value. |