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
פלט בלבד. קישור לילד או לילדה.
|
Methods |
|
הסרת תיקיית בת מתיקייה. |
|
הפונקציה מקבלת הפניה ספציפית לצאצא. |
|
הוספת קובץ לתיקייה. |
|
הצגת רשימה של התיקיות המשניות של תיקייה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]