Google脚本将日历事件从一个日历移动到另一个日历?

时间:2019-11-16 13:41:51

标签: google-apps-script google-calendar-api

This question的选定答案不再适用。 (链接到失效的库。)

是否可以使用Google脚本将事件从一个日历移动到另一个日历?在日历的developers guide内,我看不到任何此类功能。对Advanced Services guide同样如此。

是否可以将一个日历事件从一个日历移动到另一个日历?

更新

细节是关键。两个日历ID的末尾必须包含“ @ group.calendar.google.com”。事件ID不得包含@ google.com。

1 个答案:

答案 0 :(得分:2)

将事件从一个日历移动到另一个日历。

Calendar.Events.move(sourceCalendarId, eventId, destinationCalendarId);

Calendar API v3