Table of Contents

Class UsersResource.AliasesResource.InsertRequest

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

Add a alias for the user

public class UsersResource.AliasesResource.InsertRequest : DirectoryBaseServiceRequest<Alias>
Inheritance
UsersResource.AliasesResource.InsertRequest
Inherited Members

Constructors

InsertRequest(IClientService, Alias, string)

Constructs a new Insert request.

public InsertRequest(IClientService service, Alias body, string userKey)

Parameters

service IClientService
body Alias
userKey string

Properties

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

UserKey

Email or immutable ID of the user

public virtual string UserKey { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Insert parameter list.

protected override void InitParameters()