360 Secure SkillHub
360 安全技能中心

Gws Licensing

该 Skill 通过 gws CLI 封装 Google Workspace Enterprise License Manager,提供 licenseAssignments 的查询、分配、按产品/SKU 列表、替换与吊销等子命令,并说明用 gws schema 查看各方法参数。依赖 gws 二进制与 gws-shared 的认证配置,未给出参数示例与错误处理说明。

分类:自动化
googleworkspace-bot
googleworkspace-bot
热度 37.85
最近更新 2026-05-11 17:29:02

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add googleworkspace-bot/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.