Class UsersResource.UpdateRequest
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish
to update. Fields that are not present in the request will be preserved, and fields set to null
will be
cleared.
public class UsersResource.UpdateRequest : DirectoryBaseServiceRequest<User>
- Inheritance
-
UsersResource.UpdateRequest
- Inherited Members
Constructors
UpdateRequest(IClientService, User, string)
Constructs a new Update request.
public UpdateRequest(IClientService service, User body, string userKey)
Parameters
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
UserKey
Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
public virtual string UserKey { get; }
Property Value
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes Update parameter list.
protected override void InitParameters()