From gws
Subscribe to change notifications on a Google Drive file or folder.
npx claudepluginhub fakoli/fakoli-plugins --plugin gwsThis skill uses the workspace's default tool permissions.
Subscribe to change notifications on a Google Drive file or folder using Workspace Events.
Implements Clean Architecture in Android and Kotlin Multiplatform projects: module layouts, dependency rules, UseCases, Repositories, domain models, and data layers with Room, SQLDelight, Ktor.
Provides process, architecture, review, hiring, and testing guidelines for engineering teams relying on AI code generation.
Delivers DB-free sandbox API regression tests for Next.js/Vitest to catch AI blind spots in self-reviewed code changes like API routes and backend logic.
Subscribe to change notifications on a Google Drive file or folder using Workspace Events.
Use this workflow when the user wants to be notified when files in a Drive folder are created, updated, or deleted — useful for monitoring shared folders.
Ensure the user has full scopes and a GCP project with Pub/Sub:
gws auth status
If missing pubsub scope: gws auth login --full
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}}'
gws events subscriptions list --format table
Subscriptions expire — renew before expiry:
gws events +renew --subscription SUBSCRIPTION_ID
google.workspace.drive.file.v1.created, .updated, .trashed"includeResource": true to get file metadata in notifications