v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBCloud Cost Management
Create Google Cloud Usage Cost config
Create a Cloud Cost Management account for an Google Cloud Usage Cost config.
post/api/v2/cost/gcp_uc_config
Request body
Example request
{
"data": {
"attributes": {
"billing_account_id": "123456_A123BC_12AB34",
"bucket_name": "dd-cost-bucket",
"export_dataset_name": "billing",
"export_prefix": "datadog_cloud_cost_usage_export",
"export_project_name": "dd-cloud-cost-report",
"service_account": "dd-ccm-gcp-integration@my-environment.iam.gserviceaccount.com"
},
"type": "gcp_uc_config_post_request"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"account_id": "123456_A123BC_12AB34",
"bucket_name": "dd-cost-bucket",
"dataset": "billing",
"export_prefix": "datadog_cloud_cost_usage_export",
"export_project_name": "dd-cloud-cost-report",
"project_id": "my-project-123",
"service_account": "dd-ccm-gcp-integration@my-environment.iam.gserviceaccount.com",
"status": "active"
},
"type": "gcp_uc_config"
}
}