Google: Drive replies schemas
3 Google schemas with complete fields and constraints.
← Drive replies operations · All schemas
Gets a reply by ID For more information, see Manage comments and replies (https: developers google com workspace drive api guides manage-comments) — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply. |
action | string | Optional | The action the reply performed to the parent comment. The supported values are: * `resolve` * `reopen` |
assigneeEmailAddress | string | Optional | Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset. Read only: true |
author | Model | Optional | Expand Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set To return the exact fields you need, see Return specific fields (https: developers google com workspace drive api guides fields-parameter) — response body — user Output only. The author of the reply. The author's email address and permission ID won't be populated. |
content | string | Optional | The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This field is required by the `create` method if no `action` value is specified. |
createdTime | string | Optional | The time at which the reply was created (RFC 3339 date-time). Format: date-time |
deleted | boolean | Optional | Output only. Whether the reply has been deleted. A deleted reply has no content. |
htmlContent | string | Optional | Output only. The content of the reply with HTML formatting. |
id | string | Optional | Output only. The ID of the reply. |
kind | string | Optional | Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#reply"`. Default: drive#reply |
mentionedEmailAddresses | array | Optional | Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty. Read only: true |
mentionedEmailAddresses[] | string | Each item | |
modifiedTime | string | Optional | The last time the reply was modified (RFC 3339 date-time). Format: date-time |
Lists a comment's replies For more information, see Manage comments and replies (https: developers google com workspace drive api guides manage-comments) — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A list of replies to a comment on a file. |
kind | string | Optional | Identifies what kind of resource this is. Value: the fixed string `"drive#replyList"`. Default: drive#replyList |
nextPageToken | string | Optional | The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. |
replies | array | Optional | The list of replies. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched. |
replies[] | Model | Each item | Expand Gets a reply by ID For more information, see Manage comments and replies (https: developers google com workspace drive api guides manage-comments) — response body |
Referenced models: Gets a reply by ID For more information, see Manage comments and replies (https: developers google com workspace drive api guides manage-comments) — response body
Updates a reply with patch semantics For more information, see Manage comments and replies (https: developers google com workspace drive api guides manage-comments) — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply. |
action | string | Optional | The action the reply performed to the parent comment. The supported values are: * `resolve` * `reopen` |
assigneeEmailAddress | string | Optional | Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset. Read only: true |
author | Model | Optional | Expand Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set To return the exact fields you need, see Return specific fields (https: developers google com workspace drive api guides fields-parameter) — response body — user Output only. The author of the reply. The author's email address and permission ID won't be populated. |
content | string | Required within parent | The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This field is required by the `create` method if no `action` value is specified. |
createdTime | string | Optional | The time at which the reply was created (RFC 3339 date-time). Format: date-time |
deleted | boolean | Optional | Output only. Whether the reply has been deleted. A deleted reply has no content. |
htmlContent | string | Optional | Output only. The content of the reply with HTML formatting. |
id | string | Optional | Output only. The ID of the reply. |
kind | string | Optional | Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#reply"`. Default: drive#reply |
mentionedEmailAddresses | array | Optional | Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty. Read only: true |
mentionedEmailAddresses[] | string | Each item | |
modifiedTime | string | Optional | The last time the reply was modified (RFC 3339 date-time). Format: date-time |