Źródła wiedzy
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Dokumentacja referencyjna w tej sekcji opisuje różne usługi Apps Script i zasoby projektu.
Usługi Apps Script
Usługi Apps Script umożliwiają skryptowi dostęp do danych w Google i systemach zewnętrznych. Te usługi są wbudowane w środowisko Apps Script, więc nie musisz ich importować ani samodzielnie wdrażać kontroli autoryzacji. Usługi są wyrażane jako obiekty globalne z powiązanymi metodami, podobnie jak obiekty JavaScript, np. Math
.
Usługi Apps Script obejmują:
Usługi Google to usługi, które umożliwiają dostęp do danych aplikacji Google Workspace, takich jak Dysk, Gmail i Arkusze, oraz innych aplikacji Google, takich jak Mapy i Tłumacz.
Usługi dodatkowe to usługi, które nie są powiązane z konkretną usługą Google. Umożliwiają one m.in. rejestrowanie informacji, tworzenie kodu HTML i kompresowanie danych.
Usługi zaawansowane
Niektóre usługi Google są oferowane jako usługi zaawansowane. Usługa zaawansowana to usługa Apps Script, która umożliwia dostęp do interfejsów API usług Google, w tym interfejsów API usług Google Workspace.
Zaawansowana usługa Google to w zasadzie cienka otoka API, a nie sam interfejs API. Więcej informacji znajdziesz w artykule Usługi zaawansowane Google.
Zasoby projektu skryptu
Zasoby projektu skryptu zawierają informacje o projekcie Apps Script, które pomagają w jego prawidłowym działaniu. Zasoby projektu obejmują informacje o konfiguracji pliku manifestu, wyzwalaczach automatyzacji i limitach.
Materiały dotyczące dodatków do Google Workspace
Zasoby dodatków są potrzebne tylko wtedy, gdy tworzysz dodatek do Google Workspace.
Apps Script API
Skorzystaj z tych zasobów, jeśli chcesz programowo tworzyć, modyfikować lub wdrażać projekty Apps Script za pomocą interfejsu Apps Script API.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]