# Copyright 2020 Google LLC
#
# 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'
require 'google/apis/youtube_v3/gem_version.rb'

module Google
  module Apis
    # YouTube Data API v3
    #
    # The YouTube Data API v3 is an API that provides access to YouTube data, such
    # as videos, playlists, and channels.
    #
    # @see https://developers.google.com/youtube/
    module YoutubeV3
      # Version of the YouTube Data API v3 this client connects to.
      # This is NOT the gem version.
      VERSION = 'V3'

      # Manage your YouTube account
      AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

      # 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'

      # See, edit, and permanently delete your YouTube videos, ratings, comments and captions
      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
