選擇 Groups Settings API 範圍
本文件包含 Email Audit API 專屬授權,以及
驗證資訊閱讀這份文件之前,請務必詳閱
如需 Google Workspace 的一般驗證和授權資訊,請造訪
瞭解驗證和授權。
設定 OAuth 同意畫面並選擇範圍
定義要對使用者和應用程式審查者顯示的資訊,並註冊
供您日後發布
Groups Settings API 範圍
如要定義授予應用程式的存取權層級,您必須找出
宣告授權範圍。授權範圍是 OAuth 2.0 URI 字串
,該資料包含 Google Workspace 應用程式名稱、應用程式存取的資料類型,以及
存取層級「範圍」是應用程式對 Google Workspace 資料提出的要求,包括
使用者Google 帳戶資料。
安裝應用程式後,系統會要求使用者驗證應用程式所使用的範圍
。一般而言,您應選擇最精確的範圍
並避免要求應用程式不需要的範圍使用者更多
清楚地將存取權授予受限制、說明範圍。
Groups Settings API 支援下列範圍:
範圍 |
意義 |
https://www.googleapis.com/auth/apps.groups.settings |
查看及管理 Google 網路論壇的設定 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[[["This document provides authorization and authentication details specifically for the Email Audit API, recommending prior review of general Google Workspace authentication information."],["Developers need to configure OAuth 2.0, including setting up the consent screen, choosing scopes, and registering the application for potential publishing."],["Authorization scopes are crucial for defining app access levels, with narrower, clearly defined scopes encouraged for better user acceptance."],["The `https://www.googleapis.com/auth/apps.groups.settings` scope allows applications to view and manage Google Groups settings."],["Public applications using specific scopes may require verification, prompting developers to submit a verification request if they see \"unverified app\" during testing."]]],["To utilize the Email Audit API, configure OAuth 2.0, defining authorization scopes that dictate data access levels. These scopes, presented as OAuth 2.0 URIs, detail the Google Workspace app, data accessed, and access levels. Users validate these scopes upon app installation. For public applications needing certain user data access, complete a verification process. The Groups Settings API scope, `https://www.googleapis.com/auth/apps.groups.settings`, allows viewing and managing Google Groups settings.\n"]]