Skip to content

Commit 6f77079

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cbe71796 of spec repo
1 parent 19259ec commit 6f77079

File tree

6 files changed

+23
-14
lines changed

6 files changed

+23
-14
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.6",
7-
"regenerated": "2024-10-28 23:07:48.631310",
8-
"spec_repo_commit": "4251a422"
7+
"regenerated": "2024-10-29 17:04:10.618629",
8+
"spec_repo_commit": "cbe71796"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-28 23:07:48.650835",
13-
"spec_repo_commit": "4251a422"
12+
"regenerated": "2024-10-29 17:04:10.636738",
13+
"spec_repo_commit": "cbe71796"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4520,10 +4520,13 @@ components:
45204520
example: test-name
45214521
type: string
45224522
resources:
4523-
description: An allowlist of resources to restrict pulling metrics for.
4523+
description: An allowlist of resources to restrict pulling metrics for including
4524+
`'web', 'dns', 'lb' (load balancer), 'worker'`.
45244525
example:
45254526
- web
45264527
- dns
4528+
- lb
4529+
- worker
45274530
items:
45284531
type: string
45294532
type: array
@@ -4568,10 +4571,13 @@ components:
45684571
example: test-name
45694572
type: string
45704573
resources:
4571-
description: An allowlist of resources to restrict pulling metrics for.
4574+
description: An allowlist of resources to restrict pulling metrics for including
4575+
`'web', 'dns', 'lb' (load balancer), 'worker'`.
45724576
example:
45734577
- web
45744578
- dns
4579+
- lb
4580+
- worker
45754581
items:
45764582
type: string
45774583
type: array
@@ -4635,10 +4641,13 @@ components:
46354641
description: The name of the Cloudflare account.
46364642
type: string
46374643
resources:
4638-
description: An allowlist of resources to restrict pulling metrics for.
4644+
description: An allowlist of resources to restrict pulling metrics for including
4645+
`'web', 'dns', 'lb' (load balancer), 'worker'`.
46394646
example:
46404647
- web
46414648
- dns
4649+
- lb
4650+
- worker
46424651
items:
46434652
type: string
46444653
type: array

features/v2/cloudflare_integration.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Feature: Cloudflare Integration
1313
@generated @skip @team:DataDog/saas-integrations
1414
Scenario: Add Cloudflare account returns "Bad Request" response
1515
Given new "CreateCloudflareAccount" request
16-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
16+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
1717
When the request is sent
1818
Then the response status is 400 Bad Request
1919

@@ -44,7 +44,7 @@ Feature: Cloudflare Integration
4444
@generated @skip @team:DataDog/saas-integrations
4545
Scenario: Add Cloudflare account returns "Not Found" response
4646
Given new "CreateCloudflareAccount" request
47-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
47+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
4848
When the request is sent
4949
Then the response status is 404 Not Found
5050

@@ -118,7 +118,7 @@ Feature: Cloudflare Integration
118118
Scenario: Update Cloudflare account returns "Bad Request" response
119119
Given new "UpdateCloudflareAccount" request
120120
And request contains "account_id" parameter from "REPLACE.ME"
121-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
121+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
122122
When the request is sent
123123
Then the response status is 400 Bad Request
124124

@@ -144,7 +144,7 @@ Feature: Cloudflare Integration
144144
Scenario: Update Cloudflare account returns "Not Found" response
145145
Given new "UpdateCloudflareAccount" request
146146
And request contains "account_id" parameter from "REPLACE.ME"
147-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
147+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
148148
When the request is sent
149149
Then the response status is 404 Not Found
150150

lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CloudflareAccountCreateRequestAttributes
3030
# The name of the Cloudflare account.
3131
attr_reader :name
3232

33-
# An allowlist of resources to restrict pulling metrics for.
33+
# An allowlist of resources to restrict pulling metrics for including `'web', 'dns', 'lb' (load balancer), 'worker'`.
3434
attr_accessor :resources
3535

3636
# An allowlist of zones to restrict pulling metrics for.

lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CloudflareAccountResponseAttributes
2727
# The name of the Cloudflare account.
2828
attr_reader :name
2929

30-
# An allowlist of resources to restrict pulling metrics for.
30+
# An allowlist of resources to restrict pulling metrics for including `'web', 'dns', 'lb' (load balancer), 'worker'`.
3131
attr_accessor :resources
3232

3333
# An allowlist of zones to restrict pulling metrics for.

lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CloudflareAccountUpdateRequestAttributes
3030
# The name of the Cloudflare account.
3131
attr_accessor :name
3232

33-
# An allowlist of resources to restrict pulling metrics for.
33+
# An allowlist of resources to restrict pulling metrics for including `'web', 'dns', 'lb' (load balancer), 'worker'`.
3434
attr_accessor :resources
3535

3636
# An allowlist of zones to restrict pulling metrics for.

0 commit comments

Comments
 (0)