Package | Description |
---|---|
com.google.api.services.directory | |
com.google.api.services.directory.model |
Modifier and Type | Method and Description |
---|---|
Directory.Users.Insert |
Directory.Users.insert(User content)
Creates a user.
|
Directory.Users.Patch |
Directory.Users.patch(String userKey,
User content)
Updates a user using patch semantics.
|
Directory.Users.Update |
Directory.Users.update(String userKey,
User content)
Updates a user.
|
Constructor and Description |
---|
Insert(User content)
Creates a user.
|
Patch(String userKey,
User content)
Updates a user using patch semantics.
|
Update(String userKey,
User content)
Updates a user.
|
Modifier and Type | Method and Description |
---|---|
User |
User.clone() |
User |
User.set(String fieldName,
Object value) |
User |
User.setAddresses(Object addresses)
A list of the user's addresses.
|
User |
User.setAgreedToTerms(Boolean agreedToTerms)
Output only.
|
User |
User.setAliases(List<String> aliases)
Output only.
|
User |
User.setArchived(Boolean archived)
Indicates if user is archived.
|
User |
User.setChangePasswordAtNextLogin(Boolean changePasswordAtNextLogin)
Indicates if the user is forced to change their password at next login.
|
User |
User.setCreationTime(DateTime creationTime)
User's G Suite account creation time.
|
User |
User.setCustomerId(String customerId)
Output only.
|
User |
User.setCustomSchemas(Map<String,Map<String,Object>> customSchemas)
Custom fields of the user.
|
User |
User.setDeletionTime(DateTime deletionTime) |
User |
User.setEmails(Object emails)
A list of the user's email addresses.
|
User |
User.setEtag(String etag)
Output only.
|
User |
User.setExternalIds(Object externalIds)
A list of external IDs for the user, such as an employee or network ID.
|
User |
User.setGender(Object gender)
The user's gender.
|
User |
User.setHashFunction(String hashFunction)
Stores the hash format of the password property.
|
User |
User.setId(String id)
The unique ID for the user.
|
User |
User.setIms(Object ims)
The user's Instant Messenger (IM) accounts.
|
User |
User.setIncludeInGlobalAddressList(Boolean includeInGlobalAddressList)
Indicates if the user's profile is visible in the Google Workspace global address list when the
contact sharing feature is enabled for the domain.
|
User |
User.setIpWhitelisted(Boolean ipWhitelisted)
If `true`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752).
|
User |
User.setIsAdmin(Boolean isAdmin)
Output only.
|
User |
User.setIsDelegatedAdmin(Boolean isDelegatedAdmin)
Output only.
|
User |
User.setIsEnforcedIn2Sv(Boolean isEnforcedIn2Sv)
Output only.
|
User |
User.setIsEnrolledIn2Sv(Boolean isEnrolledIn2Sv)
Output only.
|
User |
User.setIsMailboxSetup(Boolean isMailboxSetup)
Output only.
|
User |
User.setKeywords(Object keywords)
The user's keywords.
|
User |
User.setKind(String kind)
Output only.
|
User |
User.setLanguages(Object languages)
The user's languages.
|
User |
User.setLastLoginTime(DateTime lastLoginTime)
User's last login time.
|
User |
User.setLocations(Object locations)
The user's locations.
|
User |
User.setName(UserName name)
Holds the given and family names of the user, and the read-only `fullName` value.
|
User |
User.setNonEditableAliases(List<String> nonEditableAliases)
Output only.
|
User |
User.setNotes(Object notes)
Notes for the user.
|
User |
User.setOrganizations(Object organizations)
A list of organizations the user belongs to.
|
User |
User.setOrgUnitPath(String orgUnitPath)
The full path of the parent organization associated with the user.
|
User |
User.setPassword(String password)
User's password
|
User |
User.setPhones(Object phones)
A list of the user's phone numbers.
|
User |
User.setPosixAccounts(Object posixAccounts)
A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information
for the user.
|
User |
User.setPrimaryEmail(String primaryEmail)
The user's primary email address.
|
User |
User.setRecoveryEmail(String recoveryEmail)
Recovery email of the user.
|
User |
User.setRecoveryPhone(String recoveryPhone)
Recovery phone of the user.
|
User |
User.setRelations(Object relations)
A list of the user's relationships to other users.
|
User |
User.setSshPublicKeys(Object sshPublicKeys)
A list of SSH public keys.
|
User |
User.setSuspended(Boolean suspended)
Indicates if user is suspended.
|
User |
User.setSuspensionReason(String suspensionReason)
Output only.
|
User |
User.setThumbnailPhotoEtag(String thumbnailPhotoEtag)
Output only.
|
User |
User.setThumbnailPhotoUrl(String thumbnailPhotoUrl)
Output only.
|
User |
User.setWebsites(Object websites)
The user's websites.
|
Modifier and Type | Method and Description |
---|---|
List<User> |
Users.getUsers()
List of user objects.
|
Modifier and Type | Method and Description |
---|---|
Users |
Users.setUsers(List<User> users)
List of user objects.
|
Copyright © 2011–2021 Google. All rights reserved.