public class HangoutsChat.Spaces extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
HangoutsChat.Spaces.CompleteImport |
class |
HangoutsChat.Spaces.Create |
class |
HangoutsChat.Spaces.Delete |
class |
HangoutsChat.Spaces.FindDirectMessage |
class |
HangoutsChat.Spaces.FindGroupChats |
class |
HangoutsChat.Spaces.Get |
class |
HangoutsChat.Spaces.List |
class |
HangoutsChat.Spaces.Members
The "members" collection of methods.
|
class |
HangoutsChat.Spaces.Messages
The "messages" collection of methods.
|
class |
HangoutsChat.Spaces.Patch |
class |
HangoutsChat.Spaces.Search |
class |
HangoutsChat.Spaces.Setup |
class |
HangoutsChat.Spaces.SpaceEvents
The "spaceEvents" collection of methods.
|
| Constructor and Description |
|---|
Spaces() |
| Modifier and Type | Method and Description |
|---|---|
HangoutsChat.Spaces.CompleteImport |
completeImport(String name,
CompleteImportSpaceRequest content)
Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the
specified space and makes it visible to users.
|
HangoutsChat.Spaces.Create |
create(Space content)
Creates a space.
|
HangoutsChat.Spaces.Delete |
delete(String name)
Deletes a named space.
|
HangoutsChat.Spaces.FindDirectMessage |
findDirectMessage()
Returns the existing direct message with the specified user.
|
HangoutsChat.Spaces.FindGroupChats |
findGroupChats()
[Developer Preview](https://developers.google.com/workspace/preview): Returns all spaces with
`spaceType == GROUP_CHAT`, whose human memberships contain exactly the calling user, and the
users specified in `FindGroupChatsRequest.users`.
|
HangoutsChat.Spaces.Get |
get(String name)
Returns details about a space.
|
HangoutsChat.Spaces.List |
list()
Lists spaces the caller is a member of.
|
HangoutsChat.Spaces.Members |
members()
An accessor for creating requests from the Members collection.
|
HangoutsChat.Spaces.Messages |
messages()
An accessor for creating requests from the Messages collection.
|
HangoutsChat.Spaces.Patch |
patch(String name,
Space content)
Updates a space.
|
HangoutsChat.Spaces.Search |
search()
Returns a list of spaces in a Google Workspace organization based on an administrator's search.
|
HangoutsChat.Spaces.Setup |
setup(SetUpSpaceRequest content)
Creates a space and adds specified users to it.
|
HangoutsChat.Spaces.SpaceEvents |
spaceEvents()
An accessor for creating requests from the SpaceEvents collection.
|
public HangoutsChat.Spaces.CompleteImport completeImport(String name, CompleteImportSpaceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the import mode space. Format: `spaces/{space}`content - the CompleteImportSpaceRequestIOExceptionpublic HangoutsChat.Spaces.Create create(Space content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the SpaceIOExceptionpublic HangoutsChat.Spaces.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the space to delete. Format: `spaces/{space}`IOExceptionpublic HangoutsChat.Spaces.FindDirectMessage findDirectMessage() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic HangoutsChat.Spaces.FindGroupChats findGroupChats() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic HangoutsChat.Spaces.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the space, in the form `spaces/{space}`. Format: `spaces/{space}`IOExceptionpublic HangoutsChat.Spaces.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic HangoutsChat.Spaces.Patch patch(String name, Space content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the
system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list
()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list)
method or from the space URL. For example, if the space URL is
`https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.content - the SpaceIOExceptionpublic HangoutsChat.Spaces.Search search() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic HangoutsChat.Spaces.Setup setup(SetUpSpaceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the SetUpSpaceRequestIOExceptionpublic HangoutsChat.Spaces.Members members()
The typical use is:
HangoutsChat chat = new HangoutsChat(...);HangoutsChat.Members.List request = chat.members().list(parameters ...)
public HangoutsChat.Spaces.Messages messages()
The typical use is:
HangoutsChat chat = new HangoutsChat(...);HangoutsChat.Messages.List request = chat.messages().list(parameters ...)
public HangoutsChat.Spaces.SpaceEvents spaceEvents()
The typical use is:
HangoutsChat chat = new HangoutsChat(...);HangoutsChat.SpaceEvents.List request = chat.spaceEvents().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.