我正在遵循these的说明来设置具有Cloud功能的Google Cloud Endpoints。
我设法通过Cloud Run设置了ESP,并配置了端点,但是现在我绑定了IAM策略以授予ESP调用云功能的权限。
调用此错误时出现:
gcloud beta functions add-iam-policy-binding FUNCTION_NAME \
--member "serviceAccount:ESP_PROJECT_NUMBER-compute@developer.gserviceaccount.com" \
--role "roles/cloudfunctions.invoker" \
--project FUNCTIONS_PROJECT_ID
我收到以下错误:
ERROR: (gcloud.beta.functions.add-iam-policy-binding) ResponseError: status=[400], code=[Bad Request], message=[Invalid JSON payload received. Unknown name "options_requestedPolicyVersion": Cannot bind query parameter. Field 'options_requestedPolicyVersion' could not be found in request message.]
答案 0 :(得分:0)
请注意,这是一个错误,现已由Google开发人员团队进行了更新。