From 7dc692fe2eae090d9606f23a73cd8b150758afcf Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 20 Feb 2024 14:57:56 +0000 Subject: [PATCH] Regenerate client from commit afd4e5e0 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 +++- src/datadog_api_client/v2/api/metrics_api.py | 3 ++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 18dfb4fe24..94e30896ed 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-20 12:21:47.886534", - "spec_repo_commit": "7e467650" + "regenerated": "2024-02-20 14:57:22.779776", + "spec_repo_commit": "afd4e5e0" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-20 12:21:47.901998", - "spec_repo_commit": "7e467650" + "regenerated": "2024-02-20 14:57:22.794304", + "spec_repo_commit": "afd4e5e0" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5d118d9175..fe72233ce1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -28095,7 +28095,8 @@ paths: schema: type: string - description: The number of hours of look back (from now) to estimate cardinality - with. + with. Estimates are based on historical data, and unspecified fields default + to the minimum 49 hours. example: 49 in: query name: filter[hours_ago] @@ -28103,6 +28104,7 @@ paths: schema: format: int32 maximum: 2147483647 + minimum: 49 type: integer - description: The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9. diff --git a/src/datadog_api_client/v2/api/metrics_api.py b/src/datadog_api_client/v2/api/metrics_api.py index 444981f050..d5cdef5c54 100644 --- a/src/datadog_api_client/v2/api/metrics_api.py +++ b/src/datadog_api_client/v2/api/metrics_api.py @@ -171,6 +171,7 @@ def __init__(self, api_client=None): "filter_hours_ago": { "validation": { "inclusive_maximum": 2147483647, + "inclusive_minimum": 49, }, "openapi_types": (int,), "attribute": "filter[hours_ago]", @@ -546,7 +547,7 @@ def estimate_metrics_output_series( :type metric_name: str :param filter_groups: Filtered tag keys that the metric is configured to query with. :type filter_groups: str, optional - :param filter_hours_ago: The number of hours of look back (from now) to estimate cardinality with. + :param filter_hours_ago: The number of hours of look back (from now) to estimate cardinality with. Estimates are based on historical data, and unspecified fields default to the minimum 49 hours. :type filter_hours_ago: int, optional :param filter_num_aggregations: The number of aggregations that a ``count`` , ``rate`` , or ``gauge`` metric is configured to use. Max number of aggregation combos is 9. :type filter_num_aggregations: int, optional