Googleapis Chat
Google Chat API lets applications build bots, manage spaces, and interact with messages in Google Chat.
- Base URL:
https://chat.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
chat_media_download— GET /v1/media/{resourceName} — Downloads media. Download is supported on the URI/v1/media/{+name}?alt=media.chat_spaces_list— GET /v1/spaces — Lists spaces the caller is a member of. Requires [authentication](https://develochat_spaces_messages_attachments_get— GET /v1/{name} — Gets the metadata of a message attachment. The attachment data is fetched usingchat_spaces_members_list— GET /v1/{parent}/members — Lists memberships in a space. Requires [authentication](https://developers.googlchat_spaces_messages_update— PUT /v1/{name} — Updates a message. There's a difference betweenpatchandupdatemethods. Thchat_spaces_messages_delete— DELETE /v1/{name} — Deletes a message. For example usage, see [Delete a message](https://developers.
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: chat_media_download
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: chat_media_download, chat_spaces_list, chat_spaces_messages_attachments_get, chat_spaces_members_list, chat_spaces_messages_update, chat_spaces_messages_delete |
name |
string | no | — | Path parameter name (required by some operations). |
parent |
string | no | — | Path parameter parent (required by some operations). |
resourceName |
string | no | — | Path parameter resourceName (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |