Admin SDK 群組設定服務
您可以使用 Admin SDK 群組設定服務,在 Apps Script 中使用 Admin SDK 的 Groups Settings API。這個 API 可讓 網域 (包括經銷商) 的管理員管理其 帳戶中群組的群組設定。
參考資料
如需這項服務的詳細資訊,請參閱 Admin SDK Groups Settings API 的參考文件。與 Apps Script 中的所有進階服務一樣,Admin SDK Groups Settings 服務會使用與公開 API 相同的物件、方法和參數。詳情請參閱「如何決定方法簽章」。
如要回報問題或尋求其他支援,請參閱 Admin SDK Groups 設定支援指南。
程式碼範例
下列程式碼範例使用 API 的 第 1 版。
取得群組設定
這個範例會取得群組的設定,並將這些設定記錄到控制台。
更新群組設定
這個範例說明如何變更群組設定。這裡修改的是說明,但您也可以以相同方式變更其他設定。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["The Admin SDK Groups Settings service enables Google Workspace administrators to manage group settings within their accounts using Apps Script and the Groups Settings API."],["This is an advanced service that requires enabling before use and mirrors the functionality of the public API."],["Comprehensive reference documentation, support resources, and sample code are available to guide developers in using this service effectively, including examples for retrieving and updating group settings."]]],[]]