From c24a8ab10ccf27d194a8272043fbfb8dcaeb4bec Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 23 Mar 2026 14:41:54 +0000 Subject: [PATCH] feat: update generated APIs --- scaleway-async/scaleway_async/cockpit/v1/marshalling.py | 6 ++++++ scaleway-async/scaleway_async/cockpit/v1/types.py | 5 +++++ scaleway/scaleway/cockpit/v1/marshalling.py | 6 ++++++ scaleway/scaleway/cockpit/v1/types.py | 5 +++++ 4 files changed, 22 insertions(+) diff --git a/scaleway-async/scaleway_async/cockpit/v1/marshalling.py b/scaleway-async/scaleway_async/cockpit/v1/marshalling.py index 4bb562cca..92dcc6525 100644 --- a/scaleway-async/scaleway_async/cockpit/v1/marshalling.py +++ b/scaleway-async/scaleway_async/cockpit/v1/marshalling.py @@ -292,6 +292,12 @@ def unmarshal_Exporter(data: Any) -> Exporter: else: args["exported_products"] = [] + field = data.get("region", None) + if field is not None: + args["region"] = field + else: + args["region"] = None + field = data.get("datadog_destination", None) if field is not None: args["datadog_destination"] = unmarshal_ExporterDatadogDestination(field) diff --git a/scaleway-async/scaleway_async/cockpit/v1/types.py b/scaleway-async/scaleway_async/cockpit/v1/types.py index c7a28af2e..9b70df8b3 100644 --- a/scaleway-async/scaleway_async/cockpit/v1/types.py +++ b/scaleway-async/scaleway_async/cockpit/v1/types.py @@ -423,6 +423,11 @@ class Exporter: List of Scaleway products name exported by the data export. """ + region: ScwRegion + """ + The region in which the export is located. + """ + created_at: Optional[datetime] = None """ A timestamp of the creation date of the data export. diff --git a/scaleway/scaleway/cockpit/v1/marshalling.py b/scaleway/scaleway/cockpit/v1/marshalling.py index 4bb562cca..92dcc6525 100644 --- a/scaleway/scaleway/cockpit/v1/marshalling.py +++ b/scaleway/scaleway/cockpit/v1/marshalling.py @@ -292,6 +292,12 @@ def unmarshal_Exporter(data: Any) -> Exporter: else: args["exported_products"] = [] + field = data.get("region", None) + if field is not None: + args["region"] = field + else: + args["region"] = None + field = data.get("datadog_destination", None) if field is not None: args["datadog_destination"] = unmarshal_ExporterDatadogDestination(field) diff --git a/scaleway/scaleway/cockpit/v1/types.py b/scaleway/scaleway/cockpit/v1/types.py index c7a28af2e..9b70df8b3 100644 --- a/scaleway/scaleway/cockpit/v1/types.py +++ b/scaleway/scaleway/cockpit/v1/types.py @@ -423,6 +423,11 @@ class Exporter: List of Scaleway products name exported by the data export. """ + region: ScwRegion + """ + The region in which the export is located. + """ + created_at: Optional[datetime] = None """ A timestamp of the creation date of the data export.