Skip to content

Commit 2c9d2f3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 82fb58c of spec repo
1 parent 968a0b5 commit 2c9d2f3

7 files changed

Lines changed: 23 additions & 19 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,6 +3018,8 @@ components:
30183018
type: string
30193019
group_by:
30203020
description: Array of fields to group results by.
3021+
example:
3022+
- "resource_name"
30213023
items:
30223024
description: Field to group results by.
30233025
example: "resource_name"
@@ -3055,6 +3057,8 @@ components:
30553057
- name
30563058
- service
30573059
- stat
3060+
- operation_name
3061+
- group_by
30583062
type: object
30593063
FormulaAndFunctionCloudCostDataSource:
30603064
description: Data source for Cloud Cost queries.

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4431,6 +4431,8 @@ components:
44314431
type: string
44324432
group_by:
44334433
description: Tag keys to group results by.
4434+
example:
4435+
- resource_name
44344436
items:
44354437
description: A tag key to group by.
44364438
example: resource_name
@@ -4468,6 +4470,8 @@ components:
44684470
- env
44694471
- service
44704472
- stat
4473+
- operation_name
4474+
- group_by
44714475
type: object
44724476
ApmRetentionFilterType:
44734477
default: apm_retention_filter

src/datadog_api_client/v1/model/distribution_widget_histogram_request_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, **kwargs):
5252
:type env: str
5353
5454
:param operation_name: Name of operation on service.
55-
:type operation_name: str, optional
55+
:type operation_name: str
5656
5757
:param primary_tag_name: Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
5858
:type primary_tag_name: str, optional

src/datadog_api_client/v1/model/formula_and_function_apm_resource_stats_query_definition.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ def __init__(
7070
self_,
7171
data_source: FormulaAndFunctionApmResourceStatsDataSource,
7272
env: str,
73+
group_by: List[str],
7374
name: str,
75+
operation_name: str,
7476
service: str,
7577
stat: FormulaAndFunctionApmResourceStatName,
7678
cross_org_uuids: Union[List[str], UnsetType] = unset,
77-
group_by: Union[List[str], UnsetType] = unset,
78-
operation_name: Union[str, UnsetType] = unset,
7979
primary_tag_name: Union[str, UnsetType] = unset,
8080
primary_tag_value: Union[str, UnsetType] = unset,
8181
resource_name: Union[str, UnsetType] = unset,
@@ -94,13 +94,13 @@ def __init__(
9494
:type env: str
9595
9696
:param group_by: Array of fields to group results by.
97-
:type group_by: [str], optional
97+
:type group_by: [str]
9898
9999
:param name: Name of this query to use in formulas.
100100
:type name: str
101101
102102
:param operation_name: Name of operation on service.
103-
:type operation_name: str, optional
103+
:type operation_name: str
104104
105105
:param primary_tag_name: Name of the second primary tag used within APM. Required when ``primary_tag_value`` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
106106
:type primary_tag_name: str, optional
@@ -119,10 +119,6 @@ def __init__(
119119
"""
120120
if cross_org_uuids is not unset:
121121
kwargs["cross_org_uuids"] = cross_org_uuids
122-
if group_by is not unset:
123-
kwargs["group_by"] = group_by
124-
if operation_name is not unset:
125-
kwargs["operation_name"] = operation_name
126122
if primary_tag_name is not unset:
127123
kwargs["primary_tag_name"] = primary_tag_name
128124
if primary_tag_value is not unset:
@@ -133,6 +129,8 @@ def __init__(
133129

134130
self_.data_source = data_source
135131
self_.env = env
132+
self_.group_by = group_by
136133
self_.name = name
134+
self_.operation_name = operation_name
137135
self_.service = service
138136
self_.stat = stat

src/datadog_api_client/v2/model/apm_resource_stats_query.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ def __init__(
6262
self_,
6363
data_source: ApmResourceStatsDataSource,
6464
env: str,
65+
group_by: List[str],
6566
name: str,
67+
operation_name: str,
6668
service: str,
6769
stat: ApmResourceStatName,
6870
cross_org_uuids: Union[List[str], UnsetType] = unset,
69-
group_by: Union[List[str], UnsetType] = unset,
70-
operation_name: Union[str, UnsetType] = unset,
7171
primary_tag_name: Union[str, UnsetType] = unset,
7272
primary_tag_value: Union[str, UnsetType] = unset,
7373
resource_name: Union[str, UnsetType] = unset,
@@ -86,13 +86,13 @@ def __init__(
8686
:type env: str
8787
8888
:param group_by: Tag keys to group results by.
89-
:type group_by: [str], optional
89+
:type group_by: [str]
9090
9191
:param name: The variable name for use in formulas.
9292
:type name: str
9393
9494
:param operation_name: The APM operation name.
95-
:type operation_name: str, optional
95+
:type operation_name: str
9696
9797
:param primary_tag_name: Name of the second primary tag used within APM. Required when ``primary_tag_value`` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
9898
:type primary_tag_name: str, optional
@@ -111,10 +111,6 @@ def __init__(
111111
"""
112112
if cross_org_uuids is not unset:
113113
kwargs["cross_org_uuids"] = cross_org_uuids
114-
if group_by is not unset:
115-
kwargs["group_by"] = group_by
116-
if operation_name is not unset:
117-
kwargs["operation_name"] = operation_name
118114
if primary_tag_name is not unset:
119115
kwargs["primary_tag_name"] = primary_tag_name
120116
if primary_tag_value is not unset:
@@ -125,6 +121,8 @@ def __init__(
125121

126122
self_.data_source = data_source
127123
self_.env = env
124+
self_.group_by = group_by
128125
self_.name = name
126+
self_.operation_name = operation_name
129127
self_.service = service
130128
self_.stat = stat

src/datadog_api_client/v2/model/scalar_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
4646
:type env: str
4747
4848
:param operation_name: The APM operation name.
49-
:type operation_name: str, optional
49+
:type operation_name: str
5050
5151
:param primary_tag_name: Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
5252
:type primary_tag_name: str, optional

src/datadog_api_client/v2/model/timeseries_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, **kwargs):
4343
:type env: str
4444
4545
:param operation_name: The APM operation name.
46-
:type operation_name: str, optional
46+
:type operation_name: str
4747
4848
:param primary_tag_name: Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
4949
:type primary_tag_name: str, optional

0 commit comments

Comments
 (0)