Exemplo n.º 1
0
 /// <summary>Constructs a new Set request.</summary>
 public SetRequest(IClientService service, InvideoBranding body, string channelId)
     : base(service)
 {
     this.ChannelId = channelId;
     this.Body      = body;
     this.InitParameters();
 }
Exemplo n.º 2
0
 /// <summary>Uploads a watermark image to YouTube and sets it for a channel.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="channelId">The channelId parameter specifies the YouTube channel ID for which the watermark is being
 /// provided.</param>
 /// <param name="stream">The stream to upload.</param>
 /// <param name="contentType">The content type of the stream to upload.</param>
 public virtual WatermarksResource.SetMediaUpload Set(InvideoBranding body, string channelId, Stream stream, string contentType)
 {
     return(new WatermarksResource.SetMediaUpload(this.service, body, channelId, stream, contentType));
 }
Exemplo n.º 3
0
 /// <summary>Uploads a watermark image to YouTube and sets it for a channel.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="channelId">The channelId parameter specifies the YouTube channel ID for which the watermark is being
 /// provided.</param>
 public virtual WatermarksResource.SetRequest Set(InvideoBranding body, string channelId)
 {
     return(new WatermarksResource.SetRequest(this.service, body, channelId));
 }