Method: comments.update
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-02 (世界標準時間)。
[null,null,["上次更新時間: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"]]