Chuyển đến nội dung
Skillpedia
Tự động hóa32k · #9165

gws-events

Skill này làm gì

Công cụ này cho phép bạn quản lý các thông báo sự kiện Google Workspace. Bạn có thể tạo, xem, cập nhật hoặc xóa đăng ký để nhận cảnh báo về những gì đang diễn ra trong tài khoản của mình.

Khi nào nên dùng

  • ✓Khi bạn muốn được báo khi có email mới trong hộp thư chính.
  • ✓Khi bạn muốn biết khi một tệp được chỉnh sửa trong Google Drive.
  • ✓Khi bạn muốn nhận cảnh báo về sự kiện trong Google Calendar.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/googleworkspace/cli/blob/main/skills/gws-events/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn được thông báo mỗi khi có email mới trong hộp thư chính của mình.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn chỉ định loại sự kiện muốn theo dõi (như tin nhắn mới), và công cụ thiết lập Google Workspace để gửi thông tin đó cho bạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

events (v1)

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

gws events <resource> <method> [flags]

Helper Commands

Command Description
+subscribe Subscribe to Workspace events and stream them as NDJSON
+renew Renew/reactivate Workspace Events subscriptions

API Resources

message

  • stream — SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.

operations

  • get — Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

subscriptions

tasks

  • cancel — Cancel a task from the agent. If supported one should expect no more task updates for the task.
  • get — Get the current state of a task from the agent.
  • subscribe — TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.
  • pushNotificationConfigs — Operations on the 'pushNotificationConfigs' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws events --help

# Inspect a method's required params, types, and defaults
gws schema events.<resource>.<method>

Use gws schema output to build your --params and --json flags.

Câu hỏi thường gặp

“Subscriptions” là gì?

Subscriptions giống như một thỏa thuận để Google Workspace cảnh báo bạn khi một số sự việc xảy ra.

Tôi có thể chọn sự kiện nào mình muốn nhận không?

Có, bạn có thể chỉ định các loại sự kiện mà bạn quan tâm.

Làm sao để biết thông báo của tôi có đang hoạt động không?

Bạn có thể kiểm tra trạng thái đăng ký để đảm bảo chúng đang hoạt động và nhận được sự kiện.

Chi tiết

Mô tả gốc của tác giả

Subscribe to Google Workspace events.

repo: googleworkspace/cli

Độ phổ biến

Sao GitHub
32k
Vị trí xếp hạng
#9165
Giấy phép
Apache-2.0
Cập nhật
6/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự