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/youtube_v3/service.rb'
|
|
|
|
require 'google/apis/youtube_v3/classes.rb'
|
|
|
|
require 'google/apis/youtube_v3/representations.rb'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
2020-05-21 00:38:31 +00:00
|
|
|
# YouTube Data API v3
|
2015-06-23 23:05:46 +00:00
|
|
|
#
|
2020-05-21 00:38:31 +00:00
|
|
|
# The YouTube Data API v3 is an API that provides access to YouTube data, such
|
|
|
|
# as videos, playlists, and channels.
|
2015-06-23 23:05:46 +00:00
|
|
|
#
|
2020-05-21 00:38:31 +00:00
|
|
|
# @see https://developers.google.com/youtube/
|
2015-06-23 23:05:46 +00:00
|
|
|
module YoutubeV3
|
|
|
|
VERSION = 'V3'
|
2020-07-21 00:38:15 +00:00
|
|
|
REVISION = '20200719'
|
2015-06-23 23:05:46 +00:00
|
|
|
|
|
|
|
# Manage your YouTube account
|
|
|
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
|
|
|
|
2020-04-13 16:49:10 +00:00
|
|
|
# See a list of your current active channel members, their current level, and when they became a member
|
|
|
|
AUTH_YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR = 'https://www.googleapis.com/auth/youtube.channel-memberships.creator'
|
|
|
|
|
2018-11-06 00:31:47 +00:00
|
|
|
# See, edit, and permanently delete your YouTube videos, ratings, comments and captions
|
2015-06-23 23:05:46 +00:00
|
|
|
AUTH_YOUTUBE_FORCE_SSL = 'https://www.googleapis.com/auth/youtube.force-ssl'
|
|
|
|
|
|
|
|
# View your YouTube account
|
|
|
|
AUTH_YOUTUBE_READONLY = 'https://www.googleapis.com/auth/youtube.readonly'
|
|
|
|
|
|
|
|
# Manage your YouTube videos
|
|
|
|
AUTH_YOUTUBE_UPLOAD = 'https://www.googleapis.com/auth/youtube.upload'
|
|
|
|
|
|
|
|
# View and manage your assets and associated content on YouTube
|
|
|
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
|
|
|
|
|
|
|
# View private information of your YouTube channel relevant during the audit process with a YouTube partner
|
|
|
|
AUTH_YOUTUBEPARTNER_CHANNEL_AUDIT = 'https://www.googleapis.com/auth/youtubepartner-channel-audit'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|