REST Resource: children
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: ChildReference
Bir klasörün alt öğesine referans.
Bazı kaynak yöntemleri (children.get
gibi) childId
gerektirir. Çocuğun kimliğini almak için children.list
yöntemini kullanın.
JSON gösterimi |
{
"id": string,
"selfLink": string,
"kind": string,
"childLink": string
} |
Alanlar |
id |
string
Alt öğenin kimliği.
|
selfLink |
string
Yalnızca çıkış. Bu referansa giden bir bağlantı.
|
kind |
string
Yalnızca çıkış. Bu değer her zaman drive#childReference olur.
|
childLink |
string
Yalnızca çıkış. Çocuğun bağlantısı.
|
Yöntemler |
|
Bir alt klasörü klasörden kaldırır. |
|
Belirli bir alt öğe referansı alır. |
|
Bir klasöre dosya ekler. |
|
Bir klasörün alt öğelerini listeler. |
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: children\n\n- [Resource: ChildReference](#ChildReference)\n - [JSON representation](#ChildReference.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ChildReference\n------------------------\n\nA reference to a folder's child.\n\nSome resource methods (such as `children.get`) require a `childId`. Use the `children.list` method to retrieve the ID of the child.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"selfLink\": string, \"kind\": string, \"childLink\": string } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------|\n| `id` | `string` The ID of the child. |\n| `selfLink` | `string` Output only. A link back to this reference. |\n| `kind` | `string` Output only. This is always `drive#childReference`. |\n| `childLink` | `string` Output only. A link to the child. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------|----------------------------------|\n| ### [delete](/workspace/drive/api/reference/rest/v2/children/delete) | Removes a child from a folder. |\n| ### [get](/workspace/drive/api/reference/rest/v2/children/get) | Gets a specific child reference. |\n| ### [insert](/workspace/drive/api/reference/rest/v2/children/insert) | Inserts a file into a folder. |\n| ### [list](/workspace/drive/api/reference/rest/v2/children/list) | Lists a folder's children. |"]]