public class Directory.Users.Aliases extends Object
Modifier and Type | Class and Description |
---|---|
class |
Directory.Users.Aliases.Delete |
class |
Directory.Users.Aliases.Insert |
class |
Directory.Users.Aliases.List |
class |
Directory.Users.Aliases.Watch |
Constructor and Description |
---|
Aliases() |
Modifier and Type | Method and Description |
---|---|
Directory.Users.Aliases.Delete |
delete(String userKey,
String alias)
Removes an alias.
|
Directory.Users.Aliases.Insert |
insert(String userKey,
Alias content)
Adds an alias.
|
Directory.Users.Aliases.List |
list(String userKey)
Lists all aliases for a user.
|
Directory.Users.Aliases.Watch |
watch(String userKey,
Channel content)
Watch for changes in users list.
|
public Directory.Users.Aliases.Delete delete(String userKey, String alias) 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.alias
- The alias to be removed.IOException
public Directory.Users.Aliases.Insert insert(String userKey, Alias 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 Alias
IOException
public Directory.Users.Aliases.List list(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.Aliases.Watch watch(String userKey, Channel content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Email or immutable ID of the usercontent
- the Channel
IOException
Copyright © 2011–2021 Google. All rights reserved.