hardgcloud
Deploy a Cloud Function that is triggered by a Pub/Sub topic
command
gcloud functions deploy FUNCTION_NAME --runtime RUNTIME --trigger-topic TOPIC_NAMEalso accepted
gcloud functions deploycommand
gcloud functions deploy FUNCTION_NAME --runtime RUNTIME --trigger-topic TOPIC_NAMEalso accepted
gcloud functions deployPart of the Google Cloud CLI (gcloud) — Cloud Functions category.
| Flag | Purpose |
|---|---|
--runtime | Boolean flag |
--trigger-topic | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →