REST Resource: children
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร: ChildReference
การอ้างอิงถึงรายการย่อยของโฟลเดอร์
วิธีการของทรัพยากรบางรายการ (เช่น children.get
) ต้องใช้ childId
ใช้เมธอด children.list
เพื่อเรียกข้อมูลรหัสของบุตรหลาน
การแสดง JSON |
{
"id": string,
"selfLink": string,
"kind": string,
"childLink": string
} |
ช่อง |
id |
string
รหัสของบุตรหลาน
|
selfLink |
string
เอาต์พุตเท่านั้น ลิงก์กลับไปยังข้อมูลอ้างอิงนี้
|
kind |
string
เอาต์พุตเท่านั้น ค่านี้จะมีค่าเป็น drive#childReference เสมอ
|
childLink |
string
เอาต์พุตเท่านั้น ลิงก์ไปยังบุตรหลาน
|
เมธอด |
|
นำบุตรหลานออกจากโฟลเดอร์ |
|
รับข้อมูลอ้างอิงรายการย่อยที่เฉพาะเจาะจง |
|
แทรกไฟล์ลงในโฟลเดอร์ |
|
แสดงรายการโฟลเดอร์ย่อย |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]