Orgunits
class Orgunits extends Resource (View source)
The "orgunits" collection of methods.
Typical usage is:
$adminService = new Google\Service\Directory(...);
$orgunits = $adminService->orgunits;
Methods
delete(string $customerId, string $orgUnitPath, array $optParams = [])
Removes an organizational unit. (orgunits.delete)
get(string $customerId, string $orgUnitPath, array $optParams = [])
Retrieves an organizational unit. (orgunits.get)
listOrgunits(string $customerId, array $optParams = [])
Retrieves a list of all organizational units for an account.
patch(string $customerId, string $orgUnitPath, OrgUnit $postBody, array $optParams = [])
Updates an organizational unit. This method supports patch semantics (orgunits.patch)
Details
delete(string $customerId, string $orgUnitPath, array $optParams = [])
Removes an organizational unit. (orgunits.delete)
OrgUnit
get(string $customerId, string $orgUnitPath, array $optParams = [])
Retrieves an organizational unit. (orgunits.get)
OrgUnit
insert(string $customerId, OrgUnit $postBody, array $optParams = [])
Adds an organizational unit. (orgunits.insert)
OrgUnits
listOrgunits(string $customerId, array $optParams = [])
Retrieves a list of all organizational units for an account.
(orgunits.listOrgunits)
OrgUnit
patch(string $customerId, string $orgUnitPath, OrgUnit $postBody, array $optParams = [])
Updates an organizational unit. This method supports patch semantics (orgunits.patch)