2015-06-23 23:05:46 +00:00
|
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
|
|
require 'google/apis/calendar_v3/service.rb'
|
|
|
|
|
require 'google/apis/calendar_v3/classes.rb'
|
|
|
|
|
require 'google/apis/calendar_v3/representations.rb'
|
|
|
|
|
|
|
|
|
|
module Google
|
|
|
|
|
module Apis
|
|
|
|
|
# Calendar API
|
|
|
|
|
#
|
2016-04-14 18:15:27 +00:00
|
|
|
|
# Manipulates events and other calendar data.
|
2015-06-23 23:05:46 +00:00
|
|
|
|
#
|
|
|
|
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
|
|
|
|
module CalendarV3
|
|
|
|
|
VERSION = 'V3'
|
2020-08-21 00:38:20 +00:00
|
|
|
|
REVISION = '20200818'
|
2015-06-23 23:05:46 +00:00
|
|
|
|
|
2018-11-08 00:36:32 +00:00
|
|
|
|
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
2015-06-23 23:05:46 +00:00
|
|
|
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
|
|
|
|
|
2020-08-21 00:38:20 +00:00
|
|
|
|
# See and change the sharing permissions of Google calendars you own
|
|
|
|
|
AUTH_CALENDAR_ACLS = 'https://www.googleapis.com/auth/calendar.acls'
|
|
|
|
|
|
|
|
|
|
# See the sharing permissions of Google calendars you own
|
|
|
|
|
AUTH_CALENDAR_ACLS_READONLY = 'https://www.googleapis.com/auth/calendar.acls.readonly'
|
|
|
|
|
|
|
|
|
|
# Make secondary Google calendars, and see, create, change, and delete events on them
|
|
|
|
|
AUTH_CALENDAR_APP_CREATED = 'https://www.googleapis.com/auth/calendar.app.created'
|
|
|
|
|
|
|
|
|
|
# See, add, and remove Google calendars you’re subscribed to
|
|
|
|
|
AUTH_CALENDAR_CALENDARLIST = 'https://www.googleapis.com/auth/calendar.calendarlist'
|
|
|
|
|
|
|
|
|
|
# See the list of Google calendars you’re subscribed to
|
|
|
|
|
AUTH_CALENDAR_CALENDARLIST_READONLY = 'https://www.googleapis.com/auth/calendar.calendarlist.readonly'
|
|
|
|
|
|
|
|
|
|
# See and change the properties of Google calendars you have access to, and create secondary calendars
|
|
|
|
|
AUTH_CALENDAR_CALENDARS = 'https://www.googleapis.com/auth/calendar.calendars'
|
|
|
|
|
|
|
|
|
|
# See the title, description, default time zone, and other properties of Google calendars you have access to
|
|
|
|
|
AUTH_CALENDAR_CALENDARS_READONLY = 'https://www.googleapis.com/auth/calendar.calendars.readonly'
|
|
|
|
|
|
2018-09-18 00:36:21 +00:00
|
|
|
|
# View and edit events on all your calendars
|
|
|
|
|
AUTH_CALENDAR_EVENTS = 'https://www.googleapis.com/auth/calendar.events'
|
|
|
|
|
|
2020-08-21 00:38:20 +00:00
|
|
|
|
# See the availability on Google calendars you have access to
|
|
|
|
|
AUTH_CALENDAR_EVENTS_FREEBUSY = 'https://www.googleapis.com/auth/calendar.events.freebusy'
|
|
|
|
|
|
|
|
|
|
# See, create, change, and delete events on Google calendars you own
|
|
|
|
|
AUTH_CALENDAR_EVENTS_OWNED = 'https://www.googleapis.com/auth/calendar.events.owned'
|
|
|
|
|
|
|
|
|
|
# See the events on Google calendars you own
|
|
|
|
|
AUTH_CALENDAR_EVENTS_OWNED_READONLY = 'https://www.googleapis.com/auth/calendar.events.owned.readonly'
|
|
|
|
|
|
|
|
|
|
# See the events on public calendars
|
|
|
|
|
AUTH_CALENDAR_EVENTS_PUBLIC_READONLY = 'https://www.googleapis.com/auth/calendar.events.public.readonly'
|
|
|
|
|
|
2018-09-18 00:36:21 +00:00
|
|
|
|
# View events on all your calendars
|
|
|
|
|
AUTH_CALENDAR_EVENTS_READONLY = 'https://www.googleapis.com/auth/calendar.events.readonly'
|
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
|
# View your calendars
|
|
|
|
|
AUTH_CALENDAR_READONLY = 'https://www.googleapis.com/auth/calendar.readonly'
|
2018-09-18 00:36:21 +00:00
|
|
|
|
|
|
|
|
|
# View your Calendar settings
|
|
|
|
|
AUTH_CALENDAR_SETTINGS_READONLY = 'https://www.googleapis.com/auth/calendar.settings.readonly'
|
2015-06-23 23:05:46 +00:00
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|