Class Google_Service_Directory_RoleAssignments_Resource
The "roleAssignments" collection of methods. Typical usage is:
$adminService = new Google_Service_Directory(...);
$roleAssignments = $adminService->roleAssignments;
-
Google_Service_Resource
-
Google_Service_Directory_RoleAssignments_Resource
Located at Directory.php
Methods summary
public
|
#
delete( string $customer, string $roleAssignmentId, array $optParams = array() )
Deletes a role assignment. (roleAssignments.delete)
Deletes a role assignment. (roleAssignments.delete)
Parameters
- $customer
- Immutable ID of the G Suite account.
- $roleAssignmentId
- Immutable ID of the role assignment.
- $optParams
- Optional parameters.
|
public
Google_Service_Directory_RoleAssignment
|
#
get( string $customer, string $roleAssignmentId, array $optParams = array() )
Retrieve a role assignment. (roleAssignments.get)
Retrieve a role assignment. (roleAssignments.get)
Parameters
- $customer
- Immutable ID of the G Suite account.
- $roleAssignmentId
- Immutable ID of the role assignment.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_RoleAssignment
|
#
insert( string $customer, Google_Service_Directory_RoleAssignment $postBody, array $optParams = array() )
Creates a role assignment. (roleAssignments.insert)
Creates a role assignment. (roleAssignments.insert)
Parameters
- $customer
- Immutable ID of the G Suite account.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_RoleAssignments
|
#
listRoleAssignments( string $customer, array $optParams = array() )
Retrieves a paginated list of all roleAssignments.
(roleAssignments.listRoleAssignments)
Retrieves a paginated list of all roleAssignments.
(roleAssignments.listRoleAssignments)
Parameters
- $customer
- Immutable ID of the G Suite account.
- $optParams
- Optional parameters.
Returns
Opt_param
int maxResults Maximum number of results to return.
string pageToken Token to specify the next page in the list.
string roleId Immutable ID of a role. If included in the request, returns only
role assignments containing this role ID.
string userKey The user's primary email address, alias email address, or unique
user ID. If included in the request, returns role assignments only for this
user.
|