spaces
Overview
Name | spaces |
Type | Resource |
Id | googleworkspace.chat.spaces |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Resource name of the space. Format: spaces/{space} |
displayName | string | The space's display name. Required when creating a space. For direct messages, this field may be empty. |
singleUserBotDm | boolean | Optional. Whether the space is a DM between a Chat app and a single human. |
spaceDetails | object | Details about the space including description and rules. |
spaceThreadingState | string | Output only. The threading state in the Chat space. |
threaded | boolean | Output only. Deprecated: Use spaceThreadingState instead. Whether messages are threaded in this space. |
type | string | Output only. Deprecated: Use singleUserBotDm or spaceType (developer preview) instead. The type of a space. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | spacesId | Returns a space. Requires authentication. Fully supports service account authentication. Supports user authentication as part of the Google Workspace Developer Preview Program, which grants early access to certain features. User authentication requires the chat.spaces or chat.spaces.readonly authorization scope. |
list | SELECT | Lists spaces the caller is a member of. Requires authentication. Fully supports service account authentication. Supports user authentication as part of the Google Workspace Developer Preview Program, which grants early access to certain features. User authentication requires the chat.spaces or chat.spaces.readonly authorization scope. Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. |