Stay organized with collectionsSave and categorize content based on your preferences.
Comment
A change about comments on an object.
JSON representation
{"mentionedUsers":[{object (User)}],// Union fieldtypecan be only one of the following:"post":{object (Post)},"assignment":{object (Assignment)},"suggestion":{object (Suggestion)}// End of list of possible types for union fieldtype.}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-23 UTC."],[],[],null,["# Comment\n-------\n\n\nA change about comments on an object.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"mentionedUsers\": [ { object (/workspace/drive/activity/v2/reference/rest/v2/activity/user#User) } ], // Union field `type` can be only one of the following: \"post\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Post) }, \"assignment\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Assignment) }, \"suggestion\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Suggestion) } // End of list of possible types for union field `type`. } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| `mentionedUsers[]` | `object (`[User](/workspace/drive/activity/v2/reference/rest/v2/activity/user#User)`)` Users who are mentioned in this comment. |\n| Union field `type`. The type of changed comment. `type` can be only one of the following: ||\n| `post` | `object (`[Post](/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Post)`)` A change on a regular posted comment. |\n| `assignment` | `object (`[Assignment](/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Assignment)`)` A change on an assignment. |\n| `suggestion` | `object (`[Suggestion](/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Suggestion)`)` A change on a suggestion. |\n\nPost\n----\n\n\nA regular posted comment.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------|\n| ``` { \"subtype\": enum (/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Subtype) } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------|\n| `subtype` | `enum (`[Subtype](/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Subtype)`)` The sub-type of this event. |\n\nSubtype\n-------\n\n\nMore detailed information about the change.\n\n| Enums ||\n|-----------------------|--------------------------------|\n| `SUBTYPE_UNSPECIFIED` | Subtype not available. |\n| `ADDED` | A post was added. |\n| `DELETED` | A post was deleted. |\n| `REPLY_ADDED` | A reply was added. |\n| `REPLY_DELETED` | A reply was deleted. |\n| `RESOLVED` | A posted comment was resolved. |\n| `REOPENED` | A posted comment was reopened. |\n\nAssignment\n----------\n\n\nA comment with an assignment.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"subtype\": enum (/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Subtype_1), \"assignedUser\": { object (/workspace/drive/activity/v2/reference/rest/v2/activity/user#User) } } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `subtype` | `enum (`[Subtype](/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Subtype_1)`)` The sub-type of this event. |\n| `assignedUser` | `object (`[User](/workspace/drive/activity/v2/reference/rest/v2/activity/user#User)`)` The user to whom the comment was assigned. |\n\nSubtype\n-------\n\n\nMore detailed information about the change.\n\n| Enums ||\n|-----------------------|-------------------------------------|\n| `SUBTYPE_UNSPECIFIED` | Subtype not available. |\n| `ADDED` | An assignment was added. |\n| `DELETED` | An assignment was deleted. |\n| `REPLY_ADDED` | An assignment reply was added. |\n| `REPLY_DELETED` | An assignment reply was deleted. |\n| `RESOLVED` | An assignment was resolved. |\n| `REOPENED` | A resolved assignment was reopened. |\n| `REASSIGNED` | An assignment was reassigned. |\n\nSuggestion\n----------\n\n\nA suggestion.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------|\n| ``` { \"subtype\": enum (/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Subtype_2) } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------|\n| `subtype` | `enum (`[Subtype](/workspace/drive/activity/v2/reference/rest/v2/activity/comment#Subtype_2)`)` The sub-type of this event. |\n\nSubtype\n-------\n\n\nMore detailed information about the change.\n\n| Enums ||\n|-----------------------|-------------------------------------|\n| `SUBTYPE_UNSPECIFIED` | Subtype not available. |\n| `ADDED` | A suggestion was added. |\n| `DELETED` | A suggestion was deleted. |\n| `REPLY_ADDED` | A suggestion reply was added. |\n| `REPLY_DELETED` | A suggestion reply was deleted. |\n| `ACCEPTED` | A suggestion was accepted. |\n| `REJECTED` | A suggestion was rejected. |\n| `ACCEPT_DELETED` | An accepted suggestion was deleted. |\n| `REJECT_DELETED` | A rejected suggestion was deleted. |"]]