class Media extends Resource (View source)

The "media" collection of methods.

Typical usage is:

 $youtubereportingService = new Google\Service\YouTubeReporting(...);
 $media = $youtubereportingService->media;

Methods

download(string $resourceName, array $optParams = [])

Method for media download. Download is supported on the URI /v1/media/{+name}?alt=media. (media.download)

Details

GdataMedia download(string $resourceName, array $optParams = [])

Method for media download. Download is supported on the URI /v1/media/{+name}?alt=media. (media.download)

Parameters

string $resourceName

Name of the media that is being downloaded.

array $optParams

Optional parameters.

Return Value

GdataMedia

Exceptions

Exception