Reports API 범위 선택
이 문서에는 Alert Center API별 승인 및
인증 정보 이 문서를 읽기 전에 다음 내용을 읽어 보시기 바랍니다.
Google Workspace의 일반적인 인증 및 승인 정보는
인증 및 승인에 대해 알아보기
OAuth 동의 화면 구성 및 범위 선택
사용자와 앱 검토자에게 표시되는 정보를 정의하고
나중에 게시할 수 있습니다.
보고서 API 범위
앱에 부여되는 액세스 수준을 정의하려면
승인 범위를 선언해야 합니다. 승인 범위는 OAuth 2.0 URI 문자열입니다.
여기에는 Google Workspace 앱 이름, 액세스하는 데이터 종류,
액세스할 수 있습니다 범위는 다음과 같은 Google Workspace 데이터를 사용하기 위한 앱의 요청입니다.
사용자 Google 계정 데이터
앱이 설치되면 사용자에게 사용된 범위의 유효성을 검사하라는 메시지가 표시됩니다.
있습니다. 일반적으로 가장 좁게 포커스가 맞춰진 범위를 선택해야 합니다.
앱에 필요하지 않은 범위를 요청하지 마세요. 사용자 증가
명확하게 설명된 제한적이고 명확한 범위에 대한 액세스 권한을 쉽게 부여할 수 있습니다.
Reports API에서 지원하는 범위는 다음과 같습니다.
범위 |
의미 |
https://www.googleapis.com/auth/admin.reports.audit.readonly |
Google Workspace 도메인의 감사 보고서 보기 |
https://www.googleapis.com/auth/admin.reports.usage.readonly |
Google Workspace 도메인의 사용량 보고서 보기 |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 2024-08-29(UTC)"],[[["This document provides authorization and authentication details specific to the Alert Center API within Google Workspace."],["Before using this API, review Google Workspace's general authentication and authorization guidelines."],["Configure OAuth 2.0 to manage access and define the information your app can access using scopes."],["Carefully select the necessary scopes for your app to limit its access to user data for security and user trust."],["The Reports API has specific scopes for viewing audit and usage reports within your Google Workspace domain."]]],["To use the Alert Center API, configure OAuth 2.0, defining scopes that specify data access levels. Choose the most narrowly focused scopes possible. Scopes are validated by users when the app is installed. Public applications using certain scopes need verification. The Reports API supports two scopes: `admin.reports.audit.readonly` for viewing audit reports, and `admin.reports.usage.readonly` for usage reports.\n"]]