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):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[],["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"],null,[]]