Method: replies.update
Cập nhật một câu trả lời hiện có.
Yêu cầu HTTP
PUT https://www.googleapis.com/drive/v2/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 CommentReply
.
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 CommentReply
.
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/docs
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-03 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-03 UTC."],[[["Updates an existing reply associated with a specific file, comment, and reply ID using a `PUT` request."],["Requires providing the `fileId`, `commentId`, and `replyId` as path parameters in the request URL."],["The request and response bodies utilize the `CommentReply` object for data transfer."],["Authorization necessitates using one of the specified OAuth scopes, some of which might require security assessments."]]],["This document outlines the process for updating a reply using a PUT HTTP request to the Google Drive API. The URL, `https://www.googleapis.com/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}`, requires three path parameters: `fileId`, `commentId`, and `replyId`. The request body must contain a `CommentReply` instance. A successful update returns a `CommentReply` instance in the response body. Authorization requires one of three OAuth scopes.\n"]]