public class Directory.Groups
extends java.lang.Object
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 |
---|
Groups() |
Modifier and Type | Method and Description |
---|---|
Directory.Groups.Aliases |
aliases()
An accessor for creating requests from the Aliases collection.
|
Directory.Groups.Delete |
delete(java.lang.String groupKey)
Delete Group
Create a request for the method "groups.delete".
|
Directory.Groups.Get |
get(java.lang.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 of a domain or of a user given a userKey (paginated)
Create a request for the method "groups.list".
|
Directory.Groups.Patch |
patch(java.lang.String groupKey,
Group content)
Update Group.
|
Directory.Groups.Update |
update(java.lang.String groupKey,
Group content)
Update Group
Create a request for the method "groups.update".
|
public Directory.Groups.Delete delete(java.lang.String groupKey) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.groupKey
- Email or immutable ID of the groupjava.io.IOException
public Directory.Groups.Get get(java.lang.String groupKey) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.groupKey
- Email or immutable ID of the groupjava.io.IOException
public Directory.Groups.Insert insert(Group content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Group
java.io.IOException
public Directory.Groups.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.java.io.IOException
public Directory.Groups.Patch patch(java.lang.String groupKey, Group content) throws java.io.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 Group
java.io.IOException
public Directory.Groups.Update update(java.lang.String groupKey, Group content) throws java.io.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 Group
java.io.IOException
public Directory.Groups.Aliases aliases()
The typical use is:
Directory admin = new Directory(...);
Directory.Aliases.List request = admin.aliases().list(parameters ...)