「
隨選乘車與運送服務」解決方案目前僅供特定合作夥伴使用。如需瞭解詳情,請
聯絡銷售人員。
Method: providers.vehicles.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://fleetengine.googleapis.com/v1/{name=providers/*/vehicles/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要欄位。格式須為 providers/{provider}/vehicles/{vehicle} 。提供者必須是 Google Cloud 專案的專案 ID (例如 sample-cloud-project ),而此呼叫所屬的服務帳戶必須隸屬於該專案。
|
查詢參數
參數 |
header |
object (RequestHeader )
標準的 Fleet Engine 要求標頭。
|
currentRouteSegmentVersion |
string (Timestamp format)
表示擷取 Vehicle.current_route_segment 的最小時間戳記 (不含)。如果路徑在這個時間戳記後維持不變,系統就不會在回應中設定 currentRouteSegment 欄位。如果未指定最小值,則系統一律會擷取 currentRouteSegment 。 RFC3339 世界標準時間「Zulu」格式的時間戳記,採用奈秒解析度,且最多 9 個小數位數。範例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
waypointsVersion |
string (Timestamp format)
表示擷取 Vehicle.waypoints 資料的最短時間戳記 (不含)。如果路線控點自此時間戳記後維持不變,系統就不會在回應中設定 vehicle.waypoints 資料。如果未指定這個欄位,系統一律會擷取 vehicle.waypoints 。 RFC3339 世界標準時間「Zulu」格式的時間戳記,採用奈秒解析度,且最多 9 個小數位數。範例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
回應主體
如果成功,回應主體會包含 Vehicle
的執行例項。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-04-26 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]