All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.youtube.YouTubeScopes Maven / Gradle / Ivy

There is a newer version: v3-rev20240909-2.0.0
Show newest version
/*
 * Copyright 2010 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.
 */
/*
 * This code was generated by https://code.google.com/p/google-apis-client-generator/
 * (build: 2015-08-03 17:34:38 UTC)
 * on 2015-09-25 at 08:29:49 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.youtube;

/**
 * Available OAuth 2.0 scopes for use with the YouTube Data API.
 *
 * @since 1.4
 */
public class YouTubeScopes {

  /** Manage your YouTube account. */
  public static final String YOUTUBE = "https://www.googleapis.com/auth/youtube";

  /** Manage your YouTube account. */
  public static final String YOUTUBE_FORCE_SSL = "https://www.googleapis.com/auth/youtube.force-ssl";

  /** View your YouTube account. */
  public static final String YOUTUBE_READONLY = "https://www.googleapis.com/auth/youtube.readonly";

  /** Manage your YouTube videos. */
  public static final String YOUTUBE_UPLOAD = "https://www.googleapis.com/auth/youtube.upload";

  /** View and manage your assets and associated content on YouTube. */
  public static final String YOUTUBEPARTNER = "https://www.googleapis.com/auth/youtubepartner";

  /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */
  public static final String YOUTUBEPARTNER_CHANNEL_AUDIT = "https://www.googleapis.com/auth/youtubepartner-channel-audit";

  /**
   * Returns an unmodifiable set that contains all scopes declared by this class.
   *
   * @since 1.16
   */
  public static java.util.Set all() {
    java.util.Set set = new java.util.HashSet();
    set.add(YOUTUBE);
    set.add(YOUTUBE_FORCE_SSL);
    set.add(YOUTUBE_READONLY);
    set.add(YOUTUBE_UPLOAD);
    set.add(YOUTUBEPARTNER);
    set.add(YOUTUBEPARTNER_CHANNEL_AUDIT);
    return java.util.Collections.unmodifiableSet(set);
  }

  private YouTubeScopes() {
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy