Method: comments.update
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):2024-12-02。"],[[["Updates a comment on a Google Drive file using patch semantics, allowing for partial modifications."],["Requires specifying the file ID and comment ID as path parameters in the HTTP request."],["The request body should contain a `Comment` object with the desired changes, and the response will contain the updated `Comment` object."],["Authorization is necessary using either the `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.file` OAuth scopes."]]],["This documentation details how to update a comment using a `PATCH` request to the Google Drive API. The request URL includes `fileId` and `commentId` as path parameters. The request body must contain a `Comment` instance and the `fields` parameter is required. A successful response also returns a `Comment` instance. Authorization requires specific OAuth scopes, either `drive` or `drive.file`, with some needing security assessment. Key actions are using specific URL parameters and a request body.\n"]]