リファレンスの概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このセクションで提供するリファレンス ドキュメントでは、さまざまな Apps Script サービスとプロジェクト リソースについて説明します。
Apps Script サービス
Apps Script サービスは、スクリプトが Google と外部システムのデータにアクセスする方法を提供します。これらのサービスは Apps Script 環境に組み込まれているため、インポートしたり、認証制御を自分で実装したりする必要はありません。サービスは、Math
などの JavaScript オブジェクトと同様に、関連付けられたメソッドを持つグローバル オブジェクトとして表現されます。
Apps Script サービスには以下が含まれます。
高度なサービス
一部の Google サービスは、拡張サービスとして提供されています。拡張サービスは、Google Workspace プロダクト API を含む Google プロダクト API にアクセスできる Apps Script サービスです。拡張 Google サービスは基本的に API のシンラッパーであり、API 自体ではありません。詳しくは、高度な Google サービスをご覧ください。
スクリプト プロジェクトのリソース
スクリプト プロジェクト リソースは、Apps Script プロジェクトが正常に実行されるように、そのプロジェクトに関する情報を提供します。プロジェクト リソースには、マニフェスト構成、自動化トリガー、割り当てに関する情報が含まれます。
Google Workspace アドオンのリソース
アドオン リソースを参照する必要があるのは、Google Workspace アドオンを構築する場合のみです。
Apps Script API
Apps Script API を使用して Apps Script プロジェクトをプログラムで作成、変更、デプロイする場合は、これらのリソースを使用します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 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)."]]