hardgcloud

Deploy a Cloud Function specifying a custom entry point handler name

command

gcloud functions deploy FUNCTION_NAME --runtime nodejs20 --trigger-http --entry-point HANDLER

also accepted

gcloud functions deploy

Command breakdown

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

gcloudfunctionsdeployFUNCTION_NAME--runtimenodejs20--trigger-http--entry-pointHANDLER
FlagPurpose
--runtimeBoolean flag
--trigger-httpBoolean flag
--entry-pointBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →