youtube  v3
Public Member Functions | List of all members
google_youtube_api::YouTubeService::WatermarksResource Class Reference

#include <you_tube_service.h>

Public Member Functions

 WatermarksResource (YouTubeService *service)
 
 ~WatermarksResource ()
 
WatermarksResource_SetMethodNewSetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &channel_id) const
 
WatermarksResource_SetMethodNewSetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &channel_id, const InvideoBranding *_metadata_, const StringPiece &_media_content_type_, client::DataReader *_media_content_reader_) const
 
WatermarksResource_UnsetMethodNewUnsetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &channel_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ WatermarksResource()

google_youtube_api::YouTubeService::WatermarksResource::WatermarksResource ( YouTubeService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~WatermarksResource()

google_youtube_api::YouTubeService::WatermarksResource::~WatermarksResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewSetMethod() [1/2]

WatermarksResource_SetMethod * google_youtube_api::YouTubeService::WatermarksResource::NewSetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  channel_id 
) const

Creates a new WatermarksResource_SetMethod instance.

Deprecated:
Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]channel_idThe channelId parameter specifies the YouTube channel ID for which the watermark is being provided.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetMethod() [2/2]

WatermarksResource_SetMethod * google_youtube_api::YouTubeService::WatermarksResource::NewSetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  channel_id,
const InvideoBranding _metadata_,
const StringPiece &  _media_content_type_,
client::DataReader *  _media_content_reader_ 
) const

Creates a new WatermarksResource_SetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]channel_idThe channelId parameter specifies the YouTube channel ID for which the watermark is being provided.
[in]<em>metadata</em>The metadata object to set. If this is NULL then do not upload any metadata.
[in]<em>media_content_type</em>The content type of the data in the media_content_reader.
[in]<em>media_content_reader</em>The media content to set. If this is NULL then do not upload any media and ignore media_content_type.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUnsetMethod()

WatermarksResource_UnsetMethod * google_youtube_api::YouTubeService::WatermarksResource::NewUnsetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  channel_id 
) const

Creates a new WatermarksResource_UnsetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]channel_idThe channelId parameter specifies the YouTube channel ID for which the watermark is being unset.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

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