Method: comments.create
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-02(UTC)
[null,null,["최종 업데이트: 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"]]