Represents a single comment thread inside a presentation.
| JSON representation |
|---|
{ "commentId": string, "anchorId": string, "headPost": { object ( |
| Fields | |
|---|---|
commentId |
The unique ID of the comment thread. |
anchorId |
The ID of the |
headPost |
The first post in the thread. |
replies[] |
Replies to the head post. |
status |
Whether the thread is open or resolved. |
| The quoted text from the page element when the comment was created. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
plainTextQuote |
The quoted text from the page element when the comment was created, formatted as plain-text. |
| End of mutually exclusive fields. | |
Post
Represents a single post in a comment thread.
| JSON representation |
|---|
{ "postId": string, "content": string, "contentHtml": string, "author": { object ( |
| Fields | |
|---|---|
postId |
Output only. The unique ID of the post. |
content |
The content of the post. Required to be non-empty if This text content will be handled similarly to comments created in the Slides editor. It will have similar behaviors for formatting, notifications, etc. May not exceed 2048 UTF-8 code units. |
contentHtml |
Output only. The content of the post as HTML. |
author |
Output only. The user who created the post. |
createTime |
Output only. The time the post was created. |
updateTime |
Output only. The time the post was last updated. |
deleted |
Output only. Whether the post is deleted. If |
fromImportedPresentation |
Output only. Whether the post is from an imported presentation. This field cannot be set directly by callers. |
fromCopiedPresentation |
Output only. Whether the post is from a copied presentation. This field cannot be set directly by callers. |
assigneeEmail |
Optional. The email of the user who is being newly assigned to the thread as part of this post. Returns a 400 bad request error if:
|
commentAction |
Action taken as part of creating the post. |
PostAuthor
Represents a user who authored a comment post.
| JSON representation |
|---|
{ "displayName": string, "me": boolean, "anonymous": boolean, "user": string } |
| Fields | |
|---|---|
displayName |
The display name of the user. May be absent if the author is anonymous. |
me |
Whether the user is the authenticated user making the request. |
anonymous |
Whether the user is anonymous. |
user |
The resource name of the post author user, which can also be used to identify the user in the Google People API. Format: |
CommentActionType
The action taken with this reply to a comment thread.
| Enums | |
|---|---|
COMMENT_ACTION_TYPE_UNSPECIFIED |
Default value. This value is unused. |
NO_COMMENT_ACTION_CHANGE |
No action change in this post. |
RESOLVE |
This post resolves the thread. |
REOPEN |
This post reopens the thread. |
Status
The status options of the comment thread.
| Enums | |
|---|---|
STATUS_UNSPECIFIED |
Default value. This value is unused. |
OPEN |
The comment thread is open. |
RESOLVED |
The comment thread is resolved. |