我正在尝试使用 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 相关。由于没有相关政策,我无法创建自定义角色。
我有什么办法可以解决这个问题吗?