From 70c2742cdcaf1790638fc490008fe85318533f51 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Thu, 16 Jul 2026 11:11:35 +0000 Subject: [PATCH] feat: update generated APIs --- .../environmental_footprint/v1alpha1/types.py | 4 ++++ scaleway-async/scaleway_async/file/v1alpha1/api.py | 6 +++--- scaleway-async/scaleway_async/file/v1alpha1/types.py | 6 +++--- scaleway/scaleway/environmental_footprint/v1alpha1/types.py | 4 ++++ scaleway/scaleway/file/v1alpha1/api.py | 6 +++--- scaleway/scaleway/file/v1alpha1/types.py | 6 +++--- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/scaleway-async/scaleway_async/environmental_footprint/v1alpha1/types.py b/scaleway-async/scaleway_async/environmental_footprint/v1alpha1/types.py index 844387ce6..f9fa6e7f9 100644 --- a/scaleway-async/scaleway_async/environmental_footprint/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/environmental_footprint/v1alpha1/types.py @@ -31,6 +31,9 @@ class ProductCategory(str, Enum, metaclass=StrEnumMeta): MANAGED_REDIS = "managed_redis" MANAGED_INFERENCE = "managed_inference" GENERATIVE_APIS = "generative_apis" + SERVERLESS_FUNCTIONS = "serverless_functions" + SERVERLESS_CONTAINERS = "serverless_containers" + SERVERLESS_JOBS = "serverless_jobs" def __str__(self) -> str: return str(self.value) @@ -54,6 +57,7 @@ class ServiceCategory(str, Enum, metaclass=StrEnumMeta): CONTAINERS = "containers" DATABASES = "databases" AI = "ai" + SERVERLESS = "serverless" def __str__(self) -> str: return str(self.value) diff --git a/scaleway-async/scaleway_async/file/v1alpha1/api.py b/scaleway-async/scaleway_async/file/v1alpha1/api.py index 7a3681b2a..ef19df8ad 100644 --- a/scaleway-async/scaleway_async/file/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/file/v1alpha1/api.py @@ -405,7 +405,7 @@ async def create_file_system( Create a new filesystem. To create a new filesystem, you must specify a name, a size, and a project ID. :param name: Name of the filesystem. - :param size: Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param region: Region to target. If none is passed will use default region from the config. :param project_id: UUID of the project the filesystem belongs to. :param type_: Type of the filesystem. @@ -491,8 +491,8 @@ async def update_file_system( :param filesystem_id: UUID of the filesystem. :param region: Region to target. If none is passed will use default region from the config. :param name: When defined, is the new name of the filesystem. - :param size: Size in bytes, with a granularity of 100 GB (10^11 bytes). - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Size in bytes, with a granularity in GB (10^9 bytes). + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param tags: List of tags assigned to the filesystem. :return: :class:`FileSystem ` diff --git a/scaleway-async/scaleway_async/file/v1alpha1/types.py b/scaleway-async/scaleway_async/file/v1alpha1/types.py index 67bd29d45..71e1d7114 100644 --- a/scaleway-async/scaleway_async/file/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/file/v1alpha1/types.py @@ -181,7 +181,7 @@ class CreateFileSystemRequest: size: int """ - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ region: Optional[ScwRegion] = None @@ -434,8 +434,8 @@ class UpdateFileSystemRequest: size: Optional[int] = 0 """ - Size in bytes, with a granularity of 100 GB (10^11 bytes). -Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Size in bytes, with a granularity in GB (10^9 bytes). +Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ tags: Optional[list[str]] = field(default_factory=list) diff --git a/scaleway/scaleway/environmental_footprint/v1alpha1/types.py b/scaleway/scaleway/environmental_footprint/v1alpha1/types.py index 844387ce6..f9fa6e7f9 100644 --- a/scaleway/scaleway/environmental_footprint/v1alpha1/types.py +++ b/scaleway/scaleway/environmental_footprint/v1alpha1/types.py @@ -31,6 +31,9 @@ class ProductCategory(str, Enum, metaclass=StrEnumMeta): MANAGED_REDIS = "managed_redis" MANAGED_INFERENCE = "managed_inference" GENERATIVE_APIS = "generative_apis" + SERVERLESS_FUNCTIONS = "serverless_functions" + SERVERLESS_CONTAINERS = "serverless_containers" + SERVERLESS_JOBS = "serverless_jobs" def __str__(self) -> str: return str(self.value) @@ -54,6 +57,7 @@ class ServiceCategory(str, Enum, metaclass=StrEnumMeta): CONTAINERS = "containers" DATABASES = "databases" AI = "ai" + SERVERLESS = "serverless" def __str__(self) -> str: return str(self.value) diff --git a/scaleway/scaleway/file/v1alpha1/api.py b/scaleway/scaleway/file/v1alpha1/api.py index 621636e0c..5d9a50648 100644 --- a/scaleway/scaleway/file/v1alpha1/api.py +++ b/scaleway/scaleway/file/v1alpha1/api.py @@ -403,7 +403,7 @@ def create_file_system( Create a new filesystem. To create a new filesystem, you must specify a name, a size, and a project ID. :param name: Name of the filesystem. - :param size: Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param region: Region to target. If none is passed will use default region from the config. :param project_id: UUID of the project the filesystem belongs to. :param type_: Type of the filesystem. @@ -489,8 +489,8 @@ def update_file_system( :param filesystem_id: UUID of the filesystem. :param region: Region to target. If none is passed will use default region from the config. :param name: When defined, is the new name of the filesystem. - :param size: Size in bytes, with a granularity of 100 GB (10^11 bytes). - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + :param size: Size in bytes, with a granularity in GB (10^9 bytes). + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. :param tags: List of tags assigned to the filesystem. :return: :class:`FileSystem ` diff --git a/scaleway/scaleway/file/v1alpha1/types.py b/scaleway/scaleway/file/v1alpha1/types.py index 67bd29d45..71e1d7114 100644 --- a/scaleway/scaleway/file/v1alpha1/types.py +++ b/scaleway/scaleway/file/v1alpha1/types.py @@ -181,7 +181,7 @@ class CreateFileSystemRequest: size: int """ - Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ region: Optional[ScwRegion] = None @@ -434,8 +434,8 @@ class UpdateFileSystemRequest: size: Optional[int] = 0 """ - Size in bytes, with a granularity of 100 GB (10^11 bytes). -Must be compliant with the minimum (100 GB) and maximum (10 TB) allowed size. + Size in bytes, with a granularity in GB (10^9 bytes). +Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. """ tags: Optional[list[str]] = field(default_factory=list)