Show / Hide Table of Contents

Class PlaylistsResource.UpdateRequest

Updates an existing resource.

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

Constructors

UpdateRequest(IClientService, Playlist, Repeatable<String>)

Constructs a new Update request.

Declaration
public UpdateRequest(IClientService service, Playlist body, Repeatable<string> part)
Parameters
Type Name Description
IClientService service
Playlist body
Repeatable<System.String> part

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.Playlist>.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

Part

The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For example, a playlist's description is contained in the snippet part, which must be included in the request body. If the request does not specify a value for the snippet.description property, the playlist's existing description will be deleted.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.Playlist>.GetBody()

InitParameters()

Initializes Update parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top