Show / Hide Table of Contents

Class PlaylistsResource.DeleteRequest

Deletes a playlist.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<System.String>
YouTubeBaseServiceRequest<System.String>
PlaylistsResource.DeleteRequest
Implements
IClientServiceRequest<System.String>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<String>.Alt
YouTubeBaseServiceRequest<String>.Fields
YouTubeBaseServiceRequest<String>.Key
YouTubeBaseServiceRequest<String>.OauthToken
YouTubeBaseServiceRequest<String>.PrettyPrint
YouTubeBaseServiceRequest<String>.QuotaUser
YouTubeBaseServiceRequest<String>.UserIp
ClientServiceRequest<String>.Execute()
ClientServiceRequest<String>.ExecuteAsStream()
ClientServiceRequest<String>.ExecuteAsync()
ClientServiceRequest<String>.ExecuteAsync(CancellationToken)
ClientServiceRequest<String>.ExecuteAsStreamAsync()
ClientServiceRequest<String>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<String>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<String>.GenerateRequestUri()
ClientServiceRequest<String>.GetBody()
ClientServiceRequest<String>.GetDefaultETagAction(String)
ClientServiceRequest<String>.ETagAction
ClientServiceRequest<String>.ModifyRequest
ClientServiceRequest<String>.RequestParameters
ClientServiceRequest<String>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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 DeleteRequest : YouTubeBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, String)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string id)
Parameters
Type Name Description
IClientService service
System.String id

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.HttpMethod

Id

The id parameter specifies the YouTube playlist ID for the playlist that is being deleted. In a playlist resource, the id property specifies the playlist's ID.

Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual string Id { get; }
Property Value
Type Description
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName

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.

Declaration
[RequestParameter("onBehalfOfContentOwner", RequestParameterType.Query)]
public virtual string OnBehalfOfContentOwner { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.YouTube.v3.YouTubeBaseServiceRequest<System.String>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top