Captions
class Captions extends Resource (View source)
The "captions" collection of methods.
Typical usage is:
$youtubeService = new Google\Service\YouTube(...);
$captions = $youtubeService->captions;
Methods
delete(string $id, array $optParams = [])
Deletes a resource. (captions.delete)
download(string $id, array $optParams = [])
Downloads a caption track. (captions.download)
listCaptions(string|array $part, string $videoId, array $optParams = [])
Retrieves a list of resources, possibly filtered. (captions.listCaptions)
Details
delete(string $id, array $optParams = [])
Deletes a resource. (captions.delete)
download(string $id, array $optParams = [])
Downloads a caption track. (captions.download)
Caption
insert(string|array $part, Caption $postBody, array $optParams = [])
Inserts a new resource into this collection. (captions.insert)
CaptionListResponse
listCaptions(string|array $part, string $videoId, array $optParams = [])
Retrieves a list of resources, possibly filtered. (captions.listCaptions)