Actions11
Space → Get All
AI-generatedOverview
This node interacts with the Google Chat API to perform operations related to the 'Space' resource, specifically the 'Get All' operation. It retrieves a list of chat spaces accessible to the user. This is useful for scenarios where you want to fetch all chat spaces for monitoring, reporting, or further automation within Google Chat environments. For example, you might use this node to list all spaces before sending messages or managing memberships.
Use Case Examples
- Retrieve all Google Chat spaces to display in a dashboard.
- Fetch a limited number of spaces for processing or filtering in a workflow.
Properties
| Name | Meaning |
|---|---|
| Return All | Determines whether to return all available spaces or limit the number of results. |
| Limit | Specifies the maximum number of spaces to return when 'Return All' is false. The value is capped at 1000, with a default of 100. |
Output
JSON
spaces- An array of space objects representing the chat spaces retrieved from Google Chat API.
Dependencies
- Requires Google API credentials for authentication to access Google Chat API.
Troubleshooting
- If the node returns fewer spaces than requested, it may be due to server-side limits or permissions.
- Errors related to authentication indicate missing or invalid Google API credentials; ensure proper setup of API key or OAuth token.
- Invalid JSON errors may occur if input parameters expecting JSON are malformed; verify JSON syntax in parameters.
Links
- Google Chat API - List Spaces - Official documentation for listing spaces in Google Chat API.