मुख्य सामग्री पर जाएँ
Skillpedia
ऑटोमेशन32k · #9164

gws-events-subscribe

यह क्या करती है

यह tool आपको Google Workspace सेवाओं में होने वाली गतिविधियों की real-time notifications देता है, जैसे Google Chat में नए message। यह notifications ऐसे format में भेजता है जिसे दूसरे प्रोग्राम आसानी से समझ सकें।

कब इस्तेमाल करें

  • ✓जब किसी खास Google Chat channel में कोई message पोस्ट हो, तब सूचना पाना।
  • ✓किसी shared document में नई गतिविधि की alert पाना।
  • ✓Calendar events में होने वाले बदलावों पर नज़र रखना।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/googleworkspace/cli/blob/main/skills/gws-events-subscribe/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“जब 'Project X' Google Chat channel में कोई नया message आए, तो मुझे बताओ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप बताते हैं कि किस Google Workspace सेवा से notifications चाहिए और किस तरह की घटना में आपकी दिलचस्पी है। इसके बाद tool एक communication channel सेट करता है, जो घटना होते ही यह जानकारी आपको भेजता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

events +subscribe

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

Subscribe to Workspace events and stream them as NDJSON

Usage

gws events +subscribe

Flags

Flag Required Default Description
--target — — Workspace resource URI (e.g., //chat.googleapis.com/spaces/SPACE_ID)
--event-types — — Comma-separated CloudEvents types to subscribe to
--project — — GCP project ID for Pub/Sub resources
--subscription — — Existing Pub/Sub subscription name (skip setup)
--max-messages — 10 Max messages per pull batch (default: 10)
--poll-interval — 5 Seconds between pulls (default: 5)
--once — — Pull once and exit
--cleanup — — Delete created Pub/Sub resources on exit
--no-ack — — Don't auto-acknowledge messages
--output-dir — — Write each event to a separate JSON file in this directory

Examples

gws events +subscribe --target '//chat.googleapis.com/spaces/SPACE' --event-types 'google.workspace.chat.message.v1.created' --project my-project
gws events +subscribe --subscription projects/p/subscriptions/my-sub --once
gws events +subscribe ... --cleanup --output-dir ./events

Tips

  • Without --cleanup, Pub/Sub resources persist for reconnection.
  • Press Ctrl-C to stop gracefully.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

  • gws-shared — Global flags and auth
  • gws-events — All subscribe to google workspace events commands
अक्सर पूछे जाने वाले सवाल

notifications लेना कैसे बंद करूँ?

keyboard पर Ctrl+C दबाकर रोक सकते हैं। अगर आपने tool को अस्थायी resources बनाने के लिए सेट किया है, तो वे अपने आप हट जाएँगे।

'NDJSON' क्या है?

NDJSON एक text format है, जिसमें हर लाइन एक पूरा और अलग JSON object होती है। इसे कंप्यूटर लाइन-दर-लाइन आसानी से पढ़ और प्रोसेस कर सकता है।

क्या पहले से कुछ सेट करना होगा?

हाँ, Google Workspace सेवाओं के इस्तेमाल के लिए authentication और सुरक्षा नियम पहले से सेट होने चाहिए। ज़्यादा जानकारी के लिए `gws-shared/SKILL.md` दस्तावेज़ देखें।

जानकारी

लेखक का मूल विवरण

Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.

repo: googleworkspace/cli

लोकप्रियता

GitHub स्टार
32k
रैंकिंग में स्थान
#9164
लाइसेंस
Apache-2.0
अपडेट की गई
6/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

gws-admin-reports

32k

आपके एजेंट को Google Workspace से गतिविधि रिपोर्ट लाने में मदद करता है। यह ऑडिट और उपयोग का डेटा इकट्ठा करता है।

डेटाएनालिसिस और स्प्रेडशीट

gws-calendar-agenda

32k

आपके एजेंट को सभी कैलेंडर में आने वाले इवेंट दिखाने में मदद करता है। अपना शेड्यूल व्यवस्थित करने और आने वाली चीज़ें जानने में उपयोगी है।

प्रोडक्टिविटीईमेल और मैसेज

gws-calendar-insert

32k

आपके एजेंट को Google Calendar में नए इवेंट बनाने देता है। अपॉइंटमेंट और मीटिंग तय करने के लिए उपयोगी है।

प्रोडक्टिविटीईमेल और मैसेज

gws-calendar

32k

आपके एजेंट को कैलेंडर और इवेंट मैनेज करने देता है। अपने काम और जीवन को व्यवस्थित करने के लिए उपयोगी है।

प्रोडक्टिविटीईमेल और मैसेज

मिलती-जुलती skills