gws-events
Fungsinya
Alat ini membantu Anda mengelola notifikasi event Google Workspace. Anda bisa membuat, melihat, memperbarui, atau menghapus langganan untuk mendapatkan peringatan tentang apa yang terjadi di akun Anda.
Kapan dipakai
- โSaat Anda ingin diberi tahu tentang email Gmail baru.
- โUntuk mengetahui saat file diubah di Google Drive.
- โUntuk menerima peringatan tentang acara di Google Calendar.
Link skill
https://github.com/googleworkspace/cli/blob/main/skills/gws-events/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin diberi tahu setiap kali email baru masuk ke kotak masuk utama saya.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Anda menentukan jenis event yang ingin dipantau (misalnya pesan baru), lalu alat ini mengatur Google Workspace agar mengirimkan informasi tersebut kepada Anda.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
events (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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
createโ Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription.deleteโ Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.getโ Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription.listโ Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions.patchโ Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.reactivateโ Reactivates a suspended Google Workspace subscription. This method resets your subscription'sStatefield toACTIVE. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see Reactivate a Google Workspace subscription.
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.
Pertanyaan umum
Apa itu 'langganan'?
Langganan seperti kesepakatan agar Google Workspace memberi tahu Anda tentang kejadian tertentu.
Bisakah saya memilih event mana yang ingin saya terima?
Bisa, Anda dapat menentukan jenis event yang Anda minati.
Bagaimana cara mengetahui notifikasi saya berfungsi?
Anda bisa memeriksa status langganan Anda untuk memastikan langganan tersebut aktif dan menerima event.
Detail
Popularitas
- Bintang GitHub
- 32k
- Peringkat
- #9165
- Lisensi
- Apache-2.0
- Diperbarui
- 6/10/2026
Komentar
- โฆ
Skill lain dari repositori ini
gws-admin-reports
32kMembantu agent Anda mengambil laporan aktivitas dari Google Workspace. Agent mengumpulkan data audit dan penggunaan.
gws-calendar-agenda
32kMembantu agent Anda melihat acara mendatang dari semua kalender. Berguna untuk mengatur jadwal dan mengetahui agenda yang akan datang.
gws-calendar-insert
32kMemungkinkan agent Anda membuat acara baru di Google Calendar. Berguna untuk menjadwalkan janji temu dan rapat.
gws-calendar
32kMemungkinkan agent Anda mengelola kalender dan acara. Berguna untuk mengatur kegiatan pribadi maupun pekerjaan.
Skill serupa
knowledge-automation
394kMembantu agent Anda mengatur tugas terjadwal yang memasukkan konten baru ke Knowledge vault Anda secara rutin, lalu memastikan tugas itu berjalan.
knowledge-source-ingest
394kMembantu agent Anda menjaga Knowledge vault tetap mutakhir dengan item baru dari chat, feed, atau kotak surat, tanpa menambahkan ulang yang sudah ada.
benchmark
280kMembantu agent Anda mengukur kecepatan dan performa kode. Berguna untuk memastikan semuanya cepat dan menemukan penyebab kelambatan.