Skip to content

Commit ef4c479

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 54d89d34 of spec repo
1 parent a72dcba commit ef4c479

File tree

13 files changed

+109
-63
lines changed

13 files changed

+109
-63
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-07-05 21:53:55.222745",
8-
"spec_repo_commit": "aee1c6e4"
7+
"regenerated": "2023-07-06 14:38:39.445130",
8+
"spec_repo_commit": "54d89d34"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-05 21:53:55.240576",
13-
"spec_repo_commit": "aee1c6e4"
12+
"regenerated": "2023-07-06 14:38:39.462456",
13+
"spec_repo_commit": "54d89d34"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -3116,6 +3116,12 @@ components:
31163116
ConfluentAccountResourceAttributes:
31173117
description: Attributes object for updating a Confluent resource.
31183118
properties:
3119+
enable_custom_metrics:
3120+
default: false
3121+
description: Enable the `custom.consumer_lag_offset` metric, which contains
3122+
extra metric tags.
3123+
example: false
3124+
type: boolean
31193125
id:
31203126
description: The ID associated with a Confluent resource.
31213127
example: resource-id-123
@@ -3256,6 +3262,12 @@ components:
32563262
ConfluentResourceRequestAttributes:
32573263
description: Attributes object for updating a Confluent resource.
32583264
properties:
3265+
enable_custom_metrics:
3266+
default: false
3267+
description: Enable the `custom.consumer_lag_offset` metric, which contains
3268+
extra metric tags.
3269+
example: false
3270+
type: boolean
32593271
resource_type:
32603272
description: The resource type of the Resource. Can be `kafka`, `connector`,
32613273
`ksql`, or `schema_registry`.
@@ -3298,6 +3310,12 @@ components:
32983310
ConfluentResourceResponseAttributes:
32993311
description: Model representation of a Confluent Cloud resource.
33003312
properties:
3313+
enable_custom_metrics:
3314+
default: false
3315+
description: Enable the `custom.consumer_lag_offset` metric, which contains
3316+
extra metric tags.
3317+
example: false
3318+
type: boolean
33013319
resource_type:
33023320
description: The resource type of the Resource. Can be `kafka`, `connector`,
33033321
`ksql`, or `schema_registry`.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-04-06T14:00:35.438Z"
1+
"2023-07-03T14:38:40.799Z"

cassettes/v2/Confluent-Cloud_3346528008/Add-resource-to-Confluent-account-returns-OK-response_877912458/recording.har

+25-25
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "602218339eeb958dbff2cb35633e7b1a",
11+
"_id": "4ee58e40959a3243a98e5b27158c3a2f",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"api_key\":\"TestAddresourcetoConfluentaccountreturnsOKresponse1680789635\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"api_key\":\"TestAddresourcetoConfluentaccountreturnsOKresponse1688395120\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts"
3939
},
4040
"response": {
41-
"bodySize": 271,
41+
"bodySize": 323,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 271,
45-
"text": "{\"data\":{\"type\":\"confluent-cloud-accounts\",\"attributes\":{\"tags\":[\"tag1\",\"tag2:val2\"],\"api_key\":\"TestAddresourcetoConfluentaccountreturnsOKresponse1680789635\",\"resources\":[{\"tags\":[\"tag1\",\"tag2:val2\"],\"resource_type\":\"kafka\",\"id\":\"test-resource-id\"}]},\"id\":\"cc6lo3zoip\"}}\n"
44+
"size": 323,
45+
"text": "{\"data\":{\"type\":\"confluent-cloud-accounts\",\"attributes\":{\"tags\":[\"tag1\",\"tag2:val2\"],\"resources\":[{\"id\":\"test-resource-id\",\"enable_custom_metrics\":false,\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"api_key\":\"TestAddresourcetoConfluentaccountreturnsOKresponse1688395120\"},\"id\":\"ca66091df9181d4c62d17f0484461a0d\"}}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,21 +51,21 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 630,
54+
"headersSize": 658,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2023-04-06T14:00:35.447Z",
61-
"time": 254
60+
"startedDateTime": "2023-07-03T14:38:41.087Z",
61+
"time": 163
6262
},
6363
{
64-
"_id": "a97b16fcb20ed59ac298ce43f624213c",
64+
"_id": "18138a6478085df7dcbf6f410b2302ed",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
68-
"bodySize": 186,
68+
"bodySize": 216,
6969
"cookies": [],
7070
"headers": [
7171
{
@@ -79,23 +79,23 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 616,
82+
"headersSize": 638,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "POST",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"resource_type\":\"kafka\",\"tags\":[\"myTag\",\"myTag2:myValue\"]},\"id\":\"testaddresourcetoconfluentaccountreturnsokresponse1680789635\",\"type\":\"confluent-cloud-resources\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"enable_custom_metrics\":false,\"resource_type\":\"kafka\",\"tags\":[\"myTag\",\"myTag2:myValue\"]},\"id\":\"testaddresourcetoconfluentaccountreturnsokresponse1688395120\",\"type\":\"confluent-cloud-resources\"}}"
8989
},
9090
"queryString": [],
91-
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/cc6lo3zoip/resources"
91+
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ca66091df9181d4c62d17f0484461a0d/resources"
9292
},
9393
"response": {
94-
"bodySize": 187,
94+
"bodySize": 217,
9595
"content": {
9696
"mimeType": "application/json",
97-
"size": 187,
98-
"text": "{\"data\":{\"type\":\"confluent-cloud-resources\",\"attributes\":{\"tags\":[\"mytag\",\"mytag2:myvalue\"],\"resource_type\":\"kafka\"},\"id\":\"testaddresourcetoconfluentaccountreturnsokresponse1680789635\"}}\n"
97+
"size": 217,
98+
"text": "{\"data\":{\"type\":\"confluent-cloud-resources\",\"attributes\":{\"enable_custom_metrics\":false,\"tags\":[\"mytag\",\"mytag2:myvalue\"],\"resource_type\":\"kafka\"},\"id\":\"testaddresourcetoconfluentaccountreturnsokresponse1688395120\"}}\n"
9999
},
100100
"cookies": [],
101101
"headers": [
@@ -104,17 +104,17 @@
104104
"value": "application/json"
105105
}
106106
],
107-
"headersSize": 630,
107+
"headersSize": 658,
108108
"httpVersion": "HTTP/1.1",
109109
"redirectURL": "",
110110
"status": 201,
111111
"statusText": "Created"
112112
},
113-
"startedDateTime": "2023-04-06T14:00:35.714Z",
114-
"time": 221
113+
"startedDateTime": "2023-07-03T14:38:41.259Z",
114+
"time": 161
115115
},
116116
{
117-
"_id": "67351ab77775fb3ac03dfaf0ca6840a5",
117+
"_id": "a614ffb777e16eaac1ff5aba97dc7e68",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -127,11 +127,11 @@
127127
"value": "*/*"
128128
}
129129
],
130-
"headersSize": 541,
130+
"headersSize": 563,
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/cc6lo3zoip"
134+
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ca66091df9181d4c62d17f0484461a0d"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -146,14 +146,14 @@
146146
"value": "text/html; charset=utf-8"
147147
}
148148
],
149-
"headersSize": 620,
149+
"headersSize": 648,
150150
"httpVersion": "HTTP/1.1",
151151
"redirectURL": "",
152152
"status": 204,
153153
"statusText": "No Content"
154154
},
155-
"startedDateTime": "2023-04-06T14:00:35.949Z",
156-
"time": 197
155+
"startedDateTime": "2023-07-03T14:38:41.429Z",
156+
"time": 146
157157
}
158158
],
159159
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-10-06T21:02:45.471Z"
1+
"2023-07-03T14:38:41.593Z"

cassettes/v2/Confluent-Cloud_3346528008/Get-Confluent-account-returns-OK-response_3429814760/recording.har

+23-23
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "664cac629cad7cfe034980ce3082a3e1",
11+
"_id": "8819d64901519634e6026debce0340fc",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1665090165\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1688395121\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts"
3939
},
4040
"response": {
41-
"bodySize": 261,
41+
"bodySize": 313,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 261,
45-
"text": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1665090165\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\",\"id\":\"d43d474jxm\"}}\n"
44+
"size": 313,
45+
"text": "{\"data\":{\"type\":\"confluent-cloud-accounts\",\"id\":\"8a03a240e4d322d42edf6d4f4654a624\",\"attributes\":{\"resources\":[{\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"],\"enable_custom_metrics\":false,\"id\":\"test-resource-id\"}],\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1688395121\",\"tags\":[\"tag1\",\"tag2:val2\"]}}}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 631,
54+
"headersSize": 658,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2022-10-06T21:02:45.473Z",
61-
"time": 406
60+
"startedDateTime": "2023-07-03T14:38:41.596Z",
61+
"time": 157
6262
},
6363
{
64-
"_id": "e3672a639af49dfb4ff60a8a8bf2168f",
64+
"_id": "ba343b3bf02449590e33a156abe4ac50",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,18 +74,18 @@
7474
"value": "application/json"
7575
}
7676
],
77-
"headersSize": 548,
77+
"headersSize": 570,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "GET",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/d43d474jxm"
81+
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/8a03a240e4d322d42edf6d4f4654a624"
8282
},
8383
"response": {
84-
"bodySize": 261,
84+
"bodySize": 313,
8585
"content": {
8686
"mimeType": "application/json",
87-
"size": 261,
88-
"text": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1665090165\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\",\"id\":\"d43d474jxm\"}}\n"
87+
"size": 313,
88+
"text": "{\"data\":{\"type\":\"confluent-cloud-accounts\",\"attributes\":{\"resources\":[{\"enable_custom_metrics\":false,\"id\":\"test-resource-id\",\"tags\":[\"tag1\",\"tag2:val2\"],\"resource_type\":\"kafka\"}],\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1688395121\",\"tags\":[\"tag1\",\"tag2:val2\"]},\"id\":\"8a03a240e4d322d42edf6d4f4654a624\"}}\n"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -94,17 +94,17 @@
9494
"value": "application/json"
9595
}
9696
],
97-
"headersSize": 633,
97+
"headersSize": 660,
9898
"httpVersion": "HTTP/1.1",
9999
"redirectURL": "",
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-10-06T21:02:45.885Z",
104-
"time": 174
103+
"startedDateTime": "2023-07-03T14:38:41.759Z",
104+
"time": 94
105105
},
106106
{
107-
"_id": "14ba4899ea294f17253b507c5e07a486",
107+
"_id": "3eba4a4896a70e8deb2d8e8df92655a7",
108108
"_order": 0,
109109
"cache": {},
110110
"request": {
@@ -117,11 +117,11 @@
117117
"value": "*/*"
118118
}
119119
],
120-
"headersSize": 541,
120+
"headersSize": 563,
121121
"httpVersion": "HTTP/1.1",
122122
"method": "DELETE",
123123
"queryString": [],
124-
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/d43d474jxm"
124+
"url": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/8a03a240e4d322d42edf6d4f4654a624"
125125
},
126126
"response": {
127127
"bodySize": 0,
@@ -136,14 +136,14 @@
136136
"value": "text/html; charset=utf-8"
137137
}
138138
],
139-
"headersSize": 621,
139+
"headersSize": 648,
140140
"httpVersion": "HTTP/1.1",
141141
"redirectURL": "",
142142
"status": 204,
143143
"statusText": "No Content"
144144
},
145-
"startedDateTime": "2022-10-06T21:02:46.069Z",
146-
"time": 194
145+
"startedDateTime": "2023-07-03T14:38:41.860Z",
146+
"time": 150
147147
}
148148
],
149149
"pages": [],

examples/v2/confluent-cloud/CreateConfluentAccount.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const params: v2.ConfluentCloudApiCreateConfluentAccountRequest = {
1515
apiSecret: "test-api-secret-123",
1616
resources: [
1717
{
18+
enableCustomMetrics: false,
1819
id: "resource-id-123",
1920
resourceType: "kafka",
2021
tags: ["myTag", "myTag2:myValue"],

examples/v2/confluent-cloud/CreateConfluentResource.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const params: v2.ConfluentCloudApiCreateConfluentResourceRequest = {
1717
attributes: {
1818
resourceType: "kafka",
1919
tags: ["myTag", "myTag2:myValue"],
20+
enableCustomMetrics: false,
2021
},
2122
id: "exampleconfluentcloud",
2223
type: "confluent-cloud-resources",

examples/v2/confluent-cloud/UpdateConfluentResource.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const params: v2.ConfluentCloudApiUpdateConfluentResourceRequest = {
1111
body: {
1212
data: {
1313
attributes: {
14+
enableCustomMetrics: false,
1415
resourceType: "kafka",
1516
tags: ["myTag", "myTag2:myValue"],
1617
},

0 commit comments

Comments
 (0)