Skip to content

Commit 2c8617a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spectherve
authored
Regenerate client from commit 1e3acf42 of spec repo (#1269)
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> Co-authored-by: Thomas Hervé <[email protected]>
1 parent d3f836b commit 2c8617a

8 files changed

+109
-8
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-12-23 14:08:41.709526",
8-
"spec_repo_commit": "c3b2f174"
7+
"regenerated": "2022-12-23 16:48:50.519098",
8+
"spec_repo_commit": "1e3acf42"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-23 14:08:41.721393",
13-
"spec_repo_commit": "c3b2f174"
12+
"regenerated": "2022-12-23 16:48:50.534381",
13+
"spec_repo_commit": "1e3acf42"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3669,6 +3669,7 @@ components:
36693669
- profiled_container_usage
36703670
- profiled_host_usage
36713671
- snmp_usage
3672+
- estimated_rum_sessions_usage
36723673
type: string
36733674
x-enum-varnames:
36743675
- API_USAGE
@@ -3698,6 +3699,7 @@ components:
36983699
- PROFILED_CONTAINER_USAGE
36993700
- PROFILED_HOST_USAGE
37003701
- SNMP_USAGE
3702+
- ESTIMATED_RUM_SESSIONS_USAGE
37013703
IFrameWidgetDefinition:
37023704
description: The iframe widget allows you to embed a portion of any other web
37033705
page on your dashboard. Only available on FREE layout dashboards.
@@ -7024,6 +7026,8 @@ components:
70247026
- profiled_host_percentage
70257027
- snmp_usage
70267028
- snmp_percentage
7029+
- estimated_rum_sessions_usage
7030+
- estimated_rum_sessions_percentage
70277031
- '*'
70287032
type: string
70297033
x-enum-varnames:
@@ -7081,6 +7085,8 @@ components:
70817085
- PROFILED_HOST_PERCENTAGE
70827086
- SNMP_USAGE
70837087
- SNMP_PERCENTAGE
7088+
- ESTIMATED_RUM_SESSIONS_USAGE
7089+
- ESTIMATED_RUM_SESSIONS_PERCENTAGE
70847090
- ALL
70857091
MonthlyUsageAttributionValues:
70867092
description: Fields in Usage Summary by tag(s).
@@ -7241,6 +7247,16 @@ components:
72417247
in private beta.
72427248
format: double
72437249
type: number
7250+
estimated_rum_sessions_percentage:
7251+
description: The percentage of estimated rum sessions usage by tag(s). This
7252+
field is in private beta.
7253+
format: double
7254+
type: number
7255+
estimated_rum_sessions_usage:
7256+
description: The estimated rum sessions usage by tag(s). This field is in
7257+
private beta.
7258+
format: double
7259+
type: number
72447260
fargate_percentage:
72457261
description: The percentage of Fargate usage by tags.
72467262
format: double
@@ -14508,6 +14524,8 @@ components:
1450814524
- apm_fargate_percentage
1450914525
- appsec_fargate_usage
1451014526
- appsec_fargate_percentage
14527+
- estimated_rum_usage_attribution_usage
14528+
- estimated_rum_usage_attribution_percentage
1451114529
type: string
1451214530
x-enum-varnames:
1451314531
- API_PERCENTAGE
@@ -14544,6 +14562,8 @@ components:
1454414562
- APM_FARGATE_PERCENTAGE
1454514563
- APPSEC_FARGATE_USAGE
1454614564
- APPSEC_FARGATE_PERCENTAGE
14565+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
14566+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
1454714567
UsageAttributionSupportedMetrics:
1454814568
description: Supported fields for usage attribution requests (valid requests
1454914569
contain one or more metrics, or `*` for all).
@@ -14592,6 +14612,8 @@ components:
1459214612
- apm_fargate_percentage
1459314613
- appsec_fargate_usage
1459414614
- appsec_fargate_percentage
14615+
- estimated_rum_usage_attribution_usage
14616+
- estimated_rum_usage_attribution_percentage
1459514617
- '*'
1459614618
type: string
1459714619
x-enum-varnames:
@@ -14639,6 +14661,8 @@ components:
1463914661
- APM_FARGATE_PERCENTAGE
1464014662
- APPSEC_FARGATE_USAGE
1464114663
- APPSEC_FARGATE_PERCENTAGE
14664+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
14665+
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
1464214666
- ALL
1464314667
UsageAttributionTagNames:
1464414668
additionalProperties:
@@ -14830,6 +14854,16 @@ components:
1483014854
is in private beta.
1483114855
format: double
1483214856
type: number
14857+
estimated_rum_sessions_percentage:
14858+
description: The percentage of estimated rum sessions usage by tag(s). This
14859+
field is in private beta.
14860+
format: double
14861+
type: number
14862+
estimated_rum_sessions_usage:
14863+
description: The estimated rum sessions usage by tag(s). This field is in
14864+
private beta.
14865+
format: double
14866+
type: number
1483314867
infra_host_percentage:
1483414868
description: The percentage of infrastructure host usage by tag(s).
1483514869
format: double

src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
1616
"""
1717
Supported products for hourly usage attribution requests.
1818
19-
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_host_usage", "snmp_usage"].
19+
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_host_usage", "snmp_usage", "estimated_rum_sessions_usage"].
2020
:type value: str
2121
"""
2222

@@ -48,6 +48,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
4848
"profiled_container_usage",
4949
"profiled_host_usage",
5050
"snmp_usage",
51+
"estimated_rum_sessions_usage",
5152
}
5253
API_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
5354
APM_FARGATE_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -76,6 +77,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
7677
PROFILED_CONTAINER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
7778
PROFILED_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
7879
SNMP_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
80+
ESTIMATED_RUM_SESSIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
7981

8082
@cached_property
8183
def openapi_types(_):
@@ -119,3 +121,6 @@ def openapi_types(_):
119121
HourlyUsageAttributionUsageType.PROFILED_CONTAINER_USAGE = HourlyUsageAttributionUsageType("profiled_container_usage")
120122
HourlyUsageAttributionUsageType.PROFILED_HOST_USAGE = HourlyUsageAttributionUsageType("profiled_host_usage")
121123
HourlyUsageAttributionUsageType.SNMP_USAGE = HourlyUsageAttributionUsageType("snmp_usage")
124+
HourlyUsageAttributionUsageType.ESTIMATED_RUM_SESSIONS_USAGE = HourlyUsageAttributionUsageType(
125+
"estimated_rum_sessions_usage"
126+
)

src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
1616
"""
1717
Supported metrics for monthly usage attribution requests.
1818
19-
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "indexed_logs_usage", "indexed_logs_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "*"].
19+
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "indexed_logs_usage", "indexed_logs_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "estimated_rum_sessions_usage", "estimated_rum_sessions_percentage", "*"].
2020
:type value: str
2121
"""
2222

@@ -75,6 +75,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
7575
"profiled_host_percentage",
7676
"snmp_usage",
7777
"snmp_percentage",
78+
"estimated_rum_sessions_usage",
79+
"estimated_rum_sessions_percentage",
7880
"*",
7981
}
8082
API_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
@@ -131,6 +133,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
131133
PROFILED_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
132134
SNMP_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
133135
SNMP_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
136+
ESTIMATED_RUM_SESSIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
137+
ESTIMATED_RUM_SESSIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
134138
ALL: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
135139

136140
@cached_property
@@ -264,4 +268,10 @@ def openapi_types(_):
264268
)
265269
MonthlyUsageAttributionSupportedMetrics.SNMP_USAGE = MonthlyUsageAttributionSupportedMetrics("snmp_usage")
266270
MonthlyUsageAttributionSupportedMetrics.SNMP_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics("snmp_percentage")
271+
MonthlyUsageAttributionSupportedMetrics.ESTIMATED_RUM_SESSIONS_USAGE = MonthlyUsageAttributionSupportedMetrics(
272+
"estimated_rum_sessions_usage"
273+
)
274+
MonthlyUsageAttributionSupportedMetrics.ESTIMATED_RUM_SESSIONS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
275+
"estimated_rum_sessions_percentage"
276+
)
267277
MonthlyUsageAttributionSupportedMetrics.ALL = MonthlyUsageAttributionSupportedMetrics("*")

src/datadog_api_client/v1/model/monthly_usage_attribution_values.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def openapi_types(_):
5353
"estimated_ingested_logs_usage": (float,),
5454
"estimated_ingested_spans_percentage": (float,),
5555
"estimated_ingested_spans_usage": (float,),
56+
"estimated_rum_sessions_percentage": (float,),
57+
"estimated_rum_sessions_usage": (float,),
5658
"fargate_percentage": (float,),
5759
"fargate_usage": (float,),
5860
"functions_percentage": (float,),
@@ -110,6 +112,8 @@ def openapi_types(_):
110112
"estimated_ingested_logs_usage": "estimated_ingested_logs_usage",
111113
"estimated_ingested_spans_percentage": "estimated_ingested_spans_percentage",
112114
"estimated_ingested_spans_usage": "estimated_ingested_spans_usage",
115+
"estimated_rum_sessions_percentage": "estimated_rum_sessions_percentage",
116+
"estimated_rum_sessions_usage": "estimated_rum_sessions_usage",
113117
"fargate_percentage": "fargate_percentage",
114118
"fargate_usage": "fargate_usage",
115119
"functions_percentage": "functions_percentage",
@@ -168,6 +172,8 @@ def __init__(
168172
estimated_ingested_logs_usage: Union[float, UnsetType] = unset,
169173
estimated_ingested_spans_percentage: Union[float, UnsetType] = unset,
170174
estimated_ingested_spans_usage: Union[float, UnsetType] = unset,
175+
estimated_rum_sessions_percentage: Union[float, UnsetType] = unset,
176+
estimated_rum_sessions_usage: Union[float, UnsetType] = unset,
171177
fargate_percentage: Union[float, UnsetType] = unset,
172178
fargate_usage: Union[float, UnsetType] = unset,
173179
functions_percentage: Union[float, UnsetType] = unset,
@@ -299,6 +305,12 @@ def __init__(
299305
:param estimated_ingested_spans_usage: The estimated ingested spans usage by tag(s). This field is in private beta.
300306
:type estimated_ingested_spans_usage: float, optional
301307
308+
:param estimated_rum_sessions_percentage: The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
309+
:type estimated_rum_sessions_percentage: float, optional
310+
311+
:param estimated_rum_sessions_usage: The estimated rum sessions usage by tag(s). This field is in private beta.
312+
:type estimated_rum_sessions_usage: float, optional
313+
302314
:param fargate_percentage: The percentage of Fargate usage by tags.
303315
:type fargate_percentage: float, optional
304316
@@ -425,6 +437,10 @@ def __init__(
425437
kwargs["estimated_ingested_spans_percentage"] = estimated_ingested_spans_percentage
426438
if estimated_ingested_spans_usage is not unset:
427439
kwargs["estimated_ingested_spans_usage"] = estimated_ingested_spans_usage
440+
if estimated_rum_sessions_percentage is not unset:
441+
kwargs["estimated_rum_sessions_percentage"] = estimated_rum_sessions_percentage
442+
if estimated_rum_sessions_usage is not unset:
443+
kwargs["estimated_rum_sessions_usage"] = estimated_rum_sessions_usage
428444
if fargate_percentage is not unset:
429445
kwargs["fargate_percentage"] = fargate_percentage
430446
if fargate_usage is not unset:

src/datadog_api_client/v1/model/usage_attribution_sort.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UsageAttributionSort(ModelSimple):
1616
"""
1717
The field to sort by.
1818
19-
:param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage"].
19+
:param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage"].
2020
:type value: str
2121
"""
2222

@@ -55,6 +55,8 @@ class UsageAttributionSort(ModelSimple):
5555
"apm_fargate_percentage",
5656
"appsec_fargate_usage",
5757
"appsec_fargate_percentage",
58+
"estimated_rum_usage_attribution_usage",
59+
"estimated_rum_usage_attribution_percentage",
5860
}
5961
API_PERCENTAGE: ClassVar["UsageAttributionSort"]
6062
SNMP_USAGE: ClassVar["UsageAttributionSort"]
@@ -90,6 +92,8 @@ class UsageAttributionSort(ModelSimple):
9092
APM_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
9193
APPSEC_FARGATE_USAGE: ClassVar["UsageAttributionSort"]
9294
APPSEC_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
95+
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE: ClassVar["UsageAttributionSort"]
96+
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSort"]
9397

9498
@cached_property
9599
def openapi_types(_):
@@ -132,3 +136,9 @@ def openapi_types(_):
132136
UsageAttributionSort.APM_FARGATE_PERCENTAGE = UsageAttributionSort("apm_fargate_percentage")
133137
UsageAttributionSort.APPSEC_FARGATE_USAGE = UsageAttributionSort("appsec_fargate_usage")
134138
UsageAttributionSort.APPSEC_FARGATE_PERCENTAGE = UsageAttributionSort("appsec_fargate_percentage")
139+
UsageAttributionSort.ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = UsageAttributionSort(
140+
"estimated_rum_usage_attribution_usage"
141+
)
142+
UsageAttributionSort.ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = UsageAttributionSort(
143+
"estimated_rum_usage_attribution_percentage"
144+
)

0 commit comments

Comments
 (0)