Google Apps Script API
    Preparing search index...

    A comment on a file. Some resource methods (such as comments.update) require a commentId. Use the comments.list method to retrieve the ID for a comment in a file.

    interface Comment {
        anchor?: string;
        author?: GoogleAppsScript.Drive_v3.Drive.V3.Schema.User;
        content?: string;
        createdTime?: string;
        deleted?: boolean;
        htmlContent?: string;
        id?: string;
        kind?: string;
        modifiedTime?: string;
        quotedFileContent?: CommentQuotedFileContent;
        replies?: Reply[];
        resolved?: boolean;
    }
    Index

    Properties

    anchor?: string

    A region of the document represented as a JSON string. For details on defining anchor properties, refer to Manage comments and replies.

    Output only. The author of the comment. The author's email address and permission ID will not be populated.

    content?: string

    The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.

    createdTime?: string

    The time at which the comment was created (RFC 3339 date-time).

    deleted?: boolean

    Output only. Whether the comment has been deleted. A deleted comment has no content.

    htmlContent?: string

    Output only. The content of the comment with HTML formatting.

    id?: string

    Output only. The ID of the comment.

    kind?: string

    Output only. Identifies what kind of resource this is. Value: the fixed string "drive#comment".

    modifiedTime?: string

    The last time the comment or any of its replies was modified (RFC 3339 date-time).

    quotedFileContent?: CommentQuotedFileContent

    The 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.

    replies?: Reply[]

    Output only. The full list of replies to the comment in chronological order.

    resolved?: boolean

    Output only. Whether the comment has been resolved by one of its replies.