Class Google_Service_Directory_Orgunits_Resource
The "orgunits" collection of methods. Typical usage is:
$adminService = new Google_Service_Directory(...);
$orgunits = $adminService->orgunits;
-
Google_Service_Resource
-
Google_Service_Directory_Orgunits_Resource
Located at Directory.php
Methods summary
public
|
#
delete( string $customerId, string $orgUnitPath, array $optParams = array() )
Remove organizational unit (orgunits.delete)
Remove organizational unit (orgunits.delete)
Parameters
- $customerId
- Immutable ID of the G Suite account
- $orgUnitPath
- Full path of the organizational unit or its ID
- $optParams
- Optional parameters.
|
public
Google_Service_Directory_OrgUnit
|
#
get( string $customerId, string $orgUnitPath, array $optParams = array() )
Retrieve organizational unit (orgunits.get)
Retrieve organizational unit (orgunits.get)
Parameters
- $customerId
- Immutable ID of the G Suite account
- $orgUnitPath
- Full path of the organizational unit or its ID
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_OrgUnit
|
#
insert( string $customerId, Google_Service_Directory_OrgUnit $postBody, array $optParams = array() )
Add organizational unit (orgunits.insert)
Add organizational unit (orgunits.insert)
Parameters
- $customerId
- Immutable ID of the G Suite account
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_OrgUnits
|
#
listOrgunits( string $customerId, array $optParams = array() )
Retrieve all organizational units (orgunits.listOrgunits)
Retrieve all organizational units (orgunits.listOrgunits)
Parameters
- $customerId
- Immutable ID of the G Suite account
- $optParams
- Optional parameters.
Returns
Opt_param
string orgUnitPath the URL-encoded organizational unit's path or its ID
string type Whether to return all sub-organizations or just immediate children
|
public
Google_Service_Directory_OrgUnit
|
#
patch( string $customerId, string $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, array $optParams = array() )
Update organizational unit. This method supports patch semantics.
(orgunits.patch)
Update organizational unit. This method supports patch semantics.
(orgunits.patch)
Parameters
- $customerId
- Immutable ID of the G Suite account
- $orgUnitPath
- Full path of the organizational unit or its ID
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_OrgUnit
|
#
update( string $customerId, string $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, array $optParams = array() )
Update organizational unit (orgunits.update)
Update organizational unit (orgunits.update)
Parameters
- $customerId
- Immutable ID of the G Suite account
- $orgUnitPath
- Full path of the organizational unit or its ID
- $postBody
- $optParams
- Optional parameters.
Returns
|