Documentation

Google_Service_Directory extends Google_Service
in package

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

Tags
author

Google, Inc.

Table of Contents

ADMIN_DIRECTORY_CUSTOMER  = "https://www.googleapis.com/auth/admin.directory.customer"
View and manage customer related information.
ADMIN_DIRECTORY_CUSTOMER_READONLY  = "https://www.googleapis.com/auth/admin.directory.customer.readonly"
View customer related information.
ADMIN_DIRECTORY_DEVICE_CHROMEOS  = "https://www.googleapis.com/auth/admin.directory.device.chromeos"
View and manage your Chrome OS devices' metadata.
ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY  = "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"
View your Chrome OS devices' metadata.
ADMIN_DIRECTORY_DEVICE_MOBILE  = "https://www.googleapis.com/auth/admin.directory.device.mobile"
View and manage your mobile devices' metadata.
ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION  = "https://www.googleapis.com/auth/admin.directory.device.mobile.action"
Manage your mobile devices by performing administrative tasks.
ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY  = "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"
View your mobile devices' metadata.
ADMIN_DIRECTORY_DOMAIN  = "https://www.googleapis.com/auth/admin.directory.domain"
View and manage the provisioning of domains for your customers.
ADMIN_DIRECTORY_DOMAIN_READONLY  = "https://www.googleapis.com/auth/admin.directory.domain.readonly"
View domains related to your customers.
ADMIN_DIRECTORY_GROUP  = "https://www.googleapis.com/auth/admin.directory.group"
View and manage the provisioning of groups on your domain.
ADMIN_DIRECTORY_GROUP_MEMBER  = "https://www.googleapis.com/auth/admin.directory.group.member"
View and manage group subscriptions on your domain.
ADMIN_DIRECTORY_GROUP_MEMBER_READONLY  = "https://www.googleapis.com/auth/admin.directory.group.member.readonly"
View group subscriptions on your domain.
ADMIN_DIRECTORY_GROUP_READONLY  = "https://www.googleapis.com/auth/admin.directory.group.readonly"
View groups on your domain.
ADMIN_DIRECTORY_ORGUNIT  = "https://www.googleapis.com/auth/admin.directory.orgunit"
View and manage organization units on your domain.
ADMIN_DIRECTORY_ORGUNIT_READONLY  = "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"
View organization units on your domain.
ADMIN_DIRECTORY_RESOURCE_CALENDAR  = "https://www.googleapis.com/auth/admin.directory.resource.calendar"
View and manage the provisioning of calendar resources on your domain.
ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY  = "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"
View calendar resources on your domain.
ADMIN_DIRECTORY_ROLEMANAGEMENT  = "https://www.googleapis.com/auth/admin.directory.rolemanagement"
Manage delegated admin roles for your domain.
ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY  = "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"
View delegated admin roles for your domain.
ADMIN_DIRECTORY_USER  = "https://www.googleapis.com/auth/admin.directory.user"
View and manage the provisioning of users on your domain.
ADMIN_DIRECTORY_USER_ALIAS  = "https://www.googleapis.com/auth/admin.directory.user.alias"
View and manage user aliases on your domain.
ADMIN_DIRECTORY_USER_ALIAS_READONLY  = "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"
View user aliases on your domain.
ADMIN_DIRECTORY_USER_READONLY  = "https://www.googleapis.com/auth/admin.directory.user.readonly"
View users on your domain.
ADMIN_DIRECTORY_USER_SECURITY  = "https://www.googleapis.com/auth/admin.directory.user.security"
Manage data access permissions for users on your domain.
ADMIN_DIRECTORY_USERSCHEMA  = "https://www.googleapis.com/auth/admin.directory.userschema"
View and manage the provisioning of user schemas on your domain.
ADMIN_DIRECTORY_USERSCHEMA_READONLY  = "https://www.googleapis.com/auth/admin.directory.userschema.readonly"
View user schemas on your domain.
CLOUD_PLATFORM  = "https://www.googleapis.com/auth/cloud-platform"
View and manage your data across Google Cloud Platform services.
$asps  : mixed
$availableScopes  : mixed
$batchPath  : mixed
$channels  : mixed
$chromeosdevices  : mixed
$customers  : mixed
$domainAliases  : mixed
$domains  : mixed
$groups  : mixed
$groups_aliases  : mixed
$members  : mixed
$mobiledevices  : mixed
$orgunits  : mixed
$privileges  : mixed
$resource  : mixed
$resources_buildings  : mixed
$resources_calendars  : mixed
$resources_features  : mixed
$roleAssignments  : mixed
$roles  : mixed
$rootUrl  : mixed
$schemas  : mixed
$servicePath  : mixed
$tokens  : mixed
$twoStepVerification  : mixed
$users  : mixed
$users_aliases  : mixed
$users_photos  : mixed
$verificationCodes  : mixed
$version  : mixed
$client  : mixed
__construct()  : mixed
Constructs the internal representation of the Directory service.
createBatch()  : Google_Http_Batch
Create a new HTTP Batch handler for this service
getClient()  : Google_Client
Return the associated Google_Client class.

Constants

ADMIN_DIRECTORY_CUSTOMER

View and manage customer related information.

public mixed ADMIN_DIRECTORY_CUSTOMER = "https://www.googleapis.com/auth/admin.directory.customer"

ADMIN_DIRECTORY_CUSTOMER_READONLY

View customer related information.

public mixed ADMIN_DIRECTORY_CUSTOMER_READONLY = "https://www.googleapis.com/auth/admin.directory.customer.readonly"

ADMIN_DIRECTORY_DEVICE_CHROMEOS

View and manage your Chrome OS devices' metadata.

public mixed ADMIN_DIRECTORY_DEVICE_CHROMEOS = "https://www.googleapis.com/auth/admin.directory.device.chromeos"

ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY

View your Chrome OS devices' metadata.

public mixed ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"

ADMIN_DIRECTORY_DEVICE_MOBILE

View and manage your mobile devices' metadata.

public mixed ADMIN_DIRECTORY_DEVICE_MOBILE = "https://www.googleapis.com/auth/admin.directory.device.mobile"

ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION

Manage your mobile devices by performing administrative tasks.

public mixed ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = "https://www.googleapis.com/auth/admin.directory.device.mobile.action"

ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY

View your mobile devices' metadata.

public mixed ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"

ADMIN_DIRECTORY_DOMAIN

View and manage the provisioning of domains for your customers.

public mixed ADMIN_DIRECTORY_DOMAIN = "https://www.googleapis.com/auth/admin.directory.domain"

ADMIN_DIRECTORY_DOMAIN_READONLY

View domains related to your customers.

public mixed ADMIN_DIRECTORY_DOMAIN_READONLY = "https://www.googleapis.com/auth/admin.directory.domain.readonly"

ADMIN_DIRECTORY_GROUP

View and manage the provisioning of groups on your domain.

public mixed ADMIN_DIRECTORY_GROUP = "https://www.googleapis.com/auth/admin.directory.group"

ADMIN_DIRECTORY_GROUP_MEMBER

View and manage group subscriptions on your domain.

public mixed ADMIN_DIRECTORY_GROUP_MEMBER = "https://www.googleapis.com/auth/admin.directory.group.member"

ADMIN_DIRECTORY_GROUP_MEMBER_READONLY

View group subscriptions on your domain.

public mixed ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = "https://www.googleapis.com/auth/admin.directory.group.member.readonly"

ADMIN_DIRECTORY_GROUP_READONLY

View groups on your domain.

public mixed ADMIN_DIRECTORY_GROUP_READONLY = "https://www.googleapis.com/auth/admin.directory.group.readonly"

ADMIN_DIRECTORY_ORGUNIT

View and manage organization units on your domain.

public mixed ADMIN_DIRECTORY_ORGUNIT = "https://www.googleapis.com/auth/admin.directory.orgunit"

ADMIN_DIRECTORY_ORGUNIT_READONLY

View organization units on your domain.

public mixed ADMIN_DIRECTORY_ORGUNIT_READONLY = "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"

ADMIN_DIRECTORY_RESOURCE_CALENDAR

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

public mixed ADMIN_DIRECTORY_RESOURCE_CALENDAR = "https://www.googleapis.com/auth/admin.directory.resource.calendar"

ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY

View calendar resources on your domain.

public mixed ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY = "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"

ADMIN_DIRECTORY_ROLEMANAGEMENT

Manage delegated admin roles for your domain.

public mixed ADMIN_DIRECTORY_ROLEMANAGEMENT = "https://www.googleapis.com/auth/admin.directory.rolemanagement"

ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY

View delegated admin roles for your domain.

public mixed ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY = "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"

ADMIN_DIRECTORY_USER

View and manage the provisioning of users on your domain.

public mixed ADMIN_DIRECTORY_USER = "https://www.googleapis.com/auth/admin.directory.user"

ADMIN_DIRECTORY_USER_ALIAS

View and manage user aliases on your domain.

public mixed ADMIN_DIRECTORY_USER_ALIAS = "https://www.googleapis.com/auth/admin.directory.user.alias"

ADMIN_DIRECTORY_USER_ALIAS_READONLY

View user aliases on your domain.

public mixed ADMIN_DIRECTORY_USER_ALIAS_READONLY = "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"

ADMIN_DIRECTORY_USER_READONLY

View users on your domain.

public mixed ADMIN_DIRECTORY_USER_READONLY = "https://www.googleapis.com/auth/admin.directory.user.readonly"

ADMIN_DIRECTORY_USER_SECURITY

Manage data access permissions for users on your domain.

public mixed ADMIN_DIRECTORY_USER_SECURITY = "https://www.googleapis.com/auth/admin.directory.user.security"

ADMIN_DIRECTORY_USERSCHEMA

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

public mixed ADMIN_DIRECTORY_USERSCHEMA = "https://www.googleapis.com/auth/admin.directory.userschema"

ADMIN_DIRECTORY_USERSCHEMA_READONLY

View user schemas on your domain.

public mixed ADMIN_DIRECTORY_USERSCHEMA_READONLY = "https://www.googleapis.com/auth/admin.directory.userschema.readonly"

CLOUD_PLATFORM

View and manage your data across Google Cloud Platform services.

public mixed CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"

Properties

$availableScopes

public mixed $availableScopes

$chromeosdevices

public mixed $chromeosdevices

$groups_aliases

public mixed $groups_aliases

$resources_buildings

public mixed $resources_buildings

$resources_calendars

public mixed $resources_calendars

$resources_features

public mixed $resources_features

$roleAssignments

public mixed $roleAssignments

$servicePath

public mixed $servicePath

$twoStepVerification

public mixed $twoStepVerification

$verificationCodes

public mixed $verificationCodes

Methods

__construct()

Constructs the internal representation of the Directory service.

public __construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
$client : Google_Client

The client used to deliver requests.

$rootUrl : string = null

The root URL used for requests to the service.

Return values
mixed

Search results