admin.directory_v1 library Null safety

Admin SDK API - 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, see developers.google.cn/admin-sdk/

Create an instance of DirectoryApi to access these resources:

Classes

Alias
JSON template for Alias object in Directory API.
Aliases
JSON response template to list aliases in Directory API.
Asp
An application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. [...]
Asps
AspsResource
AuxiliaryMessage
Auxiliary message about issues with printers or settings. [...]
BatchCreatePrintersRequest
Request for adding new printers in batch.
BatchCreatePrintersResponse
Response for adding new printers in batch.
BatchDeletePrintersRequest
Request for deleting existing printers in batch.
BatchDeletePrintersResponse
Response for deleting existing printers in batch.
Building
Public API: Resources.buildings
BuildingAddress
Public API: Resources.buildings
BuildingCoordinates
Public API: Resources.buildings
Buildings
Public API: Resources.buildings
CalendarResource
Public API: Resources.calendars
CalendarResources
Public API: Resources.calendars
Channel
An notification channel used to watch for resource changes.
ChannelsResource
ChromeOsDevice
Google Chrome devices run on the Chrome OS. [...]
ChromeOsDeviceAction
ChromeOsDeviceActiveTimeRanges
ChromeOsDeviceCpuInfo
CPU specs for a CPU.
ChromeOsDeviceCpuInfoLogicalCpus
Status of a single logical CPU.
ChromeOsDeviceCpuInfoLogicalCpusCStates
Status of a single C-state. [...]
ChromeOsDeviceCpuStatusReports
ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo
ChromeOsDeviceDeviceFiles
ChromeOsDeviceDiskVolumeReports
ChromeOsDeviceDiskVolumeReportsVolumeInfo
ChromeOsDeviceLastKnownNetwork
Information for an ip address.
ChromeOsDeviceRecentUsers
List of recent device users, in descending order, by last login time.
ChromeOsDevices
ChromeOsDeviceScreenshotFiles
ChromeosdevicesResource
ChromeOsDeviceSystemRamFreeReports
ChromeOsDeviceTpmVersionInfo
Trusted Platform Module (TPM) (Read-only)
ChromeOsMoveDevicesToOu
CreatePrinterRequest
Request for adding a new printer.
Customer
CustomerDevicesChromeosCommandsResource
CustomerDevicesChromeosResource
CustomerDevicesResource
CustomerPostalAddress
CustomerResource
CustomersChromePrintersResource
CustomersChromeResource
CustomersResource
DirectoryApi
Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. [...]
DirectoryChromeosdevicesCommand
Information regarding a command that was issued to a device.
DirectoryChromeosdevicesCommandResult
The result of executing a command.
DirectoryChromeosdevicesIssueCommandRequest
A request for issuing a command.
DirectoryChromeosdevicesIssueCommandResponse
A response for issuing a command.
DomainAlias
DomainAliases
DomainAliasesResource
Domains
Domains2
DomainsResource
FailureInfo
Info about failures
Feature
JSON template for Feature object in Directory API.
FeatureRename
Features
Public API: Resources.features
Group
Google Groups provide your users the ability to send messages to groups of people using the group's email address. [...]
Groups
GroupsAliasesResource
GroupsResource
ListPrinterModelsResponse
Response for listing allowed printer models.
ListPrintersResponse
Response for listing printers.
Member
A Google Groups member can be a user or another group. [...]
Members
MembersHasMember
JSON template for Has Member response in Directory API.
MembersResource
MobileDevice
Google Workspace Mobile Management includes Android, Google Sync, and iOS devices. [...]
MobileDeviceAction
MobileDeviceApplications
MobileDevices
MobiledevicesResource
OrgUnit
Managing your account's organizational units allows you to configure your users' access to services and custom settings. [...]
OrgUnits
OrgunitsResource
Printer
Printer configuration.
PrinterModel
Printer manufacturer and model
Privilege
Privileges
PrivilegesResource
ResourcesBuildingsResource
ResourcesCalendarsResource
ResourcesFeaturesResource
ResourcesResource
Role
RoleAssignment
Defines an assignment of a role.
RoleAssignments
RoleAssignmentsResource
RoleRolePrivileges
Roles
RolesResource
Schema
The type of API resource. [...]
SchemaFieldSpec
You can use schemas to add custom fields to user profiles. [...]
SchemaFieldSpecNumericIndexingSpec
Indexing spec for a numeric field. [...]
Schemas
JSON response template for List Schema operation in Directory API.
SchemasResource
Token
JSON template for token resource in Directory API.
Tokens
JSON response template for List tokens operation in Directory API.
TokensResource
TwoStepVerificationResource
User
The Directory API allows you to create and manage your account's users, user aliases, and user Gmail chat profile photos. [...]
UserCustomProperties
JSON template for a set of custom properties (i.e. all fields in a particular schema)
UserMakeAdmin
UserName
UserPhoto
Users
UsersAliasesResource
UsersPhotosResource
UsersResource
UserUndelete
VerificationCode
The Directory API allows you to view, generate, and invalidate backup verification codes for a user.
VerificationCodes
JSON response template for List verification codes operation in Directory API.
VerificationCodesResource

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.