Show / Hide Table of Contents

Class PlaylistImagesResource.InsertRequest

Inserts a new resource into this collection.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<PlaylistImage>
YouTubeBaseServiceRequest<PlaylistImage>
PlaylistImagesResource.InsertRequest
Implements
IClientServiceRequest<PlaylistImage>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<PlaylistImage>.Xgafv
YouTubeBaseServiceRequest<PlaylistImage>.AccessToken
YouTubeBaseServiceRequest<PlaylistImage>.Alt
YouTubeBaseServiceRequest<PlaylistImage>.Callback
YouTubeBaseServiceRequest<PlaylistImage>.Fields
YouTubeBaseServiceRequest<PlaylistImage>.Key
YouTubeBaseServiceRequest<PlaylistImage>.OauthToken
YouTubeBaseServiceRequest<PlaylistImage>.PrettyPrint
YouTubeBaseServiceRequest<PlaylistImage>.QuotaUser
YouTubeBaseServiceRequest<PlaylistImage>.UploadType
YouTubeBaseServiceRequest<PlaylistImage>.UploadProtocol
ClientServiceRequest<PlaylistImage>.Execute()
ClientServiceRequest<PlaylistImage>.ExecuteAsStream()
ClientServiceRequest<PlaylistImage>.ExecuteAsync()
ClientServiceRequest<PlaylistImage>.ExecuteAsync(CancellationToken)
ClientServiceRequest<PlaylistImage>.ExecuteAsStreamAsync()
ClientServiceRequest<PlaylistImage>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<PlaylistImage>.CreateRequest(bool?)
ClientServiceRequest<PlaylistImage>.GenerateRequestUri()
ClientServiceRequest<PlaylistImage>.GetDefaultETagAction(string)
ClientServiceRequest<PlaylistImage>.ETagAction
ClientServiceRequest<PlaylistImage>.ModifyRequest
ClientServiceRequest<PlaylistImage>.ValidateParameters
ClientServiceRequest<PlaylistImage>.ApiVersion
ClientServiceRequest<PlaylistImage>.RequestParameters
ClientServiceRequest<PlaylistImage>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class PlaylistImagesResource.InsertRequest : YouTubeBaseServiceRequest<PlaylistImage>, IClientServiceRequest<PlaylistImage>, IClientServiceRequest

Constructors

InsertRequest(IClientService, PlaylistImage)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, PlaylistImage body)
Parameters
Type Name Description
IClientService service
PlaylistImage body

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<PlaylistImage>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<PlaylistImage>.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
string

OnBehalfOfContentOwnerChannel

This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.

Declaration
[RequestParameter("onBehalfOfContentOwnerChannel", RequestParameterType.Query)]
public virtual string OnBehalfOfContentOwnerChannel { get; set; }
Property Value
Type Description
string

Part

The part parameter specifies the properties that the API response will include.

Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual Repeatable<string> Part { get; set; }
Property Value
Type Description
Repeatable<string>

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<PlaylistImage>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<PlaylistImage>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
YouTubeBaseServiceRequest<PlaylistImage>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX