Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_YouTubeReporting_Media_Resource Class Reference

The "media" collection of methods. More...

Inheritance diagram for Google_Service_YouTubeReporting_Media_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 download ($resourceName, $optParams=array())
 Method for media download.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "media" collection of methods.

Typical usage is: $youtubereportingService = new Google_Service_YouTubeReporting(...); $media = $youtubereportingService->media;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ download()

Google_Service_YouTubeReporting_Media_Resource::download ( $resourceName,
$optParams = array() )

Method for media download.

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

Parameters
string$resourceNameName of the media that is being downloaded. See [][ByteStream.ReadRequest.resource_name].
array$optParamsOptional parameters.
Return values
Google_Service_YouTubeReporting_Media

The documentation for this class was generated from the following file: