From 3192b47eaa0dd549790f79931a3134c2b59a631c Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 18 Dec 2024 19:24:08 +0000 Subject: [PATCH] Regenerate client from commit 3f22290a of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 3 ++- lib/datadog_api_client/v2/api/usage_metering_api.rb | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 448504143216..9ffe9a5f5346 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-18 17:18:31.526689", - "spec_repo_commit": "8cb3faac" + "regenerated": "2024-12-18 19:23:39.928959", + "spec_repo_commit": "3f22290a" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-18 17:18:31.541350", - "spec_repo_commit": "8cb3faac" + "regenerated": "2024-12-18 19:23:39.944997", + "spec_repo_commit": "3f22290a" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dc4ea550c3e9..fea0c1deed32 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -32622,7 +32622,8 @@ paths: != null BEGIN\n sleep(5 seconds) # Avoid running into rate limit\n response := GetMonthlyCostAttribution(start_month, end_month, next_record_id=cursor)\n \ cursor := response.metadata.pagination.next_record_id\nEND\n```\n\nThis - endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)." + endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/). + This endpoint is not available in the Government (US1-FED) site." operationId: GetMonthlyCostAttribution parameters: - description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` diff --git a/lib/datadog_api_client/v2/api/usage_metering_api.rb b/lib/datadog_api_client/v2/api/usage_metering_api.rb index 6fe5d6cf4b75..f35c72c38287 100644 --- a/lib/datadog_api_client/v2/api/usage_metering_api.rb +++ b/lib/datadog_api_client/v2/api/usage_metering_api.rb @@ -508,7 +508,7 @@ def get_monthly_cost_attribution(start_month, fields, opts = {}) # END # ``` # - # This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/). + # This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/). This endpoint is not available in the Government (US1-FED) site. # # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning in this month. # @param fields [String] Comma-separated list specifying cost types (e.g., `_on_demand_cost`, `_committed_cost`, `_total_cost`) and the proportions (`_percentage_in_org`, `_percentage_in_account`). Use `*` to retrieve all fields. Example: `infra_host_on_demand_cost,infra_host_percentage_in_account` To obtain the complete list of active billing dimensions that can be used to replace `` in the field names, make a request to the [Get active billing dimensions API](https://docs.datadoghq.com/api/latest/usage-metering/#get-active-billing-dimensions-for-cost-attribution).