hardgcloud

Retrieve the IAM policy controlling who can invoke a Cloud Function

command

gcloud functions get-iam-policy FUNCTION_NAME

also accepted

gcloud functions get-iam-policy

Command breakdown

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

gcloudfunctionsget-iam-policyFUNCTION_NAME

Test your recall — not just your reading.

Practice with interactive quiz →