diff --git a/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/api.py b/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/api.py index 0a07ce5e..23bbe6d9 100644 --- a/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/api.py @@ -437,7 +437,7 @@ async def list_database_backups( ) -> ListDatabaseBackupsResponse: """ List your Serverless SQL Database backups. - List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. + List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in descending order, though this can be modified via the order_by field. :param database_id: Filter by the UUID of the Serverless SQL Database. :param region: Region to target. If none is passed will use default region from the config. :param organization_id: Filter by the UUID of the Scaleway organization. @@ -489,7 +489,7 @@ async def list_database_backups_all( ) -> List[DatabaseBackup]: """ List your Serverless SQL Database backups. - List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. + List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in descending order, though this can be modified via the order_by field. :param database_id: Filter by the UUID of the Serverless SQL Database. :param region: Region to target. If none is passed will use default region from the config. :param organization_id: Filter by the UUID of the Scaleway organization. diff --git a/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/types.py b/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/types.py index d7b885d7..2b2ea480 100644 --- a/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/serverless_sqldb/v1alpha1/types.py @@ -39,8 +39,8 @@ def __str__(self) -> str: class ListDatabaseBackupsRequestOrderBy(str, Enum, metaclass=StrEnumMeta): - CREATED_AT_ASC = "created_at_asc" CREATED_AT_DESC = "created_at_desc" + CREATED_AT_ASC = "created_at_asc" def __str__(self) -> str: return str(self.value) diff --git a/scaleway/scaleway/serverless_sqldb/v1alpha1/api.py b/scaleway/scaleway/serverless_sqldb/v1alpha1/api.py index 1d2dfdbe..d2316066 100644 --- a/scaleway/scaleway/serverless_sqldb/v1alpha1/api.py +++ b/scaleway/scaleway/serverless_sqldb/v1alpha1/api.py @@ -435,7 +435,7 @@ def list_database_backups( ) -> ListDatabaseBackupsResponse: """ List your Serverless SQL Database backups. - List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. + List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in descending order, though this can be modified via the order_by field. :param database_id: Filter by the UUID of the Serverless SQL Database. :param region: Region to target. If none is passed will use default region from the config. :param organization_id: Filter by the UUID of the Scaleway organization. @@ -487,7 +487,7 @@ def list_database_backups_all( ) -> List[DatabaseBackup]: """ List your Serverless SQL Database backups. - List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. + List all Serverless SQL Database backups for a given Scaleway Project or Database. By default, the backups returned in the list are ordered by creation date in descending order, though this can be modified via the order_by field. :param database_id: Filter by the UUID of the Serverless SQL Database. :param region: Region to target. If none is passed will use default region from the config. :param organization_id: Filter by the UUID of the Scaleway organization. diff --git a/scaleway/scaleway/serverless_sqldb/v1alpha1/types.py b/scaleway/scaleway/serverless_sqldb/v1alpha1/types.py index d7b885d7..2b2ea480 100644 --- a/scaleway/scaleway/serverless_sqldb/v1alpha1/types.py +++ b/scaleway/scaleway/serverless_sqldb/v1alpha1/types.py @@ -39,8 +39,8 @@ def __str__(self) -> str: class ListDatabaseBackupsRequestOrderBy(str, Enum, metaclass=StrEnumMeta): - CREATED_AT_ASC = "created_at_asc" CREATED_AT_DESC = "created_at_desc" + CREATED_AT_ASC = "created_at_asc" def __str__(self) -> str: return str(self.value)