REST Resource: replies
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: Yanıt
Dosyadaki bir yoruma verilen yanıt.
Bazı kaynak yöntemleri (replies.update
gibi) replyId
gerektirir. Yanıtın kimliğini almak için replies.list
yöntemini kullanın.
JSON gösterimi |
{
"id": string,
"kind": string,
"createdTime": string,
"modifiedTime": string,
"action": string,
"author": {
object (User )
},
"deleted": boolean,
"htmlContent": string,
"content": string
} |
Alanlar |
id |
string
Yalnızca çıkış. Yanıtın kimliği.
|
kind |
string
Yalnızca çıkış. Bu kaynağın ne tür olduğunu tanımlar. Değer: "drive#reply" sabit dizesi.
|
createdTime |
string
Yalnızca çıkış. Yanıtın oluşturulduğu saat (RFC 3339 tarih-saat biçiminde).
|
modifiedTime |
string
Yalnızca çıkış. Yanıtın son değiştirilme tarihi (RFC 3339 tarih-saat biçiminde).
|
action |
string
Yanıtın üst yorumda gerçekleştirdiği işlem. Geçerli değerler şunlardır:
|
author |
object (User )
Yalnızca çıkış. Yanıtı yazan kişi. Yazarın e-posta adresi ve izin kimliği doldurulmaz.
|
deleted |
boolean
Yalnızca çıkış. Yanıtın silinip silinmediği. Silinen yanıtlarda içerik yoktur.
|
htmlContent |
string
Yalnızca çıkış. HTML biçimlendirmesine sahip yanıtın içeriği.
|
content |
string
Yanıtın düz metin içeriği. Bu alan içeriği ayarlamak için kullanılır. htmlContent gösterilmelidir. action belirtilmezse oluşturma işleminde bu parametre gereklidir.
|
Yöntemler |
|
Bir yoruma yanıt oluşturur. |
|
Yanıtı siler. |
|
Kimliğe göre yanıt alır. |
|
Bir yorumun yanıtlarını listeler. |
|
Bir yanıtı, yama semantiğiyle günceller. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]