跳到正文
Skillpedia
分析与电子表格32k · #9152

gws-admin-reports

它能做什么

这个工具帮助 Google Workspace 管理员获取公司账号内的活动和使用情况报告。它可以列出特定的活动记录,也可以按客户、实体或用户提供使用情况汇总。

适用场景

  • ✓查看谁在 Google Drive 中访问了哪些内容。
  • ✓获取所有用户的应用使用情况汇总。
  • ✓监控账号中的管理操作。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/gws-admin-reports/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-admin-reports/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“上周 Admin Console 里有哪些登录活动?”

每周 5 个新技能,1 分钟读完。

工作原理

你需要指定想要的报告类型(活动记录,或按客户、实体、用户统计的使用情况),工具会查询 Google Workspace 的数据并展示给你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

admin-reports (reports_v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to 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.

常见问题

我怎么知道有哪些报告可用?

你可以使用 '--help' 命令,查看该工具支持获取的所有报告和活动选项。

使用这个工具需要特殊权限吗?

需要。你必须拥有 Google Workspace 的管理员权限才能使用这个工具。

我能收到新活动的通知吗?

可以。该工具支持设置通知,当某些活动发生时提醒你。

详情

作者的原始描述

Google Workspace Admin SDK: Audit logs and usage reports.

repo: googleworkspace/cli

热度

GitHub 星标
32k
排名
#9152
许可证
Apache-2.0
更新时间
2026/10/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能