Replies

Stay organized with collections Save and categorize content based on your preferences.

For a list of methods for this resource, see the end of this page.

Resource representations

A reply to a comment on a file.

{
  "kind": "drive#reply",
  "id": string,
  "createdTime": datetime,
  "modifiedTime": datetime,
  "author": {
    "kind": "drive#user",
    "displayName": string,
    "photoLink": string,
    "me": boolean,
    "permissionId": string,
    "emailAddress": string
  },
  "htmlContent": string,
  "content": string,
  "deleted": boolean,
  "action": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "drive#reply".
id string The ID of the reply.
createdTime datetime The time at which the reply was created (RFC 3339 date-time).
modifiedTime datetime The last time the reply was modified (RFC 3339 date-time).
author nested object The author of the reply. The author's email address and permission ID will not be populated.
author.kind string Identifies what kind of resource this is. Value: the fixed string "drive#user".
author.displayName string A plain text displayable name for this user.
author.me boolean Whether this user is the requesting user.
author.permissionId string The user's ID as visible in Permission resources.
author.emailAddress string The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
htmlContent string The content of the reply with HTML formatting.
content string The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified. writable
deleted boolean Whether the reply has been deleted. A deleted reply has no content.
action string The action the reply performed to the parent comment. Valid values are:
  • resolve
  • reopen
writable

Methods

create
Creates a reply to a comment.
delete
Deletes a reply.
get
Gets a reply by ID.
list
Lists a comment's replies.
update
Updates a reply with patch semantics.