From 46803315dc15fc457aa69a026e32d9deedc3f938 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 31 Aug 2026 13:11:57 +0000 Subject: [PATCH] feat: update generated APIs --- .../scaleway_async/annotations/v1/api.py | 24 +++++++++---------- .../scaleway_async/annotations/v1/types.py | 10 ++++---- scaleway/scaleway/annotations/v1/api.py | 24 +++++++++---------- scaleway/scaleway/annotations/v1/types.py | 10 ++++---- 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/scaleway-async/scaleway_async/annotations/v1/api.py b/scaleway-async/scaleway_async/annotations/v1/api.py index 15ab97f95..7103b829a 100644 --- a/scaleway-async/scaleway_async/annotations/v1/api.py +++ b/scaleway-async/scaleway_async/annotations/v1/api.py @@ -94,7 +94,7 @@ async def list_keys( organization_id: Optional[str] = None, ) -> ListKeysResponse: """ - List of keys. + List all keys, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of keys on the page. :param organization_id: ID of the organization. @@ -128,7 +128,7 @@ async def list_keys_all( organization_id: Optional[str] = None, ) -> list[Key]: """ - List of keys. + List all keys, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of keys on the page. :param organization_id: ID of the organization. @@ -294,7 +294,7 @@ async def list_values( key_id: Optional[str] = None, ) -> ListValuesResponse: """ - List all values for a key, sorted alphabetically by name. + List all values, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of values on the page. :param organization_id: ID of the organization. @@ -331,7 +331,7 @@ async def list_values_all( key_id: Optional[str] = None, ) -> list[Value]: """ - List all values for a key, sorted alphabetically by name. + List all values, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of values on the page. :param organization_id: ID of the organization. @@ -392,7 +392,7 @@ async def update_value( description: Optional[str] = None, ) -> Value: """ - Update name or description. Global update. + Update name or description. :param value_id: ID of the value to update. :param name: New name of the value. :param description: New description of the value. @@ -515,7 +515,7 @@ async def create_binding( ) -> Binding: """ Attach a value to a resource. Fails if the resource already has a value for this key. - :param srn: Scaleway Resource Number to associate. + :param srn: Scaleway Resource Name to associate. :param value_id: ID of the value to associate. :return: :class:`Binding ` @@ -553,11 +553,11 @@ async def list_bindings( value_id: Optional[str] = None, ) -> ListBindingsResponse: """ - List all bindings, or filter by Scaleway Resource Number or value ID. Response order by ID. + List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. :param page: Page number. :param page_size: Maximum number of bindings on the page. :param organization_id: ID of the organization. - :param srn: Scaleway Resource Number for which to list all bindings. + :param srn: Scaleway Resource Name for which to list all bindings. :param value_id: Value ID for which to list all bindings. :return: :class:`ListBindingsResponse ` @@ -593,11 +593,11 @@ async def list_bindings_all( value_id: Optional[str] = None, ) -> list[Binding]: """ - List all bindings, or filter by Scaleway Resource Number or value ID. Response order by ID. + List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. :param page: Page number. :param page_size: Maximum number of bindings on the page. :param organization_id: ID of the organization. - :param srn: Scaleway Resource Number for which to list all bindings. + :param srn: Scaleway Resource Name for which to list all bindings. :param value_id: Value ID for which to list all bindings. :return: :class:`list[Binding] ` @@ -682,8 +682,8 @@ async def delete_all_bindings_matching_srn( organization_id: Optional[str] = None, ) -> DeleteAllBindingsMatchingSRNResponse: """ - Delete ALL bindings associated with a Scaleway Resource Number. - :param srn: Scaleway Resource Number for which all bindings should be deleted. + Delete ALL bindings associated with a Scaleway Resource Name. + :param srn: Scaleway Resource Name for which all bindings should be deleted. :param organization_id: ID of the organization. :return: :class:`DeleteAllBindingsMatchingSRNResponse ` diff --git a/scaleway-async/scaleway_async/annotations/v1/types.py b/scaleway-async/scaleway_async/annotations/v1/types.py index 9d1a79f1f..6642bc5c1 100644 --- a/scaleway-async/scaleway_async/annotations/v1/types.py +++ b/scaleway-async/scaleway_async/annotations/v1/types.py @@ -82,7 +82,7 @@ class Binding: srn: str """ - Scaleway Resource Number associated to the binding. + Scaleway Resource Name associated to the binding. """ key: Optional[BindingKey] = None @@ -141,7 +141,7 @@ class Value: class CreateBindingRequest: srn: str """ - Scaleway Resource Number to associate. + Scaleway Resource Name to associate. """ value_id: str @@ -190,7 +190,7 @@ class CreateValueRequest: class DeleteAllBindingsMatchingSRNRequest: srn: str """ - Scaleway Resource Number for which all bindings should be deleted. + Scaleway Resource Name for which all bindings should be deleted. """ organization_id: Optional[str] = None @@ -235,7 +235,7 @@ class DeleteAllValuesMatchingKeyRequest: class DeleteAllValuesMatchingKeyResponse: total_deleted: int """ - Total number of bindings deleted. + Total number of values deleted. """ @@ -314,7 +314,7 @@ class ListBindingsRequest: srn: Optional[str] = None """ - Scaleway Resource Number for which to list all bindings. + Scaleway Resource Name for which to list all bindings. """ value_id: Optional[str] = None diff --git a/scaleway/scaleway/annotations/v1/api.py b/scaleway/scaleway/annotations/v1/api.py index bdcc35185..dadf394d9 100644 --- a/scaleway/scaleway/annotations/v1/api.py +++ b/scaleway/scaleway/annotations/v1/api.py @@ -94,7 +94,7 @@ def list_keys( organization_id: Optional[str] = None, ) -> ListKeysResponse: """ - List of keys. + List all keys, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of keys on the page. :param organization_id: ID of the organization. @@ -128,7 +128,7 @@ def list_keys_all( organization_id: Optional[str] = None, ) -> list[Key]: """ - List of keys. + List all keys, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of keys on the page. :param organization_id: ID of the organization. @@ -294,7 +294,7 @@ def list_values( key_id: Optional[str] = None, ) -> ListValuesResponse: """ - List all values for a key, sorted alphabetically by name. + List all values, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of values on the page. :param organization_id: ID of the organization. @@ -331,7 +331,7 @@ def list_values_all( key_id: Optional[str] = None, ) -> list[Value]: """ - List all values for a key, sorted alphabetically by name. + List all values, sorted alphabetically by name. :param page: Page number. :param page_size: Maximum number of values on the page. :param organization_id: ID of the organization. @@ -392,7 +392,7 @@ def update_value( description: Optional[str] = None, ) -> Value: """ - Update name or description. Global update. + Update name or description. :param value_id: ID of the value to update. :param name: New name of the value. :param description: New description of the value. @@ -515,7 +515,7 @@ def create_binding( ) -> Binding: """ Attach a value to a resource. Fails if the resource already has a value for this key. - :param srn: Scaleway Resource Number to associate. + :param srn: Scaleway Resource Name to associate. :param value_id: ID of the value to associate. :return: :class:`Binding ` @@ -553,11 +553,11 @@ def list_bindings( value_id: Optional[str] = None, ) -> ListBindingsResponse: """ - List all bindings, or filter by Scaleway Resource Number or value ID. Response order by ID. + List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. :param page: Page number. :param page_size: Maximum number of bindings on the page. :param organization_id: ID of the organization. - :param srn: Scaleway Resource Number for which to list all bindings. + :param srn: Scaleway Resource Name for which to list all bindings. :param value_id: Value ID for which to list all bindings. :return: :class:`ListBindingsResponse ` @@ -593,11 +593,11 @@ def list_bindings_all( value_id: Optional[str] = None, ) -> list[Binding]: """ - List all bindings, or filter by Scaleway Resource Number or value ID. Response order by ID. + List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. :param page: Page number. :param page_size: Maximum number of bindings on the page. :param organization_id: ID of the organization. - :param srn: Scaleway Resource Number for which to list all bindings. + :param srn: Scaleway Resource Name for which to list all bindings. :param value_id: Value ID for which to list all bindings. :return: :class:`list[Binding] ` @@ -682,8 +682,8 @@ def delete_all_bindings_matching_srn( organization_id: Optional[str] = None, ) -> DeleteAllBindingsMatchingSRNResponse: """ - Delete ALL bindings associated with a Scaleway Resource Number. - :param srn: Scaleway Resource Number for which all bindings should be deleted. + Delete ALL bindings associated with a Scaleway Resource Name. + :param srn: Scaleway Resource Name for which all bindings should be deleted. :param organization_id: ID of the organization. :return: :class:`DeleteAllBindingsMatchingSRNResponse ` diff --git a/scaleway/scaleway/annotations/v1/types.py b/scaleway/scaleway/annotations/v1/types.py index 9d1a79f1f..6642bc5c1 100644 --- a/scaleway/scaleway/annotations/v1/types.py +++ b/scaleway/scaleway/annotations/v1/types.py @@ -82,7 +82,7 @@ class Binding: srn: str """ - Scaleway Resource Number associated to the binding. + Scaleway Resource Name associated to the binding. """ key: Optional[BindingKey] = None @@ -141,7 +141,7 @@ class Value: class CreateBindingRequest: srn: str """ - Scaleway Resource Number to associate. + Scaleway Resource Name to associate. """ value_id: str @@ -190,7 +190,7 @@ class CreateValueRequest: class DeleteAllBindingsMatchingSRNRequest: srn: str """ - Scaleway Resource Number for which all bindings should be deleted. + Scaleway Resource Name for which all bindings should be deleted. """ organization_id: Optional[str] = None @@ -235,7 +235,7 @@ class DeleteAllValuesMatchingKeyRequest: class DeleteAllValuesMatchingKeyResponse: total_deleted: int """ - Total number of bindings deleted. + Total number of values deleted. """ @@ -314,7 +314,7 @@ class ListBindingsRequest: srn: Optional[str] = None """ - Scaleway Resource Number for which to list all bindings. + Scaleway Resource Name for which to list all bindings. """ value_id: Optional[str] = None