Connectors
Messaging & Event Streaming
Google Pub/Sub
Cloud messaging: publish messages to topics and consume from subscriptions
- Signs in with
- Connection details
- Runs on
- Cloud or On-Prem Worker
- Operations
- 46
- Ready-made triggers
- 0
Connect Google Pub/Sub
- In Neblex open Connect › Connections and click New Connection.
- Search for Google Pub/Sub and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
| Field | What to enter |
|---|---|
| Service account key (JSON)RequiredSecret | Paste the full GCP service-account key JSON (project_id, client_email, private_key). |
Use it in a flow
- Open a flow, open the node library and search for Google Pub/Sub.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from Google Pub/Sub without a ready-made trigger: a Live stream trigger with Google Pub/Sub as the stream source starts a run for each message as it arrives (see Streaming triggers).
Operations
46 operations in 9 groups. Each one is a step you can add to a flow.
Messages1
Publish a messagepublish | Publish a message to a topic (data + attributes + optional ordering key). |
Schema access3
Get schema IAM policyget_schema_iam_policy | Get the IAM policy attached to a Pub/Sub schema. | |
Set schema IAM policyset_schema_iam_policy | Replace the IAM policy attached to a Pub/Sub schema. | |
Test schema IAM permissionstest_schema_iam_permissions | Return the requested permissions granted on a Pub/Sub schema. |
Schemas10
Commit a schema revisioncommit_schema | Commit a new revision to an existing schema. | |
Create a schemacreate_schema | Create an AVRO or PROTOCOL BUFFER schema. | |
Delete a schemadelete_schema | Delete a Pub/Sub schema and all revisions. | |
Delete a schema revisiondelete_schema_revision | Delete one immutable schema revision. | |
Get a schemaget_schema | Get a schema in BASIC or FULL view. | |
List schema revisionslist_schema_revisions | List every revision of a schema with explicit pagination and view. | |
List schemaslist_schemas | List project schemas with explicit pagination and view. | |
Roll back a schemarollback_schema | Commit a new schema revision copied from a selected prior revision. | |
Validate a messagevalidate_schema_message | Validate exact text, JSON, or base64 bytes against a stored or ad-hoc schema. | |
Validate a schemavalidate_schema | Validate an AVRO or PROTOCOL BUFFER definition without creating it. |
Snapshot access3
Get snapshot IAM policyget_snapshot_iam_policy | Get the IAM policy attached to a Pub/Sub snapshot. | |
Set snapshot IAM policyset_snapshot_iam_policy | Replace the IAM policy attached to a Pub/Sub snapshot. | |
Test snapshot IAM permissionstest_snapshot_iam_permissions | Return the requested permissions granted on a Pub/Sub snapshot. |
Snapshots5
Create a snapshotcreate_snapshot | Capture a subscription's acknowledgement state for later seek operations. | |
Delete a snapshotdelete_snapshot | Delete a Pub/Sub snapshot. | |
Get a snapshotget_snapshot | Get a Pub/Sub snapshot and its expiry metadata. | |
List snapshotslist_snapshots | List project snapshots with explicit pagination. | |
Update a snapshotpatch_snapshot | Update mutable snapshot fields through an explicit or derived field mask. |
Subscription access3
Get subscription IAM policyget_subscription_iam_policy | Get the IAM policy attached to a Pub/Sub subscription. | |
Set subscription IAM policyset_subscription_iam_policy | Replace the IAM policy attached to a Pub/Sub subscription. | |
Test subscription IAM permissionstest_subscription_iam_permissions | Return the requested permissions granted on a Pub/Sub subscription. |
Subscriptions11
Acknowledge messagesack | Acknowledge received messages by their ack ids. | |
Create a subscriptioncreate_subscription | Create a pull (or push) subscription on a topic. | |
Delete a subscriptiondelete_subscription | Delete a subscription. | |
Detach a subscriptiondetach_subscription | Permanently detach a subscription from its topic and discard its backlog. | |
Get a subscriptionget_subscription | Fetch a subscription's metadata. | |
List subscriptionslist_subscriptions | List the project's subscriptions. | |
Modify ack deadlinemodify_ack_deadline | Extend or shorten the ack deadline for in-flight messages (nack with 0). | |
Modify push configurationmodify_push_config | Replace the push delivery configuration for a subscription. | |
Pull messagespull | Synchronously pull messages from a subscription (returns messages + ack ids). | |
Seekseek | Seek a subscription to a timestamp (replay/discard) or a snapshot. | |
Update a subscriptionupdate_subscription | Update mutable subscription fields (e.g. push config, ack deadline) via an update mask. |
Topic access3
Get topic IAM policyget_topic_iam_policy | Get the IAM policy attached to a Pub/Sub topic. | |
Set topic IAM policyset_topic_iam_policy | Replace the IAM policy attached to a Pub/Sub topic. | |
Test topic IAM permissionstest_topic_iam_permissions | Return the requested permissions granted on a Pub/Sub topic. |
Topics7
Create a topiccreate_topic | Create a Pub/Sub topic. | |
Delete a topicdelete_topic | Delete a Pub/Sub topic. | |
Get a topicget_topic | Fetch a topic's metadata. | |
List a topic's snapshotslist_topic_snapshots | List snapshot names retaining messages from a topic. | |
List a topic's subscriptionslist_topic_subscriptions | List subscriptions attached to a topic. | |
List topicslist_topics | List the project's topics. | |
Update a topicpatch_topic | Update mutable topic fields through an explicit or derived field mask. |