public class HangoutsChat.Spaces extends Object
| Modifier and Type | Class and Description |
|---|---|
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.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.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.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}`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 - Resource name of the space. Format: `spaces/{space}`content - the SpaceIOExceptionpublic 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 ...)
Copyright © 2011–2023 Google. All rights reserved.