Show / Hide Table of Contents

Class WatermarksResource

The "watermarks" collection of methods.

Inheritance
System.Object
WatermarksResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class WatermarksResource

Constructors

WatermarksResource(IClientService)

Constructs a new resource.

Declaration
public WatermarksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Set(InvideoBranding, String)

Uploads a watermark image to YouTube and sets it for a channel.

Declaration
public virtual WatermarksResource.SetRequest Set(InvideoBranding body, string channelId)
Parameters
Type Name Description
InvideoBranding body

The body of the request.

System.String channelId

The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.

Returns
Type Description
WatermarksResource.SetRequest

Set(InvideoBranding, String, Stream, String)

Uploads a watermark image to YouTube and sets it for a channel.

Declaration
public virtual WatermarksResource.SetMediaUpload Set(InvideoBranding body, string channelId, Stream stream, string contentType)
Parameters
Type Name Description
InvideoBranding body

The body of the request.

System.String channelId

The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.

System.IO.Stream stream

The stream to upload.

System.String contentType

The content type of the stream to upload.

Returns
Type Description
WatermarksResource.SetMediaUpload

Unset(String)

Deletes a channel's watermark image.

Declaration
public virtual WatermarksResource.UnsetRequest Unset(string channelId)
Parameters
Type Name Description
System.String channelId

The channelId parameter specifies the YouTube channel ID for which the watermark is being unset.

Returns
Type Description
WatermarksResource.UnsetRequest
Back to top