| 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(String groupKey)
Deletes a group.
|
Directory.Groups.Get |
get(String groupKey)
Retrieves a group's properties.
|
Directory.Groups.Insert |
insert(Group content)
Creates a group.
|
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(String groupKey,
Group content)
Updates a group's properties.
|
Directory.Groups.Update |
update(String groupKey,
Group content)
Updates a group's properties.
|
public Directory.Groups.Delete delete(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.IOExceptionpublic Directory.Groups.Get get(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.IOExceptionpublic 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 - 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 GroupIOExceptionpublic Directory.Groups.Update update(String groupKey, Group 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 GroupIOExceptionpublic Directory.Groups.Aliases aliases()
The typical use is:
Directory admin = new Directory(...);Directory.Aliases.List request = admin.aliases().list(parameters ...)
Copyright © 2011–2021 Google. All rights reserved.