hardgcloud
Publish a message string to a Pub/Sub topic from the command line
command
gcloud pubsub topics publish TOPIC_NAME --message MESSAGEalso accepted
gcloud pubsub topics publishcommand
gcloud pubsub topics publish TOPIC_NAME --message MESSAGEalso accepted
gcloud pubsub topics publishPart of the Google Cloud CLI (gcloud) — Pub/Sub category.
| Flag | Purpose |
|---|---|
--message | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →