Agent Skills
› googleworkspace/cli
› gws-admin-reports
gws-admin-reports
GitHub调用 Google Workspace Admin SDK API,获取管理员活动日志及各类用户、实体使用报告。支持列表查询、订阅通知及参数检查,用于审计与用量分析。
触发场景
查询管理员活动日志
获取客户或用户使用统计报告
设置活动推送通知
安装
npx skills add googleworkspace/cli --skill gws-admin-reports -g -y
SKILL.md
Frontmatter
{
"name": "gws-admin-reports",
"metadata": {
"version": "0.22.5",
"openclaw": {
"cliHelp": "gws admin-reports --help",
"category": "productivity",
"requires": {
"bins": [
"gws"
]
}
}
},
"description": "Google Workspace Admin SDK: Audit logs and usage reports."
}
admin-reports (reports_v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws admin-reports <resource> <method> [flags]
API Resources
activities
list— Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides.watch— Start receiving notifications for account activities. For more information, see Receiving Push Notifications.
channels
stop— Stop watching resources through this channel.
customerUsageReports
get— Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides.
entityUsageReports
get— Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.
userUsageReport
get— Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws admin-reports --help
# Inspect a method's required params, types, and defaults
gws schema admin-reports.<resource>.<method>
Use gws schema output to build your --params and --json flags.
版本历史
- a3768d0 当前 2026-08-20 07:24


