Class UsersResource.UndeleteRequest
Undeletes a deleted user.
Inheritance
UsersResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class UsersResource.UndeleteRequest : DirectoryBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, UserUndelete, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, UserUndelete body, string userKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UserUndelete | body | |
string | userKey |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserKey
The immutable id of the user
Declaration
[RequestParameter("userKey", RequestParameterType.Path)]
public virtual string UserKey { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Undelete parameter list.
Declaration
protected override void InitParameters()