본문으로 건너뛰기
cccskills
무료GitHub에 공개

gws-events-subscribe

Receive selected Google Workspace events and stream them as NDJSON, a format with one JSON record per line. Choose event types, use an existing subscription, or save each event to a separate file.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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

설치 방법 보기

이럴 때 유용합니다

  • Receive notifications when messages are created in Google Chat
  • Fetch events once from an existing subscription
  • Save each received event as a separate JSON file

포함된 파일(1)

  • SKILL.md2.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

FlagRequiredDefaultDescription
--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—10Max messages per pull batch (default: 10)
--poll-interval—5Seconds 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Retrieve Google Workspace audit logs, which record account activity, and usage reports through gws. Review activity in applications such as the Admin console and Google Drive, or inspect statistics for the organization, users, and entities.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing Admin console and Google Drive activity
  • Checking organization usage statistics
  • Retrieving usage reports for users
googleworkspace/cli3.2만2026년 10월 7일 업데이트

Manage Google Calendar events and calendars, including creating, updating, and deleting events. View upcoming events across calendars, check availability, and manage the permissions that control who can access a calendar.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating, updating, or deleting calendar events
  • Viewing upcoming events across multiple calendars
  • Checking availability across calendars
googleworkspace/cli3.2만2026년 10월 7일 업데이트

View upcoming Google Calendar events across all calendars in one agenda. Check today, tomorrow, this week, or a chosen number of days, with options to filter calendars and change the display time zone.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking today's events across multiple calendars
  • Reviewing tomorrow's or this week's schedule
  • Listing the next three days on a work calendar
googleworkspace/cli3.2만2026년 10월 7일 업데이트

Create a Google Calendar event with a title and start and end times. You can also choose a calendar, add a location and description, invite attendees, and include a Google Meet link.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding a meeting with a specified start and end time
  • Creating an event with attendees
  • Scheduling an online meeting with a Google Meet link
googleworkspace/cli3.2만2026년 10월 7일 업데이트

gws-chat

무료

Manage Google Chat spaces, the places where conversations happen, and their messages through the gws command-line tool. Create or update spaces, add members, send messages, and upload or download attachments.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Create a Google Chat space with initial members
  • List spaces and update their details
  • Send messages to a space
googleworkspace/cli3.2만2026년 10월 7일 업데이트

Send plain text messages to a specified Google Chat space using the gws command line tool. Use it for team updates and announcements, with guidance on finding space identifiers and confirming messages before sending.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Sending a team announcement
  • Sharing a progress update in a space
  • Finding the destination space before sending
googleworkspace/cli3.2만2026년 10월 7일 업데이트

googleworkspace의 스킬 모두 보기

이 스킬의 문제 신고