Admin SDK: Reports API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Admin SDK Reports API ช่วยให้ผู้ดูแลระบบของโดเมนระดับองค์กรดูรายงานการตรวจสอบและการใช้งานของโดเมนได้
บริการ: admin.googleapis.com
หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ไลบรารีของไคลเอ็นต์ที่ Google จัดหาให้ หากแอปพลิเคชันของคุณต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อส่งคำขอ API
เอกสารการค้นพบ
เอกสารการค้นพบเป็นข้อกำหนดที่เครื่องอ่านได้สำหรับการอธิบายและการใช้ REST API โดยใช้เพื่อสร้างไลบรารีของไคลเอ็นต์ ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google API บริการหนึ่งๆ อาจมีเอกสารการค้นพบหลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางบริการ
ปลายทางบริการคือ URL ฐานที่ระบุที่อยู่เครือข่ายของบริการ API บริการหนึ่งๆ อาจมีปลายทางบริการหลายรายการ บริการนี้มีปลายทางของบริการต่อไปนี้ และ URI ทั้งหมดด้านล่างจะเกี่ยวข้องกับปลายทางของบริการนี้
https://admin.googleapis.com
เมธอด |
list |
GET /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}
ดึงข้อมูลรายการกิจกรรมสำหรับบัญชีและแอปพลิเคชันของลูกค้าที่เฉพาะเจาะจง เช่น แอปพลิเคชันคอนโซลผู้ดูแลระบบหรือแอปพลิเคชัน Google ไดรฟ์ |
watch |
POST /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch
เริ่มรับการแจ้งเตือนสำหรับกิจกรรมในบัญชี |
เมธอด |
get |
GET /admin/reports/v1/usage/dates/{date}
ดึงข้อมูลรายงานซึ่งเป็นชุดพร็อพเพอร์ตี้และสถิติสำหรับบัญชีของลูกค้าที่เฉพาะเจาะจง |
เมธอด |
get |
GET /admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}
ดึงข้อมูลรายงานซึ่งเป็นคอลเล็กชันของพร็อพเพอร์ตี้และสถิติสําหรับเอนทิตีที่ผู้ใช้ใช้ภายในบัญชี |
เมธอด |
get |
GET /admin/reports/v1/usage/users/{userKey}/dates/{date}
ดึงข้อมูลรายงานซึ่งเป็นชุดพร็อพเพอร์ตี้และสถิติสำหรับชุดผู้ใช้ที่มีบัญชี |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-22 UTC
[null,null,["อัปเดตล่าสุด 2025-08-22 UTC"],[],[],null,["# Admin SDK: Reports API\n\nThe **Admin SDK Reports API** lets administrators of enterprise domains to view the audit and usage reports of their domain.\n\n- [REST Resource: activities](#activities)\n- [REST Resource: customerUsageReports](#customerUsageReports)\n- [REST Resource: entityUsageReports](#entityUsageReports)\n- [REST Resource: userUsageReport](#userUsageReport)\n\nService: admin.googleapis.com\n-----------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://admin.googleapis.com/$discovery/rest?version=reports_v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://admin.googleapis.com`\n\nREST Resource: [activities](/workspace/admin/reports/reference/rest/v1/activities)\n----------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/workspace/admin/reports/reference/rest/v1/activities/list) | `GET /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}` Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. |\n| [watch](/workspace/admin/reports/reference/rest/v1/activities/watch) | `POST /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch` Start receiving notifications for account activities. |\n\nREST Resource: [customerUsageReports](/workspace/admin/reports/reference/rest/v1/customerUsageReports)\n------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reports/reference/rest/v1/customerUsageReports/get) | `GET /admin/reports/v1/usage/dates/{date}` Retrieves a report which is a collection of properties and statistics for a specific customer's account. |\n\nREST Resource: [entityUsageReports](/workspace/admin/reports/reference/rest/v1/entityUsageReports)\n--------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reports/reference/rest/v1/entityUsageReports/get) | `GET /admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}` Retrieves a report which is a collection of properties and statistics for entities used by users within the account. |\n\nREST Resource: [userUsageReport](/workspace/admin/reports/reference/rest/v1/userUsageReport)\n--------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reports/reference/rest/v1/userUsageReport/get) | `GET /admin/reports/v1/usage/users/{userKey}/dates/{date}` Retrieves a report which is a collection of properties and statistics for a set of users with the account. |"]]