From 53fa948a864a6a68fb8ee7b1efcf5f46a1722a0d Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 25 Sep 2024 18:30:56 +0000 Subject: [PATCH] Regenerate client from commit bb12dce7 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 11 ++++++++--- src/datadog_api_client/v2/api/metrics_api.py | 4 ++-- .../v2/model/dora_deployment_request_attributes.py | 8 ++++++++ 4 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index cd81d3f13c..508d1c59bb 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-09-24 18:16:22.924081", - "spec_repo_commit": "2eb52c63" + "regenerated": "2024-09-25 18:30:25.021552", + "spec_repo_commit": "bb12dce7" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-09-24 18:16:22.938930", - "spec_repo_commit": "2eb52c63" + "regenerated": "2024-09-25 18:30:25.036924", + "spec_repo_commit": "bb12dce7" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 016f856e27..d9c19dec62 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -6559,6 +6559,12 @@ components: example: 1693491974000000000 format: int64 type: integer + team: + description: Name of the team owning the deployed service. If not provided, + this is automatically populated with the team associated with the service + in the Service Catalog. + example: backend + type: string version: description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/). example: v1.12.07 @@ -32865,8 +32871,7 @@ paths: schema: type: string - description: 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. + with. If unspecified, it defaults to 0 hours. example: 49 in: query name: filter[hours_ago] @@ -32895,7 +32900,7 @@ paths: schema: type: boolean - description: A window, in hours, from the look back to estimate cardinality - with. + with. The minimum is 1 hour. example: 6 in: query name: filter[timespan_h] diff --git a/src/datadog_api_client/v2/api/metrics_api.py b/src/datadog_api_client/v2/api/metrics_api.py index e6fa24bb1c..afe233b497 100644 --- a/src/datadog_api_client/v2/api/metrics_api.py +++ b/src/datadog_api_client/v2/api/metrics_api.py @@ -573,13 +573,13 @@ 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. Estimates are based on historical data, and unspecified fields default to the minimum 49 hours. + :param filter_hours_ago: The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 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 :param filter_pct: A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators. :type filter_pct: bool, optional - :param filter_timespan_h: A window, in hours, from the look back to estimate cardinality with. + :param filter_timespan_h: A window, in hours, from the look back to estimate cardinality with. The minimum is 1 hour. :type filter_timespan_h: int, optional :rtype: MetricEstimateResponse """ diff --git a/src/datadog_api_client/v2/model/dora_deployment_request_attributes.py b/src/datadog_api_client/v2/model/dora_deployment_request_attributes.py index da4e8e5c47..098947afd8 100644 --- a/src/datadog_api_client/v2/model/dora_deployment_request_attributes.py +++ b/src/datadog_api_client/v2/model/dora_deployment_request_attributes.py @@ -29,6 +29,7 @@ def openapi_types(_): "id": (str,), "service": (str,), "started_at": (int,), + "team": (str,), "version": (str,), } @@ -39,6 +40,7 @@ def openapi_types(_): "id": "id", "service": "service", "started_at": "started_at", + "team": "team", "version": "version", } @@ -50,6 +52,7 @@ def __init__( env: Union[str, UnsetType] = unset, git: Union[DORAGitInfo, UnsetType] = unset, id: Union[str, UnsetType] = unset, + team: Union[str, UnsetType] = unset, version: Union[str, UnsetType] = unset, **kwargs, ): @@ -74,6 +77,9 @@ def __init__( :param started_at: Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds. :type started_at: int + :param team: Name of the team owning the deployed service. If not provided, this is automatically populated with the team associated with the service in the Service Catalog. + :type team: str, optional + :param version: Version to correlate with `APM Deployment Tracking `_. :type version: str, optional """ @@ -83,6 +89,8 @@ def __init__( kwargs["git"] = git if id is not unset: kwargs["id"] = id + if team is not unset: + kwargs["team"] = team if version is not unset: kwargs["version"] = version super().__init__(kwargs)