本文へスキップ
Skillpedia
自動化32k · #9165

gws-events

できること

このツールは、Google Workspaceのイベント通知を管理するためのものです。アカウントで起きていることについてのアラートを受け取るための購読を、作成・表示・更新・削除できます。

使う場面

  • ✓新しいGmailのメッセージが届いたときに通知を受け取りたいとき。
  • ✓Google Driveのファイルが更新されたことを知りたいとき。
  • ✓Googleカレンダーの予定に関するアラートを受け取りたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/googleworkspace/cli/blob/main/skills/gws-events/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プライマリの受信トレイに新しいメールが届いたら、必ず通知してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

追跡したいイベントの種類(新着メッセージなど)を指定すると、ツールがGoogle Workspaceに設定を行い、その情報を送ってくれるようになります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

events (v1)

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

gws events <resource> <method> [flags]

Helper Commands

Command Description
+subscribe Subscribe to Workspace events and stream them as NDJSON
+renew Renew/reactivate Workspace Events subscriptions

API Resources

message

  • stream — SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.

operations

  • get — Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

subscriptions

tasks

  • cancel — Cancel a task from the agent. If supported one should expect no more task updates for the task.
  • get — Get the current state of a task from the agent.
  • subscribe — TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.
  • pushNotificationConfigs — Operations on the 'pushNotificationConfigs' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws events --help

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

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

よくある質問

「購読」とは何ですか?

購読とは、特定の出来事が起きたときにGoogle Workspaceからお知らせを受け取るための取り決めのようなものです。

受け取るイベントを選ぶことはできますか?

はい、興味のあるイベントの種類を指定できます。

通知が正しく動作しているかどうかは、どうすればわかりますか?

購読の状態を確認すると、有効になっていてイベントを受け取れているかをチェックできます。

詳細

作者による元の説明

Subscribe to Google Workspace events.

repo: googleworkspace/cli

人気

GitHubのスター
32k
ランキング
#9165
ライセンス
Apache-2.0
更新日
2026/10/6

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル