The "roles" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($customer, $roleId, $optParams=array()) |
| Deletes a role.
|
|
| get ($customer, $roleId, $optParams=array()) |
| Retrieves a role.
|
|
| insert ($customer, Google_Service_Directory_Role $postBody, $optParams=array()) |
| Creates a role.
|
|
| listRoles ($customer, $optParams=array()) |
| Retrieves a paginated list of all the roles in a domain.
|
|
| patch ($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams=array()) |
| Updates a role.
|
|
| update ($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams=array()) |
| Updates a role.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "roles" collection of methods.
Typical usage is: $adminService = new Google_Service_Directory(...); $roles = $adminService->roles;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_Directory_Roles_Resource::delete |
( |
| $customer, |
|
|
| $roleId, |
|
|
| $optParams = array() ) |
Deletes a role.
(roles.delete)
- Parameters
-
string | $customer | Immutable ID of the Google Apps account. |
string | $roleId | Immutable ID of the role. |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Directory_Roles_Resource::get |
( |
| $customer, |
|
|
| $roleId, |
|
|
| $optParams = array() ) |
Retrieves a role.
(roles.get)
- Parameters
-
string | $customer | Immutable ID of the Google Apps account. |
string | $roleId | Immutable ID of the role. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Creates a role.
(roles.insert)
- Parameters
-
string | $customer | Immutable ID of the Google Apps account. |
Google_Role | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listRoles()
Google_Service_Directory_Roles_Resource::listRoles |
( |
| $customer, |
|
|
| $optParams = array() ) |
Retrieves a paginated list of all the roles in a domain.
(roles.listRoles)
- Parameters
-
string | $customer | Immutable id of the Google Apps account. |
array | $optParams | Optional parameters. |
@opt_param string pageToken Token to specify the next page in the list. @opt_param int maxResults Maximum number of results to return.
- Return values
-
◆ patch()
Updates a role.
This method supports patch semantics. (roles.patch)
- Parameters
-
string | $customer | Immutable ID of the Google Apps account. |
string | $roleId | Immutable ID of the role. |
Google_Role | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates a role.
(roles.update)
- Parameters
-
string | $customer | Immutable ID of the Google Apps account. |
string | $roleId | Immutable ID of the role. |
Google_Role | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Directory.php