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.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.Setup |
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/chat/api/guides/import-data) for the
specified space and makes it visible to users.
|
HangoutsChat.Spaces.Create |
create(Space content)
Creates a named 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.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.Setup |
setup(SetUpSpaceRequest content)
Creates a space and adds specified users to it.
|
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 CompleteImportSpaceRequest
IOException
public HangoutsChat.Spaces.Create create(Space content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Space
IOException
public 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}`IOException
public HangoutsChat.Spaces.FindDirectMessage findDirectMessage() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public 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". Format: `spaces/{space}`IOException
public HangoutsChat.Spaces.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public HangoutsChat.Spaces.Patch patch(String name, Space content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Resource name of the space. Format: `spaces/{space}`content
- the Space
IOException
public HangoutsChat.Spaces.Setup setup(SetUpSpaceRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the SetUpSpaceRequest
IOException
public 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 ...)
Copyright © 2011–2024 Google. All rights reserved.