命令会立即向列出的邮箱发送事件更新
原文依据:2 处修改命令将这些地址设为参会者,并明确使用 `sendUpdates: "all"`。日历邀请或更新通常会把事件信息发送到这些外部收件箱;步骤中没有要求用户在发送前确认最终地址、事件或可披露内容。
如果事件 ID 或邮箱填写错误,会议主题、时间、参与关系及邀请内容可能披露给非预期人员,同时还会代表用户发送通知。
这是主动执行的日历修改步骤,`sendUpdates: "all"` 明确要求向参会者发送更新。发送通知符合技能公开用途,并非隐藏行为;但示例在发送前没有确认事件、最终邮箱列表或事件内容,因此替换占位符后执行可能把事件信息发给错误或外部收件人。来源只能证明指令会请求发送,不能证明命令已执行或通知必然送达。用户可要求在 patch 前展示并确认事件与完整收件人列表。
Add a list of attendees to an existing Google Calendar event and send notifications.查看另外 1 个位置
1. Get the event: `gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'`2. Add attendees: `gws calendar events patch --params '{"calendarId": "primary", "eventId": "EVENT_ID", "sendUpdates": "all"}' --json '{"attendees": [{"email": "alice@company.com"}, {"email": "bob@company.com"}, {"email": "carol@company.com"}]}'`3. Verify attendees: `gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'`