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
UsersResource.PatchRequest
Inherited Members
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()