Googleapis Pubsub
Google Cloud Pub/Sub API is a Google Cloud messaging service for publishing and subscribing to event streams between applications.
- Base URL:
https://pubsub.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
pubsub_projects_subscriptions_list— GET /v1beta2/{project}/subscriptions — Lists matching subscriptions.pubsub_projects_topics_list— GET /v1beta2/{project}/topics — Lists matching topics.pubsub_projects_topics_getiampolicy— GET /v1beta2/{resource}:getIamPolicy — Gets the access control policy for a resource. Returns an empty policy if the repubsub_projects_subscriptions_get— GET /v1beta2/{subscription} — Gets the configuration details of a subscription.pubsub_projects_topics_get— GET /v1beta2/{topic} — Gets the configuration of a topic.pubsub_projects_topics_subscriptions_list— GET /v1beta2/{topic}/subscriptions — Lists the name of the subscriptions for this topic.
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: pubsub_projects_subscriptions_list
# (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: pubsub_projects_subscriptions_list, pubsub_projects_topics_list, pubsub_projects_topics_getiampolicy, pubsub_projects_subscriptions_get, pubsub_projects_topics_get, pubsub_projects_topics_subscriptions_list |
project |
string | no | — | Path parameter project (required by some operations). |
resource |
string | no | — | Path parameter resource (required by some operations). |
subscription |
string | no | — | Path parameter subscription (required by some operations). |
topic |
string | no | — | Path parameter topic (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |