recipe-watch-drive-changes
Subscribe to change notifications on a Google Drive file or folder.
ソース情報
- リポジトリ
- googleworkspace/cli
- ソースの最終更新活動
- 2026年3月31日 18:32
- 検出された SKILL.md の言語
- 英語
- スター
- 31,534
- フォーク
- 1,908
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- name
- recipe-watch-drive-changes
- description
- Subscribe to change notifications on a Google Drive file or folder.
- metadata
- {"version":"0.22.5","openclaw":{"category":"recipe","domain":"engineering","requires":{"bins":"[Truncated]","skills":"[Truncated]"}}}
# Watch for Drive Changes
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-events`
Subscribe to change notifications on a Google Drive file or folder.
## Steps
1. Create subscription: `gws events subscriptions create --json '{"targetResource": "//drive.googleapis.com/drives/DRIVE_ID", "eventTypes": ["google.workspace.drive.file.v1.updated"], "notificationEndpoint": {"pubsubTopic": "projects/PROJECT/topics/TOPIC"}, "payloadOptions": {"includeResource": true}}'`
2. List active subscriptions: `gws events subscriptions list`
3. Renew before expiry: `gws events +renew --subscription SUBSCRIPTION_ID`
GitHubで見る