ภาพรวมข้อมูลอ้างอิง
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เอกสารประกอบเกี่ยวกับการอ้างอิงที่ระบุไว้ในส่วนนี้อธิบายบริการ Apps Script และทรัพยากรของโปรเจ็กต์ต่างๆ
บริการ Apps Script
บริการ Apps Script มีวิธีให้สคริปต์เข้าถึงข้อมูล
ใน
Google และระบบภายนอก บริการเหล่านี้สร้างขึ้นในสภาพแวดล้อมของ Apps Script คุณจึงไม่ต้องนำเข้าหรือใช้การควบคุมการให้สิทธิ์ด้วยตนเอง บริการจะแสดงเป็นออบเจ็กต์ส่วนกลางที่มีเมธอดที่เชื่อมโยงกัน ซึ่งคล้ายกับออบเจ็กต์ JavaScript เช่น Math
บริการของ Apps Script มีดังนี้
บริการของ Google คือบริการที่ช่วยให้คุณเข้าถึงข้อมูลของแอป Google Workspace เช่น ไดรฟ์, Gmail และชีต รวมถึงแอปอื่นๆ ของ Google เช่น Maps และ
Translate
บริการยูทิลิตีคือบริการที่ไม่ได้เชื่อมต่อกับผลิตภัณฑ์ใดผลิตภัณฑ์หนึ่งของ Google
ซึ่งช่วยให้คุณทำสิ่งต่างๆ ได้ เช่น บันทึกข้อมูล สร้าง HTML บีบอัดข้อมูล และอื่นๆ
บริการขั้นสูง
บริการบางอย่างของ Google มีให้บริการในรูปแบบบริการขั้นสูง บริการขั้นสูง
คือบริการ Apps Script ที่ช่วยให้คุณเข้าถึง API ของผลิตภัณฑ์ Google
ได้ ซึ่งรวมถึง
แต่ไม่จำกัดเพียง API ของผลิตภัณฑ์ Google Workspace
โดยพื้นฐานแล้ว บริการขั้นสูงของ Google เป็นเพียง Wrapper บางๆ รอบ API และไม่ใช่ API เอง
โปรดดูรายละเอียดเพิ่มเติมที่บริการขั้นสูงของ Google
ทรัพยากรของโปรเจ็กต์สคริปต์
แหล่งข้อมูลของโปรเจ็กต์สคริปต์จะให้ข้อมูลเกี่ยวกับโปรเจ็กต์
Apps Script
เพื่อช่วยให้โปรเจ็กต์ทำงานได้สำเร็จ ทรัพยากรของโปรเจ็กต์ประกอบด้วยข้อมูลเกี่ยวกับ
การกำหนดค่าไฟล์ Manifest, ทริกเกอร์การทำงานอัตโนมัติ และโควต้า
แหล่งข้อมูลเกี่ยวกับส่วนเสริมของ Google Workspace
คุณจะต้องดูแหล่งข้อมูลส่วนเสริมก็ต่อเมื่อสร้างส่วนเสริม Google Workspace
Apps Script API
ใช้แหล่งข้อมูลเหล่านี้หากต้องการสร้าง แก้ไข หรือทำให้โปรเจ็กต์ Apps Script ใช้งานได้โดยอัตโนมัติ
โดยใช้ Apps Script
API
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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)."]]