[英]Google Cloud Billing - Filter By Label Not Showing
I added resource labels to a few VMs to be able to pull a more granular billing breakdown by label. However, when I go to the billing report, I don't see any option to filter by Label. Is this a permission issue or am I missing something?我向一些虚拟机添加了资源标签,以便能够按 label 提取更精细的账单明细。但是,当我将 go 添加到账单报告时,我没有看到任何按 Label 过滤的选项。这是权限问题还是我我错过了什么?
If I embed "label=" in the url, the label option will show, but it still doesn't retrieve the matching key pair.如果我在 url 中嵌入“label=”,将显示 label 选项,但它仍然没有检索到匹配的密钥对。
As per my analysis your issue can be due to below reasons:根据我的分析,您的问题可能是由于以下原因造成的:
When filtering your billing breakdown by label keys, you are not able to select labels applied to a project.
当按 label 键过滤帐单明细时,您无法将 select 标签应用于项目。 You can select other user-created labels that you set up and applied to Google Cloud services.
您可以 select 您设置并应用于 Google Cloud 服务的其他用户创建的标签。
This might be the reason you are unable to filter the label.这可能是您无法过滤 label 的原因。
Google does not recommend creating large numbers of unique labels, such as for timestamps or individual values for every API call. Google 不建议为每个 API 调用创建大量唯一标签,例如时间戳或单独的值。 Refer to these common use cases for labels and Refer this link for requirements of label.
请参阅这些常见的标签用例,并参阅此链接了解 label 的要求。
You need to enable “resourcemanager.projects.get “ permissions and also enable “resourcemanager.projects.update” to add or modify the label.您需要启用“resourcemanager.projects.get” 权限,同时启用“resourcemanager.projects.update”以添加或修改 label。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.