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
实例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):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)."]]