diff --git a/.apigentools-info b/.apigentools-info index 9fa1c6e10..5ebebfed1 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-03 18:40:45.002995", - "spec_repo_commit": "ce3146c2" + "regenerated": "2024-12-03 23:53:50.276024", + "spec_repo_commit": "06fd4aa3" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-03 18:40:45.022850", - "spec_repo_commit": "ce3146c2" + "regenerated": "2024-12-03 23:53:50.295251", + "spec_repo_commit": "06fd4aa3" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e87349616..4cdcf4331 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -44732,7 +44732,8 @@ tags: monthly usage across multiple facets of Datadog. - This API is available to all Pro and Enterprise customers. + This API is available to all Pro and Enterprise customers, except those in the + Government (US1-FED) site. **Note**: Usage data is delayed by up to 72 hours from when it was incurred. diff --git a/src/datadogV2/api/api_usage_metering.rs b/src/datadogV2/api/api_usage_metering.rs index f6ffd6c70..ed13da200 100644 --- a/src/datadogV2/api/api_usage_metering.rs +++ b/src/datadogV2/api/api_usage_metering.rs @@ -408,7 +408,7 @@ pub enum GetUsageObservabilityPipelinesError { /// The usage metering API allows you to get hourly, daily, and /// monthly usage across multiple facets of Datadog. -/// This API is available to all Pro and Enterprise customers. +/// This API is available to all Pro and Enterprise customers, except those in the Government (US1-FED) site. /// /// **Note**: Usage data is delayed by up to 72 hours from when it was incurred. /// It is retained for 15 months. diff --git a/tests/scenarios/features/v2/usage_metering.feature b/tests/scenarios/features/v2/usage_metering.feature index 525033821..328f1281e 100644 --- a/tests/scenarios/features/v2/usage_metering.feature +++ b/tests/scenarios/features/v2/usage_metering.feature @@ -2,12 +2,13 @@ Feature: Usage Metering The usage metering API allows you to get hourly, daily, and monthly usage across multiple facets of Datadog. This API is available to all Pro and - Enterprise customers. **Note**: Usage data is delayed by up to 72 hours - from when it was incurred. It is retained for 15 months. You can retrieve - up to 24 hours of hourly usage data for multiple organizations, and up to - two months of hourly usage data for a single organization in one request. - Learn more on the [usage details documentation](https://docs.datadoghq.com - /account_management/billing/usage_details/). + Enterprise customers, except those in the Government (US1-FED) site. + **Note**: Usage data is delayed by up to 72 hours from when it was + incurred. It is retained for 15 months. You can retrieve up to 24 hours + of hourly usage data for multiple organizations, and up to two months of + hourly usage data for a single organization in one request. Learn more on + the [usage details documentation](https://docs.datadoghq.com/account_manag + ement/billing/usage_details/). Background: Given a valid "apiKeyAuth" key in the system