class Thumbnails extends Resource (View source)

The "thumbnails" collection of methods.

Typical usage is:

 $youtubeService = new Google\Service\YouTube(...);
 $thumbnails = $youtubeService->thumbnails;

Methods

set(string $videoId, array $optParams = [])

As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. (thumbnails.set)

Details

ThumbnailSetResponse set(string $videoId, array $optParams = [])

As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here. (thumbnails.set)

Parameters

string $videoId

Returns the Thumbnail with the given video IDs for Stubby or Apiary.

array $optParams

Optional parameters.

Return Value

ThumbnailSetResponse

Exceptions

Exception