Table of Contents

Class RoleAssignmentsResource.InsertRequest

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

Creates a role assignment.

public class RoleAssignmentsResource.InsertRequest : DirectoryBaseServiceRequest<RoleAssignment>
Inheritance
RoleAssignmentsResource.InsertRequest
Inherited Members

Constructors

InsertRequest(IClientService, RoleAssignment, string)

Constructs a new Insert request.

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

Parameters

service IClientService
body RoleAssignment
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()