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 فقط خروجی پیوندی به کودک |
روش ها |
---|
| یک کودک را از یک پوشه حذف می کند. |
| یک مرجع کودک خاص دریافت می کند. |
| یک فایل را در یک پوشه وارد می کند. |
| فرزندان یک پوشه را فهرست می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],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. |"]]