Google Calendar API 范围 - calendar.readonly 和 calendar.events.readonly 之间有什么区别?

The*_*nen 5 google-calendar-api

根据文档(此处),Google 提供了一些相同的范围:

calendar.readonly 和 calendar.events.readonly 有什么区别?非只读的有什么区别?

zig*_*hka 7

如果您查阅Google Calendar API 参考,您可以看到各个请求所需的范围

因此,您可以看到,对于Calendars: getCalendarList: list等方法,您需要以下范围之一:

在此输入图像描述

而对于事件:列表Events: get可能的范围是:

在此输入图像描述

换句话说:

https://www.googleapis.com/auth/calendar.events.readonly

https://www.googleapis.com/auth/calendar.readonly

前者仅允许您检索事件特定信息,而不是一般日历相关信息。

然后,