From 7d19c7e0bcf4378bcb599016149726b17cbb4812 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 12 Aug 2026 12:49:36 +0000 Subject: [PATCH] feat(resource): change nqte cluster to nats cluster --- .../iam/v1alpha1/marshalling.py | 24 ++++++++++++++----- .../scaleway_async/iam/v1alpha1/types.py | 10 ++++++++ scaleway/scaleway/iam/v1alpha1/marshalling.py | 24 ++++++++++++++----- scaleway/scaleway/iam/v1alpha1/types.py | 10 ++++++++ 4 files changed, 56 insertions(+), 12 deletions(-) diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py b/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py index f7d8e102a..05ab70ad3 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py @@ -364,6 +364,18 @@ def unmarshal_Group(data: Any) -> Group: else: args["description"] = None + field = data.get("created_at", None) + if field is not None: + args["created_at"] = parser.isoparse(field) if isinstance(field, str) else field + else: + args["created_at"] = None + + field = data.get("updated_at", None) + if field is not None: + args["updated_at"] = parser.isoparse(field) if isinstance(field, str) else field + else: + args["updated_at"] = None + field = data.get("user_ids", None) if field is not None: args["user_ids"] = field @@ -400,17 +412,17 @@ def unmarshal_Group(data: Any) -> Group: else: args["managed"] = False - field = data.get("created_at", None) + field = data.get("all_users", None) if field is not None: - args["created_at"] = parser.isoparse(field) if isinstance(field, str) else field + args["all_users"] = field else: - args["created_at"] = None + args["all_users"] = False - field = data.get("updated_at", None) + field = data.get("all_applications", None) if field is not None: - args["updated_at"] = parser.isoparse(field) if isinstance(field, str) else field + args["all_applications"] = field else: - args["updated_at"] = None + args["all_applications"] = False return Group(**args) diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/types.py b/scaleway-async/scaleway_async/iam/v1alpha1/types.py index a5821e148..8b2f5b5a2 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/types.py @@ -597,6 +597,16 @@ class Group: Defines whether or not the group is managed. """ + all_users: bool + """ + Indicates if the group is the special "All Users" group that contains all users of the organization. + """ + + all_applications: bool + """ + Indicates if the group is the special "All Applications" group that contains all non-managed applications of the organization. + """ + created_at: Optional[datetime] = None """ Date and time of group creation. diff --git a/scaleway/scaleway/iam/v1alpha1/marshalling.py b/scaleway/scaleway/iam/v1alpha1/marshalling.py index f7d8e102a..05ab70ad3 100644 --- a/scaleway/scaleway/iam/v1alpha1/marshalling.py +++ b/scaleway/scaleway/iam/v1alpha1/marshalling.py @@ -364,6 +364,18 @@ def unmarshal_Group(data: Any) -> Group: else: args["description"] = None + field = data.get("created_at", None) + if field is not None: + args["created_at"] = parser.isoparse(field) if isinstance(field, str) else field + else: + args["created_at"] = None + + field = data.get("updated_at", None) + if field is not None: + args["updated_at"] = parser.isoparse(field) if isinstance(field, str) else field + else: + args["updated_at"] = None + field = data.get("user_ids", None) if field is not None: args["user_ids"] = field @@ -400,17 +412,17 @@ def unmarshal_Group(data: Any) -> Group: else: args["managed"] = False - field = data.get("created_at", None) + field = data.get("all_users", None) if field is not None: - args["created_at"] = parser.isoparse(field) if isinstance(field, str) else field + args["all_users"] = field else: - args["created_at"] = None + args["all_users"] = False - field = data.get("updated_at", None) + field = data.get("all_applications", None) if field is not None: - args["updated_at"] = parser.isoparse(field) if isinstance(field, str) else field + args["all_applications"] = field else: - args["updated_at"] = None + args["all_applications"] = False return Group(**args) diff --git a/scaleway/scaleway/iam/v1alpha1/types.py b/scaleway/scaleway/iam/v1alpha1/types.py index a5821e148..8b2f5b5a2 100644 --- a/scaleway/scaleway/iam/v1alpha1/types.py +++ b/scaleway/scaleway/iam/v1alpha1/types.py @@ -597,6 +597,16 @@ class Group: Defines whether or not the group is managed. """ + all_users: bool + """ + Indicates if the group is the special "All Users" group that contains all users of the organization. + """ + + all_applications: bool + """ + Indicates if the group is the special "All Applications" group that contains all non-managed applications of the organization. + """ + created_at: Optional[datetime] = None """ Date and time of group creation.