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.SignOut |
class |
Directory.Users.Undelete |
class |
Directory.Users.Update |
class |
Directory.Users.Watch |
Constructor and Description |
---|
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)
Deletes a user.
|
Directory.Users.Get |
get(String userKey)
Retrieves a user.
|
Directory.Users.Insert |
insert(User content)
Creates a user.
|
Directory.Users.List |
list()
Retrieves a paginated list of either deleted users or all users in a domain.
|
Directory.Users.MakeAdmin |
makeAdmin(String userKey,
UserMakeAdmin content)
Makes a user a super administrator.
|
Directory.Users.Patch |
patch(String userKey,
User content)
Updates a user using patch semantics.
|
Directory.Users.Photos |
photos()
An accessor for creating requests from the Photos collection.
|
Directory.Users.SignOut |
signOut(String userKey)
Sign a user out of all web and device sessions and reset their sign-in cookies.
|
Directory.Users.Undelete |
undelete(String userKey,
UserUndelete content)
Undeletes a deleted user.
|
Directory.Users.Update |
update(String userKey,
User content)
Updates a user.
|
Directory.Users.Watch |
watch(Channel content)
Watch for changes in users list
Create a request for the method "users.watch".
|
public Directory.Users.Delete delete(String userKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.IOException
public Directory.Users.Get get(String userKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.IOException
public Directory.Users.Insert insert(User content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the User
IOException
public Directory.Users.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public Directory.Users.MakeAdmin makeAdmin(String userKey, UserMakeAdmin content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.content
- the UserMakeAdmin
IOException
public Directory.Users.Patch patch(String userKey, User content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.content
- the User
IOException
public Directory.Users.SignOut signOut(String userKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the target user in the API request. The value can be the user's primary email address,
alias email address, or unique user ID.IOException
public 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 UserUndelete
IOException
public Directory.Users.Update update(String userKey, User content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.content
- the User
IOException
public Directory.Users.Watch watch(Channel content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Channel
IOException
public 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 ...)
Copyright © 2011–2021 Google. All rights reserved.