Skip to content

Commit 5a6bce8

Browse files
feat(product_catalog): update product status list (#1427)
Co-authored-by: Mia-Cross <[email protected]>
1 parent 65c849d commit 5a6bce8

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

scaleway-async/scaleway_async/product_catalog/v2alpha1/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def list_public_catalog_products(
5555
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
5656
:param datacenter: Filter products by datacenter.
5757
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
58-
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
58+
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
5959
:return: :class:`ListPublicCatalogProductsResponse <ListPublicCatalogProductsResponse>`
6060
6161
Usage:
@@ -114,7 +114,7 @@ async def list_public_catalog_products_all(
114114
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
115115
:param datacenter: Filter products by datacenter.
116116
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
117-
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
117+
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
118118
:return: :class:`list[PublicCatalogProduct] <list[PublicCatalogProduct]>`
119119
120120
Usage:

scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class ListPublicCatalogProductsRequestStatus(str, Enum, metaclass=StrEnumMeta):
3737
PUBLIC_BETA = "public_beta"
3838
PREVIEW = "preview"
3939
GENERAL_AVAILABILITY = "general_availability"
40+
END_OF_NEW_FEATURES = "end_of_new_features"
41+
END_OF_GROWTH = "end_of_growth"
4042
END_OF_DEPLOYMENT = "end_of_deployment"
4143
END_OF_SUPPORT = "end_of_support"
4244
END_OF_SALE = "end_of_sale"
@@ -85,6 +87,8 @@ class PublicCatalogProductStatus(str, Enum, metaclass=StrEnumMeta):
8587
PUBLIC_BETA = "public_beta"
8688
PREVIEW = "preview"
8789
GENERAL_AVAILABILITY = "general_availability"
90+
END_OF_NEW_FEATURES = "end_of_new_features"
91+
END_OF_GROWTH = "end_of_growth"
8892
END_OF_DEPLOYMENT = "end_of_deployment"
8993
END_OF_SUPPORT = "end_of_support"
9094
END_OF_SALE = "end_of_sale"
@@ -550,7 +554,7 @@ class PublicCatalogApiListPublicCatalogProductsRequest:
550554
default_factory=list
551555
)
552556
"""
553-
The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
557+
The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
554558
"""
555559

556560
global_: Optional[bool] = False

scaleway/scaleway/product_catalog/v2alpha1/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def list_public_catalog_products(
5555
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
5656
:param datacenter: Filter products by datacenter.
5757
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
58-
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
58+
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
5959
:return: :class:`ListPublicCatalogProductsResponse <ListPublicCatalogProductsResponse>`
6060
6161
Usage:
@@ -114,7 +114,7 @@ def list_public_catalog_products_all(
114114
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
115115
:param datacenter: Filter products by datacenter.
116116
One-Of ('locality'): at most one of 'global_', 'region', 'zone', 'datacenter' could be set.
117-
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
117+
:param status: The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
118118
:return: :class:`list[PublicCatalogProduct] <list[PublicCatalogProduct]>`
119119
120120
Usage:

scaleway/scaleway/product_catalog/v2alpha1/types.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class ListPublicCatalogProductsRequestStatus(str, Enum, metaclass=StrEnumMeta):
3737
PUBLIC_BETA = "public_beta"
3838
PREVIEW = "preview"
3939
GENERAL_AVAILABILITY = "general_availability"
40+
END_OF_NEW_FEATURES = "end_of_new_features"
41+
END_OF_GROWTH = "end_of_growth"
4042
END_OF_DEPLOYMENT = "end_of_deployment"
4143
END_OF_SUPPORT = "end_of_support"
4244
END_OF_SALE = "end_of_sale"
@@ -85,6 +87,8 @@ class PublicCatalogProductStatus(str, Enum, metaclass=StrEnumMeta):
8587
PUBLIC_BETA = "public_beta"
8688
PREVIEW = "preview"
8789
GENERAL_AVAILABILITY = "general_availability"
90+
END_OF_NEW_FEATURES = "end_of_new_features"
91+
END_OF_GROWTH = "end_of_growth"
8892
END_OF_DEPLOYMENT = "end_of_deployment"
8993
END_OF_SUPPORT = "end_of_support"
9094
END_OF_SALE = "end_of_sale"
@@ -550,7 +554,7 @@ class PublicCatalogApiListPublicCatalogProductsRequest:
550554
default_factory=list
551555
)
552556
"""
553-
The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
557+
The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
554558
"""
555559

556560
global_: Optional[bool] = False

0 commit comments

Comments
 (0)