Method: providers.trips.update
Aggiorna i dati della corsa.
Richiesta HTTP
PUT https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Deve essere nel formato providers/{provider}/trips/{trip} . Il provider deve essere l'ID progetto (ad esempio sample-consumer-project ) del progetto Google Cloud di cui l'account di servizio che effettua questa chiamata è membro.
|
Parametri di query
Parametri |
header |
object (RequestHeader )
L'intestazione della richiesta di Fleet Engine standard.
|
updateMask |
string (FieldMask format)
Obbligatorio. La maschera dei campi che indica quali campi di Viaggio aggiornare. updateMask deve contenere almeno un campo. Si tratta di un elenco separato da virgole di nomi completi dei campi. Esempio: "user.displayName,photo" .
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di Trip
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Trip
.
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 2024-11-08 UTC.
[null,null,["Ultimo aggiornamento 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"]]