Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
selfLink
string
A link back to this comment.
htmlContent
string
HTML formatted content for this comment.
content
string
The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment's content.
context
object
The context of the file which is being commented on.
context.type
string
The MIME type of the context snippet.
context.value
string
Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-20 UTC."],[],[]]
Resource: Comment
A comment on a file in Google Drive.
commentIdstringThe ID of the comment.
kindstringThis is always drive#comment.
createdDatestringThe date when this comment was first created.
modifiedDatestringThe date when this comment or any of its replies were last modified.
fileIdstringThe file which this comment is addressing.
fileTitlestringThe title of the file which this comment is addressing.
statusstringThe status of this comment. Status can be changed by posting a reply to a comment with the desired status. Possible values are:
open- The comment is still open.resolved- The comment has been resolved by one of its replies.anchorstringA region of the document represented as a JSON string. For details on defining anchor properties, refer to Manage comments and replies .
replies[]object (CommentReply)Replies to this post.
authorobject (User)The user who wrote this comment.
deletedbooleanWhether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
selfLinkstringA link back to this comment.
htmlContentstringHTML formatted content for this comment.
contentstringThe plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment's content.
contextobjectThe context of the file which is being commented on.
context.typestringThe MIME type of the context snippet.
context.valuestringData representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
Methods
deletegetinsertlistpatchupdate