| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Groups.Aliases
The "aliases" collection of methods.
|
class |
Directory.Groups.Delete |
class |
Directory.Groups.Get |
class |
Directory.Groups.Insert |
class |
Directory.Groups.List |
class |
Directory.Groups.Patch |
class |
Directory.Groups.Update |
| Constructor and Description |
|---|
Directory.Groups() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Groups.Aliases |
aliases()
An accessor for creating requests from the Aliases collection.
|
Directory.Groups.Delete |
delete(String groupKey)
Delete Group
Create a request for the method "groups.delete".
|
Directory.Groups.Get |
get(String groupKey)
Retrieve Group
Create a request for the method "groups.get".
|
Directory.Groups.Insert |
insert(Group content)
Create Group
Create a request for the method "groups.insert".
|
Directory.Groups.List |
list()
Retrieve all groups in a domain (paginated)
Create a request for the method "groups.list".
|
Directory.Groups.Patch |
patch(String groupKey,
Group content)
Update Group.
|
Directory.Groups.Update |
update(String groupKey,
Group content)
Update Group
Create a request for the method "groups.update".
|
public Directory.Groups.Delete delete(String groupKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the groupIOExceptionpublic Directory.Groups.Get get(String groupKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the groupIOExceptionpublic Directory.Groups.Insert insert(Group content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the GroupIOExceptionpublic Directory.Groups.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Directory.Groups.Patch patch(String groupKey, Group content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the group. If Id, it should match with id of group objectcontent - the GroupIOExceptionpublic Directory.Groups.Update update(String groupKey, Group content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the group. If Id, it should match with id of group objectcontent - the GroupIOExceptionpublic Directory.Groups.Aliases aliases()
The typical use is:
Directory admin = new Directory(...);Directory.Aliases.List request = admin.aliases().list(parameters ...)