查看或編輯 Google Cloud 專案
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
每個 Apps Script 專案都與 Google Cloud 中的專案相關聯。Apps Script 有 2 種 Cloud 專案:
- 預設 Cloud 專案:每當有人建立及執行 Apps Script 專案時,Apps Script 就會自動建立及管理 Google Cloud 專案。詳情請參閱「預設 Cloud 專案」。
- 標準 Cloud 專案:使用者可以建立及管理自己的 Cloud 專案,以用於進階 Apps Script 用途。詳情請參閱「標準 Cloud 專案」。
如要在 Cloud 控制台中查看機構的預設和標準 Cloud 專案,您必須具備機構的 resourcemanager.projects.list
權限。如要分別查看標準和預設專案,您也需要 resourcemanager.folders.list
權限。如要為機構中的專案設定查看權限,請參閱「為機構中的所有 Cloud 專案指派查看權限」。
如要在 Cloud 控制台中編輯機構的標準和預設 Cloud 專案,您必須具備機構的 resourcemanager.projects.update
權限。如要為機構中的專案設定編輯權限,請參閱「為機構中的所有 Cloud 專案指派編輯權限」。
查看或編輯預設 Cloud 專案
預設專案位於 Cloud 資源階層的 Organization root > system-gsuite > apps-script
資料夾中。請勿刪除這些資料夾。否則 Apps Script 無法建立預設專案,也無法正確執行指令碼。
如要查看 system-gsuite
和 apps-script
資料夾,必須具備 resourcemanager.folders.list
權限。如果只有 resourcemanager.projects.list permission
,標準和預設專案會一起顯示在一個清單中。預設專案 ID 會以 sys-
開頭。
如要查看或編輯機構中的預設專案,請按照下列步驟操作:
- 前往 console.cloud.google.com 開啟 Cloud 控制台。
- 依序點選「選單」圖示 menu
>「IAM 與管理」
>「管理資源」。
- 按一下機構旁邊的「展開節點」圖示 arrow_drop_down。
- 按一下
system-gsuite
資料夾旁的「展開節點」圖示 arrow_drop_down。
- 複製
apps-script
資料夾旁邊的 ID。
- 依序點選「篩選器」>「父項 ID」。
- 貼上 Apps Script 資料夾 ID,然後按下 Enter 鍵。
- 在要查看或編輯的專案旁邊,依序點選「更多」圖示 more_vert「設定」。專案會在 Cloud 控制台中開啟,您可以進行變更。
查看或編輯標準 Cloud 專案
如要查看或編輯機構中的標準專案,請按照下列步驟操作:
- 前往 console.cloud.google.com 開啟 Cloud 控制台。
- 依序點選「選單」圖示 menu
>「IAM 與管理」
>「管理資源」。
- 按一下機構旁邊的「展開節點」圖示 arrow_drop_down。
專案清單會列出所有標準 Cloud 專案,無論這些專案是否與 Apps Script 專案相關聯。
- 如果沒有
resourcemanager.folders.list
權限,您可能會在標準 Cloud 專案的同一份清單中看到預設 Cloud 專案。
如要區分兩者,預設專案 ID 開頭為 sys-
。
- 在要查看或編輯的專案旁邊,依序點選「更多」圖示 more_vert「設定」。專案會在 Cloud 控制台中開啟,您可以進行變更。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eEvery Apps Script project is associated with a Google Cloud project, which can be either automatically managed (default) or user-managed (standard).\u003c/p\u003e\n"],["\u003cp\u003eDefault Cloud projects are automatically created and managed by Apps Script, while standard Cloud projects allow for advanced customizations and control.\u003c/p\u003e\n"],["\u003cp\u003eViewing and editing Cloud projects associated with Apps Script requires specific permissions in Google Cloud, such as \u003ccode\u003eresourcemanager.projects.list\u003c/code\u003e for viewing and \u003ccode\u003eresourcemanager.projects.update\u003c/code\u003e for editing.\u003c/p\u003e\n"],["\u003cp\u003eYou can view and manage both default and standard Cloud projects within the Google Cloud console using the IAM & Admin section.\u003c/p\u003e\n"],["\u003cp\u003eDefault Cloud projects reside under a specific folder structure within the Cloud resource hierarchy (\u003ccode\u003eOrganization root > system-gsuite > apps-script\u003c/code\u003e), which should not be deleted to ensure proper Apps Script functionality.\u003c/p\u003e\n"]]],[],null,["# View or edit Google Cloud projects\n\nEvery Apps Script project is associated with a project in Google Cloud. There\nare 2 types of Cloud projects for Apps Script:\n\n- **Default Cloud projects** : Apps Script automatically creates and manages a Google Cloud project each time someone creates and runs an Apps Script project. To learn more, refer to [Default Cloud projects](/apps-script/guides/cloud-platform-projects#default_google_cloud_projects).\n- **Standard Cloud projects** : Users can create and manage their own Cloud projects for advanced Apps Script use cases. To learn more, refer to [Standard\n Cloud projects](/apps-script/guides/cloud-platform-projects#standard_google_cloud_projects).\n\nTo view your organization's default and standard Cloud projects in the Cloud\nconsole, you must have the `resourcemanager.projects.list` permission for your\norganization. If you want to view standard and default projects separately, you\nalso need `resourcemanager.folders.list` permission. To set view permissions for\nprojects in your organization, refer to [Assign view permission for all Cloud\nprojects in an organization](/apps-script/guides/admin/assign-cloud-permissions#assign_view_permission_for_all_cloud_projects_in_an_organization).\n\nTo edit your organization's standard and default Cloud projects in the Cloud\nconsole, you must have the `resourcemanager.projects.update` permission for your\norganization. To set edit permissions for\nprojects in your organization, refer to [Assign edit permission for all Cloud\nprojects in an organization](/apps-script/guides/admin/assign-cloud-permissions#assign_edit_permission_for_all_cloud_projects_in_an_organization).\n\nView or edit default Cloud projects\n-----------------------------------\n\nDefault projects fall under the\n`Organization root \u003e system-gsuite \u003e apps-script` folder in the Cloud resource\nhierarchy. Don't delete these folders. If you do, Apps Script can't create\ndefault projects and won't execute scripts properly.\n\nTo view the `system-gsuite` and `apps-script` folders, you must have\n`resourcemanager.folders.list` permission. If you only have\n`resourcemanager.projects.list permission`, standard and default projects show\nup together in one list. Default project IDs start with `sys-`.\n\nTo view or edit the default projects in your organization, take the following\nsteps:\n\n1. Open the Cloud console at [console.cloud.google.com](https://console.cloud.google.com/).\n2. Click Menu menu \\\u003e **IAM \\& Admin** \\\u003e **Manage Resources**.\n3. Next to your organization, click Expand node arrow_drop_down.\n4. Next to the `system-gsuite` folder, click Expand node arrow_drop_down.\n5. Next to the `apps-script` folder, copy the ID.\n6. Click **Filter** \\\u003e **Parent ID**.\n7. Paste the Apps Script folder ID and press **Enter**.\n8. Next to the project you want to view or edit, click More more_vert \\\u003e **Settings**. The project opens in the Cloud console and you can make your changes.\n\nView or edit standard Cloud projects\n------------------------------------\n\nTo view or edit the standard projects in your organization, take the following\nsteps:\n\n1. Open the Cloud console at [console.cloud.google.com](https://console.cloud.google.com/).\n2. Click Menu menu \\\u003e **IAM \\& Admin** \\\u003e **Manage Resources**.\n3. Next to your organization, click Expand node arrow_drop_down. The list of projects includes all standard Cloud projects whether or not they have Apps Script projects associated with them.\n - If you don't have `resourcemanager.folders.list` permission, you might see default Cloud projects in the same list as standard Cloud projects. To tell the difference between the two, default project IDs start with `sys-`.\n4. Next to the project you want to view or edit, click More more_vert \\\u003e **Settings**. The project opens in the Cloud console and you can make your changes.\n\nRelated resources\n-----------------\n\n- [Creating and managing projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects)\n- [Turn Google Cloud on or off for users](https://support.google.com/a/answer/9197205)"]]