Skip to content

Commit ecc0b17

Browse files
feat(api): api update
1 parent 1a5e6ff commit ecc0b17

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
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: 1704
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-2558a93cb942c4b5c643bb06b7d0e82966ee4a2acbfdb94c8db755f566070c32.yml
3-
openapi_spec_hash: 9b4f91a314f3c6d8ef27824c3c0fc830
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b42cd13a683c26b8cd08fba6f389a30580db8723a0767634d11574e20e01e635.yml
3+
openapi_spec_hash: cb9bcc381cc1607ef6dd1041b3308530
44
config_hash: 67f412c990647f3cb598378fa22a9db5

src/cloudflare/resources/cloud_connector/rules.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ def update(
6161
Put Rules
6262
6363
Args:
64-
zone_id: Identifier
65-
66-
rules: List of Cloud Connector rules
64+
zone_id: Identifier.
6765
6866
extra_headers: Send extra headers
6967
@@ -101,7 +99,7 @@ def list(
10199
Rules
102100
103101
Args:
104-
zone_id: Identifier
102+
zone_id: Identifier.
105103
106104
extra_headers: Send extra headers
107105
@@ -159,9 +157,7 @@ def update(
159157
Put Rules
160158
161159
Args:
162-
zone_id: Identifier
163-
164-
rules: List of Cloud Connector rules
160+
zone_id: Identifier.
165161
166162
extra_headers: Send extra headers
167163
@@ -199,7 +195,7 @@ def list(
199195
Rules
200196
201197
Args:
202-
zone_id: Identifier
198+
zone_id: Identifier.
203199
204200
extra_headers: Send extra headers
205201

src/cloudflare/types/cloud_connector/rule_update_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010

1111
class RuleUpdateParams(TypedDict, total=False):
1212
zone_id: Required[str]
13-
"""Identifier"""
13+
"""Identifier."""
1414

1515
rules: Iterable[Rule]
16-
"""List of Cloud Connector rules"""
1716

1817

1918
class RuleParameters(TypedDict, total=False):

0 commit comments

Comments
 (0)