public class Directory.Groups.Aliases extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Groups.Aliases.Delete |
class |
Directory.Groups.Aliases.Insert |
class |
Directory.Groups.Aliases.List |
| Constructor and Description |
|---|
Aliases() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Groups.Aliases.Delete |
delete(String groupKey,
String alias)
Removes an alias.
|
Directory.Groups.Aliases.Insert |
insert(String groupKey,
Alias content)
Adds an alias for the group.
|
Directory.Groups.Aliases.List |
list(String groupKey)
Lists all aliases for a group.
|
public Directory.Groups.Aliases.Delete delete(String groupKey, String alias) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or
the unique group ID.alias - The alias to be removedIOExceptionpublic Directory.Groups.Aliases.Insert insert(String groupKey, Alias content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or
the unique group ID.content - the AliasIOExceptionpublic Directory.Groups.Aliases.List list(String groupKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or
the unique group ID.IOExceptionCopyright © 2011–2021 Google. All rights reserved.