Overview

Classes

  • Google_Service_Directory
  • Google_Service_Directory_Alias
  • Google_Service_Directory_Aliases
  • Google_Service_Directory_Asp
  • Google_Service_Directory_Asps
  • Google_Service_Directory_Asps_Resource
  • Google_Service_Directory_Building
  • Google_Service_Directory_BuildingAddress
  • Google_Service_Directory_BuildingCoordinates
  • Google_Service_Directory_Buildings
  • Google_Service_Directory_CalendarResource
  • Google_Service_Directory_CalendarResources
  • Google_Service_Directory_Channel
  • Google_Service_Directory_Channels_Resource
  • Google_Service_Directory_ChromeOsDevice
  • Google_Service_Directory_ChromeOsDeviceAction
  • Google_Service_Directory_ChromeOsDeviceActiveTimeRanges
  • Google_Service_Directory_ChromeOsDeviceCpuStatusReports
  • Google_Service_Directory_ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo
  • Google_Service_Directory_ChromeOsDeviceDeviceFiles
  • Google_Service_Directory_ChromeOsDeviceDiskVolumeReports
  • Google_Service_Directory_ChromeOsDeviceDiskVolumeReportsVolumeInfo
  • Google_Service_Directory_ChromeOsDeviceRecentUsers
  • Google_Service_Directory_ChromeOsDevices
  • Google_Service_Directory_Chromeosdevices_Resource
  • Google_Service_Directory_ChromeOsDeviceSystemRamFreeReports
  • Google_Service_Directory_ChromeOsDeviceTpmVersionInfo
  • Google_Service_Directory_ChromeOsMoveDevicesToOu
  • Google_Service_Directory_Customer
  • Google_Service_Directory_CustomerPostalAddress
  • Google_Service_Directory_Customers_Resource
  • Google_Service_Directory_DomainAlias
  • Google_Service_Directory_DomainAliases
  • Google_Service_Directory_DomainAliases_Resource
  • Google_Service_Directory_Domains
  • Google_Service_Directory_Domains2
  • Google_Service_Directory_Domains_Resource
  • Google_Service_Directory_Feature
  • Google_Service_Directory_FeatureInstance
  • Google_Service_Directory_FeatureRename
  • Google_Service_Directory_Features
  • Google_Service_Directory_Group
  • Google_Service_Directory_Groups
  • Google_Service_Directory_Groups_Resource
  • Google_Service_Directory_GroupsAliases_Resource
  • Google_Service_Directory_Member
  • Google_Service_Directory_Members
  • Google_Service_Directory_Members_Resource
  • Google_Service_Directory_MembersHasMember
  • Google_Service_Directory_MobileDevice
  • Google_Service_Directory_MobileDeviceAction
  • Google_Service_Directory_MobileDeviceApplications
  • Google_Service_Directory_MobileDevices
  • Google_Service_Directory_Mobiledevices_Resource
  • Google_Service_Directory_Notification
  • Google_Service_Directory_Notifications
  • Google_Service_Directory_Notifications_Resource
  • Google_Service_Directory_OrgUnit
  • Google_Service_Directory_OrgUnits
  • Google_Service_Directory_Orgunits_Resource
  • Google_Service_Directory_Privilege
  • Google_Service_Directory_Privileges
  • Google_Service_Directory_Privileges_Resource
  • Google_Service_Directory_Resources_Resource
  • Google_Service_Directory_ResourcesBuildings_Resource
  • Google_Service_Directory_ResourcesCalendars_Resource
  • Google_Service_Directory_ResourcesFeatures_Resource
  • Google_Service_Directory_Role
  • Google_Service_Directory_RoleAssignment
  • Google_Service_Directory_RoleAssignments
  • Google_Service_Directory_RoleAssignments_Resource
  • Google_Service_Directory_RoleRolePrivileges
  • Google_Service_Directory_Roles
  • Google_Service_Directory_Roles_Resource
  • Google_Service_Directory_Schema
  • Google_Service_Directory_SchemaFieldSpec
  • Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec
  • Google_Service_Directory_Schemas
  • Google_Service_Directory_Schemas_Resource
  • Google_Service_Directory_Token
  • Google_Service_Directory_Tokens
  • Google_Service_Directory_Tokens_Resource
  • Google_Service_Directory_User
  • Google_Service_Directory_UserAbout
  • Google_Service_Directory_UserAddress
  • Google_Service_Directory_UserEmail
  • Google_Service_Directory_UserExternalId
  • Google_Service_Directory_UserGender
  • Google_Service_Directory_UserIm
  • Google_Service_Directory_UserKeyword
  • Google_Service_Directory_UserLanguage
  • Google_Service_Directory_UserLocation
  • Google_Service_Directory_UserMakeAdmin
  • Google_Service_Directory_UserName
  • Google_Service_Directory_UserOrganization
  • Google_Service_Directory_UserPhone
  • Google_Service_Directory_UserPhoto
  • Google_Service_Directory_UserPosixAccount
  • Google_Service_Directory_UserRelation
  • Google_Service_Directory_Users
  • Google_Service_Directory_Users_Resource
  • Google_Service_Directory_UsersAliases_Resource
  • Google_Service_Directory_UsersPhotos_Resource
  • Google_Service_Directory_UserSshPublicKey
  • Google_Service_Directory_UserUndelete
  • Google_Service_Directory_UserWebsite
  • Google_Service_Directory_VerificationCode
  • Google_Service_Directory_VerificationCodes
  • Google_Service_Directory_VerificationCodes_Resource
  • Overview
  • Class
  • Tree

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
Extended by 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

Google_Service_Directory_OrgUnit
Google_Service_Directory_OrgUnit
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

Google_Service_Directory_OrgUnit
Google_Service_Directory_OrgUnit
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

Google_Service_Directory_OrgUnits
Google_Service_Directory_OrgUnits

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

Google_Service_Directory_OrgUnit
Google_Service_Directory_OrgUnit
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

Google_Service_Directory_OrgUnit
Google_Service_Directory_OrgUnit
© 2020 Google Inc.
Admin Directory API documentation generated by ApiGen 2.8.0