Skip to content

Commit

Permalink
Regenerate client from commit bb12dce7 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Sep 25, 2024
1 parent 160f34a commit 53fa948
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
11 changes: 8 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/metrics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def openapi_types(_):
"id": (str,),
"service": (str,),
"started_at": (int,),
"team": (str,),
"version": (str,),
}

Expand All @@ -39,6 +40,7 @@ def openapi_types(_):
"id": "id",
"service": "service",
"started_at": "started_at",
"team": "team",
"version": "version",
}

Expand All @@ -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,
):
Expand All @@ -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 <https://docs.datadoghq.com/tracing/services/deployment_tracking/>`_.
:type version: str, optional
"""
Expand All @@ -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)
Expand Down

0 comments on commit 53fa948

Please sign in to comment.