REST Resource: replies
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: Reply
파일의 댓글에 대한 답글입니다.
일부 리소스 메서드 (예: replies.update
)에는 replyId
가 필요합니다. replies.list
메서드를 사용하여 답글의 ID를 가져옵니다.
JSON 표현 |
{
"id": string,
"kind": string,
"createdTime": string,
"modifiedTime": string,
"action": string,
"author": {
object (User )
},
"deleted": boolean,
"htmlContent": string,
"content": string
} |
필드 |
id |
string
출력 전용입니다. 답장의 ID입니다.
|
kind |
string
출력 전용입니다. 리소스 종류를 식별합니다. 값: 고정 문자열 "drive#reply" .
|
createdTime |
string
출력 전용입니다. 답장이 생성된 시간입니다 (RFC 3339 날짜/시간).
|
modifiedTime |
string
출력 전용입니다. 답글이 마지막으로 수정된 시간입니다 (RFC 3339 날짜/시간).
|
action |
string
상위 댓글에 대한 답글의 작업입니다. 유효한 값은 다음과 같습니다.
|
author |
object (User )
출력 전용입니다. 답글 작성자입니다. 작성자의 이메일 주소와 권한 ID는 채워지지 않습니다.
|
deleted |
boolean
출력 전용입니다. 답글이 삭제되었는지 여부입니다. 삭제된 답글에는 콘텐츠가 없습니다.
|
htmlContent |
string
출력 전용입니다. HTML 형식의 답장 콘텐츠입니다.
|
content |
string
답글의 일반 텍스트 콘텐츠입니다. 이 필드는 콘텐츠를 설정하는 데 사용되며 htmlContent 는 표시되어야 합니다. action 가 지정되지 않은 경우 생성 시 필수입니다.
|
메서드 |
|
댓글에 대한 답글을 만듭니다. |
|
답글을 삭제합니다. |
|
ID로 답장을 가져옵니다. |
|
댓글의 답글을 나열합니다. |
|
패치 시맨틱스로 답글을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# REST Resource: replies\n\n- [Resource: Reply](#Reply)\n - [JSON representation](#Reply.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Reply\n---------------\n\nA reply to a comment on a file.\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| ``` { \"id\": string, \"kind\": string, \"createdTime\": string, \"modifiedTime\": string, \"action\": string, \"author\": { object (/workspace/drive/api/reference/rest/v3/User) }, \"deleted\": boolean, \"htmlContent\": string, \"content\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Output only. The ID of the reply. |\n| `kind` | `string` Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#reply\"`. |\n| `createdTime` | `string` Output only. The time at which the reply was created (RFC 3339 date-time). |\n| `modifiedTime` | `string` Output only. The last time the reply was modified (RFC 3339 date-time). |\n| `action` | `string` The action the reply performed to the parent comment. Valid values are: - `resolve` - `reopen` |\n| `author` | `object (`[User](/workspace/drive/api/reference/rest/v3/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 the reply has been deleted. A deleted reply has no content. |\n| `htmlContent` | `string` Output only. The content of the reply with HTML formatting. |\n| `content` | `string` The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This is required on creates if no `action` is specified. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|---------------------------------------|\n| ### [create](/workspace/drive/api/reference/rest/v3/replies/create) | Creates a reply to a comment. |\n| ### [delete](/workspace/drive/api/reference/rest/v3/replies/delete) | Deletes a reply. |\n| ### [get](/workspace/drive/api/reference/rest/v3/replies/get) | Gets a reply by ID. |\n| ### [list](/workspace/drive/api/reference/rest/v3/replies/list) | Lists a comment's replies. |\n| ### [update](/workspace/drive/api/reference/rest/v3/replies/update) | Updates a reply with patch semantics. |"]]