360 Secure SkillHub
360 安全技能中心

Gws Licensing

这是一款基于CLI的Google Workspace企业版许可证管理工具,核心功能含分配、撤销、查询用户许可证,以及同产品内重分配不同SKU的许可证。典型场景如员工入职/离职时处理权限、统计特定产品授权用户。输入为带参数的CLI命令,可通过--help和schema查看参数要求,输出为操作结果或查询数据。

googleworkspace-bot
googleworkspace-bot
热度 69.39
最近更新 2026-05-11 17:29:02
分类:自动化依赖:第三方 API应用场景:任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gws-licensing
Metadata
name
gws-licensing
version
1.0.0
description
Google Workspace Enterprise License Manager: Manage product licenses.
metadata
{"openclaw":{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws licensing --help"}}

licensing (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws licensing <resource> <method> [flags]

API Resources

licenseAssignments

  • delete — Revoke a license.
  • get — Get a specific user's license by product SKU.
  • insert — Assign a license.
  • listForProduct — List all users assigned licenses for a specific product SKU.
  • listForProductAndSku — List all users assigned licenses for a specific product SKU.
  • patch — Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.
  • update — Reassign a user's product SKU with a different SKU in the same product.

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws licensing --help

# Inspect a method's required params, types, and defaults
gws schema licensing.<resource>.<method>

Use gws schema output to build your --params and --json flags.