Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
The "watermarks" collection of methods. More...
Public Member Functions | |
call ($name, $arguments, $expected_class=null) | |
TODO: This function needs simplifying. | |
set ($channelId, Google_Service_YouTube_InvideoBranding $postBody, $optParams=array()) | |
Uploads a watermark image to YouTube and sets it for a channel. | |
unsetWatermarks ($channelId, $optParams=array()) | |
Deletes a channel's watermark image. | |
Protected Member Functions | |
convertToArrayAndStripNulls ($o) | |
The "watermarks" collection of methods.
Typical usage is: $youtubeService = new Google_Service_YouTube(...); $watermarks = $youtubeService->watermarks;
|
inherited |
TODO: This function needs simplifying.
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
Google_Http_Request|expected_class |
Google_Exception |
Google_Service_YouTube_Watermarks_Resource::set | ( | $channelId, | |
Google_Service_YouTube_InvideoBranding | $postBody, | ||
$optParams = array() ) |
Uploads a watermark image to YouTube and sets it for a channel.
(watermarks.set)
string | $channelId | The channelId parameter specifies the YouTube channel ID for which the watermark is being provided. |
Google_InvideoBranding | $postBody | |
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 CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Google_Service_YouTube_Watermarks_Resource::unsetWatermarks | ( | $channelId, | |
$optParams = array() ) |
Deletes a channel's watermark image.
(watermarks.unsetWatermarks)
string | $channelId | The channelId parameter specifies the YouTube channel ID for which the watermark is being unset. |
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 CMS account that the user authenticates with must be linked to the specified YouTube content owner.