What problem does it solve? Monitoring changes in Google Workspace resources like Chat spaces normally requires building custom polling loops or webhook infrastructure. This Skill subscribes to Workspace events and streams them as NDJSON, handling Pub/Sub setup and message pulling for you. ## Core Features & Use Cases - Event Subscription: Subscribe to a Workspace resource URI (e.g., a Chat space) and receive CloudEvents matching specified event types. - Pub/Sub Management: Automatically create or reuse Pub/Sub subscriptions, with optional cleanup of created resources on exit. - Flexible Output: Stream events as NDJSON to stdout or write each event to a separate JSON file in an output directory. - Use Case: Watch a Google Chat space for new messages by subscribing to 'google.workspace.chat.message.v1.created' events and piping the NDJSON stream into a logging or alerting pipeline. ## Quick Start Ask the assistant to subscribe to events for a specific Google Chat space using gws events +subscribe with your target resource URI, event types, and GCP project ID.