Jika berhasil, isi respons memuat instance Comment yang baru dibuat.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Beberapa cakupan dibatasi dan memerlukan penilaian keamanan agar aplikasi Anda dapat menggunakannya. Untuk informasi selengkapnya, lihat Panduan otorisasi.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-12-02 UTC."],[[["This endpoint creates a comment on a specified Google Drive file using an HTTP POST request."],["You need to provide the file ID as a path parameter and a `Comment` object in the request body."],["A successful request returns a `Comment` object representing the newly created comment."],["Authorization requires one of the specified OAuth scopes, potentially including a security assessment for restricted scopes."]]],["This describes creating a comment on a file using the Google Drive API. A `POST` request is sent to `https://www.googleapis.com/drive/v3/files/{fileId}/comments`, where `fileId` is the file's ID. The request body contains a `Comment` instance, and the response, upon success, returns a new `Comment` instance. The request requires one of two authorization scopes and the `fields` parameter. Use of specific scopes may require security assessment.\n"]]