Method: providers.trips.update
HTTP 要求
PUT https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要欄位。格式必須為 providers/{provider}/trips/{trip} 。提供者必須是發出此呼叫的服務帳戶所屬 Google Cloud 專案的專案 ID (例如 sample-consumer-project )。
|
查詢參數
參數 |
header |
object (RequestHeader )
標準 Fleet Engine 要求標頭。
|
updateMask |
string (FieldMask format)
必要欄位。欄位遮罩會指出要更新的行程中的哪些欄位。updateMask 至少必須包含一個欄位。 這是以半形逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo" 。
|
回應主體
如果成功,回應主體會包含 Trip
的執行例項。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-08 (世界標準時間)。
[null,null,["上次更新時間:2024-11-08 (世界標準時間)。"],[[["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"]]