شناسه Drive والدین که اسکریپت به آن پیوست خواهد شد. این معمولاً شناسه یک سند Google یا Google Sheet است. این فایل اختیاری است و اگر تنظیم نشود، یک اسکریپت مستقل ایجاد می شود.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis documentation details the Apps Script API for managing script projects, including creating, retrieving, and updating projects and their content.\u003c/p\u003e\n"],["\u003cp\u003eA script project is represented by properties like script ID, title, parent ID, creation and update timestamps, and creator/modifier user details.\u003c/p\u003e\n"],["\u003cp\u003eUser profiles associated with script projects contain domain, email, name, and photo URL information.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to manage script projects: \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003egetContent\u003c/code\u003e, \u003ccode\u003egetMetrics\u003c/code\u003e, and \u003ccode\u003eupdateContent\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects\n\n- [Resource: Project](#Project)\n - [JSON representation](#Project.SCHEMA_REPRESENTATION)\n- [User](#User)\n - [JSON representation](#User.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Project\n-----------------\n\nThe script project resource.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"scriptId\": string, \"title\": string, \"parentId\": string, \"createTime\": string, \"updateTime\": string, \"creator\": { object (/apps-script/api/reference/rest/v1/projects#User) }, \"lastModifyUser\": { object (/apps-script/api/reference/rest/v1/projects#User) } } ``` |\n\n| Fields ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `scriptId` | `string` The script project's Drive ID. |\n| `title` | `string` The title for the project. |\n| `parentId` | `string` The parent's Drive ID that the script will be attached to. This is usually the ID of a Google Document or Google Sheet. This filed is optional, and if not set, a stand-alone script will be created. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` When the script was created. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `updateTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` When the script was last updated. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `creator` | `object (`[User](/apps-script/api/reference/rest/v1/projects#User)`)` User who originally created the script. |\n| `lastModifyUser` | `object (`[User](/apps-script/api/reference/rest/v1/projects#User)`)` User who last modified the script. |\n\nUser\n----\n\nA simple user profile resource.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------|\n| ``` { \"domain\": string, \"email\": string, \"name\": string, \"photoUrl\": string } ``` |\n\n| Fields ||\n|------------|------------------------------------------------|\n| `domain` | `string` The user's domain. |\n| `email` | `string` The user's identifying email address. |\n| `name` | `string` The user's display name. |\n| `photoUrl` | `string` The user's photo. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| ### [create](/apps-script/api/reference/rest/v1/projects/create) | Creates a new, empty script project with no script files and a base manifest file. |\n| ### [get](/apps-script/api/reference/rest/v1/projects/get) | Gets a script project's metadata. |\n| ### [getContent](/apps-script/api/reference/rest/v1/projects/getContent) | Gets the content of the script project, including the code source and metadata for each script file. |\n| ### [getMetrics](/apps-script/api/reference/rest/v1/projects/getMetrics) | Get metrics data for scripts, such as number of executions and active users. |\n| ### [updateContent](/apps-script/api/reference/rest/v1/projects/updateContent) | Updates the content of the specified script project. |"]]