gpt4 book ai didi

android - 为我的项目启用 Google Cloud Build API 时出错?

转载 作者:行者123 更新时间:2023-12-03 14:00:22 24 4
gpt4 key购买 nike

前几天我收到了邮件。

Enable the Cloud Build API for your projects before April 20, 2020, to ensure Cloud Function is built and deployed correctly.


  • 在 Cloud Console 中访问 Cloud Build API 链接。
  • 从下拉菜单中选择您的项目。
  • 点击继续为项目启用 Cloud Build API。左下角将出现一个框,以确认 API 已启用。

  • 单击后我收到以下错误以获得一些权限
    This API cannot be enabled at the moment. You may lack appropriate permissions. 

    Error Image .

    那么,我需要哪种类型的权限才能启用此服务?

    最佳答案

    用户需要的特定权限 enable APIs对于 GCP 项目是:

  • serviceusage.services.enable
  • 服务管理.services.bind

  • 如果您已经是项目的所有者,则不必添加 roles/servicemanagement.serviceConsumer角色到您的帐户以启用 API。

    您还需要 enable billing在您可以启用新的 API 之前,在项目上。

    关于android - 为我的项目启用 Google Cloud Build API 时出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60714043/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com