앱에 부여된 액세스 수준을 정의하려면 승인 범위를 식별하고 선언해야 합니다. 승인 범위는 Google Workspace 앱 이름, 액세스하는 데이터 유형, 액세스 수준이 포함된 OAuth 2.0 URI 문자열입니다. 범위는 사용자의 Google 계정 데이터를 비롯한 Google Workspace 데이터를 사용하기 위한 앱의 요청입니다.
앱이 설치되면 사용자에게 앱에서 사용하는 범위를 확인해 달라는 메시지가 표시됩니다. 일반적으로 최대한 좁은 범위의 범위를 선택하고 앱에 필요하지 않은 범위를 요청하지 않는 것이 좋습니다. 사용자는 명확하게 설명된 제한된 범위에 더 쉽게 액세스 권한을 부여합니다.
Alert Center API는 다음 범위를 지원합니다.
범위
의미
https://www.googleapis.com/auth/apps.alerts
Alert Center API에 대한 읽기 및 쓰기 액세스 권한
서비스 계정 만들기
Alert Center API를 사용하려면 서비스 계정을 사용하고 도메인 전체 위임을 설정해야 합니다. 자세한 내용은 액세스 사용자 인증 정보 만들기를 참고하세요.
[null,null,["최종 업데이트: 2025-03-25(UTC)"],[],[],null,["# Choose Alert Center API scopes\n\nThis document contains Alert Center API-specific authorization and\nauthentication information. Before reading this document, be sure to read the\nGoogle Workspace's general authentication and authorization information at\n[Learn about authentication and authorization](/workspace/guides/auth-overview).\n\nConfigure OAuth 2.0 for authorization\n-------------------------------------\n\n[Configure the OAuth consent screen and choose scopes](/workspace/guides/configure-oauth-consent)\nto define what information is displayed to users and app reviewers, and register\nyour app so that you can publish it later.\n\nAlert Center API scopes\n-----------------------\n\nTo define the level of access granted to your app, you need to identify and\ndeclare *authorization scopes*. An authorization scope is an OAuth 2.0 URI string\nthat contains the Google Workspace app name, what kind of data it accesses, and\nthe level of access. Scopes are your app's requests to work with Google Workspace data, including\nusers' Google Account data.\n\n\nWhen your app is installed, a user is asked to validate the scopes used\nby the app. Generally, you should choose the most narrowly focused scope\npossible and avoid requesting scopes that your app doesn't require. Users more\nreadily grant access to limited, clearly described scopes.\n| If your public application uses scopes that permit access to certain user data, it must complete a verification process. If you see **unverified\n| app** on the screen when testing your application, you must submit a verification request to remove it. Find out more about [unverified apps](https://support.google.com/cloud/answer/7454865) and get answers to [frequently asked questions about app verification](https://support.google.com/cloud/answer/9110914) in the Help Center.\n\nThe Alert Center API supports the following scopes:\n\n| Scopes | Meaning |\n|-----------------------------------------------|-------------------------------------------|\n| `https://www.googleapis.com/auth/apps.alerts` | Read and write access to Alert Center API |\n\nCreate a service account\n------------------------\n\nTo use the Alert Center API, you must use a service account and set up\ndomain-wide delegation. For details, see\n[Create access credentials](/workspace/guides/create-credentials#service-account)."]]