如需定义授予应用的访问权限级别,您需要确定并声明授权范围。授权范围是 OAuth 2.0 URI 字符串,其中包含 Google Workspace 应用名称、它访问的数据类型以及访问权限级别。范围是您的应用请求处理 Google Workspace 数据(包括用户的 Google 账号数据)的请求。
[null,null,["最后更新时间 (UTC):2024-12-21。"],[[["This document outlines authorization and authentication for the Drive Labels API, specifically focusing on OAuth 2.0 configuration and necessary scopes."],["Users should configure the OAuth consent screen, choose appropriate scopes based on required access levels, and verify their application if using sensitive scopes."],["Different scopes are available for Drive items and labels, providing varying levels of access for reading, searching, and modifying metadata, viewing, and managing labels, including administrator access for managing organizational labels."],["To manage administrator labels, specific requirements include setting `useAdminAccess` to `true`, having administrator privileges with \"Manage Labels\" rights, and understanding the relationship between `label type` and user roles for write access."],["It is crucial to refer to external documentation for Google Workspace's general authentication and authorization information, OAuth consent screen configuration, unverified apps, Drive API OAuth 2.0 scopes, Drive API-specific authorization, and creating access credentials for comprehensive understanding and setup."]]],[]]