Deliveries API 中的 DeliveryVehicle 資源記錄檔。
JSON 表示法 |
---|
{ "name": string, "lastLocation": { object ( |
欄位 | |
---|---|
name |
運送車輛資源名稱,格式為 |
lastLocation |
上次回報車輛位置 |
navigationStatus |
運送車輛的導航狀態。 |
remainingDistanceMeters |
|
remainingDuration |
持續時間以秒為單位,最多 9 個小數位數,結尾為「 |
remainingVehicleJourneySegments[] |
指派給這部車輛的其餘一組旅程區隔。 |
attributes[] |
自訂配送車輛屬性清單。每個屬性都有專屬索引鍵。 |
DeliveryVehicleAttributeLog
將車輛屬性描述為鍵/值組合。
JSON 表示法 |
---|
{ "key": string, "value": string, // Union field |
欄位 | |
---|---|
key |
屬性鍵;例如 |
value |
屬性值;例如 |
聯集欄位 delivery_vehicle_attribute_value 。屬性值可以是字串、布林值或雙精度浮點數。delivery_vehicle_attribute_value 只能是下列其中一項: |
|
stringValue |
字串類型的屬性值。 |
boolValue |
布林值類型的屬性值。 |
numberValue |
雙重輸入的屬性值。 |