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.
Tài liệu tham khảo được cung cấp trong phần này mô tả các dịch vụ và tài nguyên dự án khác nhau của Apps Script.
Các dịch vụ của Apps Script
Các dịch vụ của Apps Script cung cấp cho tập lệnh của bạn những cách để truy cập vào dữ liệu trên Google và các hệ thống bên ngoài. Các dịch vụ này được tích hợp vào môi trường Apps Script nên bạn không phải nhập hoặc tự triển khai các chế độ kiểm soát uỷ quyền. Các dịch vụ được biểu thị dưới dạng các đối tượng chung có các phương thức liên kết, tương tự như các đối tượng JavaScript, chẳng hạn như Math.
Các dịch vụ của Apps Script bao gồm:
Các dịch vụ của Google là những dịch vụ cho phép bạn truy cập vào dữ liệu của các ứng dụng Google Workspace, chẳng hạn như Drive, Gmail và Trang tính, cũng như các ứng dụng khác của Google như Maps và Dịch.
Dịch vụ tiện ích là những dịch vụ không kết nối với một sản phẩm cụ thể của Google. Các hàm này cho phép bạn thực hiện những việc như ghi nhật ký thông tin, tạo HTML, nén dữ liệu, v.v.
Dịch vụ nâng cao
Một số dịch vụ của Google được cung cấp dưới dạng dịch vụ nâng cao. Dịch vụ nâng cao là một dịch vụ Apps Script cho phép bạn truy cập vào các API sản phẩm của Google, bao gồm nhưng không giới hạn ở các API sản phẩm của Google Workspace.
Về cơ bản, dịch vụ nâng cao của Google là một trình bao bọc mỏng xung quanh một API và không phải là một API. Để biết thêm thông tin chi tiết, hãy xem bài viết Các dịch vụ nâng cao của Google.
Tài nguyên cho dự án tập lệnh
Tài nguyên dự án tập lệnh cung cấp thông tin về dự án Apps Script của bạn để giúp dự án chạy thành công. Tài nguyên dự án bao gồm thông tin về cấu hình tệp kê khai, các điều kiện kích hoạt tự động hoá và hạn mức.
Tài nguyên về tiện ích bổ sung của Google Workspace
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eApps Script offers built-in services enabling interaction with Google and external systems, including Google Workspace apps and utilities for tasks like logging and HTML creation.\u003c/p\u003e\n"],["\u003cp\u003eAdvanced Google services provide access to Google product APIs, including those for Google Workspace products, acting as simplified wrappers for these APIs.\u003c/p\u003e\n"],["\u003cp\u003eApps Script projects utilize resources like manifest configurations, triggers, and quotas to ensure proper functionality.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Workspace Add-on resources are specifically for developing add-ons, while the Apps Script API enables programmatic management of Apps Script projects.\u003c/p\u003e\n"]]],[],null,["# Reference overview\n\nThe reference documentation provided in this section describes the various\nApps Script services and project resources.\n\nApps Script services\n--------------------\n\nApps Script services provide ways for your script to access data\non\nGoogle and external systems. These services are built into the\nApps Script\nenvironment so you don't have to import them or implement authorization\ncontrols yourself. Services are expressed as global objects with associated\nmethods, similar to JavaScript objects such as `Math`.\n\nApps Script services include:\n\n- **Google services** are services that let\n you access the data of Google Workspace\n apps, such as Drive, Gmail, and Sheets, and other Google apps such as Maps and\n Translate.\n\n- **Utility services** are services that aren't connected to a\n particular Google product. They let you do\n things like log information, create HTML, compress data, and more.\n\n### Advanced services\n\nSome Google services are offered as an *advanced service* . An advanced service\nis an Apps Script service that lets you access Google product\nAPIs, including\nbut not limited to the Google Workspace product APIs.\nAn advanced Google service is basically a thin wrapper around an API, and isn't\nan API itself. For more details, see [Advanced Google\nservices](/apps-script/guides/services/advanced).\n\nScript project resources\n------------------------\n\nScript project resources provide information about your\nApps Script\nproject to help it run successfully. Project resources include information about\nmanifest configuration, automation triggers, and quotas.\n\nGoogle Workspace add-on resources\n---------------------------------\n\nYou only need to refer to add-on resources if you're building a\n[Google Workspace add-on](/workspace/add-ons/concepts/types#google-workspace-add-ons).\n\nApps Script API\n---------------\n\nUse these resources if you want to programmatically create, modify, or deploy\nApps Script projects using the [Apps Script\nAPI](/apps-script/api/concepts)."]]