Class RolesResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "roles" collection of methods.
public class RolesResource
- Inheritance
-
RolesResource
- Inherited Members
Constructors
RolesResource(IClientService)
Constructs a new resource.
public RolesResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string, string)
Deletes a role.
public virtual RolesResource.DeleteRequest Delete(string customer, string roleId)
Parameters
customer
stringImmutable ID of the Google Workspace account.
roleId
stringImmutable ID of the role.
Returns
Get(string, string)
Retrieves a role.
public virtual RolesResource.GetRequest Get(string customer, string roleId)
Parameters
customer
stringImmutable ID of the Google Workspace account.
roleId
stringImmutable ID of the role.
Returns
Insert(Role, string)
Creates a role.
public virtual RolesResource.InsertRequest Insert(Role body, string customer)
Parameters
Returns
List(string)
Retrieves a paginated list of all the roles in a domain.
public virtual RolesResource.ListRequest List(string customer)
Parameters
customer
stringImmutable ID of the Google Workspace account.
Returns
Patch(Role, string, string)
Patch role via Apiary Patch Orchestration
public virtual RolesResource.PatchRequest Patch(Role body, string customer, string roleId)
Parameters
body
RoleThe body of the request.
customer
stringImmutable ID of the Google Workspace account.
roleId
stringImmutable ID of the role.
Returns
Update(Role, string, string)
Updates a role.
public virtual RolesResource.UpdateRequest Update(Role body, string customer, string roleId)
Parameters
body
RoleThe body of the request.
customer
stringImmutable ID of the Google Workspace account.
roleId
stringImmutable ID of the role.