Method: providers.deliveryVehicles.get
Zwraca podaną instancję DeliveryVehicle
.
Żądanie HTTP
GET https://fleetengine.googleapis.com/v1/{name=providers/*/deliveryVehicles/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Musi mieć format providers/{provider}/deliveryVehicles/{deliveryVehicle} . provider musi być identyfikatorem projektu Google Cloud. Na przykład: sample-cloud-project .
|
Parametry zapytania
Parametry |
header |
object (DeliveryRequestHeader )
Opcjonalnie: Standardowy nagłówek żądania do interfejsu Delivery API.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu DeliveryVehicle
.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 2024-07-24 UTC."],[[["This document describes how to retrieve a specific `DeliveryVehicle` instance using the Fleet Engine Delivery API."],["You'll need to provide the `provider` and `deliveryVehicle` identifiers as path parameters in the request URL."],["An optional `DeliveryRequestHeader` can be included as a query parameter."],["The request body should be empty, and a successful response will contain a `DeliveryVehicle` object."]]],["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"]]