Overview

Classes

  • Google_Service_YouTube
  • Google_Service_YouTube_AccessPolicy
  • Google_Service_YouTube_Activities_Resource
  • Google_Service_YouTube_Activity
  • Google_Service_YouTube_ActivityContentDetails
  • Google_Service_YouTube_ActivityContentDetailsBulletin
  • Google_Service_YouTube_ActivityContentDetailsChannelItem
  • Google_Service_YouTube_ActivityContentDetailsComment
  • Google_Service_YouTube_ActivityContentDetailsFavorite
  • Google_Service_YouTube_ActivityContentDetailsLike
  • Google_Service_YouTube_ActivityContentDetailsPlaylistItem
  • Google_Service_YouTube_ActivityContentDetailsPromotedItem
  • Google_Service_YouTube_ActivityContentDetailsRecommendation
  • Google_Service_YouTube_ActivityContentDetailsSocial
  • Google_Service_YouTube_ActivityContentDetailsSubscription
  • Google_Service_YouTube_ActivityContentDetailsUpload
  • Google_Service_YouTube_ActivityListResponse
  • Google_Service_YouTube_ActivitySnippet
  • Google_Service_YouTube_Caption
  • Google_Service_YouTube_CaptionListResponse
  • Google_Service_YouTube_Captions_Resource
  • Google_Service_YouTube_CaptionSnippet
  • Google_Service_YouTube_CdnSettings
  • Google_Service_YouTube_Channel
  • Google_Service_YouTube_ChannelAuditDetails
  • Google_Service_YouTube_ChannelBannerResource
  • Google_Service_YouTube_ChannelBanners_Resource
  • Google_Service_YouTube_ChannelBrandingSettings
  • Google_Service_YouTube_ChannelContentDetails
  • Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists
  • Google_Service_YouTube_ChannelContentOwnerDetails
  • Google_Service_YouTube_ChannelConversionPing
  • Google_Service_YouTube_ChannelConversionPings
  • Google_Service_YouTube_ChannelListResponse
  • Google_Service_YouTube_ChannelLocalization
  • Google_Service_YouTube_ChannelProfileDetails
  • Google_Service_YouTube_Channels_Resource
  • Google_Service_YouTube_ChannelSection
  • Google_Service_YouTube_ChannelSectionContentDetails
  • Google_Service_YouTube_ChannelSectionListResponse
  • Google_Service_YouTube_ChannelSectionLocalization
  • Google_Service_YouTube_ChannelSections_Resource
  • Google_Service_YouTube_ChannelSectionSnippet
  • Google_Service_YouTube_ChannelSectionTargeting
  • Google_Service_YouTube_ChannelSettings
  • Google_Service_YouTube_ChannelSnippet
  • Google_Service_YouTube_ChannelStatistics
  • Google_Service_YouTube_ChannelStatus
  • Google_Service_YouTube_ChannelTopicDetails
  • Google_Service_YouTube_Comment
  • Google_Service_YouTube_CommentListResponse
  • Google_Service_YouTube_Comments_Resource
  • Google_Service_YouTube_CommentSnippet
  • Google_Service_YouTube_CommentThread
  • Google_Service_YouTube_CommentThreadListResponse
  • Google_Service_YouTube_CommentThreadReplies
  • Google_Service_YouTube_CommentThreads_Resource
  • Google_Service_YouTube_CommentThreadSnippet
  • Google_Service_YouTube_ContentRating
  • Google_Service_YouTube_GeoPoint
  • Google_Service_YouTube_GuideCategories_Resource
  • Google_Service_YouTube_GuideCategory
  • Google_Service_YouTube_GuideCategoryListResponse
  • Google_Service_YouTube_GuideCategorySnippet
  • Google_Service_YouTube_I18nLanguage
  • Google_Service_YouTube_I18nLanguageListResponse
  • Google_Service_YouTube_I18nLanguages_Resource
  • Google_Service_YouTube_I18nLanguageSnippet
  • Google_Service_YouTube_I18nRegion
  • Google_Service_YouTube_I18nRegionListResponse
  • Google_Service_YouTube_I18nRegions_Resource
  • Google_Service_YouTube_I18nRegionSnippet
  • Google_Service_YouTube_ImageSettings
  • Google_Service_YouTube_IngestionInfo
  • Google_Service_YouTube_InvideoBranding
  • Google_Service_YouTube_InvideoPosition
  • Google_Service_YouTube_InvideoPromotion
  • Google_Service_YouTube_InvideoTiming
  • Google_Service_YouTube_LanguageTag
  • Google_Service_YouTube_LevelDetails
  • Google_Service_YouTube_LiveBroadcast
  • Google_Service_YouTube_LiveBroadcastContentDetails
  • Google_Service_YouTube_LiveBroadcastListResponse
  • Google_Service_YouTube_LiveBroadcasts_Resource
  • Google_Service_YouTube_LiveBroadcastSnippet
  • Google_Service_YouTube_LiveBroadcastStatistics
  • Google_Service_YouTube_LiveBroadcastStatus
  • Google_Service_YouTube_LiveChatBan
  • Google_Service_YouTube_LiveChatBans_Resource
  • Google_Service_YouTube_LiveChatBanSnippet
  • Google_Service_YouTube_LiveChatFanFundingEventDetails
  • Google_Service_YouTube_LiveChatMessage
  • Google_Service_YouTube_LiveChatMessageAuthorDetails
  • Google_Service_YouTube_LiveChatMessageDeletedDetails
  • Google_Service_YouTube_LiveChatMessageListResponse
  • Google_Service_YouTube_LiveChatMessageRetractedDetails
  • Google_Service_YouTube_LiveChatMessages_Resource
  • Google_Service_YouTube_LiveChatMessageSnippet
  • Google_Service_YouTube_LiveChatModerator
  • Google_Service_YouTube_LiveChatModeratorListResponse
  • Google_Service_YouTube_LiveChatModerators_Resource
  • Google_Service_YouTube_LiveChatModeratorSnippet
  • Google_Service_YouTube_LiveChatPollClosedDetails
  • Google_Service_YouTube_LiveChatPollEditedDetails
  • Google_Service_YouTube_LiveChatPollItem
  • Google_Service_YouTube_LiveChatPollOpenedDetails
  • Google_Service_YouTube_LiveChatPollVotedDetails
  • Google_Service_YouTube_LiveChatSuperChatDetails
  • Google_Service_YouTube_LiveChatSuperStickerDetails
  • Google_Service_YouTube_LiveChatTextMessageDetails
  • Google_Service_YouTube_LiveChatUserBannedMessageDetails
  • Google_Service_YouTube_LiveStream
  • Google_Service_YouTube_LiveStreamConfigurationIssue
  • Google_Service_YouTube_LiveStreamContentDetails
  • Google_Service_YouTube_LiveStreamHealthStatus
  • Google_Service_YouTube_LiveStreamListResponse
  • Google_Service_YouTube_LiveStreams_Resource
  • Google_Service_YouTube_LiveStreamSnippet
  • Google_Service_YouTube_LiveStreamStatus
  • Google_Service_YouTube_LocalizedProperty
  • Google_Service_YouTube_LocalizedString
  • Google_Service_YouTube_Member
  • Google_Service_YouTube_MemberListResponse
  • Google_Service_YouTube_Members_Resource
  • Google_Service_YouTube_MembershipsDetails
  • Google_Service_YouTube_MembershipsDuration
  • Google_Service_YouTube_MembershipsDurationAtLevel
  • Google_Service_YouTube_MembershipsLevel
  • Google_Service_YouTube_MembershipsLevelListResponse
  • Google_Service_YouTube_MembershipsLevels_Resource
  • Google_Service_YouTube_MembershipsLevelSnippet
  • Google_Service_YouTube_MemberSnippet
  • Google_Service_YouTube_MonitorStreamInfo
  • Google_Service_YouTube_Nonprofit
  • Google_Service_YouTube_NonprofitId
  • Google_Service_YouTube_PageInfo
  • Google_Service_YouTube_Playlist
  • Google_Service_YouTube_PlaylistContentDetails
  • Google_Service_YouTube_PlaylistItem
  • Google_Service_YouTube_PlaylistItemContentDetails
  • Google_Service_YouTube_PlaylistItemListResponse
  • Google_Service_YouTube_PlaylistItems_Resource
  • Google_Service_YouTube_PlaylistItemSnippet
  • Google_Service_YouTube_PlaylistItemStatus
  • Google_Service_YouTube_PlaylistListResponse
  • Google_Service_YouTube_PlaylistLocalization
  • Google_Service_YouTube_PlaylistPlayer
  • Google_Service_YouTube_Playlists_Resource
  • Google_Service_YouTube_PlaylistSnippet
  • Google_Service_YouTube_PlaylistStatus
  • Google_Service_YouTube_PromotedItem
  • Google_Service_YouTube_PromotedItemId
  • Google_Service_YouTube_PropertyValue
  • Google_Service_YouTube_ResourceId
  • Google_Service_YouTube_Search_Resource
  • Google_Service_YouTube_SearchListResponse
  • Google_Service_YouTube_SearchResult
  • Google_Service_YouTube_SearchResultSnippet
  • Google_Service_YouTube_Sponsor
  • Google_Service_YouTube_SponsorListResponse
  • Google_Service_YouTube_Sponsors_Resource
  • Google_Service_YouTube_SponsorSnippet
  • Google_Service_YouTube_Subscription
  • Google_Service_YouTube_SubscriptionContentDetails
  • Google_Service_YouTube_SubscriptionListResponse
  • Google_Service_YouTube_Subscriptions_Resource
  • Google_Service_YouTube_SubscriptionSnippet
  • Google_Service_YouTube_SubscriptionSubscriberSnippet
  • Google_Service_YouTube_SuperChatEvent
  • Google_Service_YouTube_SuperChatEventListResponse
  • Google_Service_YouTube_SuperChatEvents_Resource
  • Google_Service_YouTube_SuperChatEventSnippet
  • Google_Service_YouTube_SuperStickerMetadata
  • Google_Service_YouTube_Thumbnail
  • Google_Service_YouTube_ThumbnailDetails
  • Google_Service_YouTube_Thumbnails_Resource
  • Google_Service_YouTube_ThumbnailSetResponse
  • Google_Service_YouTube_TokenPagination
  • Google_Service_YouTube_Video
  • Google_Service_YouTube_VideoAbuseReport
  • Google_Service_YouTube_VideoAbuseReportReason
  • Google_Service_YouTube_VideoAbuseReportReasonListResponse
  • Google_Service_YouTube_VideoAbuseReportReasons_Resource
  • Google_Service_YouTube_VideoAbuseReportReasonSnippet
  • Google_Service_YouTube_VideoAbuseReportSecondaryReason
  • Google_Service_YouTube_VideoAgeGating
  • Google_Service_YouTube_VideoCategories_Resource
  • Google_Service_YouTube_VideoCategory
  • Google_Service_YouTube_VideoCategoryListResponse
  • Google_Service_YouTube_VideoCategorySnippet
  • Google_Service_YouTube_VideoContentDetails
  • Google_Service_YouTube_VideoContentDetailsRegionRestriction
  • Google_Service_YouTube_VideoFileDetails
  • Google_Service_YouTube_VideoFileDetailsAudioStream
  • Google_Service_YouTube_VideoFileDetailsVideoStream
  • Google_Service_YouTube_VideoGetRatingResponse
  • Google_Service_YouTube_VideoListResponse
  • Google_Service_YouTube_VideoLiveStreamingDetails
  • Google_Service_YouTube_VideoLocalization
  • Google_Service_YouTube_VideoMonetizationDetails
  • Google_Service_YouTube_VideoPlayer
  • Google_Service_YouTube_VideoProcessingDetails
  • Google_Service_YouTube_VideoProcessingDetailsProcessingProgress
  • Google_Service_YouTube_VideoProjectDetails
  • Google_Service_YouTube_VideoRating
  • Google_Service_YouTube_VideoRecordingDetails
  • Google_Service_YouTube_Videos_Resource
  • Google_Service_YouTube_VideoSnippet
  • Google_Service_YouTube_VideoStatistics
  • Google_Service_YouTube_VideoStatus
  • Google_Service_YouTube_VideoSuggestions
  • Google_Service_YouTube_VideoSuggestionsTagSuggestion
  • Google_Service_YouTube_VideoTopicDetails
  • Google_Service_YouTube_WatchSettings
  • Google_Service_YouTube_Watermarks_Resource
  • Overview
  • Class
  • Tree

Class Google_Service_YouTube_LiveStreams_Resource

The "liveStreams" collection of methods. Typical usage is:

 $youtubeService = new Google_Service_YouTube(...);
 $liveStreams = $youtubeService->liveStreams;
Google_Service_Resource
Extended by Google_Service_YouTube_LiveStreams_Resource
Located at YouTube.php
Methods summary
public
# delete( string $id, array $optParams = array() )

Deletes a video stream. (liveStreams.delete)

Deletes a video stream. (liveStreams.delete)

Parameters

$id
The id parameter specifies the YouTube live stream ID for the resource that is being deleted.
$optParams
Optional parameters.

Opt_param

string onBehalfOfContentOwner Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
string onBehalfOfContentOwnerChannel This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
public Google_Service_YouTube_LiveStream
# insert( string $part, Google_Service_YouTube_LiveStream $postBody, array $optParams = array() )

Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience. (liveStreams.insert)

Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience. (liveStreams.insert)

Parameters

$part
The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, and status.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_YouTube_LiveStream
Google_Service_YouTube_LiveStream

Opt_param

string onBehalfOfContentOwner Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
string onBehalfOfContentOwnerChannel This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
public Google_Service_YouTube_LiveStreamListResponse
# listLiveStreams( string $part, array $optParams = array() )

Returns a list of video streams that match the API request parameters. (liveStreams.listLiveStreams)

Returns a list of video streams that match the API request parameters. (liveStreams.listLiveStreams)

Parameters

$part
The part parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status.
$optParams
Optional parameters.

Returns

Google_Service_YouTube_LiveStreamListResponse
Google_Service_YouTube_LiveStreamListResponse

Opt_param

string id The id parameter specifies a comma-separated list of YouTube stream IDs that identify the streams being retrieved. In a liveStream resource, the id property specifies the stream's ID.
string maxResults The maxResults parameter specifies the maximum number of items that should be returned in the result set.
bool mine The mine parameter can be used to instruct the API to only return streams owned by the authenticated user. Set the parameter value to true to only retrieve your own streams.
string onBehalfOfContentOwner Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
string onBehalfOfContentOwnerChannel This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
string pageToken The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
public Google_Service_YouTube_LiveStream
# update( string $part, Google_Service_YouTube_LiveStream $postBody, array $optParams = array() )

Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings. (liveStreams.update)

Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings. (liveStreams.update)

Parameters

$part
The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_YouTube_LiveStream
Google_Service_YouTube_LiveStream

Opt_param

string onBehalfOfContentOwner Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
string onBehalfOfContentOwnerChannel This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
© 2020 Google Inc.
YouTube Data API documentation generated by ApiGen 2.8.0