小编ver*_*cks的帖子

GCP:错误:(gcloud.services.enable)PERMISSION_DENIED:启用API时调用者没有权限

我正在尝试使用 API Gateway,但无法启用 apigateway.googleapis.com API。它没有显示在 中gcloud services list。我正在尝试遵循 gcp doc 的说明。https://cloud.google.com/api-gateway/docs/configure-dev-env#enabling_required_services

当尝试在控制台中启用它时,它不会返回任何内容。

当尝试在 gcloud 中启用它时,它返回错误,如下所示。 gcloud services enable apigateway.googleapis.com ERROR: (gcloud.services.enable) PERMISSION_DENIED: The caller does not have permission

我无法附加角色,因为我无法找到哪个角色与 apigateway 相关。由于没有相关政策,我无法创建自定义角色。

我有什么办法可以解决这个问题吗?

google-cloud-platform api-gateway google-cloud-api-gateway

5
推荐指数
1
解决办法
1万
查看次数