hardgcloud

Deploy a Cloud Function with a custom maximum execution timeout

command

gcloud functions deploy FUNCTION_NAME --timeout 300s

also accepted

gcloud functions deploygcloud functions deploy FUNCTION_NAME --timeout

Command breakdown

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

gcloudfunctionsdeployFUNCTION_NAME--timeout300s
FlagPurpose
--timeoutBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →