@@ -213,10 +213,10 @@ def create(
213213 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
214214 ) -> ThreatEventCreateResponse :
215215 """
216- Events must be created in a client-specific dataset, which means the `datasetId`
217- parameter must be defined. To create a dataset, see the
216+ To create a dataset, see the
218217 [`Create Dataset`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/create/)
219- endpoint.
218+ endpoint. When `datasetId` parameter is unspecified, it will be created in a
219+ default dataset named `Cloudforce One Threat Events`.
220220
221221 Args:
222222 path_account_id: Account ID.
@@ -277,8 +277,9 @@ def list(
277277 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
278278 ) -> ThreatEventListResponse :
279279 """
280- The `datasetId` must be defined (to list existing datasets (and their IDs), use
281- the
280+ When `datasetId` is unspecified, events will be listed from the
281+ `Cloudforce One Threat Events` dataset. To list existing datasets (and their
282+ IDs), use the
282283 [`List Datasets`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/list/)
283284 endpoint). Also, must provide query parameters.
284285
@@ -610,10 +611,10 @@ async def create(
610611 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
611612 ) -> ThreatEventCreateResponse :
612613 """
613- Events must be created in a client-specific dataset, which means the `datasetId`
614- parameter must be defined. To create a dataset, see the
614+ To create a dataset, see the
615615 [`Create Dataset`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/create/)
616- endpoint.
616+ endpoint. When `datasetId` parameter is unspecified, it will be created in a
617+ default dataset named `Cloudforce One Threat Events`.
617618
618619 Args:
619620 path_account_id: Account ID.
@@ -674,8 +675,9 @@ async def list(
674675 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
675676 ) -> ThreatEventListResponse :
676677 """
677- The `datasetId` must be defined (to list existing datasets (and their IDs), use
678- the
678+ When `datasetId` is unspecified, events will be listed from the
679+ `Cloudforce One Threat Events` dataset. To list existing datasets (and their
680+ IDs), use the
679681 [`List Datasets`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/list/)
680682 endpoint). Also, must provide query parameters.
681683
0 commit comments