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 ),进行此调用的服务账号所属的 Google Cloud 项目所属的项目。
|
查询参数
参数 |
header |
object (RequestHeader )
标准的 Fleet Engine 请求标头。
|
updateMask |
string (FieldMask format)
必需。指示要更新的“行程”中的哪些字段的字段掩码。updateMask 必须包含至少一个字段。 这是完全限定字段名称的逗号分隔列表。示例:"user.displayName,photo" 。
|
响应正文
如果成功,则响应正文包含一个 Trip
实例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-08。
[null,null,["最后更新时间 (UTC):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."]]],[]]