Google Cloud Function Authorization Failing
问题 I have a Private Google Cloud Function. So I want to Authenticate to the Cloud Function with Authorization: Bearer token Header. But I'm getting 401 Unauthorized as the response. I created the private Cloud Function using: gcloud beta functions deploy MyFunction --runtime go111 --trigger-http --memory 128 --region us-central1 --source gs://bucketname/code.zip I created a service account and assigned it permission to access the cloud function: gcloud beta functions add-iam-policy-binding