Table of Contents

Class RoleAssignmentsResource

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

The "roleAssignments" collection of methods.

public class RoleAssignmentsResource
Inheritance
RoleAssignmentsResource
Inherited Members

Constructors

RoleAssignmentsResource(IClientService)

Constructs a new resource.

public RoleAssignmentsResource(IClientService service)

Parameters

service IClientService

Methods

Delete(string, string)

Deletes a role assignment.

public virtual RoleAssignmentsResource.DeleteRequest Delete(string customer, string roleAssignmentId)

Parameters

customer string

Immutable ID of the G Suite account.

roleAssignmentId string

Immutable ID of the role assignment.

Returns

RoleAssignmentsResource.DeleteRequest

Get(string, string)

Retrieve a role assignment.

public virtual RoleAssignmentsResource.GetRequest Get(string customer, string roleAssignmentId)

Parameters

customer string

Immutable ID of the G Suite account.

roleAssignmentId string

Immutable ID of the role assignment.

Returns

RoleAssignmentsResource.GetRequest

Insert(RoleAssignment, string)

Creates a role assignment.

public virtual RoleAssignmentsResource.InsertRequest Insert(RoleAssignment body, string customer)

Parameters

body RoleAssignment

The body of the request.

customer string

Immutable ID of the G Suite account.

Returns

RoleAssignmentsResource.InsertRequest

List(string)

Retrieves a paginated list of all roleAssignments.

public virtual RoleAssignmentsResource.ListRequest List(string customer)

Parameters

customer string

Immutable ID of the G Suite account.

Returns

RoleAssignmentsResource.ListRequest