Show / Hide Table of Contents

Class RoleAssignmentsResource

The "roleAssignments" collection of methods.

Inheritance
System.Object
RoleAssignmentsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class RoleAssignmentsResource

Constructors

RoleAssignmentsResource(IClientService)

Constructs a new resource.

Declaration
public RoleAssignmentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(String, String)

Deletes a role assignment.

Declaration
public virtual RoleAssignmentsResource.DeleteRequest Delete(string customer, string roleAssignmentId)
Parameters
Type Name Description
System.String customer

Immutable ID of the G Suite account.

System.String roleAssignmentId

Immutable ID of the role assignment.

Returns
Type Description
RoleAssignmentsResource.DeleteRequest

Get(String, String)

Retrieve a role assignment.

Declaration
public virtual RoleAssignmentsResource.GetRequest Get(string customer, string roleAssignmentId)
Parameters
Type Name Description
System.String customer

Immutable ID of the G Suite account.

System.String roleAssignmentId

Immutable ID of the role assignment.

Returns
Type Description
RoleAssignmentsResource.GetRequest

Insert(RoleAssignment, String)

Creates a role assignment.

Declaration
public virtual RoleAssignmentsResource.InsertRequest Insert(RoleAssignment body, string customer)
Parameters
Type Name Description
RoleAssignment body

The body of the request.

System.String customer

Immutable ID of the G Suite account.

Returns
Type Description
RoleAssignmentsResource.InsertRequest

List(String)

Retrieves a paginated list of all roleAssignments.

Declaration
public virtual RoleAssignmentsResource.ListRequest List(string customer)
Parameters
Type Name Description
System.String customer

Immutable ID of the G Suite account.

Returns
Type Description
RoleAssignmentsResource.ListRequest
Back to top