public class HangoutsChat.Spaces extends Object
Modifier and Type | Class and Description |
---|---|
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.Webhooks |
Constructor and Description |
---|
Spaces() |
Modifier and Type | Method and Description |
---|---|
HangoutsChat.Spaces.Get |
get(String name)
Returns 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.Webhooks |
webhooks(String parent,
Message content)
Legacy path for creating message.
|
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". Example: spaces/AAAAMpdlehYIOException
public HangoutsChat.Spaces.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public HangoutsChat.Spaces.Webhooks webhooks(String parent, Message content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Space resource name, in the form "spaces". Example: spaces/AAAAMpdlehYcontent
- the Message
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–2021 Google. All rights reserved.