เอกสารนี้มีข้อมูลการให้สิทธิ์และการตรวจสอบสิทธิ์เฉพาะสำหรับ Email Audit API ก่อนอ่านเอกสารนี้ โปรดอ่านข้อมูลการตรวจสอบสิทธิ์และการให้สิทธิ์ทั่วไปของ Google Workspace ที่หัวข้อดูข้อมูลเกี่ยวกับการตรวจสอบสิทธิ์และการให้สิทธิ์
หากต้องการกำหนดระดับการเข้าถึงที่อนุญาตแก่แอป คุณต้องระบุและประกาศขอบเขตการให้สิทธิ์ ขอบเขตการให้สิทธิ์คือสตริง URI ของ OAuth 2.0 ซึ่งมีชื่อแอป Google Workspace, ประเภทข้อมูลที่แอปเข้าถึง และระดับการเข้าถึง ขอบเขตคือคําขอของแอปในการจัดการข้อมูล Google Workspace ซึ่งรวมถึงข้อมูลบัญชี Google ของผู้ใช้
[null,null,["อัปเดตล่าสุด 2024-11-22 UTC"],[[["This document provides authorization and authentication details specifically for the Email Audit API within Google Workspace."],["Before using this API, developers should familiarize themselves with Google Workspace's general authentication and authorization guidelines."],["Apps need to be configured with OAuth 2.0, including defining scopes that specify the level of access to user data."],["The Email Audit API utilizes specific scopes to control access to audit user accounts, and developers should select the most restrictive scope necessary for their application's functionality."],["Public applications using certain scopes may require verification to ensure user data protection."]]],["To use the Email Audit API, configure OAuth 2.0, including setting up the consent screen and selecting relevant authorization scopes. Scopes define your app's data access level and are validated by users during installation. Use the most focused scope possible to gain user trust. Public apps accessing specific user data require verification. The Email Audit API utilizes `https://apps-apis.google.com/a/feeds/compliance/audit/` for global user account audit access.\n"]]