| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Users.Aliases
The "aliases" collection of methods.
|
class |
Directory.Users.Delete |
class |
Directory.Users.Get |
class |
Directory.Users.Insert |
class |
Directory.Users.List |
class |
Directory.Users.MakeAdmin |
class |
Directory.Users.Patch |
class |
Directory.Users.Photos
The "photos" collection of methods.
|
class |
Directory.Users.Undelete |
class |
Directory.Users.Update |
| Constructor and Description |
|---|
Directory.Users() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Users.Aliases |
aliases()
An accessor for creating requests from the Aliases collection.
|
Directory.Users.Delete |
delete(String userKey)
Delete user
Create a request for the method "users.delete".
|
Directory.Users.Get |
get(String userKey)
retrieve user
Create a request for the method "users.get".
|
Directory.Users.Insert |
insert(User content)
create user.
|
Directory.Users.List |
list()
Retrieve either deleted users or all users in a domain (paginated)
Create a request for the method "users.list".
|
Directory.Users.MakeAdmin |
makeAdmin(String userKey,
UserMakeAdmin content)
change admin status of a user
Create a request for the method "users.makeAdmin".
|
Directory.Users.Patch |
patch(String userKey,
User content)
update user.
|
Directory.Users.Photos |
photos()
An accessor for creating requests from the Photos collection.
|
Directory.Users.Undelete |
undelete(String userKey,
UserUndelete content)
Undelete a deleted user
Create a request for the method "users.undelete".
|
Directory.Users.Update |
update(String userKey,
User content)
update user
Create a request for the method "users.update".
|
public Directory.Users.Delete delete(String userKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the userIOExceptionpublic Directory.Users.Get get(String userKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the userIOExceptionpublic Directory.Users.Insert insert(User content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the UserIOExceptionpublic Directory.Users.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Directory.Users.MakeAdmin makeAdmin(String userKey, UserMakeAdmin content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the user as admincontent - the UserMakeAdminIOExceptionpublic Directory.Users.Patch patch(String userKey, User content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the user. If Id, it should match with id of user objectcontent - the UserIOExceptionpublic Directory.Users.Undelete undelete(String userKey, UserUndelete content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - The immutable id of the usercontent - the UserUndeleteIOExceptionpublic Directory.Users.Update update(String userKey, User content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the user. If Id, it should match with id of user objectcontent - the UserIOExceptionpublic Directory.Users.Aliases aliases()
The typical use is:
Directory admin = new Directory(...);Directory.Aliases.List request = admin.aliases().list(parameters ...)
public Directory.Users.Photos photos()
The typical use is:
Directory admin = new Directory(...);Directory.Photos.List request = admin.photos().list(parameters ...)