public class HangoutsChat.Spaces.Members extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
HangoutsChat.Spaces.Members.Create |
class |
HangoutsChat.Spaces.Members.Delete |
class |
HangoutsChat.Spaces.Members.Get |
class |
HangoutsChat.Spaces.Members.List |
| Constructor and Description |
|---|
Members() |
| Modifier and Type | Method and Description |
|---|---|
HangoutsChat.Spaces.Members.Create |
create(String parent,
Membership content)
[Developer Preview](https://developers.google.com/workspace/preview): Creates a human membership
or app membership for the calling app.
|
HangoutsChat.Spaces.Members.Delete |
delete(String name)
[Developer Preview](https://developers.google.com/workspace/preview): Deletes a membership.
|
HangoutsChat.Spaces.Members.Get |
get(String name)
Returns a membership.
|
HangoutsChat.Spaces.Members.List |
list(String parent)
Lists memberships in a space.
|
public HangoutsChat.Spaces.Members.Create create(String parent, Membership content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the space for which to create the membership. Format: spaces/{space}content - the MembershipIOExceptionpublic HangoutsChat.Spaces.Members.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the membership to delete. Chat apps can delete human users' or their own
memberships. Chat apps can't delete other apps' memberships. When deleting a human
membership, requires the `chat.memberships` scope and `spaces/{space}/members/{member}`
format. When deleting an app membership, requires the `chat.memberships.app` scope and
`spaces/{space}/members/app` format. Format: spaces/{space}/members/{member} or
spaces/{space}/members/appIOExceptionpublic HangoutsChat.Spaces.Members.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the membership to retrieve. Format: spaces/{space}/members/{member}IOExceptionpublic HangoutsChat.Spaces.Members.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the space for which to fetch a membership list. Format:
spaces/{space}IOExceptionCopyright © 2011–2023 Google. All rights reserved.