OptionalanchorA region of the document represented as a JSON string. For details on defining anchor properties, refer to Manage comments and replies.
OptionalauthorOutput only. The author of the comment. The author's email address and permission ID will not be populated.
OptionalcontentThe plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
OptionalcreatedThe time at which the comment was created (RFC 3339 date-time).
OptionaldeletedOutput only. Whether the comment has been deleted. A deleted comment has no content.
OptionalhtmlOutput only. The content of the comment with HTML formatting.
OptionalidOutput only. The ID of the comment.
OptionalkindOutput only. Identifies what kind of resource this is. Value: the fixed string "drive#comment".
OptionalmodifiedThe last time the comment or any of its replies was modified (RFC 3339 date-time).
OptionalquotedThe file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
OptionalrepliesOutput only. The full list of replies to the comment in chronological order.
OptionalresolvedOutput only. Whether the comment has been resolved by one of its replies.
A comment on a file. Some resource methods (such as
comments.update) require acommentId. Use thecomments.listmethod to retrieve the ID for a comment in a file.