| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Members.Delete |
class |
Directory.Members.Get |
class |
Directory.Members.Insert |
class |
Directory.Members.List |
class |
Directory.Members.Patch |
class |
Directory.Members.Update |
| Constructor and Description |
|---|
Directory.Members() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Members.Delete |
delete(String groupKey,
String memberKey)
Remove membership.
|
Directory.Members.Get |
get(String groupKey,
String memberKey)
Retrieve Group Member
Create a request for the method "members.get".
|
Directory.Members.Insert |
insert(String groupKey,
Member content)
Add user to the specified group.
|
Directory.Members.List |
list(String groupKey)
Retrieve all members in a group (paginated)
Create a request for the method "members.list".
|
Directory.Members.Patch |
patch(String groupKey,
String memberKey,
Member content)
Update membership of a user in the specified group.
|
Directory.Members.Update |
update(String groupKey,
String memberKey,
Member content)
Update membership of a user in the specified group.
|
public Directory.Members.Delete delete(String groupKey, String memberKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the groupmemberKey - Email or immutable Id of the memberIOExceptionpublic Directory.Members.Get get(String groupKey, String memberKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the groupmemberKey - Email or immutable Id of the memberIOExceptionpublic Directory.Members.Insert insert(String groupKey, Member content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the groupcontent - the MemberIOExceptionpublic Directory.Members.List list(String groupKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupKey - Email or immutable Id of the groupIOExceptionpublic Directory.Members.Patch patch(String groupKey, String memberKey, Member 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 objectmemberKey - Email or immutable Id of the user. If Id, it should match with id of member objectcontent - the MemberIOExceptionpublic Directory.Members.Update update(String groupKey, String memberKey, Member 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 objectmemberKey - Email or immutable Id of the user. If Id, it should match with id of member objectcontent - the MemberIOException