pubsub_publish
Publish messages to Pub/Sub emulator topics with string data, JSON payloads, attributes, and ordering keys for Firebase messaging tests.
Instructions
Publish a message to a Pub/Sub emulator topic: string data as given, other JSON as its text (base64-encoded on the wire), plus attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Message data | |
| topic | Yes | Topic name (or projects/<p>/topics/<name>) | |
| attributes | No | String attributes | |
| orderingKey | No | Ordering key |