public class Directory.Members
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Directory.Members.Delete |
class |
Directory.Members.Get |
class |
Directory.Members.HasMember |
class |
Directory.Members.Insert |
class |
Directory.Members.List |
class |
Directory.Members.Patch |
class |
Directory.Members.Update |
Constructor and Description |
---|
Members() |
Modifier and Type | Method and Description |
---|---|
Directory.Members.Delete |
delete(java.lang.String groupKey,
java.lang.String memberKey)
Remove membership.
|
Directory.Members.Get |
get(java.lang.String groupKey,
java.lang.String memberKey)
Retrieve Group Member
Create a request for the method "members.get".
|
Directory.Members.HasMember |
hasMember(java.lang.String groupKey,
java.lang.String memberKey)
Checks whether the given user is a member of the group.
|
Directory.Members.Insert |
insert(java.lang.String groupKey,
Member content)
Add user to the specified group.
|
Directory.Members.List |
list(java.lang.String groupKey)
Retrieve all members in a group (paginated)
Create a request for the method "members.list".
|
Directory.Members.Patch |
patch(java.lang.String groupKey,
java.lang.String memberKey,
Member content)
Update membership of a user in the specified group.
|
Directory.Members.Update |
update(java.lang.String groupKey,
java.lang.String memberKey,
Member content)
Update membership of a user in the specified group.
|
public Directory.Members.Delete delete(java.lang.String groupKey, java.lang.String memberKey) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.groupKey
- Email or immutable ID of the groupmemberKey
- Email or immutable ID of the memberjava.io.IOException
public Directory.Members.Get get(java.lang.String groupKey, java.lang.String memberKey) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.groupKey
- Email or immutable ID of the groupmemberKey
- Email or immutable ID of the memberjava.io.IOException
public Directory.Members.HasMember hasMember(java.lang.String groupKey, java.lang.String memberKey) throws java.io.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.memberKey
- Identifies the user member in the API request. The value can be the user's primary email address,
alias, or unique ID.java.io.IOException
public Directory.Members.Insert insert(java.lang.String groupKey, Member content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.groupKey
- Email or immutable ID of the groupcontent
- the Member
java.io.IOException
public Directory.Members.List list(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.Members.Patch patch(java.lang.String groupKey, java.lang.String memberKey, Member 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 objectmemberKey
- Email or immutable ID of the user. If ID, it should match with id of member objectcontent
- the Member
java.io.IOException
public Directory.Members.Update update(java.lang.String groupKey, java.lang.String memberKey, Member 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 objectmemberKey
- Email or immutable ID of the user. If ID, it should match with id of member objectcontent
- the Member
java.io.IOException