Method: providers.trips.update
HTTP request
PUT https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. Must be in the format providers/{provider}/trips/{trip} . The provider must be the Project ID (for example, sample-consumer-project ) of the Google Cloud Project of which the service account making this call is a member.
|
Query parameters
Parameters |
header |
object (RequestHeader )
The standard Fleet Engine request header.
|
updateMask |
string (FieldMask format)
Required. The field mask indicating which fields in Trip to update. The updateMask must contain at least one field. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Trip
.
Response body
If successful, the response body contains an instance of Trip
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-26 UTC.
[null,null,["Last updated 2025-02-26 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"]]