easygcloud
Deploy an HTTP Cloud Function that requires authentication
command
gcloud functions deploy processOrder --runtime=nodejs18 --trigger-http --region=us-central1 --no-allow-unauthenticatedcommand
gcloud functions deploy processOrder --runtime=nodejs18 --trigger-http --region=us-central1 --no-allow-unauthenticatedPart of the Google Cloud CLI (gcloud) — Cloud Functions category.
| Flag | Purpose |
|---|---|
--runtime | Set to: nodejs18 |
--trigger-http | Boolean flag |
--region | Set to: us-central1 |
--no-allow-unauthenticated | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →