Method: replies.update
Aktualizuje odpowiedź z semantyką poprawki.
Żądanie HTTP
PATCH https://www.googleapis.com/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
fileId |
string
Identyfikator pliku.
|
commentId |
string
Identyfikator komentarza.
|
replyId |
string
Identyfikator odpowiedzi.
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Reply
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Reply
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Niektóre zakresy są objęte ograniczeniami, a aplikacja może z nich korzystać dopiero po sprawdzeniu zabezpieczeń. Więcej informacji znajdziesz w przewodniku po autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-04 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]