1.6. 将 Google Cloud billing 数据导出到 BigQuery
启用计费导出到 BigQuery,将 Google Cloud 计费数据(如使用、成本估算和定价数据)自动发送到混合提交的 BigQuery 数据集。
先决条件
- 使用 Billing Account Administrator 角色访问 Google Cloud 控制台
- Google Cloud 项目
- 带有成本管理 Identity and Access Management (IAM) 角色的 账单服务成员
- bigquery 数据集
流程
-
在 Google Cloud Console 中,单击
。 - 单击 Billing export 选项卡。
- 在详细信息 使用成本 部分中点 。
- 选择您在下拉菜单中创建的混合提交 的项目和 Billing 导出数据集。
- 点 。
- 在提交中的 Add a cloud integration 向导的 Billing export 页面中,单击 Next。
- 在混合的 Add a cloud integration 向导中,在 Review details 页面中,点 Add。
验证步骤
- 在详细信息 使用成本 部分中,验证标有 Enabled 的复选标记,其具有正确的 项目名称和 数据集名称。