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-06-19 00:38:28 +00:00
|
|
|
REVISION = '20200610'
|
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'
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
# 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
|