Method: providers.deliveryVehicles.get
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลอินสแตนซ์ DeliveryVehicle
ที่ระบุ
คำขอ HTTP
GET https://fleetengine.googleapis.com/v1/{name=providers/*/deliveryVehicles/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ต้องอยู่ในรูปแบบ providers/{provider}/deliveryVehicles/{deliveryVehicle} provider ต้องเป็นรหัสโปรเจ็กต์ Google Cloud เช่น sample-cloud-project
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
header |
object (DeliveryRequestHeader )
ไม่บังคับ ส่วนหัวของคำขอ Delivery API แบบมาตรฐาน
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ DeliveryVehicle
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\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)."]]