Skip to content

Commit 41e4f87

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Revert "Enable automerging for cloudflare routes." (#2113)
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 af7c461 commit 41e4f87

File tree

4 files changed

+4
-27
lines changed

4 files changed

+4
-27
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-08-16 20:37:03.717440",
8-
"spec_repo_commit": "9c789d05"
7+
"regenerated": "2024-08-19 14:31:51.463182",
8+
"spec_repo_commit": "a4585fac"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-16 20:37:03.734852",
13-
"spec_repo_commit": "9c789d05"
12+
"regenerated": "2024-08-19 14:31:51.483205",
13+
"spec_repo_commit": "a4585fac"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4426,10 +4426,6 @@ components:
44264426
CloudflareAccountResponseAttributes:
44274427
description: Attributes object of a Cloudflare account.
44284428
properties:
4429-
api_key:
4430-
description: The CloudflareAccountResponseAttributes api_key.
4431-
type: string
4432-
writeOnly: true
44334429
email:
44344430
description: The email associated with the Cloudflare account.
44354431
@@ -4502,9 +4498,6 @@ components:
45024498
key is provided (and not a token), this field is also required.
45034499
45044500
type: string
4505-
name:
4506-
description: The CloudflareAccountUpdateRequestAttributes name.
4507-
type: string
45084501
resources:
45094502
description: An allowlist of resources to restrict pulling metrics for.
45104503
example:

src/datadog_api_client/v2/model/cloudflare_account_response_attributes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ class CloudflareAccountResponseAttributes(ModelNormal):
1717
@cached_property
1818
def openapi_types(_):
1919
return {
20-
"api_key": (str,),
2120
"email": (str,),
2221
"name": (str,),
2322
"resources": ([str],),
2423
"zones": ([str],),
2524
}
2625

2726
attribute_map = {
28-
"api_key": "api_key",
2927
"email": "email",
3028
"name": "name",
3129
"resources": "resources",
@@ -35,7 +33,6 @@ def openapi_types(_):
3533
def __init__(
3634
self_,
3735
name: str,
38-
api_key: Union[str, UnsetType] = unset,
3936
email: Union[str, UnsetType] = unset,
4037
resources: Union[List[str], UnsetType] = unset,
4138
zones: Union[List[str], UnsetType] = unset,
@@ -44,9 +41,6 @@ def __init__(
4441
"""
4542
Attributes object of a Cloudflare account.
4643
47-
:param api_key: The CloudflareAccountResponseAttributes api_key.
48-
:type api_key: str, optional
49-
5044
:param email: The email associated with the Cloudflare account.
5145
:type email: str, optional
5246
@@ -59,8 +53,6 @@ def __init__(
5953
:param zones: An allowlist of zones to restrict pulling metrics for.
6054
:type zones: [str], optional
6155
"""
62-
if api_key is not unset:
63-
kwargs["api_key"] = api_key
6456
if email is not unset:
6557
kwargs["email"] = email
6658
if resources is not unset:

src/datadog_api_client/v2/model/cloudflare_account_update_request_attributes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ def openapi_types(_):
1919
return {
2020
"api_key": (str,),
2121
"email": (str,),
22-
"name": (str,),
2322
"resources": ([str],),
2423
"zones": ([str],),
2524
}
2625

2726
attribute_map = {
2827
"api_key": "api_key",
2928
"email": "email",
30-
"name": "name",
3129
"resources": "resources",
3230
"zones": "zones",
3331
}
@@ -36,7 +34,6 @@ def __init__(
3634
self_,
3735
api_key: str,
3836
email: Union[str, UnsetType] = unset,
39-
name: Union[str, UnsetType] = unset,
4037
resources: Union[List[str], UnsetType] = unset,
4138
zones: Union[List[str], UnsetType] = unset,
4239
**kwargs,
@@ -50,9 +47,6 @@ def __init__(
5047
:param email: The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
5148
:type email: str, optional
5249
53-
:param name: The CloudflareAccountUpdateRequestAttributes name.
54-
:type name: str, optional
55-
5650
:param resources: An allowlist of resources to restrict pulling metrics for.
5751
:type resources: [str], optional
5852
@@ -61,8 +55,6 @@ def __init__(
6155
"""
6256
if email is not unset:
6357
kwargs["email"] = email
64-
if name is not unset:
65-
kwargs["name"] = name
6658
if resources is not unset:
6759
kwargs["resources"] = resources
6860
if zones is not unset:

0 commit comments

Comments
 (0)