小编Sau*_*age的帖子

GCP 结算 API 权限

如何为计算引擎服务帐户或任何其他用户帐户创建和分配具有以下权限的角色

billing.accounts.get

billing.accounts.list

在设置权限时,我遇到了一个错误

Not applicable for project-level custom roles
These permissions can only be added to custom roles at the organization level; they have no effect at the project level or below.
billing.accounts.get
billing.accounts.getIamPolicy
billing.accounts.getPaymentInfo
billing.accounts.getSpendingInformation
billing.accounts.getUsageExportSpec
billing.accounts.list
billing.budgets.get
billing.budgets.list
billing.credits.list
billing.resourceAssociations.list
billing.subscriptions.get
billing.subscriptions.list
Run Code Online (Sandbox Code Playgroud)

编辑:也无法在组织级别设置。有同样的错误

API:https : //cloudbilling.googleapis.com

错误信息:-

You do not have sufficient permissions to view this page
There was an error while loading /iam-admin/iam?authuser=2&folder=&organizationId=1010102021615.

You are missing at least one of the following required permissions:
Organization …
Run Code Online (Sandbox Code Playgroud)

billing google-cloud-platform

5
推荐指数
0
解决办法
1331
查看次数

标签 统计

billing ×1

google-cloud-platform ×1