在 Google 云中的主机项目中分配新 IP 范围的访问权限

Access Right for allocating new IP ranges in a hostproject inside Google Cloud

我创建了一个新的 Cloud SQL 实例,为了连接,我想从另一个宿主项目中为其分配一个私有 IP。分配相应的主机网络(自动 IP)后,我收到以下错误:

Could not allocate new IP range because you do not have the required permissions on the host project. 

我在主机网络中为我的用户分配了 Compute Network UserService Networking Admin 角色 - 有人知道我需要哪些额外的权利来为我的实例分配 IP 地址吗?

很高兴能帮上忙:

我建议您遵循 document 并确保用户在宿主项目中具有 compute.networkAdmin 角色。