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_CommentThreads_Resource

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

 $youtubeService = new Google_Service_YouTube(...);
 $commentThreads = $youtubeService->commentThreads;
Google_Service_Resource
Extended by Google_Service_YouTube_CommentThreads_Resource
Located at YouTube.php
Methods summary
public Google_Service_YouTube_CommentThread
# insert( string $part, Google_Service_YouTube_CommentThread $postBody, array $optParams = array() )

Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead. (commentThreads.insert)

Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead. (commentThreads.insert)

Parameters

$part
The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_YouTube_CommentThread
Google_Service_YouTube_CommentThread
public Google_Service_YouTube_CommentThreadListResponse
# listCommentThreads( string $part, array $optParams = array() )

Returns a list of comment threads that match the API request parameters. (commentThreads.listCommentThreads)

Returns a list of comment threads that match the API request parameters. (commentThreads.listCommentThreads)

Parameters

$part
The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
$optParams
Optional parameters.

Returns

Google_Service_YouTube_CommentThreadListResponse
Google_Service_YouTube_CommentThreadListResponse

Opt_param

string allThreadsRelatedToChannelId The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads associated with the specified channel. The response can include comments about the channel or about the channel's videos.
string channelId The channelId parameter instructs the API to return comment threads containing comments about the specified channel. (The response will not include comments left on videos that the channel uploaded.)
string id The id parameter specifies a comma-separated list of comment thread IDs for the resources that should be retrieved.
string maxResults The maxResults parameter specifies the maximum number of items that should be returned in the result set. Note: This parameter is not supported for use in conjunction with the id parameter.
string moderationStatus Set this parameter to limit the returned comment threads to a particular moderation state. Note: This parameter is not supported for use in conjunction with the id parameter.
string order The order parameter specifies the order in which the API response should list comment threads. Valid values are: - time - Comment threads are ordered by time. This is the default behavior. - relevance - Comment threads are ordered by relevance.Note: This parameter is not supported for use in conjunction with the id parameter.
string pageToken The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved. Note: This parameter is not supported for use in conjunction with the id parameter.
string searchTerms The searchTerms parameter instructs the API to limit the API response to only contain comments that contain the specified search terms. Note: This parameter is not supported for use in conjunction with the id parameter.
string textFormat Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text.
string videoId The videoId parameter instructs the API to return comment threads associated with the specified video ID.
public Google_Service_YouTube_CommentThread
# update( string $part, Google_Service_YouTube_CommentThread $postBody, array $optParams = array() )

Modifies the top-level comment in a comment thread. (commentThreads.update)

Modifies the top-level comment in a comment thread. (commentThreads.update)

Parameters

$part
The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_YouTube_CommentThread
Google_Service_YouTube_CommentThread
© 2020 Google Inc.
YouTube Data API documentation generated by ApiGen 2.8.0