The "thumbnails" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| set ($videoId, $optParams=array()) |
| Uploads a custom video thumbnail to YouTube and sets it for a video.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "thumbnails" collection of methods.
Typical usage is: $youtubeService = new Google_Service_YouTube(...); $thumbnails = $youtubeService->thumbnails;
◆ 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
-
◆ set()
Google_Service_YouTube_Thumbnails_Resource::set |
( |
| $videoId, |
|
|
| $optParams = array() ) |
Uploads a custom video thumbnail to YouTube and sets it for a video.
(thumbnails.set)
- Parameters
-
string | $videoId | The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being provided. |
array | $optParams | Optional parameters. |
@opt_param string onBehalfOfContentOwner Note: This parameter is intended exclusively for YouTube content partners.
The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/YouTube.php