Method: providers.deliveryVehicles.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
傳回指定的 DeliveryVehicle
例項。
HTTP 要求
GET https://fleetengine.googleapis.com/v1/{name=providers/*/deliveryVehicles/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要欄位。格式須為 providers/{provider}/deliveryVehicles/{deliveryVehicle} 。provider 必須是 Google Cloud 專案 ID。例如:sample-cloud-project 。
|
查詢參數
參數 |
header |
object (DeliveryRequestHeader )
選用設定。標準 Delivery API 要求標頭。
|
回應主體
如果成功,回應主體會包含 DeliveryVehicle
的執行例項。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eThis document describes how to retrieve a specific \u003ccode\u003eDeliveryVehicle\u003c/code\u003e instance using the Fleet Engine Delivery API.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to provide the \u003ccode\u003eprovider\u003c/code\u003e and \u003ccode\u003edeliveryVehicle\u003c/code\u003e identifiers as path parameters in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eDeliveryRequestHeader\u003c/code\u003e can be included as a query parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response will contain a \u003ccode\u003eDeliveryVehicle\u003c/code\u003e object.\u003c/p\u003e\n"]]],["This document outlines the process for retrieving a specific `DeliveryVehicle` instance. The core action is a `GET` request to a URL structured using gRPC Transcoding. The URL requires a `name` path parameter in the format `providers/{provider}/deliveryVehicles/{deliveryVehicle}`, with the `provider` being the Google Cloud Project ID. An optional `header` query parameter is available. The request body must be empty, and a successful response contains a `DeliveryVehicle` instance.\n"],null,["# Method: providers.deliveryVehicles.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n\nReturns the specified `DeliveryVehicle` instance.\n\n### HTTP request\n\n`GET https://fleetengine.googleapis.com/v1/{name=providers/*/deliveryVehicles/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Must be in the format `providers/{provider}/deliveryVehicles/{deliveryVehicle}`. The `provider` must be the Google Cloud Project ID. For example, `sample-cloud-project`. |\n\n### Query parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `header` | `object (`[DeliveryRequestHeader](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/DeliveryRequestHeader)`)` Optional. The standard Delivery API request header. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [DeliveryVehicle](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles#DeliveryVehicle)."]]