Spaces

Spaces

An instance of this class is created automatically when the code accesses the Spaces property. The documentation of the methods are available automatically. See example.

Constructor

new Spaces()

Source:
Example
const Chat = ChatService('<>', '<>');
Chat.Spaces.list();  // already created!

Methods

get(name) → {Object}

Returns a space. Returns an instance of space, or else a json with error property. <Reference>

Parameters:
Name Type Description
name String

Required. Resource name of the space, in the form "spaces/*".

Source:

list(qpopt) → {Object}

Lists spaces the caller is a member of. Returns reponse body, or else a json with error property. <Reference>

Parameters:
Name Type Attributes Default Description
qp Object <optional>
{}

Query parameters

Properties
Name Type Attributes Description
pageSize Number <optional>

Number of maximum number of results returned

pageToken String <optional>

page token, from previous call nextPageToken, if necessary

Source: