drive.Comments
create
drive.Comments.create(file_id, content)Create a new comment.
Parameters
file_id: File ID.
content: Comment content.
Return
Comment info.
Example
drive.Comments.create(file_id='AbcFileId', content='Hello')get
drive.Comments.get(file_id, comment_id)Get a comment info.
Parameters
file_id: File ID.
comment_id: Comment ID.
Return
Comment info.
Example
update
Update a comment.
Parameters
file_id: File ID.
comment_id: Comment ID.
content: New comment content.
Return
Comment info.
Example
list
List comments of a file.
Parameters
file_id: File ID.
Return
List of comments.
Example
delete
Delete a comment.
Parameters
file_id: File ID.
comment_id: Comment ID.
Example
Last updated