recipe-watch-drive-changes
SKILL.md
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
- 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}}' - List active subscriptions:
gws events subscriptions list - Renew before expiry:
gws events +renew --subscription SUBSCRIPTION_ID
Weekly Installs
1.5K
Repository
googleworkspace/cliGitHub Stars
15.9K
First Seen
5 days ago
Security Audits
Installed on
codex1.5K
opencode1.5K
gemini-cli1.5K
github-copilot1.5K
kimi-cli1.5K
cursor1.5K