Comment

Comment

A change about comments on an object.

JSON representation
{
  "mentionedUsers": [
    {
      object(User)
    }
  ],

  // Union field type can be only one of the following:
  "post": {
    object(Post)
  },
  "assignment": {
    object(Assignment)
  },
  "suggestion": {
    object(Suggestion)
  }
  // End of list of possible types for union field type.
}
Fields
mentionedUsers[]

object( User )

Users who are mentioned in this comment.

Union field type . The type of changed comment. type can be only one of the following:
post

object( Post )

A change on a regular posted comment.

assignment

object( Assignment )

A change on an assignment.

suggestion

object( Suggestion )

A change on a suggestion.

Post

A regular posted comment.

JSON representation
{
  "subtype": enum(Subtype)
}
Fields
subtype

enum( Subtype )

The sub-type of this event.

Subtype

More detailed information about the change.

Enums
SUBTYPE_UNSPECIFIED Subtype not available.
ADDED A post was added.
DELETED A post was deleted.
REPLY_ADDED A reply was added.
REPLY_DELETED A reply was deleted.
RESOLVED A posted comment was resolved.
REOPENED A posted comment was reopened.

Assignment

A comment with an assignment.

JSON representation
{
  "subtype": enum(Subtype)
}
Fields
subtype

enum( Subtype )

The sub-type of this event.

Subtype

More detailed information about the change.

Enums
SUBTYPE_UNSPECIFIED Subtype not available.
ADDED An assignment was added.
DELETED An assignment was deleted.
REPLY_ADDED An assignment reply was added.
REPLY_DELETED An assignment reply was deleted.
RESOLVED An assignment was resolved.
REOPENED A resolved assignment was reopened.
REASSIGNED An assignment was reassigned.

Suggestion

A suggestion.

JSON representation
{
  "subtype": enum(Subtype)
}
Fields
subtype

enum( Subtype )

The sub-type of this event.

Subtype

More detailed information about the change.

Enums
SUBTYPE_UNSPECIFIED Subtype not available.
ADDED A suggestion was added.
DELETED A suggestion was deleted.
REPLY_ADDED A suggestion reply was added.
REPLY_DELETED A suggestion reply was deleted.
ACCEPTED A suggestion was accepted.
REJECTED A suggestion was rejected.
ACCEPT_DELETED An accepted suggestion was deleted.
REJECT_DELETED A rejected suggestion was deleted.

Send feedback about...

Google Drive Activity API
Need help? Visit our support page.