Method: comments.insert
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-03(UTC)
[null,null,["최종 업데이트: 2024-09-03(UTC)"],[[["Creates a new comment on a specified file using an HTTP POST request."],["Requires providing the file ID as a path parameter and a `Comment` object in the request body."],["Returns the newly created `Comment` object in the response body if successful."],["Needs authorization with one of the specified OAuth scopes, some of which might require a security assessment."]]],["This document details the process for creating a new comment on a file using the Google Drive API. It involves sending a `POST` request to a specified URL, including the `fileId` as a path parameter. The request body must contain a `Comment` instance. A successful response will return the newly created `Comment`. Authorization requires one of the specified OAuth scopes: `docs`, `drive`, or `drive.file`. Access to some scopes might be restricted.\n"]]