Class UsersResource.MakeAdminRequest
Makes a user a super administrator.
Inheritance
UsersResource.MakeAdminRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class UsersResource.MakeAdminRequest : DirectoryBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
MakeAdminRequest(IClientService, UserMakeAdmin, string)
Constructs a new MakeAdmin request.
Declaration
public MakeAdminRequest(IClientService service, UserMakeAdmin body, string userKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UserMakeAdmin | 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
Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
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 MakeAdmin parameter list.
Declaration
protected override void InitParameters()