hardgcloud

Deploy a Cloud Function with a specific memory allocation

command

gcloud functions deploy FUNCTION_NAME --memory 512MB

also accepted

gcloud functions deploygcloud functions deploy FUNCTION_NAME --memory

Command breakdown

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

gcloudfunctionsdeployFUNCTION_NAME--memory512MB
FlagPurpose
--memoryBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →