Show / Hide Table of Contents

Class UsersResource.PatchRequest

Updates an existing user. Returns the updated user if successful. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<User>
DisplayVideoBaseServiceRequest<User>
UsersResource.PatchRequest
Implements
IClientServiceRequest<User>
IClientServiceRequest
Inherited Members
DisplayVideoBaseServiceRequest<User>.Xgafv
DisplayVideoBaseServiceRequest<User>.AccessToken
DisplayVideoBaseServiceRequest<User>.Alt
DisplayVideoBaseServiceRequest<User>.Callback
DisplayVideoBaseServiceRequest<User>.Fields
DisplayVideoBaseServiceRequest<User>.Key
DisplayVideoBaseServiceRequest<User>.OauthToken
DisplayVideoBaseServiceRequest<User>.PrettyPrint
DisplayVideoBaseServiceRequest<User>.QuotaUser
DisplayVideoBaseServiceRequest<User>.UploadType
DisplayVideoBaseServiceRequest<User>.UploadProtocol
ClientServiceRequest<User>.Execute()
ClientServiceRequest<User>.ExecuteAsStream()
ClientServiceRequest<User>.ExecuteAsync()
ClientServiceRequest<User>.ExecuteAsync(CancellationToken)
ClientServiceRequest<User>.ExecuteAsStreamAsync()
ClientServiceRequest<User>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<User>.CreateRequest(bool?)
ClientServiceRequest<User>.GenerateRequestUri()
ClientServiceRequest<User>.GetDefaultETagAction(string)
ClientServiceRequest<User>.ETagAction
ClientServiceRequest<User>.ModifyRequest
ClientServiceRequest<User>.ValidateParameters
ClientServiceRequest<User>.RequestParameters
ClientServiceRequest<User>.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.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class UsersResource.PatchRequest : DisplayVideoBaseServiceRequest<User>, IClientServiceRequest<User>, IClientServiceRequest

Constructors

PatchRequest(IClientService, User, long)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, User body, long userId)
Parameters
Type Name Description
IClientService service
User body
long userId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.User>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.User>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.User>.RestPath

UpdateMask

Required. The mask to control which fields to update.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

UserId

Output only. The unique ID of the user. Assigned by the system.

Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual long UserId { get; }
Property Value
Type Description
long

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.User>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
DisplayVideoBaseServiceRequest<User>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX