class Directory extends Service (View source)

Service definition for Directory (directory_v1).

Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.

For more information about this service, see the API Documentation

Constants

ADMIN_CHROME_PRINTERS

See, add, edit, and permanently delete the printers that your organization can use with Chrome.

ADMIN_CHROME_PRINTERS_READONLY

See the printers that your organization can use with Chrome.

ADMIN_DIRECTORY_CUSTOMER

View and manage customer related information.

ADMIN_DIRECTORY_CUSTOMER_READONLY

View customer related information.

ADMIN_DIRECTORY_DEVICE_CHROMEOS

View and manage your Chrome OS devices' metadata.

ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY

View your Chrome OS devices' metadata.

ADMIN_DIRECTORY_DEVICE_MOBILE

View and manage your mobile devices' metadata.

ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION

Manage your mobile devices by performing administrative tasks.

ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY

View your mobile devices' metadata.

ADMIN_DIRECTORY_DOMAIN

View and manage the provisioning of domains for your customers.

ADMIN_DIRECTORY_DOMAIN_READONLY

View domains related to your customers.

ADMIN_DIRECTORY_GROUP

View and manage the provisioning of groups on your domain.

ADMIN_DIRECTORY_GROUP_MEMBER

View and manage group subscriptions on your domain.

ADMIN_DIRECTORY_GROUP_MEMBER_READONLY

View group subscriptions on your domain.

ADMIN_DIRECTORY_GROUP_READONLY

View groups on your domain.

ADMIN_DIRECTORY_ORGUNIT

View and manage organization units on your domain.

ADMIN_DIRECTORY_ORGUNIT_READONLY

View organization units on your domain.

ADMIN_DIRECTORY_RESOURCE_CALENDAR

View and manage the provisioning of calendar resources on your domain.

ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY

View calendar resources on your domain.

ADMIN_DIRECTORY_ROLEMANAGEMENT

Manage delegated admin roles for your domain.

ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY

View delegated admin roles for your domain.

ADMIN_DIRECTORY_USER

View and manage the provisioning of users on your domain.

ADMIN_DIRECTORY_USER_ALIAS

View and manage user aliases on your domain.

ADMIN_DIRECTORY_USER_ALIAS_READONLY

View user aliases on your domain.

ADMIN_DIRECTORY_USER_READONLY

See info about users on your domain.

ADMIN_DIRECTORY_USER_SECURITY

Manage data access permissions for users on your domain.

ADMIN_DIRECTORY_USERSCHEMA

View and manage the provisioning of user schemas on your domain.

ADMIN_DIRECTORY_USERSCHEMA_READONLY

View user schemas on your domain.

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

Properties

$asps
$channels
$chromeosdevices
$customer_devices_chromeos
$customer_devices_chromeos_commands
$customers
$customers_chrome_printServers
$customers_chrome_printers
$domainAliases
$domains
$groups
$groups_aliases
$members
$mobiledevices
$orgunits
$privileges
$resources_buildings
$resources_calendars
$resources_features
$roleAssignments
$roles
$schemas
$tokens
$twoStepVerification
$users
$users_aliases
$users_photos
$verificationCodes
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Directory service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Directory service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.