查看或修改 Google Cloud 项目
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
每个 Apps 脚本项目都与 Google Cloud 中的一个项目相关联。Apps 脚本有 2 种类型的 Cloud 项目:
- 默认 Cloud 项目:每次有人创建并运行 Apps 脚本项目时,Apps 脚本都会自动创建并管理一个 Google Cloud 项目。如需了解详情,请参阅默认 Cloud 项目。
- 标准 Cloud 项目:用户可以创建和管理自己的 Cloud 项目,以实现高级 Apps 脚本用例。如需了解详情,请参阅标准 Cloud 项目。
如需在 Cloud 控制台中查看组织的默认 Cloud 项目和标准 Cloud 项目,您必须拥有组织的 resourcemanager.projects.list
权限。如果您想分别查看标准项目和默认项目,还需要 resourcemanager.folders.list
权限。如需为组织中的项目设置查看权限,请参阅为组织中的所有 Cloud 项目分配查看权限。
如需在 Cloud 控制台中修改组织的标准 Cloud 项目和默认 Cloud 项目,您必须拥有组织的 resourcemanager.projects.update
权限。如需为组织中的项目设置修改权限,请参阅为组织中的所有 Cloud 项目分配修改权限。
查看或修改默认 Cloud 项目
默认项目位于 Cloud 资源层次结构中的 Organization root > system-gsuite > apps-script
文件夹下。请勿删除这些文件夹。否则,Apps 脚本将无法创建默认项目,并且无法正常执行脚本。
如需查看 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 脚本文件夹 ID,然后按 Enter 键。
- 在要查看或修改的项目旁边,依次点击“更多”图标 more_vert
> 设置。项目会在 Cloud 控制台中打开,然后您就可以进行更改了。
查看或修改标准 Cloud 项目
如需查看或修改组织中的标准项目,请按以下步骤操作:
- 访问 console.cloud.google.com 并打开 Cloud 控制台。
- 依次点击“菜单”图标 menu
> IAM 和管理
> 管理资源。
- 点击组织旁边的“展开”节点 arrow_drop_down。
项目列表包含所有标准 Cloud 项目,无论这些项目是否关联了 Apps 脚本项目。
- 如果您没有
resourcemanager.folders.list
权限,则可能会在同一列表中看到默认 Cloud 项目和标准 Cloud 项目。
为了区分这两个项目 ID,默认项目 ID 以 sys-
开头。
- 在要查看或修改的项目旁边,依次点击“更多”图标 more_vert
> 设置。项目会在 Cloud 控制台中打开,然后您就可以进行更改了。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):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)"]]