Method: providers.deliveryVehicles.get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
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: 2025-08-31 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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,[]]