diff --git a/hugo/content/en/api/v2/cloud-cost-management/examples.json b/hugo/content/en/api/v2/cloud-cost-management/examples.json index b58f3e2daf5..1aa1c9d8339 100644 --- a/hugo/content/en/api/v2/cloud-cost-management/examples.json +++ b/hugo/content/en/api/v2/cloud-cost-management/examples.json @@ -3616,7 +3616,7 @@ "cud_metadata_config": { "dataset_id": "billing_cud_metadata", "project_id": "my-cud-project-123", - "table_id": "cud_metadata_export" + "table_id": "cud_subscriptions_export" }, "cud_metadata_error_codes": [], "cud_metadata_state": "string", @@ -3637,7 +3637,7 @@ } ] }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

A Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for a Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config was created.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

The BigQuery table the committed use discount (CUD) metadata is read from. Only returned when CUD metadata is configured for the account.

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The error messages for the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix [required]

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int32

\n

DEPRECATED: The number of months the report has been backfilled.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The project_id of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n

status [required]

\n
\n

string

\n

The status of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

A Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for a Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config was created.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

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).

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export. Google names this table, so it is always cud_subscriptions_export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The error messages for the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix [required]

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int32

\n

DEPRECATED: The number of months the report has been backfilled.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The project_id of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n

status [required]

\n
\n

string

\n

The status of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" }, "403": { "json": { @@ -3674,7 +3674,7 @@ "cud_metadata_config": { "dataset_id": "billing_cud_metadata", "project_id": "my-cud-project-123", - "table_id": "cud_metadata_export" + "table_id": "cud_subscriptions_export" }, "cud_metadata_error_codes": [], "cud_metadata_state": "string", @@ -3694,7 +3694,7 @@ "type": "gcp_uc_config" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for a Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config was created.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

The BigQuery table the committed use discount (CUD) metadata is read from. Only returned when CUD metadata is configured for the account.

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The error messages for the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix [required]

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int32

\n

DEPRECATED: The number of months the report has been backfilled.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The project_id of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n

status [required]

\n
\n

string

\n

The status of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for a Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config was created.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

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).

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export. Google names this table, so it is always cud_subscriptions_export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The error messages for the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix [required]

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int32

\n

DEPRECATED: The number of months the report has been backfilled.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The project_id of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n

status [required]

\n
\n

string

\n

The status of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" }, "400": { "json": { @@ -3727,6 +3727,11 @@ "attributes": { "billing_account_id": "123456_A123BC_12AB34", "bucket_name": "dd-cost-bucket", + "cud_metadata_config": { + "dataset_id": "billing_cud_metadata", + "project_id": "my-cud-project-123", + "table_id": "cud_subscriptions_export" + }, "export_dataset_name": "billing", "export_project_name": "dd-cloud-cost-report", "service_account": "dd-ccm-gcp-integration@my-environment.iam.gserviceaccount.com" @@ -3739,6 +3744,11 @@ "attributes": { "billing_account_id": "123456_A123BC_12AB34", "bucket_name": "dd-cost-bucket", + "cud_metadata_config": { + "dataset_id": "billing_cud_metadata", + "project_id": "my-cud-project-123", + "table_id": "cud_subscriptions_export" + }, "export_dataset_name": "billing", "export_prefix": "datadog_cloud_cost_usage_export", "export_project_name": "dd-cloud-cost-report", @@ -3747,7 +3757,7 @@ "type": "gcp_uc_config_post_request" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Google Cloud Usage Cost config post data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes for Google Cloud Usage Cost config post request.

\n
\n
\n
\n
\n
\n

billing_account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

export_dataset_name [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config post request. \nAllowed enum values: gcp_uc_config_post_request

default: gcp_uc_config_post_request

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Google Cloud Usage Cost config post data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes for Google Cloud Usage Cost config post request.

\n
\n
\n
\n
\n
\n

billing_account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

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).

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export. Google names this table, so it is always cud_subscriptions_export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

export_dataset_name [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config post request. \nAllowed enum values: gcp_uc_config_post_request

default: gcp_uc_config_post_request

\n
\n \n
\n
\n
\n
" } }, "DeleteCostGCPUsageCostConfig": { @@ -3807,7 +3817,7 @@ "type": "gcp_uc_config" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

The definition of GcpUcConfigResponseData object.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

The definition of GcpUcConfigResponseDataAttributes object.

\n
\n
\n
\n
\n
\n

account_id

\n
\n

string

\n

The attributes account_id.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name

\n
\n

string

\n

The attributes bucket_name.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The attributes created_at.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

The BigQuery table the committed use discount (CUD) metadata is read from. Only returned when CUD metadata is configured for the account.

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset

\n
\n

string

\n

The attributes dataset.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The attributes error_messages.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix

\n
\n

string

\n

The attributes export_prefix.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name

\n
\n

string

\n

The attributes export_project_name.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int64

\n

The attributes months.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The attributes project_id.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

string

\n

The attributes service_account.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The attributes status.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The attributes status_updated_at.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The attributes updated_at.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The GcpUcConfigResponseData id.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Google Cloud Usage Cost config resource type. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

The definition of GcpUcConfigResponseData object.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

The definition of GcpUcConfigResponseDataAttributes object.

\n
\n
\n
\n
\n
\n

account_id

\n
\n

string

\n

The attributes account_id.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name

\n
\n

string

\n

The attributes bucket_name.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The attributes created_at.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

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).

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export. Google names this table, so it is always cud_subscriptions_export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset

\n
\n

string

\n

The attributes dataset.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The attributes error_messages.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix

\n
\n

string

\n

The attributes export_prefix.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name

\n
\n

string

\n

The attributes export_project_name.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int64

\n

The attributes months.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The attributes project_id.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

string

\n

The attributes service_account.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The attributes status.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The attributes status_updated_at.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The attributes updated_at.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The GcpUcConfigResponseData id.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Google Cloud Usage Cost config resource type. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" }, "429": { "json": { @@ -3836,7 +3846,7 @@ "cud_metadata_config": { "dataset_id": "billing_cud_metadata", "project_id": "my-cud-project-123", - "table_id": "cud_metadata_export" + "table_id": "cud_subscriptions_export" }, "cud_metadata_error_codes": [], "cud_metadata_state": "string", @@ -3856,7 +3866,7 @@ "type": "gcp_uc_config" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for a Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config was created.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

The BigQuery table the committed use discount (CUD) metadata is read from. Only returned when CUD metadata is configured for the account.

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The error messages for the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix [required]

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int32

\n

DEPRECATED: The number of months the report has been backfilled.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The project_id of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n

status [required]

\n
\n

string

\n

The status of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for a Google Cloud Usage Cost config.

\n
\n
\n
\n
\n
\n

account_id [required]

\n
\n

string

\n

The Google Cloud account ID.

\n
\n \n
\n
\n
\n
\n
\n

bucket_name [required]

\n
\n

string

\n

The Google Cloud bucket name used to store the Usage Cost export.

\n
\n \n
\n
\n
\n
\n
\n

created_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config was created.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

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).

\n
\n
\n
\n
\n
\n

dataset_id [required]

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id [required]

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id [required]

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export. Google names this table, so it is always cud_subscriptions_export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

cud_metadata_error_codes

\n
\n

[integer]

\n

The error codes reported for the committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_state

\n
\n

string

\n

The state of the Google Cloud committed use discount (CUD) metadata export. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

cud_metadata_status_updated_at

\n
\n

string

\n

The timestamp when the committed use discount (CUD) metadata state was last updated. Only returned when CUD metadata is configured for the account.

\n
\n \n
\n
\n
\n
\n
\n

dataset [required]

\n
\n

string

\n

The export dataset name used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

error_messages

\n
\n

[string]

\n

The error messages for the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

export_prefix [required]

\n
\n

string

\n

The export prefix used for the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

export_project_name [required]

\n
\n

string

\n

The name of the Google Cloud Usage Cost Report.

\n
\n \n
\n
\n
\n
\n
\n

months

\n
\n

int32

\n

DEPRECATED: The number of months the report has been backfilled.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The project_id of the Google Cloud Usage Cost report.

\n
\n \n
\n
\n
\n
\n
\n

service_account [required]

\n
\n

string

\n

The unique Google Cloud service account email.

\n
\n \n
\n
\n
\n
\n
\n

status [required]

\n
\n

string

\n

The status of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

status_updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n

updated_at

\n
\n

string

\n

The timestamp when the Google Cloud Usage Cost config status was updated.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the Google Cloud Usage Cost config.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config. \nAllowed enum values: gcp_uc_config

default: gcp_uc_config

\n
\n \n
\n
\n
\n
" }, "400": { "json": { @@ -3903,12 +3913,17 @@ "json": { "data": { "attributes": { + "cud_metadata_config": { + "dataset_id": "billing_cud_metadata", + "project_id": "my-cud-project-123", + "table_id": "cud_subscriptions_export" + }, "is_enabled": true }, "type": "gcp_uc_config_patch_request" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Google Cloud Usage Cost config patch data.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for Google Cloud Usage Cost config patch request.

\n
\n
\n
\n
\n
\n

is_enabled [required]

\n
\n

boolean

\n

Whether or not the Cloud Cost Management account is enabled.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config patch request. \nAllowed enum values: gcp_uc_config_patch_request

default: gcp_uc_config_patch_request

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Google Cloud Usage Cost config patch data.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

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.

\n
\n
\n
\n
\n
\n

cud_metadata_config

\n
\n

object

\n

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.

\n
\n
\n
\n
\n
\n

dataset_id

\n
\n

string

\n

The BigQuery dataset ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

project_id

\n
\n

string

\n

The Google Cloud project ID of the CUD metadata export.

\n
\n \n
\n
\n
\n
\n
\n

table_id

\n
\n

string

\n

The BigQuery table ID of the CUD metadata export. Google names this table, so it is always cud_subscriptions_export.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

is_enabled [required]

\n
\n

boolean

\n

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.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Type of Google Cloud Usage Cost config patch request. \nAllowed enum values: gcp_uc_config_patch_request

default: gcp_uc_config_patch_request

\n
\n \n
\n
\n
\n
" } }, "ListCostOCIConfigs": { diff --git a/hugo/data/api/v2/full_spec.yaml b/hugo/data/api/v2/full_spec.yaml index f4d4dbb60bf..325d396bbd9 100644 --- a/hugo/data/api/v2/full_spec.yaml +++ b/hugo/data/api/v2/full_spec.yaml @@ -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. @@ -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. @@ -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: @@ -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" @@ -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" diff --git a/hugo/data/api/v2/translate_actions.json b/hugo/data/api/v2/translate_actions.json index f12d88e872b..a0e63b362f2 100644 --- a/hugo/data/api/v2/translate_actions.json +++ b/hugo/data/api/v2/translate_actions.json @@ -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." diff --git a/hugo/data/changelog/cloud-cost-management.yml b/hugo/data/changelog/cloud-cost-management.yml index ce31ac6712a..61a3e904c90 100644 --- a/hugo/data/changelog/cloud-cost-management.yml +++ b/hugo/data/changelog/cloud-cost-management.yml @@ -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