Documentation

Google_Service_YouTube extends Google_Service
in package

Service definition for YouTube (v3).

The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.

For more information about this service, see the API Documentation

Tags
author

Google, Inc.

Table of Contents

YOUTUBE  = "https://www.googleapis.com/auth/youtube"
Manage your YouTube account.
YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR  = "https://www.googleapis.com/auth/youtube.channel-memberships.creator"
See a list of your current active channel members, their current level, and when they became a member.
YOUTUBE_FORCE_SSL  = "https://www.googleapis.com/auth/youtube.force-ssl"
See, edit, and permanently delete your YouTube videos, ratings, comments and captions.
YOUTUBE_READONLY  = "https://www.googleapis.com/auth/youtube.readonly"
View your YouTube account.
YOUTUBE_UPLOAD  = "https://www.googleapis.com/auth/youtube.upload"
Manage your YouTube videos.
YOUTUBEPARTNER  = "https://www.googleapis.com/auth/youtubepartner"
View and manage your assets and associated content on YouTube.
YOUTUBEPARTNER_CHANNEL_AUDIT  = "https://www.googleapis.com/auth/youtubepartner-channel-audit"
View private information of your YouTube channel relevant during the audit process with a YouTube partner.
$abuseReports  : mixed
$activities  : mixed
$availableScopes  : mixed
$batchPath  : mixed
$captions  : mixed
$channelBanners  : mixed
$channels  : mixed
$channelSections  : mixed
$comments  : mixed
$commentThreads  : mixed
$i18nLanguages  : mixed
$i18nRegions  : mixed
$liveBroadcasts  : mixed
$liveChatBans  : mixed
$liveChatMessages  : mixed
$liveChatModerators  : mixed
$liveStreams  : mixed
$members  : mixed
$membershipsLevels  : mixed
$playlistItems  : mixed
$playlists  : mixed
$resource  : mixed
$rootUrl  : mixed
$search  : mixed
$servicePath  : mixed
$sponsors  : mixed
$subscriptions  : mixed
$superChatEvents  : mixed
$tests  : mixed
$thirdPartyLinks  : mixed
$thumbnails  : mixed
$version  : mixed
$videoAbuseReportReasons  : mixed
$videoCategories  : mixed
$videos  : mixed
$watermarks  : mixed
$client  : mixed
__construct()  : mixed
Constructs the internal representation of the YouTube service.
createBatch()  : Google_Http_Batch
Create a new HTTP Batch handler for this service
getClient()  : Google_Client
Return the associated Google_Client class.

Constants

YOUTUBE

Manage your YouTube account.

public mixed YOUTUBE = "https://www.googleapis.com/auth/youtube"

YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR

See a list of your current active channel members, their current level, and when they became a member.

public mixed YOUTUBE_CHANNEL_MEMBERSHIPS_CREATOR = "https://www.googleapis.com/auth/youtube.channel-memberships.creator"

YOUTUBE_FORCE_SSL

See, edit, and permanently delete your YouTube videos, ratings, comments and captions.

public mixed YOUTUBE_FORCE_SSL = "https://www.googleapis.com/auth/youtube.force-ssl"

YOUTUBE_READONLY

View your YouTube account.

public mixed YOUTUBE_READONLY = "https://www.googleapis.com/auth/youtube.readonly"

YOUTUBE_UPLOAD

Manage your YouTube videos.

public mixed YOUTUBE_UPLOAD = "https://www.googleapis.com/auth/youtube.upload"

YOUTUBEPARTNER

View and manage your assets and associated content on YouTube.

public mixed YOUTUBEPARTNER = "https://www.googleapis.com/auth/youtubepartner"

YOUTUBEPARTNER_CHANNEL_AUDIT

View private information of your YouTube channel relevant during the audit process with a YouTube partner.

public mixed YOUTUBEPARTNER_CHANNEL_AUDIT = "https://www.googleapis.com/auth/youtubepartner-channel-audit"

Properties

$abuseReports

public mixed $abuseReports

$activities

public mixed $activities

$availableScopes

public mixed $availableScopes

$channelBanners

public mixed $channelBanners

$channelSections

public mixed $channelSections

$commentThreads

public mixed $commentThreads

$i18nLanguages

public mixed $i18nLanguages

$i18nRegions

public mixed $i18nRegions

$liveBroadcasts

public mixed $liveBroadcasts

$liveChatBans

public mixed $liveChatBans

$liveChatMessages

public mixed $liveChatMessages

$liveChatModerators

public mixed $liveChatModerators

$liveStreams

public mixed $liveStreams

$membershipsLevels

public mixed $membershipsLevels

$playlistItems

public mixed $playlistItems

$servicePath

public mixed $servicePath

$subscriptions

public mixed $subscriptions

$superChatEvents

public mixed $superChatEvents
public mixed $thirdPartyLinks

$thumbnails

public mixed $thumbnails

$videoAbuseReportReasons

public mixed $videoAbuseReportReasons

$videoCategories

public mixed $videoCategories

$watermarks

public mixed $watermarks

Methods

__construct()

Constructs the internal representation of the YouTube service.

public __construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
$client : Google_Client

The client used to deliver requests.

$rootUrl : string = null

The root URL used for requests to the service.

Return values
mixed

Search results