Method: providers.deliveryVehicles.get
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce l'istanza DeliveryVehicle
specificata.
Richiesta HTTP
GET https://fleetengine.googleapis.com/v1/{name=providers/*/deliveryVehicles/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Deve essere nel formato providers/{provider}/deliveryVehicles/{deliveryVehicle} . provider deve essere l'ID del progetto Google Cloud. Ad esempio: sample-cloud-project .
|
Parametri di query
Parametri |
header |
object (DeliveryRequestHeader )
(Facoltativo) L'intestazione della richiesta API Delivery standard.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di DeliveryVehicle
.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-31 UTC.
[null,null,["Ultimo aggiornamento 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)."]]