Table of Contents

Class RolesResource.InsertRequest

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

Creates a role.

public class RolesResource.InsertRequest : DirectoryBaseServiceRequest<Role>
Inheritance
RolesResource.InsertRequest
Inherited Members

Constructors

InsertRequest(IClientService, Role, string)

Constructs a new Insert request.

public InsertRequest(IClientService service, Role body, string customer)

Parameters

service IClientService
body Role
customer string

Properties

Customer

Immutable ID of the G Suite account.

public virtual string Customer { get; }

Property Value

string

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

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Insert parameter list.

protected override void InitParameters()