v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Cloud Cost Management

Update Google Cloud Usage Cost config

Update the status of an Google Cloud Usage Cost config (active/archived).

patch/api/v2/cost/gcp_uc_config/{cloud_account_id}

Path parameters

cloud_account_idinteger required

Cloud Account id.

Request body

Example request

{
  "data": {
    "attributes": {
      "is_enabled": true
    },
    "type": "gcp_uc_config_patch_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"
  }
}