Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions hugo/content/en/api/v2/cloud-cost-management/examples.json

Large diffs are not rendered by default.

38 changes: 32 additions & 6 deletions hugo/data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66982,7 +66982,7 @@ components:
- $ref: "#/components/schemas/GCPServiceAccountUpdate"
GCPCudMetadataConfig:
description: >-
The BigQuery table the committed use discount (CUD) metadata is read from. Only returned when CUD metadata is configured for the account.
The BigQuery table that holds the Google Cloud committed use discount (CUD) metadata export. Responses include it only when CUD metadata is configured for the account. CUD metadata is not available on the Government sites (US1-FED and US2-FED).
properties:
dataset_id:
description: The BigQuery dataset ID of the CUD metadata export.
Expand All @@ -66993,14 +66993,33 @@ components:
example: "my-cud-project-123"
type: string
table_id:
description: The BigQuery table ID of the CUD metadata export.
example: "cud_metadata_export"
description: >-
The BigQuery table ID of the CUD metadata export. Google names this table, so it is always `cud_subscriptions_export`.
example: "cud_subscriptions_export"
type: string
required:
- project_id
- dataset_id
- table_id
type: object
GCPCudMetadataConfigPatch:
description: >-
The BigQuery table that holds the Google Cloud committed use discount (CUD) metadata export. Send `project_id`, `dataset_id`, and `table_id` to set the export, or an empty object to turn it off.
properties:
dataset_id:
description: The BigQuery dataset ID of the CUD metadata export.
example: "billing_cud_metadata"
type: string
project_id:
description: The Google Cloud project ID of the CUD metadata export.
example: "my-cud-project-123"
type: string
table_id:
description: >-
The BigQuery table ID of the CUD metadata export. Google names this table, so it is always `cud_subscriptions_export`.
example: "cud_subscriptions_export"
type: string
type: object
GCPCudMetadataErrorCodes:
description: >-
The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.
Expand Down Expand Up @@ -67469,10 +67488,14 @@ components:
- data
type: object
GCPUsageCostConfigPatchRequestAttributes:
description: Attributes for Google Cloud Usage Cost config patch request.
description: >-
Attributes for Google Cloud Usage Cost config patch request. Send `is_enabled` alone to change the account status, or `is_enabled: true` with `cud_metadata_config` to update the committed use discount (CUD) metadata export. A CUD metadata update never changes the account status.
properties:
cud_metadata_config:
$ref: "#/components/schemas/GCPCudMetadataConfigPatch"
is_enabled:
description: Whether or not the Cloud Cost Management account is enabled.
description: >-
Whether or not the Cloud Cost Management account is enabled. Must be `true` when `cud_metadata_config` is sent. In that case, the account status doesn't change.
example: true
type: boolean
required:
Expand Down Expand Up @@ -67516,6 +67539,8 @@ components:
description: The Google Cloud bucket name used to store the Usage Cost export.
example: "dd-cost-bucket"
type: string
cud_metadata_config:
$ref: "#/components/schemas/GCPCudMetadataConfig"
export_dataset_name:
description: The export dataset name used for the Google Cloud Usage Cost report.
example: "billing"
Expand Down Expand Up @@ -185532,7 +185557,8 @@ paths:
- Cloud Cost Management
x-menu-order: 15
patch:
description: Update the status of an Google Cloud Usage Cost config (active/archived).
description: >-
Update the status of a Google Cloud Usage Cost config (active or archived), or its committed use discount (CUD) metadata export. To set CUD metadata, send `cud_metadata_config` with `is_enabled: true`. To turn the CUD metadata export off, send an empty `cud_metadata_config` object with `is_enabled: true`. A CUD metadata update does not change the account status. `cud_metadata_config` is not available on the Government sites (US1-FED and US2-FED).
operationId: UpdateCostGCPUsageCostConfig
parameters:
- $ref: "#/components/parameters/CloudAccountID"
Expand Down
2 changes: 1 addition & 1 deletion hugo/data/api/v2/translate_actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@
"summary": "Get Google Cloud Usage Cost config"
},
"UpdateCostGCPUsageCostConfig": {
"description": "Update the status of an Google Cloud Usage Cost config (active/archived).",
"description": "Update the status of a Google Cloud Usage Cost config (active or archived), or its committed use discount (CUD) metadata export. To set CUD metadata, send `cud_metadata_config` with `is_enabled: true`. To turn the CUD metadata export off, send an empty `cud_metadata_config` object with `is_enabled: true`. A CUD metadata update does not change the account status. `cud_metadata_config` is not available on the Government sites (US1-FED and US2-FED).",
"summary": "Update Google Cloud Usage Cost config",
"request_description": "",
"request_schema_description": "Google Cloud Usage Cost config patch request."
Expand Down
10 changes: 10 additions & 0 deletions hugo/data/changelog/cloud-cost-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,13 @@ entries:
- GetCommitmentsUtilizationScalar
- GetCommitmentsUtilizationTimeseries
title: Fix Cloud Cost Management commitments response schemas
- change_type: modified
date: '2026-12-01'
link: https://github.com/DataDog/documentation/pull/42328
operations:
- CreateCostGCPUsageCostConfig
- GetCostGCPUsageCostConfig
- ListCostGCPUsageCostConfigs
- UpdateCostGCPUsageCostConfig
title: Add `cud_metadata_config` to Google Cloud Usage Cost config create
and update requests
Loading