@@ -15,7 +15,11 @@ class LogpushJob(BaseModel):
1515 """Unique id of the job."""
1616
1717 dataset : Optional [str ] = None
18- """Name of the dataset."""
18+ """Name of the dataset.
19+
20+ A list of supported datasets can be found on the
21+ [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
22+ """
1923
2024 destination_conf : Optional [str ] = None
2125 """Uniquely identifies a resource (such as an s3 bucket) where data will be pushed.
@@ -36,10 +40,19 @@ class LogpushJob(BaseModel):
3640 """
3741
3842 frequency : Optional [Literal ["high" , "low" ]] = None
39- """The frequency at which Cloudflare sends batches of logs to your destination.
43+ """This field is deprecated.
44+
45+ Please use `max_upload_*` parameters instead. The frequency at which Cloudflare
46+ sends batches of logs to your destination. Setting frequency to high sends your
47+ logs in larger quantities of smaller files. Setting frequency to low sends logs
48+ in smaller quantities of larger files.
49+ """
4050
41- Setting frequency to high sends your logs in larger quantities of smaller files.
42- Setting frequency to low sends logs in smaller quantities of larger files.
51+ kind : Optional [Literal ["edge" ]] = None
52+ """
53+ The kind parameter (optional) is used to differentiate between Logpush and Edge
54+ Log Delivery jobs. Currently, Edge Log Delivery is only supported for the
55+ `http_requests` dataset.
4356 """
4457
4558 last_complete : Optional [datetime ] = None
@@ -68,6 +81,33 @@ class LogpushJob(BaseModel):
6881 keep on making this call for you, setting start and end times appropriately.
6982 """
7083
84+ max_upload_bytes : Optional [int ] = None
85+ """The maximum uncompressed file size of a batch of logs.
86+
87+ This setting value must be between `5 MB` and `1 GB`, or `0` to disable it. Note
88+ that you cannot set a minimum file size; this means that log files may be much
89+ smaller than this batch size. This parameter is not available for jobs with
90+ `edge` as its kind.
91+ """
92+
93+ max_upload_interval_seconds : Optional [int ] = None
94+ """The maximum interval in seconds for log batches.
95+
96+ This setting must be between 30 and 300 seconds (5 minutes), or `0` to disable
97+ it. Note that you cannot specify a minimum interval for log batches; this means
98+ that log files may be sent in shorter intervals than this. This parameter is
99+ only used for jobs with `edge` as its kind.
100+ """
101+
102+ max_upload_records : Optional [int ] = None
103+ """The maximum number of log lines per batch.
104+
105+ This setting must be between 1000 and 1,000,000 lines, or `0` to disable it.
106+ Note that you cannot specify a minimum number of log lines per batch; this means
107+ that log files may contain many fewer lines than this. This parameter is not
108+ available for jobs with `edge` as its kind.
109+ """
110+
71111 name : Optional [str ] = None
72112 """Optional human readable job name.
73113
0 commit comments