Namespace Google.Apis.Admin.Directory.directory_v1
Classes
AspsResource
The "asps" collection of methods.
AspsResource.DeleteRequest
Deletes an ASP issued by a user.
AspsResource.GetRequest
Gets information about an ASP issued by a user.
AspsResource.ListRequest
Lists the ASPs issued by a user.
ChannelsResource
The "channels" collection of methods.
ChannelsResource.StopRequest
Stops watching resources through this channel.
ChromeosdevicesResource
The "chromeosdevices" collection of methods.
ChromeosdevicesResource.ActionRequest
Use BatchChangeChromeOsDeviceStatus instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. Warning: * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the help center.
ChromeosdevicesResource.GetRequest
Retrieves a Chrome OS device's properties.
ChromeosdevicesResource.ListRequest
Retrieves a paginated list of Chrome OS devices within an account.
ChromeosdevicesResource.MoveDevicesToOuRequest
Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.
ChromeosdevicesResource.PatchRequest
Updates a device's updatable properties, such as annotatedUser
, annotatedLocation
, notes
,
orgUnitPath
, or annotatedAssetId
. This method supports patch
semantics.
ChromeosdevicesResource.UpdateRequest
Updates a device's updatable properties, such as annotatedUser
, annotatedLocation
, notes
,
orgUnitPath
, or annotatedAssetId
.
CustomerResource
The "customer" collection of methods.
CustomerResource.DevicesResource
The "devices" collection of methods.
CustomerResource.DevicesResource.ChromeosResource
The "chromeos" collection of methods.
CustomerResource.DevicesResource.ChromeosResource.BatchChangeStatusRequest
Changes the status of a batch of ChromeOS devices. For more information about changing a ChromeOS device state Repair, repurpose, or retire ChromeOS devices.
CustomerResource.DevicesResource.ChromeosResource.CommandsResource
The "commands" collection of methods.
CustomerResource.DevicesResource.ChromeosResource.CommandsResource.GetRequest
Gets command data a specific command issued to the device.
CustomerResource.DevicesResource.ChromeosResource.IssueCommandRequest
Issues a command for the device to execute.
CustomersResource
The "customers" collection of methods.
CustomersResource.ChromeResource
The "chrome" collection of methods.
CustomersResource.ChromeResource.PrintServersResource
The "printServers" collection of methods.
CustomersResource.ChromeResource.PrintServersResource.BatchCreatePrintServersRequest
Creates multiple print servers.
CustomersResource.ChromeResource.PrintServersResource.BatchDeletePrintServersRequest
Deletes multiple print servers.
CustomersResource.ChromeResource.PrintServersResource.CreateRequest
Creates a print server.
CustomersResource.ChromeResource.PrintServersResource.DeleteRequest
Deletes a print server.
CustomersResource.ChromeResource.PrintServersResource.GetRequest
Returns a print server's configuration.
CustomersResource.ChromeResource.PrintServersResource.ListRequest
Lists print server configurations.
CustomersResource.ChromeResource.PrintServersResource.PatchRequest
Updates a print server's configuration.
CustomersResource.ChromeResource.PrintersResource
The "printers" collection of methods.
CustomersResource.ChromeResource.PrintersResource.BatchCreatePrintersRequest
Creates printers under given Organization Unit.
CustomersResource.ChromeResource.PrintersResource.BatchDeletePrintersRequest
Deletes printers in batch.
CustomersResource.ChromeResource.PrintersResource.CreateRequest
Creates a printer under given Organization Unit.
CustomersResource.ChromeResource.PrintersResource.DeleteRequest
Deletes a Printer
.
CustomersResource.ChromeResource.PrintersResource.GetRequest
Returns a Printer
resource (printer's config).
CustomersResource.ChromeResource.PrintersResource.ListPrinterModelsRequest
Lists the supported printer models.
CustomersResource.ChromeResource.PrintersResource.ListRequest
List printers configs.
CustomersResource.ChromeResource.PrintersResource.PatchRequest
Updates a Printer
resource.
CustomersResource.GetRequest
Retrieves a customer.
CustomersResource.PatchRequest
Patches a customer.
CustomersResource.UpdateRequest
Updates a customer.
DirectoryBaseServiceRequest<TResponse>
A base abstract class for Directory requests.
DirectoryService
The Directory Service.
DirectoryService.Scope
Available OAuth 2.0 scopes for use with the Admin SDK API.
DirectoryService.ScopeConstants
Available OAuth 2.0 scope constants for use with the Admin SDK API.
DomainAliasesResource
The "domainAliases" collection of methods.
DomainAliasesResource.DeleteRequest
Deletes a domain Alias of the customer.
DomainAliasesResource.GetRequest
Retrieves a domain alias of the customer.
DomainAliasesResource.InsertRequest
Inserts a domain alias of the customer.
DomainAliasesResource.ListRequest
Lists the domain aliases of the customer.
DomainsResource
The "domains" collection of methods.
DomainsResource.DeleteRequest
Deletes a domain of the customer.
DomainsResource.GetRequest
Retrieves a domain of the customer.
DomainsResource.InsertRequest
Inserts a domain of the customer.
DomainsResource.ListRequest
Lists the domains of the customer.
GroupsResource
The "groups" collection of methods.
GroupsResource.AliasesResource
The "aliases" collection of methods.
GroupsResource.AliasesResource.DeleteRequest
Removes an alias.
GroupsResource.AliasesResource.InsertRequest
Adds an alias for the group.
GroupsResource.AliasesResource.ListRequest
Lists all aliases for a group.
GroupsResource.DeleteRequest
Deletes a group.
GroupsResource.GetRequest
Retrieves a group's properties.
GroupsResource.InsertRequest
Creates a group.
GroupsResource.ListRequest
Retrieves all groups of a domain or of a user given a userKey (paginated).
GroupsResource.PatchRequest
Updates a group's properties. This method supports patch semantics.
GroupsResource.UpdateRequest
Updates a group's properties.
MembersResource
The "members" collection of methods.
MembersResource.DeleteRequest
Removes a member from a group.
MembersResource.GetRequest
Retrieves a group member's properties.
MembersResource.HasMemberRequest
Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested,
the memberKey
and groupKey
must be entities in the same domain or an Invalid input
error is returned.
To check for nested memberships that include entities outside of the group's domain, use the
checkTransitiveMembership()
method in the Cloud Identity Groups API.
MembersResource.InsertRequest
Adds a user to the specified group.
MembersResource.ListRequest
Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see Troubleshoot error codes.
MembersResource.PatchRequest
Updates the membership properties of a user in the specified group. This method supports patch semantics.
MembersResource.UpdateRequest
Updates the membership of a user in the specified group.
MobiledevicesResource
The "mobiledevices" collection of methods.
MobiledevicesResource.ActionRequest
Takes an action that affects a mobile device. For example, remotely wiping a device.
MobiledevicesResource.DeleteRequest
Removes a mobile device.
MobiledevicesResource.GetRequest
Retrieves a mobile device's properties.
MobiledevicesResource.ListRequest
Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity Devices API instead. This method times out after 60 minutes. For more information, see Troubleshoot error codes.
OrgunitsResource
The "orgunits" collection of methods.
OrgunitsResource.DeleteRequest
Removes an organizational unit.
OrgunitsResource.GetRequest
Retrieves an organizational unit.
OrgunitsResource.InsertRequest
Adds an organizational unit.
OrgunitsResource.ListRequest
Retrieves a list of all organizational units for an account.
OrgunitsResource.PatchRequest
Updates an organizational unit. This method supports patch semantics
OrgunitsResource.UpdateRequest
Updates an organizational unit.
PrivilegesResource
The "privileges" collection of methods.
PrivilegesResource.ListRequest
Retrieves a paginated list of all privileges for a customer.
ResourcesResource
The "resources" collection of methods.
ResourcesResource.BuildingsResource
The "buildings" collection of methods.
ResourcesResource.BuildingsResource.DeleteRequest
Deletes a building.
ResourcesResource.BuildingsResource.GetRequest
Retrieves a building.
ResourcesResource.BuildingsResource.InsertRequest
Inserts a building.
ResourcesResource.BuildingsResource.ListRequest
Retrieves a list of buildings for an account.
ResourcesResource.BuildingsResource.PatchRequest
Patches a building.
ResourcesResource.BuildingsResource.UpdateRequest
Updates a building.
ResourcesResource.CalendarsResource
The "calendars" collection of methods.
ResourcesResource.CalendarsResource.DeleteRequest
Deletes a calendar resource.
ResourcesResource.CalendarsResource.GetRequest
Retrieves a calendar resource.
ResourcesResource.CalendarsResource.InsertRequest
Inserts a calendar resource.
ResourcesResource.CalendarsResource.ListRequest
Retrieves a list of calendar resources for an account.
ResourcesResource.CalendarsResource.PatchRequest
Patches a calendar resource.
ResourcesResource.CalendarsResource.UpdateRequest
Updates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.
ResourcesResource.FeaturesResource
The "features" collection of methods.
ResourcesResource.FeaturesResource.DeleteRequest
Deletes a feature.
ResourcesResource.FeaturesResource.GetRequest
Retrieves a feature.
ResourcesResource.FeaturesResource.InsertRequest
Inserts a feature.
ResourcesResource.FeaturesResource.ListRequest
Retrieves a list of features for an account.
ResourcesResource.FeaturesResource.PatchRequest
Patches a feature.
ResourcesResource.FeaturesResource.RenameRequest
Renames a feature.
ResourcesResource.FeaturesResource.UpdateRequest
Updates a feature.
RoleAssignmentsResource
The "roleAssignments" collection of methods.
RoleAssignmentsResource.DeleteRequest
Deletes a role assignment.
RoleAssignmentsResource.GetRequest
Retrieves a role assignment.
RoleAssignmentsResource.InsertRequest
Creates a role assignment.
RoleAssignmentsResource.ListRequest
Retrieves a paginated list of all roleAssignments.
RolesResource
The "roles" collection of methods.
RolesResource.DeleteRequest
Deletes a role.
RolesResource.GetRequest
Retrieves a role.
RolesResource.InsertRequest
Creates a role.
RolesResource.ListRequest
Retrieves a paginated list of all the roles in a domain.
RolesResource.PatchRequest
Patches a role.
RolesResource.UpdateRequest
Updates a role.
SchemasResource
The "schemas" collection of methods.
SchemasResource.DeleteRequest
Deletes a schema.
SchemasResource.GetRequest
Retrieves a schema.
SchemasResource.InsertRequest
Creates a schema.
SchemasResource.ListRequest
Retrieves all schemas for a customer.
SchemasResource.PatchRequest
Patches a schema.
SchemasResource.UpdateRequest
Updates a schema.
TokensResource
The "tokens" collection of methods.
TokensResource.DeleteRequest
Deletes all access tokens issued by a user for an application.
TokensResource.GetRequest
Gets information about an access token issued by a user.
TokensResource.ListRequest
Returns the set of tokens specified user has issued to 3rd party applications.
TwoStepVerificationResource
The "twoStepVerification" collection of methods.
TwoStepVerificationResource.TurnOffRequest
Turns off 2-Step Verification for user.
UsersResource
The "users" collection of methods.
UsersResource.AliasesResource
The "aliases" collection of methods.
UsersResource.AliasesResource.DeleteRequest
Removes an alias.
UsersResource.AliasesResource.InsertRequest
Adds an alias.
UsersResource.AliasesResource.ListRequest
Lists all aliases for a user.
UsersResource.AliasesResource.WatchRequest
Watches for changes in users list.
UsersResource.DeleteRequest
Deletes a user.
UsersResource.GetRequest
Retrieves a user.
UsersResource.InsertRequest
Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't
fully created due to propagation delay in our backends. Check the error details for the "User creation is
not complete" message to see if this is the case. Retrying the calls after some time can help in this case.
If resolveConflictAccount
is set to true
, a 202
response code means that a conflicting unmanaged
account exists and was invited to join the organization. A 409
response code means that a conflicting
account exists so the user wasn't created based on the handling unmanaged user
accounts option selected.
UsersResource.ListRequest
Retrieves a paginated list of either deleted users or all users in a domain.
UsersResource.MakeAdminRequest
Makes a user a super administrator.
UsersResource.PatchRequest
Updates a user using patch semantics. The update method should be used instead, because it also supports
patch semantics and has better performance. If you're mapping an external identity to a Google identity, use
the update
method instead
of the patch
method. This method is unable to clear fields that contain repeated objects (addresses
,
phones
, etc). Use the update method instead.
UsersResource.PhotosResource
The "photos" collection of methods.
UsersResource.PhotosResource.DeleteRequest
Removes the user's photo.
UsersResource.PhotosResource.GetRequest
Retrieves the user's photo.
UsersResource.PhotosResource.PatchRequest
Adds a photo for the user. This method supports patch semantics.
UsersResource.PhotosResource.UpdateRequest
Adds a photo for the user.
UsersResource.SignOutRequest
Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.
UsersResource.UndeleteRequest
Undeletes a deleted user.
UsersResource.UpdateRequest
Updates a user. This method supports patch semantics, meaning that you only need to include the fields you
wish to update. Fields that are not present in the request will be preserved, and fields set to null
will
be cleared. For repeating fields that contain arrays, individual items in the array can't be patched
piecemeal; they must be supplied in the request body with the desired values for all items. See the user
accounts guide for
more information.
UsersResource.WatchRequest
Watches for changes in users list.
VerificationCodesResource
The "verificationCodes" collection of methods.
VerificationCodesResource.GenerateRequest
Generates new backup verification codes for the user.
VerificationCodesResource.InvalidateRequest
Invalidates the current backup verification codes for the user.
VerificationCodesResource.ListRequest
Returns the current set of valid backup verification codes for the specified user.
Enums
ChromeosdevicesResource.GetRequest.ProjectionEnum
Determines whether the response contains the full list of properties or only a subset.
ChromeosdevicesResource.ListRequest.OrderByEnum
Device property to use for sorting results.
ChromeosdevicesResource.ListRequest.ProjectionEnum
Determines whether the response contains the full list of properties or only a subset.
ChromeosdevicesResource.ListRequest.SortOrderEnum
Whether to return results in ascending or descending order. Must be used with the orderBy
parameter.
ChromeosdevicesResource.PatchRequest.ProjectionEnum
Determines whether the response contains the full list of properties or only a subset.
ChromeosdevicesResource.UpdateRequest.ProjectionEnum
Determines whether the response contains the full list of properties or only a subset.
DirectoryBaseServiceRequest<TResponse>.AltEnum
Data format for response.
DirectoryBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.
GroupsResource.ListRequest.OrderByEnum
Column to use for sorting results
GroupsResource.ListRequest.SortOrderEnum
Whether to return results in ascending or descending order. Only of use when orderBy is also used
MobiledevicesResource.GetRequest.ProjectionEnum
Restrict information returned to a set of selected fields.
MobiledevicesResource.ListRequest.OrderByEnum
Device property to use for sorting results.
MobiledevicesResource.ListRequest.ProjectionEnum
Restrict information returned to a set of selected fields.
MobiledevicesResource.ListRequest.SortOrderEnum
Whether to return results in ascending or descending order. Must be used with the orderBy
parameter.
OrgunitsResource.ListRequest.TypeEnum
Whether to return all sub-organizations or just immediate children.
ResourcesResource.BuildingsResource.InsertRequest.CoordinatesSourceEnum
Source from which Building.coordinates are derived.
ResourcesResource.BuildingsResource.PatchRequest.CoordinatesSourceEnum
Source from which Building.coordinates are derived.
ResourcesResource.BuildingsResource.UpdateRequest.CoordinatesSourceEnum
Source from which Building.coordinates are derived.
UsersResource.AliasesResource.ListRequest.EventEnum
Events to watch for.
UsersResource.AliasesResource.WatchRequest.EventEnum
Events to watch for.
UsersResource.GetRequest.ProjectionEnum
What subset of fields to fetch for this user.
UsersResource.GetRequest.ViewTypeEnum
Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see Retrieve a user as a non-administrator.
UsersResource.ListRequest.EventEnum
Event on which subscription is intended (if subscribing)
UsersResource.ListRequest.OrderByEnum
Property to use for sorting results.
UsersResource.ListRequest.ProjectionEnum
What subset of fields to fetch for this user.
UsersResource.ListRequest.SortOrderEnum
Whether to return results in ascending or descending order, ignoring case.
UsersResource.ListRequest.ViewTypeEnum
Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see Retrieve a user as a non-administrator.
UsersResource.WatchRequest.EventEnum
Events to watch for.
UsersResource.WatchRequest.OrderByEnum
Column to use for sorting results
UsersResource.WatchRequest.ProjectionEnum
What subset of fields to fetch for this user.
UsersResource.WatchRequest.SortOrderEnum
Whether to return results in ascending or descending order.
UsersResource.WatchRequest.ViewTypeEnum
Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see Retrieve a user as a non-administrator.