admin  directory_v1
Classes | Public Member Functions | List of all members
Google.Apis.Admin.Directory.directory_v1.RolesResource Class Reference

The "roles" collection of methods. More...

Classes

class  DeleteRequest
 Deletes a role. More...
 
class  GetRequest
 Retrieves a role. More...
 
class  InsertRequest
 Creates a role. More...
 
class  ListRequest
 Retrieves a paginated list of all the roles in a domain. More...
 
class  PatchRequest
 Updates a role. This method supports patch semantics. More...
 
class  UpdateRequest
 Updates a role. More...
 

Public Member Functions

 RolesResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual DeleteRequest Delete (string customer, string roleId)
 Deletes a role. More...
 
virtual GetRequest Get (string customer, string roleId)
 Retrieves a role. More...
 
virtual InsertRequest Insert (Google.Apis.Admin.Directory.directory_v1.Data.Role body, string customer)
 Creates a role. More...
 
virtual ListRequest List (string customer)
 Retrieves a paginated list of all the roles in a domain. More...
 
virtual PatchRequest Patch (Google.Apis.Admin.Directory.directory_v1.Data.Role body, string customer, string roleId)
 Updates a role. This method supports patch semantics. More...
 
virtual UpdateRequest Update (Google.Apis.Admin.Directory.directory_v1.Data.Role body, string customer, string roleId)
 Updates a role. More...
 

Detailed Description

The "roles" collection of methods.

Constructor & Destructor Documentation

◆ RolesResource()

Google.Apis.Admin.Directory.directory_v1.RolesResource.RolesResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Delete()

virtual DeleteRequest Google.Apis.Admin.Directory.directory_v1.RolesResource.Delete ( string  customer,
string  roleId 
)
inlinevirtual

Deletes a role.

Parameters
customerImmutable ID of the G Suite account.
roleIdImmutable ID of the role.

◆ Get()

virtual GetRequest Google.Apis.Admin.Directory.directory_v1.RolesResource.Get ( string  customer,
string  roleId 
)
inlinevirtual

Retrieves a role.

Parameters
customerImmutable ID of the G Suite account.
roleIdImmutable ID of the role.

◆ Insert()

virtual InsertRequest Google.Apis.Admin.Directory.directory_v1.RolesResource.Insert ( Google.Apis.Admin.Directory.directory_v1.Data.Role  body,
string  customer 
)
inlinevirtual

Creates a role.

Parameters
bodyThe body of the request.
customerImmutable ID of the G Suite account.

◆ List()

virtual ListRequest Google.Apis.Admin.Directory.directory_v1.RolesResource.List ( string  customer)
inlinevirtual

Retrieves a paginated list of all the roles in a domain.

Parameters
customerImmutable ID of the G Suite account.

◆ Patch()

virtual PatchRequest Google.Apis.Admin.Directory.directory_v1.RolesResource.Patch ( Google.Apis.Admin.Directory.directory_v1.Data.Role  body,
string  customer,
string  roleId 
)
inlinevirtual

Updates a role. This method supports patch semantics.

Parameters
bodyThe body of the request.
customerImmutable ID of the G Suite account.
roleIdImmutable ID of the role.

◆ Update()

virtual UpdateRequest Google.Apis.Admin.Directory.directory_v1.RolesResource.Update ( Google.Apis.Admin.Directory.directory_v1.Data.Role  body,
string  customer,
string  roleId 
)
inlinevirtual

Updates a role.

Parameters
bodyThe body of the request.
customerImmutable ID of the G Suite account.
roleIdImmutable ID of the role.

The documentation for this class was generated from the following file: