Xem hoặc chỉnh sửa dự án trên Google Cloud
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Mỗi dự án Apps Script đều được liên kết với một dự án trên Google Cloud. Có 2 loại dự án trên Cloud cho Apps Script:
- Dự án Cloud mặc định: Apps Script tự động tạo và quản lý một dự án Google Cloud mỗi khi có người tạo và chạy một dự án Apps Script. Để tìm hiểu thêm, hãy tham khảo bài viết Dự án mặc định trên đám mây.
- Dự án Cloud tiêu chuẩn: Người dùng có thể tạo và quản lý dự án Cloud của riêng mình cho các trường hợp sử dụng Apps Script nâng cao. Để tìm hiểu thêm, hãy tham khảo bài viết Dự án Cloud tiêu chuẩn.
Để xem các dự án mặc định và tiêu chuẩn trên Cloud của tổ chức trong bảng điều khiển Cloud, bạn phải có quyền resourcemanager.projects.list
đối với tổ chức của mình. Nếu muốn xem riêng các dự án tiêu chuẩn và dự án mặc định, bạn cũng cần có quyền resourcemanager.folders.list
. Để đặt quyền xem cho các dự án trong tổ chức của bạn, hãy tham khảo phần Chỉ định quyền xem cho tất cả các dự án trên Cloud trong một tổ chức.
Để chỉnh sửa các dự án tiêu chuẩn và dự án mặc định trên Cloud của tổ chức trong bảng điều khiển Cloud, bạn phải có quyền resourcemanager.projects.update
đối với tổ chức của mình. Để thiết lập quyền chỉnh sửa cho các dự án trong tổ chức của bạn, hãy tham khảo phần Chỉ định quyền chỉnh sửa cho tất cả dự án trên đám mây trong một tổ chức.
Xem hoặc chỉnh sửa các dự án mặc định trên Cloud
Các dự án mặc định nằm trong thư mục Organization root > system-gsuite > apps-script
trong hệ thống phân cấp tài nguyên trên đám mây. Đừng xoá các thư mục này. Nếu bạn làm vậy, Apps Script sẽ không thể tạo các dự án mặc định và không thực thi tập lệnh đúng cách.
Để xem thư mục system-gsuite
và apps-script
, bạn phải có quyền resourcemanager.folders.list
. Nếu bạn chỉ có resourcemanager.projects.list permission
, thì các dự án tiêu chuẩn và dự án mặc định sẽ xuất hiện cùng nhau trong một danh sách. Mã dự án mặc định bắt đầu bằng sys-
.
Để xem hoặc chỉnh sửa các dự án mặc định trong tổ chức của bạn, hãy làm theo các bước sau:
- Mở Cloud Console tại console.cloud.google.com.
- Nhấp vào biểu tượng Trình đơn menu
> IAM và Quản trị
> Quản lý tài nguyên.
- Bên cạnh tổ chức của bạn, hãy nhấp vào biểu tượng Mở rộng nút arrow_drop_down.
- Bên cạnh thư mục
system-gsuite
, hãy nhấp vào biểu tượng Mở rộng nút arrow_drop_down.
- Bên cạnh thư mục
apps-script
, hãy sao chép mã nhận dạng.
- Nhấp vào Bộ lọc > Mã nhận dạng cấp trên.
- Dán mã nhận dạng thư mục Apps Script rồi nhấn Enter.
- Bên cạnh dự án mà bạn muốn xem hoặc chỉnh sửa, hãy nhấp vào biểu tượng Tuỳ chọn khác more_vert
> Cài đặt. Dự án sẽ mở ra trong Bảng điều khiển đám mây và bạn có thể thực hiện các thay đổi.
Xem hoặc chỉnh sửa các dự án Cloud tiêu chuẩn
Để xem hoặc chỉnh sửa các dự án tiêu chuẩn trong tổ chức của bạn, hãy làm theo các bước sau:
- Mở Cloud Console tại console.cloud.google.com.
- Nhấp vào biểu tượng Trình đơn menu
> IAM và Quản trị
> Quản lý tài nguyên.
- Bên cạnh tổ chức của bạn, hãy nhấp vào biểu tượng Mở rộng nút arrow_drop_down.
Danh sách dự án bao gồm tất cả các dự án Cloud tiêu chuẩn, cho dù các dự án đó có liên kết với dự án Apps Script hay không.
- Nếu không có quyền
resourcemanager.folders.list
, bạn có thể thấy các dự án mặc định trên Cloud trong cùng danh sách với các dự án tiêu chuẩn trên Cloud.
Để phân biệt hai loại này, mã dự án mặc định bắt đầu bằng sys-
.
- Bên cạnh dự án mà bạn muốn xem hoặc chỉnh sửa, hãy nhấp vào biểu tượng Tuỳ chọn khác more_vert
> Cài đặt. Dự án sẽ mở ra trong Bảng điều khiển đám mây và bạn có thể thực hiện các thay đổi.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\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)"]]