G

gws-events-subscribe

by @googleworkspacev
4.6(148)

Google Workspaceイベントを購読し、ワークスペース内で発生する様々な活動やステータス更新を受信します。

google-calendar-apievent-subscriptionscalendar-integrationgoogle-workspacenotification-managementGitHub
インストール方法
npx skills add https://github.com/googleworkspace/cli --skill gws-events-subscribe
compare_arrows

Before / After 効果比較

1 组
使用前

Google Workspaceのイベントデータをリアルタイムで取得できず、ポーリングやその他の複雑な方法が必要でした。データ取得が遅延し、リアルタイムの意思決定や自動化プロセスに影響を与えていました。

使用後

Google Workspaceイベントを購読し、NDJSON形式でストリーミングすることで、最新データをリアルタイムで取得できます。リアルタイム自動化の構築をサポートし、システムの応答速度を大幅に向上させます。

SKILL.md

events +subscribe

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

Subscribe to Workspace events and stream them as NDJSON

Usage

gws events +subscribe

Flags

FlagRequiredDefaultDescription
--target——Workspace resource URI (e.g., //chat.googleapis.com/spaces/SPACE_ID)
--event-types——Comma-separated CloudEvents types to subscribe to
--project——GCP project ID for Pub/Sub resources
--subscription——Existing Pub/Sub subscription name (skip setup)
--max-messages—10Max messages per pull batch (default: 10)
--poll-interval—5Seconds between pulls (default: 5)
--once——Pull once and exit
--cleanup——Delete created Pub/Sub resources on exit
--no-ack——Don't auto-acknowledge messages
--output-dir——Write each event to a separate JSON file in this directory

Examples

gws events +subscribe --target '//chat.googleapis.com/spaces/SPACE' --event-types 'google.workspace.chat.message.v1.created' --project my-project
gws events +subscribe --subscription projects/p/subscriptions/my-sub --once
gws events +subscribe ... --cleanup --output-dir ./events

Tips

  • Without --cleanup, Pub/Sub resources persist for reconnection.
  • Press Ctrl-C to stop gracefully.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth
  • gws-events — All subscribe to google workspace events commands

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数30.6K
評価4.6 / 5.0
バージョン
更新日2026年10月22日
比較事例1 件

ユーザー評価

4.6(148)
5
24%
4
51%
3
24%
2
2%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

タイムライン

作成2026年3月16日
最終更新2026年10月22日
🎁 Agent 知識カード
アンケート