Admin SDK: Reports API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助 Admin SDK Reports API,企业网域的管理员可以查看其网域的审核和使用情况报告。
服务:admin.googleapis.com
如要调用此服务,我们建议您使用 Google 提供的客户端库。如果您的应用需要使用您自己的库来调用此服务,则在发出 API 请求时应使用以下信息。
发现文档
发现文档是用于说明和使用 REST API 的机器可读规范。它用于构建客户端库、IDE 插件以及与 Google API 交互的其他工具。一项服务可能会提供多个发现文档。此服务提供了以下发现文档:
服务端点
服务端点是指定 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 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-22。
[null,null,["最后更新时间 (UTC):2025-08-22。"],[],[],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. |"]]