Skip to content

Commit 9df27c1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add missing response fields to MTD usage attribution endpoint (#1259)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent a8ecb00 commit 9df27c1

File tree

3 files changed

+149
-4
lines changed

3 files changed

+149
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2022-11-30 16:08:24.348724",
8-
"spec_repo_commit": "cb4d2fcb"
7+
"regenerated": "2022-11-30 16:38:27.467657",
8+
"spec_repo_commit": "0035b416"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-11-30 16:08:24.405365",
13-
"spec_repo_commit": "cb4d2fcb"
12+
"regenerated": "2022-11-30 16:38:27.608166",
13+
"spec_repo_commit": "0035b416"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7156,6 +7156,22 @@ components:
71567156
description: The container usage by tag(s).
71577157
format: double
71587158
type: number
7159+
cspm_containers_percentage:
7160+
description: The percentage of CSPM container usage by tag(s).
7161+
format: double
7162+
type: number
7163+
cspm_containers_usage:
7164+
description: The CSPM container usage by tag(s).
7165+
format: double
7166+
type: number
7167+
cspm_hosts_percentage:
7168+
description: The percentage of CSPM host usage by by tag(s).
7169+
format: double
7170+
type: number
7171+
cspm_hosts_usage:
7172+
description: The CSPM host usage by tag(s).
7173+
format: double
7174+
type: number
71597175
custom_timeseries_percentage:
71607176
description: The percentage of custom metrics usage by tag(s).
71617177
format: double
@@ -7164,6 +7180,39 @@ components:
71647180
description: The custom metrics usage by tag(s).
71657181
format: double
71667182
type: number
7183+
cws_containers_percentage:
7184+
description: The percentage of Cloud Workload Security container usage by
7185+
tag(s).
7186+
format: double
7187+
type: number
7188+
cws_containers_usage:
7189+
description: The Cloud Workload Security container usage by tag(s).
7190+
format: double
7191+
type: number
7192+
cws_hosts_percentage:
7193+
description: The percentage of Cloud Workload Security host usage by tag(s).
7194+
format: double
7195+
type: number
7196+
cws_hosts_usage:
7197+
description: The Cloud Workload Security host usage by tag(s).
7198+
format: double
7199+
type: number
7200+
dbm_hosts_percentage:
7201+
description: The percentage of Database Monitoring host usage by tag(s).
7202+
format: double
7203+
type: number
7204+
dbm_hosts_usage:
7205+
description: The Database Monitoring host usage by tag(s).
7206+
format: double
7207+
type: number
7208+
dbm_queries_percentage:
7209+
description: The percentage of Database Monitoring queries usage by tag(s).
7210+
format: double
7211+
type: number
7212+
dbm_queries_usage:
7213+
description: The Database Monitoring queries usage by tag(s).
7214+
format: double
7215+
type: number
71677216
estimated_indexed_logs_percentage:
71687217
description: The percentage of estimated live indexed logs usage by tag(s).
71697218
This field is in private beta.

src/datadog_api_client/v1/model/monthly_usage_attribution_values.py

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,20 @@ def openapi_types(_):
3131
"browser_usage": (float,),
3232
"container_percentage": (float,),
3333
"container_usage": (float,),
34+
"cspm_containers_percentage": (float,),
35+
"cspm_containers_usage": (float,),
36+
"cspm_hosts_percentage": (float,),
37+
"cspm_hosts_usage": (float,),
3438
"custom_timeseries_percentage": (float,),
3539
"custom_timeseries_usage": (float,),
40+
"cws_containers_percentage": (float,),
41+
"cws_containers_usage": (float,),
42+
"cws_hosts_percentage": (float,),
43+
"cws_hosts_usage": (float,),
44+
"dbm_hosts_percentage": (float,),
45+
"dbm_hosts_usage": (float,),
46+
"dbm_queries_percentage": (float,),
47+
"dbm_queries_usage": (float,),
3648
"estimated_indexed_logs_percentage": (float,),
3749
"estimated_indexed_logs_usage": (float,),
3850
"estimated_indexed_spans_percentage": (float,),
@@ -76,8 +88,20 @@ def openapi_types(_):
7688
"browser_usage": "browser_usage",
7789
"container_percentage": "container_percentage",
7890
"container_usage": "container_usage",
91+
"cspm_containers_percentage": "cspm_containers_percentage",
92+
"cspm_containers_usage": "cspm_containers_usage",
93+
"cspm_hosts_percentage": "cspm_hosts_percentage",
94+
"cspm_hosts_usage": "cspm_hosts_usage",
7995
"custom_timeseries_percentage": "custom_timeseries_percentage",
8096
"custom_timeseries_usage": "custom_timeseries_usage",
97+
"cws_containers_percentage": "cws_containers_percentage",
98+
"cws_containers_usage": "cws_containers_usage",
99+
"cws_hosts_percentage": "cws_hosts_percentage",
100+
"cws_hosts_usage": "cws_hosts_usage",
101+
"dbm_hosts_percentage": "dbm_hosts_percentage",
102+
"dbm_hosts_usage": "dbm_hosts_usage",
103+
"dbm_queries_percentage": "dbm_queries_percentage",
104+
"dbm_queries_usage": "dbm_queries_usage",
81105
"estimated_indexed_logs_percentage": "estimated_indexed_logs_percentage",
82106
"estimated_indexed_logs_usage": "estimated_indexed_logs_usage",
83107
"estimated_indexed_spans_percentage": "estimated_indexed_spans_percentage",
@@ -122,8 +146,20 @@ def __init__(
122146
browser_usage: Union[float, UnsetType] = unset,
123147
container_percentage: Union[float, UnsetType] = unset,
124148
container_usage: Union[float, UnsetType] = unset,
149+
cspm_containers_percentage: Union[float, UnsetType] = unset,
150+
cspm_containers_usage: Union[float, UnsetType] = unset,
151+
cspm_hosts_percentage: Union[float, UnsetType] = unset,
152+
cspm_hosts_usage: Union[float, UnsetType] = unset,
125153
custom_timeseries_percentage: Union[float, UnsetType] = unset,
126154
custom_timeseries_usage: Union[float, UnsetType] = unset,
155+
cws_containers_percentage: Union[float, UnsetType] = unset,
156+
cws_containers_usage: Union[float, UnsetType] = unset,
157+
cws_hosts_percentage: Union[float, UnsetType] = unset,
158+
cws_hosts_usage: Union[float, UnsetType] = unset,
159+
dbm_hosts_percentage: Union[float, UnsetType] = unset,
160+
dbm_hosts_usage: Union[float, UnsetType] = unset,
161+
dbm_queries_percentage: Union[float, UnsetType] = unset,
162+
dbm_queries_usage: Union[float, UnsetType] = unset,
127163
estimated_indexed_logs_percentage: Union[float, UnsetType] = unset,
128164
estimated_indexed_logs_usage: Union[float, UnsetType] = unset,
129165
estimated_indexed_spans_percentage: Union[float, UnsetType] = unset,
@@ -197,12 +233,48 @@ def __init__(
197233
:param container_usage: The container usage by tag(s).
198234
:type container_usage: float, optional
199235
236+
:param cspm_containers_percentage: The percentage of CSPM container usage by tag(s).
237+
:type cspm_containers_percentage: float, optional
238+
239+
:param cspm_containers_usage: The CSPM container usage by tag(s).
240+
:type cspm_containers_usage: float, optional
241+
242+
:param cspm_hosts_percentage: The percentage of CSPM host usage by by tag(s).
243+
:type cspm_hosts_percentage: float, optional
244+
245+
:param cspm_hosts_usage: The CSPM host usage by tag(s).
246+
:type cspm_hosts_usage: float, optional
247+
200248
:param custom_timeseries_percentage: The percentage of custom metrics usage by tag(s).
201249
:type custom_timeseries_percentage: float, optional
202250
203251
:param custom_timeseries_usage: The custom metrics usage by tag(s).
204252
:type custom_timeseries_usage: float, optional
205253
254+
:param cws_containers_percentage: The percentage of Cloud Workload Security container usage by tag(s).
255+
:type cws_containers_percentage: float, optional
256+
257+
:param cws_containers_usage: The Cloud Workload Security container usage by tag(s).
258+
:type cws_containers_usage: float, optional
259+
260+
:param cws_hosts_percentage: The percentage of Cloud Workload Security host usage by tag(s).
261+
:type cws_hosts_percentage: float, optional
262+
263+
:param cws_hosts_usage: The Cloud Workload Security host usage by tag(s).
264+
:type cws_hosts_usage: float, optional
265+
266+
:param dbm_hosts_percentage: The percentage of Database Monitoring host usage by tag(s).
267+
:type dbm_hosts_percentage: float, optional
268+
269+
:param dbm_hosts_usage: The Database Monitoring host usage by tag(s).
270+
:type dbm_hosts_usage: float, optional
271+
272+
:param dbm_queries_percentage: The percentage of Database Monitoring queries usage by tag(s).
273+
:type dbm_queries_percentage: float, optional
274+
275+
:param dbm_queries_usage: The Database Monitoring queries usage by tag(s).
276+
:type dbm_queries_usage: float, optional
277+
206278
:param estimated_indexed_logs_percentage: The percentage of estimated live indexed logs usage by tag(s). This field is in private beta.
207279
:type estimated_indexed_logs_percentage: float, optional
208280
@@ -309,10 +381,34 @@ def __init__(
309381
kwargs["container_percentage"] = container_percentage
310382
if container_usage is not unset:
311383
kwargs["container_usage"] = container_usage
384+
if cspm_containers_percentage is not unset:
385+
kwargs["cspm_containers_percentage"] = cspm_containers_percentage
386+
if cspm_containers_usage is not unset:
387+
kwargs["cspm_containers_usage"] = cspm_containers_usage
388+
if cspm_hosts_percentage is not unset:
389+
kwargs["cspm_hosts_percentage"] = cspm_hosts_percentage
390+
if cspm_hosts_usage is not unset:
391+
kwargs["cspm_hosts_usage"] = cspm_hosts_usage
312392
if custom_timeseries_percentage is not unset:
313393
kwargs["custom_timeseries_percentage"] = custom_timeseries_percentage
314394
if custom_timeseries_usage is not unset:
315395
kwargs["custom_timeseries_usage"] = custom_timeseries_usage
396+
if cws_containers_percentage is not unset:
397+
kwargs["cws_containers_percentage"] = cws_containers_percentage
398+
if cws_containers_usage is not unset:
399+
kwargs["cws_containers_usage"] = cws_containers_usage
400+
if cws_hosts_percentage is not unset:
401+
kwargs["cws_hosts_percentage"] = cws_hosts_percentage
402+
if cws_hosts_usage is not unset:
403+
kwargs["cws_hosts_usage"] = cws_hosts_usage
404+
if dbm_hosts_percentage is not unset:
405+
kwargs["dbm_hosts_percentage"] = dbm_hosts_percentage
406+
if dbm_hosts_usage is not unset:
407+
kwargs["dbm_hosts_usage"] = dbm_hosts_usage
408+
if dbm_queries_percentage is not unset:
409+
kwargs["dbm_queries_percentage"] = dbm_queries_percentage
410+
if dbm_queries_usage is not unset:
411+
kwargs["dbm_queries_usage"] = dbm_queries_usage
316412
if estimated_indexed_logs_percentage is not unset:
317413
kwargs["estimated_indexed_logs_percentage"] = estimated_indexed_logs_percentage
318414
if estimated_indexed_logs_usage is not unset:

0 commit comments

Comments
 (0)