@@ -26,12 +26,48 @@ public class CalendarScopes {
26
26
/** See, edit, share, and permanently delete all the calendars you can access using Google Calendar. */
27
27
public static final String CALENDAR = "https://www.googleapis.com/auth/calendar" ;
28
28
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
+
29
50
/** View and edit events on all your calendars. */
30
51
public static final String CALENDAR_EVENTS = "https://www.googleapis.com/auth/calendar.events" ;
31
52
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
+
32
65
/** View events on all your calendars. */
33
66
public static final String CALENDAR_EVENTS_READONLY = "https://www.googleapis.com/auth/calendar.events.readonly" ;
34
67
68
+ /** View your availability in your calendars. */
69
+ public static final String CALENDAR_FREEBUSY = "https://www.googleapis.com/auth/calendar.freebusy" ;
70
+
35
71
/** See and download any calendar you can access using your Google Calendar. */
36
72
public static final String CALENDAR_READONLY = "https://www.googleapis.com/auth/calendar.readonly" ;
37
73
@@ -46,8 +82,20 @@ public class CalendarScopes {
46
82
public static java .util .Set <String > all () {
47
83
java .util .Set <String > set = new java .util .HashSet <String >();
48
84
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 );
49
92
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 );
50
97
set .add (CALENDAR_EVENTS_READONLY );
98
+ set .add (CALENDAR_FREEBUSY );
51
99
set .add (CALENDAR_READONLY );
52
100
set .add (CALENDAR_SETTINGS_READONLY );
53
101
return java .util .Collections .unmodifiableSet (set );
0 commit comments