PlaylistItems
class PlaylistItems extends Resource (View source)
The "playlistItems" collection of methods.
Typical usage is:
$youtubeService = new Google\Service\YouTube(...);
$playlistItems = $youtubeService->playlistItems;
Methods
delete(string $id, array $optParams = [])
Deletes a resource. (playlistItems.delete)
insert(string|array $part, PlaylistItem $postBody, array $optParams = [])
Inserts a new resource into this collection. (playlistItems.insert)
listPlaylistItems(string|array $part, array $optParams = [])
Retrieves a list of resources, possibly filtered.
update(string|array $part, PlaylistItem $postBody, array $optParams = [])
Updates an existing resource. (playlistItems.update)
Details
delete(string $id, array $optParams = [])
Deletes a resource. (playlistItems.delete)
PlaylistItem
insert(string|array $part, PlaylistItem $postBody, array $optParams = [])
Inserts a new resource into this collection. (playlistItems.insert)
PlaylistItemListResponse
listPlaylistItems(string|array $part, array $optParams = [])
Retrieves a list of resources, possibly filtered.
(playlistItems.listPlaylistItems)
PlaylistItem
update(string|array $part, PlaylistItem $postBody, array $optParams = [])
Updates an existing resource. (playlistItems.update)