Method: replies.update
Cập nhật câu trả lời bằng ngữ nghĩa của bản vá.
Yêu cầu HTTP
PATCH https://www.googleapis.com/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
fileId |
string
Mã của tệp.
|
commentId |
string
Mã của nhận xét.
|
replyId |
string
Mã của câu trả lời.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Reply
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Reply
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Một số phạm vi bị hạn chế và cần phải được đánh giá bảo mật thì ứng dụng của bạn mới có thể sử dụng những phạm vi đó. Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-09-04 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-04 UTC."],[[["Updates a reply to a comment on a Google Drive file using patch semantics, allowing for partial modifications."],["Requires providing the file ID, comment ID, and reply ID as path parameters in the request URL."],["The request body should contain the updated reply data in JSON format, adhering to the Reply resource structure."],["Successful responses return the updated Reply resource, reflecting the changes made."],["Authorization requires specific OAuth scopes, potentially including security assessment for restricted ones."]]],["This document details how to update a reply using a PATCH request to the Google Drive API. The request URL specifies the `fileId`, `commentId`, and `replyId` as path parameters. The request body should contain the updated `Reply` object, and a successful response will return the modified `Reply`. This operation requires specific OAuth authorization scopes: `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.file`.\n"]]