选择 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 群组的设置 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):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"]]