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(String groupKey,
String memberKey)
Removes a member from a group.
|
Directory.Members.Get |
get(String groupKey,
String memberKey)
Retrieves a group member's properties.
|
Directory.Members.HasMember |
hasMember(String groupKey,
String memberKey)
Checks whether the given user is a member of the group.
|
Directory.Members.Insert |
insert(String groupKey,
Member content)
Adds a user to the specified group.
|
Directory.Members.List |
list(String groupKey)
Retrieves a paginated list of all members in a group.
|
Directory.Members.Patch |
patch(String groupKey,
String memberKey,
Member content)
Updates the membership properties of a user in the specified group.
|
Directory.Members.Update |
update(String groupKey,
String memberKey,
Member content)
Updates the 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
- 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 group member in the API request. A group member can be a user or another group. The
value can be the member's (group or user) primary email address, alias, or unique ID.IOException
public Directory.Members.Get get(String groupKey, String memberKey) 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.memberKey
- Identifies the group member in the API request. A group member can be a user or another group. The
value can be the member's (group or user) primary email address, alias, or unique ID.IOException
public Directory.Members.HasMember hasMember(String groupKey, String memberKey) 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.memberKey
- Identifies the user member in the API request. The value can be the user's primary email address,
alias, or unique ID.IOException
public Directory.Members.Insert insert(String groupKey, Member 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 Member
IOException
public Directory.Members.List list(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.IOException
public Directory.Members.Patch patch(String groupKey, String memberKey, Member 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.memberKey
- Identifies the group member in the API request. A group member can be a user or another group. The
value can be the member's (group or user) primary email address, alias, or unique ID.content
- the Member
IOException
public Directory.Members.Update update(String groupKey, String memberKey, Member 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.memberKey
- Identifies the group member in the API request. A group member can be a user or another group. The
value can be the member's (group or user) primary email address, alias, or unique ID.content
- the Member
IOException
Copyright © 2011–2021 Google. All rights reserved.