REST Resource: replies
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
方法 |
|
删除回复。 |
|
获取回复。 |
|
为指定评论创建新回复。 |
|
列出对某条评论的所有回复。 |
|
更新现有回复。 |
|
更新现有回复。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# REST Resource: replies\n\n- [Resource: CommentReply](#CommentReply)\n - [JSON representation](#CommentReply.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: CommentReply\n----------------------\n\nA comment on a file in Google Drive.\n\nSome resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"replyId\": string, \"kind\": string, \"createdDate\": string, \"modifiedDate\": string, \"verb\": string, \"author\": { object (/workspace/drive/api/reference/rest/v2/User) }, \"deleted\": boolean, \"htmlContent\": string, \"content\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `replyId` | `string` Output only. The ID of the reply. |\n| `kind` | `string` Output only. This is always `drive#commentReply`. |\n| `createdDate` | `string` Output only. The date when this reply was first created. |\n| `modifiedDate` | `string` Output only. The date when this reply was last modified. |\n| `verb` | `string` The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: - `resolve` - To resolve a comment. - `reopen` - To reopen (un-resolve) a comment. |\n| `author` | `object (`[User](/workspace/drive/api/reference/rest/v2/User)`)` Output only. The author of the reply. The author's email address and permission ID will not be populated. |\n| `deleted` | `boolean` Output only. Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed. |\n| `htmlContent` | `string` Output only. HTML formatted content for this reply. |\n| `content` | `string` The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen). |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|-------------------------------------------|\n| ### [delete](/workspace/drive/api/reference/rest/v2/replies/delete) | Deletes a reply. |\n| ### [get](/workspace/drive/api/reference/rest/v2/replies/get) | Gets a reply. |\n| ### [insert](/workspace/drive/api/reference/rest/v2/replies/insert) | Creates a new reply to the given comment. |\n| ### [list](/workspace/drive/api/reference/rest/v2/replies/list) | Lists all of the replies to a comment. |\n| ### [patch](/workspace/drive/api/reference/rest/v2/replies/patch) | Updates an existing reply. |\n| ### [update](/workspace/drive/api/reference/rest/v2/replies/update) | Updates an existing reply. |"]]