Skip to content

Commit 9f1f4b0

Browse files
feat(api): api update
1 parent d49e730 commit 9f1f4b0

12 files changed

Lines changed: 76 additions & 76 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1781
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-381ed84335cfa747d09c66cc65add15e3daceb84368f59aa9ce9067c5706d516.yml
3-
openapi_spec_hash: f4d8980ef4fa4c092ab0dfcb5cdb85f8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5b3a5962f102d4bffee87e6012f4afa9bd954a19c3bd78c368887941fb8ba92c.yml
3+
openapi_spec_hash: 23a363af2dc9dbe00b2e21fa0df67c43
44
config_hash: ab4569f2e8dd52d04ef8493482a67230

src/cloudflare/resources/logpush/datasets/fields.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get(
8484
) -> object:
8585
"""Lists all fields available for a dataset.
8686
87-
The response result is an object with
87+
The response result is. an object with
8888
key-value pairs, where keys are field names, and values are descriptions.
8989
9090
Args:
@@ -192,7 +192,7 @@ async def get(
192192
) -> object:
193193
"""Lists all fields available for a dataset.
194194
195-
The response result is an object with
195+
The response result is. an object with
196196
key-value pairs, where keys are field names, and values are descriptions.
197197
198198
Args:

src/cloudflare/resources/logpush/jobs.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ def create(
105105
Creates a new Logpush job for an account or zone.
106106
107107
Args:
108-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
109-
Additional configuration parameters supported by the destination may be
108+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
109+
pushed. Additional configuration parameters supported by the destination may be
110110
included.
111111
112112
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -122,7 +122,7 @@ def create(
122122
more information, refer to
123123
[Filters](https://developers.cloudflare.com/logs/reference/filters/).
124124
125-
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. The
125+
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. . The
126126
frequency at which Cloudflare sends batches of logs to your destination. Setting
127127
frequency to high sends your logs in larger quantities of smaller files. Setting
128128
frequency to low sends logs in smaller quantities of larger files.
@@ -151,7 +151,7 @@ def create(
151151
number of log lines per batch; this means that log files may contain many fewer
152152
lines than this.
153153
154-
name: Optional human readable job name. Not unique. Cloudflare suggests that you set
154+
name: Optional human readable job name. Not unique. Cloudflare suggests. that you set
155155
this to a meaningful string, like the domain name, to make it easier to identify
156156
your job.
157157
@@ -245,8 +245,8 @@ def update(
245245
246246
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
247247
248-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
249-
Additional configuration parameters supported by the destination may be
248+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
249+
pushed. Additional configuration parameters supported by the destination may be
250250
included.
251251
252252
enabled: Flag that indicates if the job is enabled.
@@ -255,7 +255,7 @@ def update(
255255
more information, refer to
256256
[Filters](https://developers.cloudflare.com/logs/reference/filters/).
257257
258-
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. The
258+
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. . The
259259
frequency at which Cloudflare sends batches of logs to your destination. Setting
260260
frequency to high sends your logs in larger quantities of smaller files. Setting
261261
frequency to low sends logs in smaller quantities of larger files.
@@ -284,7 +284,7 @@ def update(
284284
number of log lines per batch; this means that log files may contain many fewer
285285
lines than this.
286286
287-
name: Optional human readable job name. Not unique. Cloudflare suggests that you set
287+
name: Optional human readable job name. Not unique. Cloudflare suggests. that you set
288288
this to a meaningful string, like the domain name, to make it easier to identify
289289
your job.
290290
@@ -579,8 +579,8 @@ async def create(
579579
Creates a new Logpush job for an account or zone.
580580
581581
Args:
582-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
583-
Additional configuration parameters supported by the destination may be
582+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
583+
pushed. Additional configuration parameters supported by the destination may be
584584
included.
585585
586586
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -596,7 +596,7 @@ async def create(
596596
more information, refer to
597597
[Filters](https://developers.cloudflare.com/logs/reference/filters/).
598598
599-
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. The
599+
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. . The
600600
frequency at which Cloudflare sends batches of logs to your destination. Setting
601601
frequency to high sends your logs in larger quantities of smaller files. Setting
602602
frequency to low sends logs in smaller quantities of larger files.
@@ -625,7 +625,7 @@ async def create(
625625
number of log lines per batch; this means that log files may contain many fewer
626626
lines than this.
627627
628-
name: Optional human readable job name. Not unique. Cloudflare suggests that you set
628+
name: Optional human readable job name. Not unique. Cloudflare suggests. that you set
629629
this to a meaningful string, like the domain name, to make it easier to identify
630630
your job.
631631
@@ -719,8 +719,8 @@ async def update(
719719
720720
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
721721
722-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
723-
Additional configuration parameters supported by the destination may be
722+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
723+
pushed. Additional configuration parameters supported by the destination may be
724724
included.
725725
726726
enabled: Flag that indicates if the job is enabled.
@@ -729,7 +729,7 @@ async def update(
729729
more information, refer to
730730
[Filters](https://developers.cloudflare.com/logs/reference/filters/).
731731
732-
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. The
732+
frequency: This field is deprecated. Please use `max_upload_*` parameters instead. . The
733733
frequency at which Cloudflare sends batches of logs to your destination. Setting
734734
frequency to high sends your logs in larger quantities of smaller files. Setting
735735
frequency to low sends logs in smaller quantities of larger files.
@@ -758,7 +758,7 @@ async def update(
758758
number of log lines per batch; this means that log files may contain many fewer
759759
lines than this.
760760
761-
name: Optional human readable job name. Not unique. Cloudflare suggests that you set
761+
name: Optional human readable job name. Not unique. Cloudflare suggests. that you set
762762
this to a meaningful string, like the domain name, to make it easier to identify
763763
your job.
764764

src/cloudflare/resources/logpush/ownership.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def create(
6262
Gets a new ownership challenge sent to your destination.
6363
6464
Args:
65-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
66-
Additional configuration parameters supported by the destination may be
65+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
66+
pushed. Additional configuration parameters supported by the destination may be
6767
included.
6868
6969
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -121,8 +121,8 @@ def validate(
121121
Validates ownership challenge of the destination.
122122
123123
Args:
124-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
125-
Additional configuration parameters supported by the destination may be
124+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
125+
pushed. Additional configuration parameters supported by the destination may be
126126
included.
127127
128128
ownership_challenge: Ownership challenge token to prove destination ownership.
@@ -208,8 +208,8 @@ async def create(
208208
Gets a new ownership challenge sent to your destination.
209209
210210
Args:
211-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
212-
Additional configuration parameters supported by the destination may be
211+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
212+
pushed. Additional configuration parameters supported by the destination may be
213213
included.
214214
215215
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -269,8 +269,8 @@ async def validate(
269269
Validates ownership challenge of the destination.
270270
271271
Args:
272-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
273-
Additional configuration parameters supported by the destination may be
272+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
273+
pushed. Additional configuration parameters supported by the destination may be
274274
included.
275275
276276
ownership_challenge: Ownership challenge token to prove destination ownership.

src/cloudflare/resources/logpush/validate.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def destination(
6363
Validates destination.
6464
6565
Args:
66-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
67-
Additional configuration parameters supported by the destination may be
66+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
67+
pushed. Additional configuration parameters supported by the destination may be
6868
included.
6969
7070
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -123,8 +123,8 @@ def destination_exists(
123123
Checks if there is an existing job with a destination.
124124
125125
Args:
126-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
127-
Additional configuration parameters supported by the destination may be
126+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
127+
pushed. Additional configuration parameters supported by the destination may be
128128
included.
129129
130130
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -267,8 +267,8 @@ async def destination(
267267
Validates destination.
268268
269269
Args:
270-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
271-
Additional configuration parameters supported by the destination may be
270+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
271+
pushed. Additional configuration parameters supported by the destination may be
272272
included.
273273
274274
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
@@ -327,8 +327,8 @@ async def destination_exists(
327327
Checks if there is an existing job with a destination.
328328
329329
Args:
330-
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
331-
Additional configuration parameters supported by the destination may be
330+
destination_conf: Uniquely identifies a resource (such as an s3 bucket) where data. will be
331+
pushed. Additional configuration parameters supported by the destination may be
332332
included.
333333
334334
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.

src/cloudflare/types/logpush/job_create_params.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
class JobCreateParams(TypedDict, total=False):
1414
destination_conf: Required[str]
15-
"""Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
15+
"""Uniquely identifies a resource (such as an s3 bucket) where data.
1616
17-
Additional configuration parameters supported by the destination may be
18-
included.
17+
will be pushed. Additional configuration parameters supported by the destination
18+
may be included.
1919
"""
2020

2121
account_id: str
@@ -71,10 +71,10 @@ class JobCreateParams(TypedDict, total=False):
7171
frequency: Optional[Literal["high", "low"]]
7272
"""This field is deprecated.
7373
74-
Please use `max_upload_*` parameters instead. The frequency at which Cloudflare
75-
sends batches of logs to your destination. Setting frequency to high sends your
76-
logs in larger quantities of smaller files. Setting frequency to low sends logs
77-
in smaller quantities of larger files.
74+
Please use `max_upload_*` parameters instead. . The frequency at which
75+
Cloudflare sends batches of logs to your destination. Setting frequency to high
76+
sends your logs in larger quantities of smaller files. Setting frequency to low
77+
sends logs in smaller quantities of larger files.
7878
"""
7979

8080
kind: Literal["", "edge"]
@@ -119,7 +119,7 @@ class JobCreateParams(TypedDict, total=False):
119119
name: Optional[str]
120120
"""Optional human readable job name.
121121
122-
Not unique. Cloudflare suggests that you set this to a meaningful string, like
122+
Not unique. Cloudflare suggests. that you set this to a meaningful string, like
123123
the domain name, to make it easier to identify your job.
124124
"""
125125

src/cloudflare/types/logpush/job_update_params.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ class JobUpdateParams(TypedDict, total=False):
1818
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
1919

2020
destination_conf: str
21-
"""Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
21+
"""Uniquely identifies a resource (such as an s3 bucket) where data.
2222
23-
Additional configuration parameters supported by the destination may be
24-
included.
23+
will be pushed. Additional configuration parameters supported by the destination
24+
may be included.
2525
"""
2626

2727
enabled: bool
@@ -37,10 +37,10 @@ class JobUpdateParams(TypedDict, total=False):
3737
frequency: Optional[Literal["high", "low"]]
3838
"""This field is deprecated.
3939
40-
Please use `max_upload_*` parameters instead. The frequency at which Cloudflare
41-
sends batches of logs to your destination. Setting frequency to high sends your
42-
logs in larger quantities of smaller files. Setting frequency to low sends logs
43-
in smaller quantities of larger files.
40+
Please use `max_upload_*` parameters instead. . The frequency at which
41+
Cloudflare sends batches of logs to your destination. Setting frequency to high
42+
sends your logs in larger quantities of smaller files. Setting frequency to low
43+
sends logs in smaller quantities of larger files.
4444
"""
4545

4646
kind: Literal["", "edge"]
@@ -85,7 +85,7 @@ class JobUpdateParams(TypedDict, total=False):
8585
name: Optional[str]
8686
"""Optional human readable job name.
8787
88-
Not unique. Cloudflare suggests that you set this to a meaningful string, like
88+
Not unique. Cloudflare suggests. that you set this to a meaningful string, like
8989
the domain name, to make it easier to identify your job.
9090
"""
9191

src/cloudflare/types/logpush/logpush_job.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ class LogpushJob(BaseModel):
4949
"""
5050

5151
destination_conf: Optional[str] = None
52-
"""Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
52+
"""Uniquely identifies a resource (such as an s3 bucket) where data.
5353
54-
Additional configuration parameters supported by the destination may be
55-
included.
54+
will be pushed. Additional configuration parameters supported by the destination
55+
may be included.
5656
"""
5757

5858
enabled: Optional[bool] = None
@@ -61,18 +61,18 @@ class LogpushJob(BaseModel):
6161
error_message: Optional[str] = None
6262
"""If not null, the job is currently failing.
6363
64-
Failures are usually repetitive (example: no permissions to write to destination
65-
bucket). Only the last failure is recorded. On successful execution of a job the
66-
error_message and last_error are set to null.
64+
Failures are usually. repetitive (example: no permissions to write to
65+
destination bucket). Only the last failure is recorded. On successful execution
66+
of a job the error_message and last_error are set to null.
6767
"""
6868

6969
frequency: Optional[Literal["high", "low"]] = None
7070
"""This field is deprecated.
7171
72-
Please use `max_upload_*` parameters instead. The frequency at which Cloudflare
73-
sends batches of logs to your destination. Setting frequency to high sends your
74-
logs in larger quantities of smaller files. Setting frequency to low sends logs
75-
in smaller quantities of larger files.
72+
Please use `max_upload_*` parameters instead. . The frequency at which
73+
Cloudflare sends batches of logs to your destination. Setting frequency to high
74+
sends your logs in larger quantities of smaller files. Setting frequency to low
75+
sends logs in smaller quantities of larger files.
7676
"""
7777

7878
kind: Optional[Literal["", "edge"]] = None
@@ -93,7 +93,7 @@ class LogpushJob(BaseModel):
9393
last_error: Optional[datetime] = None
9494
"""Records the last time the job failed.
9595
96-
If not null, the job is currently failing. If null, the job has either never
96+
If not null, the job is currently. failing. If null, the job has either never
9797
failed or has run successfully at least once since last failure. See also the
9898
error_message field.
9999
"""
@@ -134,7 +134,7 @@ class LogpushJob(BaseModel):
134134
name: Optional[str] = None
135135
"""Optional human readable job name.
136136
137-
Not unique. Cloudflare suggests that you set this to a meaningful string, like
137+
Not unique. Cloudflare suggests. that you set this to a meaningful string, like
138138
the domain name, to make it easier to identify your job.
139139
"""
140140

src/cloudflare/types/logpush/ownership_create_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
class OwnershipCreateParams(TypedDict, total=False):
1111
destination_conf: Required[str]
12-
"""Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
12+
"""Uniquely identifies a resource (such as an s3 bucket) where data.
1313
14-
Additional configuration parameters supported by the destination may be
15-
included.
14+
will be pushed. Additional configuration parameters supported by the destination
15+
may be included.
1616
"""
1717

1818
account_id: str

src/cloudflare/types/logpush/ownership_validate_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
class OwnershipValidateParams(TypedDict, total=False):
1111
destination_conf: Required[str]
12-
"""Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
12+
"""Uniquely identifies a resource (such as an s3 bucket) where data.
1313
14-
Additional configuration parameters supported by the destination may be
15-
included.
14+
will be pushed. Additional configuration parameters supported by the destination
15+
may be included.
1616
"""
1717

1818
ownership_challenge: Required[str]

0 commit comments

Comments
 (0)