Для вызова этой службы мы рекомендуем использовать клиентские библиотеки, предоставленные Google. Если вашему приложению необходимо использовать ваши собственные библиотеки для вызова этой службы, используйте следующую информацию при выполнении запросов к API.
Документ открытия
Документ обнаружения (Discovery Document) — это машиночитаемая спецификация для описания и использования REST API. Он используется для создания клиентских библиотек, плагинов IDE и других инструментов, взаимодействующих с API Google. Один сервис может предоставлять несколько документов обнаружения. Этот сервис предоставляет следующий документ обнаружения:
Конечная точка сервиса — это базовый URL-адрес, который определяет сетевой адрес сервиса API. У одного сервиса может быть несколько конечных точек. Этот сервис имеет следующую конечную точку сервиса, и все указанные ниже URI относятся к этой конечной точке сервиса:
GET /admin/reports/v1/activity/users/{userKey}/applications/{applicationName} Извлекает список действий для определенной учетной записи клиента и приложения, например приложения консоли администратора или приложения Google Диска.
GET /admin/reports/v1/usage/dates/{date} Получает отчет, представляющий собой набор свойств и статистических данных для учетной записи конкретного клиента.
GET /admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date} Возвращает отчет, представляющий собой набор свойств и статистических данных для сущностей, используемых пользователями в учетной записи.
GET /admin/reports/v1/usage/users/{userKey}/dates/{date} Возвращает отчет, представляющий собой набор свойств и статистики для группы пользователей с учетной записью.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 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. |"]]