Method: nodes.devices.patch
HTTP 请求
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
device.name |
string
仅供输出。资源路径名称。
|
查询参数
参数 |
updateMask |
string (FieldMask format)
要更新的字段。 这是完全限定的字段名称的逗号分隔列表。示例:"user.displayName,photo" 。
|
响应正文
如果成功,响应正文将包含一个 Device
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/sasportal
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-02。
[null,null,["最后更新时间 (UTC):2022-11-02。"],[[["This operation updates a device's information using an HTTP PATCH request to a specific URL."],["The request should include path and query parameters, and the body should contain the updated device data in JSON format, as per the Device object specification."],["A successful response will return the updated Device object, indicating the changes have been applied."],["Authorization is required using the `https://www.googleapis.com/auth/sasportal` OAuth scope for this operation to be permitted."]]],[]]