GCP Billing API权限

时间:2019-10-22 11:30:53

标签: google-cloud-platform billing

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

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

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

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

resourcemanager.organizations.getIamPolicy
Check that the folder, organization, and project IDs are valid and you have permissions to access them. Learn more

Troubleshoot

我是注册此免费试用版GCP帐户的人(我是超级用户),我应该拥有所有权限

0 个答案:

没有答案