Skip to content

Commit 7ec9f75

Browse files
feat(api): api update
1 parent eb4baec commit 7ec9f75

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1742
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c1fc686af48902a8161303b6d38e2cd6113ef7016fcdc37ec2e942858c777aa2.yml
3-
openapi_spec_hash: 480e6d9a74eae91baef63dc57e034a3a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dd0dbbc48af4e6afae18884ee3481dfc5a2b15bc7e010f84122f4f89aead97a5.yml
3+
openapi_spec_hash: b6387f7b9716ff59772012c98c55a0a7
44
config_hash: 85703bb37ad4f7b8bfeea6f128f351a0

tests/api_resources/zero_trust/tunnels/cloudflared/test_configurations.py

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -41,45 +41,45 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
4141
"origin_request": {
4242
"access": {
4343
"aud_tag": ["string"],
44-
"team_name": "teamName",
45-
"required": True,
44+
"team_name": "zero-trust-organization-name",
45+
"required": False,
4646
},
4747
"ca_pool": "caPool",
48-
"connect_timeout": 0,
48+
"connect_timeout": 10,
4949
"disable_chunked_encoding": True,
5050
"http2_origin": True,
5151
"http_host_header": "httpHostHeader",
52-
"keep_alive_connections": 0,
53-
"keep_alive_timeout": 0,
54-
"no_happy_eyeballs": True,
55-
"no_tls_verify": True,
52+
"keep_alive_connections": 100,
53+
"keep_alive_timeout": 90,
54+
"no_happy_eyeballs": False,
55+
"no_tls_verify": False,
5656
"origin_server_name": "originServerName",
5757
"proxy_type": "proxyType",
58-
"tcp_keep_alive": 0,
59-
"tls_timeout": 0,
58+
"tcp_keep_alive": 30,
59+
"tls_timeout": 10,
6060
},
6161
"path": "subpath",
6262
}
6363
],
6464
"origin_request": {
6565
"access": {
6666
"aud_tag": ["string"],
67-
"team_name": "teamName",
68-
"required": True,
67+
"team_name": "zero-trust-organization-name",
68+
"required": False,
6969
},
7070
"ca_pool": "caPool",
71-
"connect_timeout": 0,
71+
"connect_timeout": 10,
7272
"disable_chunked_encoding": True,
7373
"http2_origin": True,
7474
"http_host_header": "httpHostHeader",
75-
"keep_alive_connections": 0,
76-
"keep_alive_timeout": 0,
77-
"no_happy_eyeballs": True,
78-
"no_tls_verify": True,
75+
"keep_alive_connections": 100,
76+
"keep_alive_timeout": 90,
77+
"no_happy_eyeballs": False,
78+
"no_tls_verify": False,
7979
"origin_server_name": "originServerName",
8080
"proxy_type": "proxyType",
81-
"tcp_keep_alive": 0,
82-
"tls_timeout": 0,
81+
"tcp_keep_alive": 30,
82+
"tls_timeout": 10,
8383
},
8484
},
8585
)
@@ -198,45 +198,45 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
198198
"origin_request": {
199199
"access": {
200200
"aud_tag": ["string"],
201-
"team_name": "teamName",
202-
"required": True,
201+
"team_name": "zero-trust-organization-name",
202+
"required": False,
203203
},
204204
"ca_pool": "caPool",
205-
"connect_timeout": 0,
205+
"connect_timeout": 10,
206206
"disable_chunked_encoding": True,
207207
"http2_origin": True,
208208
"http_host_header": "httpHostHeader",
209-
"keep_alive_connections": 0,
210-
"keep_alive_timeout": 0,
211-
"no_happy_eyeballs": True,
212-
"no_tls_verify": True,
209+
"keep_alive_connections": 100,
210+
"keep_alive_timeout": 90,
211+
"no_happy_eyeballs": False,
212+
"no_tls_verify": False,
213213
"origin_server_name": "originServerName",
214214
"proxy_type": "proxyType",
215-
"tcp_keep_alive": 0,
216-
"tls_timeout": 0,
215+
"tcp_keep_alive": 30,
216+
"tls_timeout": 10,
217217
},
218218
"path": "subpath",
219219
}
220220
],
221221
"origin_request": {
222222
"access": {
223223
"aud_tag": ["string"],
224-
"team_name": "teamName",
225-
"required": True,
224+
"team_name": "zero-trust-organization-name",
225+
"required": False,
226226
},
227227
"ca_pool": "caPool",
228-
"connect_timeout": 0,
228+
"connect_timeout": 10,
229229
"disable_chunked_encoding": True,
230230
"http2_origin": True,
231231
"http_host_header": "httpHostHeader",
232-
"keep_alive_connections": 0,
233-
"keep_alive_timeout": 0,
234-
"no_happy_eyeballs": True,
235-
"no_tls_verify": True,
232+
"keep_alive_connections": 100,
233+
"keep_alive_timeout": 90,
234+
"no_happy_eyeballs": False,
235+
"no_tls_verify": False,
236236
"origin_server_name": "originServerName",
237237
"proxy_type": "proxyType",
238-
"tcp_keep_alive": 0,
239-
"tls_timeout": 0,
238+
"tcp_keep_alive": 30,
239+
"tls_timeout": 10,
240240
},
241241
},
242242
)

0 commit comments

Comments
 (0)