easygcloud

Deploy an HTTP Cloud Function that requires authentication

command

gcloud functions deploy processOrder --runtime=nodejs18 --trigger-http --region=us-central1 --no-allow-unauthenticated

Command breakdown

Part of the Google Cloud CLI (gcloud) — Cloud Functions category.

gcloudfunctionsdeployprocessOrder--runtime=nodejs18--trigger-http--region=us-central1--no-allow-unauthenticated
FlagPurpose
--runtimeSet to: nodejs18
--trigger-httpBoolean flag
--regionSet to: us-central1
--no-allow-unauthenticatedBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →