REST Resource: replies

Resource: CommentReply

A comment on a file in Google Drive.

Some resource methods (such as replies.update) require a replyId. Use the replies.list method to retrieve the ID for a reply.

JSON representation
{
  "replyId": string,
  "kind": string,
  "createdDate": string,
  "modifiedDate": string,
  "verb": string,
  "author": {
    object (User)
  },
  "deleted": boolean,
  "htmlContent": string,
  "content": string
}
Fields
replyId

string

Output only. The ID of the reply.

kind

string

Output only. This is always drive#commentReply.

createdDate

string

Output only. The date when this reply was first created.

modifiedDate

string

Output only. The date when this reply was last modified.

verb

string

The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:

  • resolve - To resolve a comment.
  • reopen - To reopen (un-resolve) a comment.
author

object (User)

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

deleted

boolean

Output only. Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.

htmlContent

string

Output only. HTML formatted content for this reply.

content

string

The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen).

Methods

delete

Deletes a reply.

get

Gets a reply.

insert

Creates a new reply to the given comment.

list

Lists all of the replies to a comment.

patch

Updates an existing reply.

update

Updates an existing reply.