Method: providers.trips.update
Aktualizuje dane dotyczące przejazdu.
Żądanie HTTP
PUT https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Musi mieć format providers/{provider}/trips/{trip} . Dostawca musi być identyfikatorem projektu (na przykład sample-consumer-project ) projektu Google Cloud, którego członkiem jest konto usługi wykonujące to wywołanie.
|
Parametry zapytania
Parametry |
header |
object (RequestHeader )
Standardowy nagłówek żądania Fleet Engine.
|
updateMask |
string (FieldMask format)
Wymagane. Maska pól określająca, które pola w podróży mają zostać zaktualizowane. Pole updateMask musi zawierać co najmniej 1 pole. Jest to lista pełnych nazw pól rozdzielona przecinkami. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Trip
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Trip
.
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-11-08 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-08 UTC."],[[["This endpoint updates trip data using an HTTP PUT request to the specified URL."],["The request must include path and query parameters, including a required `name` and `updateMask`."],["The request body should contain the updated trip data in the `Trip` format, as defined in the provided link."],["A successful response will also contain the updated `Trip` data in the response body."],["The provider in the path parameter must be the Project ID of the Google Cloud Project of which the service account making the call is a member."]]],["This describes updating trip data using a `PUT` request to a specific URL, formatted as `providers/*/trips/*`. The request requires a trip `name` as a path parameter. Mandatory query parameters include a request `header` and an `updateMask` to specify fields for modification. The request body contains the `Trip` instance to be updated and the response body returns a `Trip` object. The format of the trip path is specified, in addition to examples for `updateMask`.\n"]]