@@ -26,12 +26,48 @@ public class CalendarScopes {
2626 /** See, edit, share, and permanently delete all the calendars you can access using Google Calendar. */
2727 public static final String CALENDAR = "https://www.googleapis.com/auth/calendar" ;
2828
29+ /** See and change the sharing permissions of Google calendars you own. */
30+ public static final String CALENDAR_ACLS = "https://www.googleapis.com/auth/calendar.acls" ;
31+
32+ /** See the sharing permissions of Google calendars you own. */
33+ public static final String CALENDAR_ACLS_READONLY = "https://www.googleapis.com/auth/calendar.acls.readonly" ;
34+
35+ /** Make secondary Google calendars, and see, create, change, and delete events on them. */
36+ public static final String CALENDAR_APP_CREATED = "https://www.googleapis.com/auth/calendar.app.created" ;
37+
38+ /** See, add, and remove Google calendars you’re subscribed to. */
39+ public static final String CALENDAR_CALENDARLIST = "https://www.googleapis.com/auth/calendar.calendarlist" ;
40+
41+ /** See the list of Google calendars you’re subscribed to. */
42+ public static final String CALENDAR_CALENDARLIST_READONLY = "https://www.googleapis.com/auth/calendar.calendarlist.readonly" ;
43+
44+ /** See and change the properties of Google calendars you have access to, and create secondary calendars. */
45+ public static final String CALENDAR_CALENDARS = "https://www.googleapis.com/auth/calendar.calendars" ;
46+
47+ /** See the title, description, default time zone, and other properties of Google calendars you have access to. */
48+ public static final String CALENDAR_CALENDARS_READONLY = "https://www.googleapis.com/auth/calendar.calendars.readonly" ;
49+
2950 /** View and edit events on all your calendars. */
3051 public static final String CALENDAR_EVENTS = "https://www.googleapis.com/auth/calendar.events" ;
3152
53+ /** See the availability on Google calendars you have access to. */
54+ public static final String CALENDAR_EVENTS_FREEBUSY = "https://www.googleapis.com/auth/calendar.events.freebusy" ;
55+
56+ /** See, create, change, and delete events on Google calendars you own. */
57+ public static final String CALENDAR_EVENTS_OWNED = "https://www.googleapis.com/auth/calendar.events.owned" ;
58+
59+ /** See the events on Google calendars you own. */
60+ public static final String CALENDAR_EVENTS_OWNED_READONLY = "https://www.googleapis.com/auth/calendar.events.owned.readonly" ;
61+
62+ /** See the events on public calendars. */
63+ public static final String CALENDAR_EVENTS_PUBLIC_READONLY = "https://www.googleapis.com/auth/calendar.events.public.readonly" ;
64+
3265 /** View events on all your calendars. */
3366 public static final String CALENDAR_EVENTS_READONLY = "https://www.googleapis.com/auth/calendar.events.readonly" ;
3467
68+ /** View your availability in your calendars. */
69+ public static final String CALENDAR_FREEBUSY = "https://www.googleapis.com/auth/calendar.freebusy" ;
70+
3571 /** See and download any calendar you can access using your Google Calendar. */
3672 public static final String CALENDAR_READONLY = "https://www.googleapis.com/auth/calendar.readonly" ;
3773
@@ -46,8 +82,20 @@ public class CalendarScopes {
4682 public static java .util .Set <String > all () {
4783 java .util .Set <String > set = new java .util .HashSet <String >();
4884 set .add (CALENDAR );
85+ set .add (CALENDAR_ACLS );
86+ set .add (CALENDAR_ACLS_READONLY );
87+ set .add (CALENDAR_APP_CREATED );
88+ set .add (CALENDAR_CALENDARLIST );
89+ set .add (CALENDAR_CALENDARLIST_READONLY );
90+ set .add (CALENDAR_CALENDARS );
91+ set .add (CALENDAR_CALENDARS_READONLY );
4992 set .add (CALENDAR_EVENTS );
93+ set .add (CALENDAR_EVENTS_FREEBUSY );
94+ set .add (CALENDAR_EVENTS_OWNED );
95+ set .add (CALENDAR_EVENTS_OWNED_READONLY );
96+ set .add (CALENDAR_EVENTS_PUBLIC_READONLY );
5097 set .add (CALENDAR_EVENTS_READONLY );
98+ set .add (CALENDAR_FREEBUSY );
5199 set .add (CALENDAR_READONLY );
52100 set .add (CALENDAR_SETTINGS_READONLY );
53101 return java .util .Collections .unmodifiableSet (set );
0 commit comments