hardgcloud

Allow unauthenticated public access to an HTTP Cloud Function

command

gcloud functions add-iam-policy-binding FUNCTION_NAME --member allUsers --role roles/cloudfunctions.invoker

also accepted

gcloud functions add-iam-policy-binding

Command breakdown

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

gcloudfunctionsadd-iam-policy-bindingFUNCTION_NAME--memberallUsers--roleroles/cloudfunctions.invoker
FlagPurpose
--memberBoolean flag
--roleBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →