Actions4
- Messages Actions
- Topic Subscriptions Actions
Overview
This node interacts with Google Cloud Pub/Sub to list subscriptions for a specified topic within a Google Cloud project. It is useful for scenarios where you need to retrieve and manage the subscriptions associated with a particular Pub/Sub topic, such as monitoring or automating subscription handling in cloud messaging workflows.
Use Case Examples
- List all subscriptions for a given Pub/Sub topic to monitor active subscribers.
- Retrieve subscription names to automate subscription management or auditing in a Google Cloud project.
Properties
| Name | Meaning |
|---|---|
| Project ID | The Google Cloud project identifier where the Pub/Sub topic resides. |
| Topic | The name of the Google Pub/Sub topic for which to list subscriptions. |
| Additional Fields | Optional parameters to control the listing behavior, including pagination options. |
Output
JSON
subscriptions- An array of subscription names associated with the specified topic.
Dependencies
- Requires Google Cloud API credentials with Pub/Sub access, including client email and private key for authentication.
Troubleshooting
- Ensure valid Google Cloud credentials are provided; missing or invalid credentials will cause authentication errors.
- Verify that the specified project ID and topic name exist and are accessible with the provided credentials.
- Pagination parameters (Page Size and Page Token) must be used correctly to avoid incomplete or repeated results.
Links
- Google Cloud Pub/Sub List Subscriptions API - Official documentation for listing subscriptions of a Pub/Sub topic.
