Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions scaleway-async/scaleway_async/registry/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def get_namespace(
Get a namespace.
Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response.
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: The UUID of the namespace.
:param namespace_id: UUID of the namespace.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -192,7 +192,7 @@ async def wait_for_namespace(
"""
Waits for :class:`Namespace <Namespace>` to be in a final state.
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: The UUID of the namespace.
:param namespace_id: UUID of the namespace.
:param options: The options for the waiter
:return: :class:`Namespace <Namespace>`

Expand Down Expand Up @@ -239,7 +239,7 @@ async def create_namespace(
:param project_id: Project ID on which the namespace will be created.

One-of ('project_identifier'): at most one of 'organization_id', 'project_id' could be set.
:param is_public: Whether or not namespace is public.
:param is_public: Defines whether or not namespace is public.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -288,7 +288,7 @@ async def update_namespace(
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: ID of the namespace to update.
:param description: Namespace description.
:param is_public: Whether or not the namespace is public.
:param is_public: Defines whether or not the namespace is public.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -329,7 +329,7 @@ async def delete_namespace(
Delete a namespace.
Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: The UUID of the namespace.
:param namespace_id: UUID of the namespace.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -461,7 +461,7 @@ async def get_image(
Get an image.
Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:return: :class:`Image <Image>`

Usage:
Expand Down Expand Up @@ -493,7 +493,7 @@ async def wait_for_image(
"""
Waits for :class:`Image <Image>` to be in a final state.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:param options: The options for the waiter
:return: :class:`Image <Image>`

Expand Down Expand Up @@ -573,7 +573,7 @@ async def delete_image(
Delete an image.
Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:return: :class:`Image <Image>`

Usage:
Expand Down Expand Up @@ -609,7 +609,7 @@ async def list_tags(
List tags.
List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:param page: A positive integer to choose the page to display.
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
:param order_by: Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
Expand Down Expand Up @@ -655,7 +655,7 @@ async def list_tags_all(
List tags.
List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:param page: A positive integer to choose the page to display.
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
:param order_by: Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
Expand Down Expand Up @@ -692,7 +692,7 @@ async def get_tag(
Get a tag.
Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response.
:param region: Region to target. If none is passed will use default region from the config.
:param tag_id: The UUID of the tag.
:param tag_id: UUID of the tag.
:return: :class:`Tag <Tag>`

Usage:
Expand Down Expand Up @@ -724,7 +724,7 @@ async def wait_for_tag(
"""
Waits for :class:`Tag <Tag>` to be in a final state.
:param region: Region to target. If none is passed will use default region from the config.
:param tag_id: The UUID of the tag.
:param tag_id: UUID of the tag.
:param options: The options for the waiter
:return: :class:`Tag <Tag>`

Expand Down Expand Up @@ -760,7 +760,7 @@ async def delete_tag(
Delete a tag.
Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
:param region: Region to target. If none is passed will use default region from the config.
:param tag_id: The UUID of the tag.
:param tag_id: UUID of the tag.
:param force: If two tags share the same digest the deletion will fail unless this parameter is set to true.
:return: :class:`Tag <Tag>`

Expand Down
34 changes: 17 additions & 17 deletions scaleway-async/scaleway_async/registry/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,22 @@ class Image:

id: str
"""
The UUID of the image.
UUID of the image.
"""

name: str
"""
The name of the image, it must be unique within the namespace.
Name of the image, it must be unique within the namespace.
"""

namespace_id: str
"""
The UUID of the namespace the image belongs to.
UUID of the namespace the image belongs to.
"""

status: ImageStatus
"""
The status of the image.
Status of the image.
"""

status_message: Optional[str]
Expand Down Expand Up @@ -204,12 +204,12 @@ class Namespace:

id: str
"""
The UUID of the namespace.
UUID of the namespace.
"""

name: str
"""
The name of the namespace, unique in a region accross all organizations.
Name of the namespace, unique in a region accross all organizations.
"""

description: str
Expand Down Expand Up @@ -244,7 +244,7 @@ class Namespace:

is_public: bool
"""
Whether or not namespace is public.
Defines whether or not namespace is public.
"""

size: int
Expand Down Expand Up @@ -281,7 +281,7 @@ class Tag:

id: str
"""
The UUID of the tag.
UUID of the tag.
"""

name: str
Expand Down Expand Up @@ -362,7 +362,7 @@ class GetNamespaceRequest:

namespace_id: str
"""
The UUID of the namespace.
UUID of the namespace.
"""


Expand Down Expand Up @@ -400,7 +400,7 @@ class CreateNamespaceRequest:

is_public: bool
"""
Whether or not namespace is public.
Defines whether or not namespace is public.
"""


Expand All @@ -423,7 +423,7 @@ class UpdateNamespaceRequest:

is_public: Optional[bool]
"""
Whether or not the namespace is public.
Defines whether or not the namespace is public.
"""


Expand All @@ -436,7 +436,7 @@ class DeleteNamespaceRequest:

namespace_id: str
"""
The UUID of the namespace.
UUID of the namespace.
"""


Expand Down Expand Up @@ -492,7 +492,7 @@ class GetImageRequest:

image_id: str
"""
The UUID of the image.
UUID of the image.
"""


Expand Down Expand Up @@ -523,7 +523,7 @@ class DeleteImageRequest:

image_id: str
"""
The UUID of the image.
UUID of the image.
"""


Expand All @@ -536,7 +536,7 @@ class ListTagsRequest:

image_id: str
"""
The UUID of the image.
UUID of the image.
"""

page: Optional[int]
Expand Down Expand Up @@ -569,7 +569,7 @@ class GetTagRequest:

tag_id: str
"""
The UUID of the tag.
UUID of the tag.
"""


Expand All @@ -582,7 +582,7 @@ class DeleteTagRequest:

tag_id: str
"""
The UUID of the tag.
UUID of the tag.
"""

force: bool
Expand Down
26 changes: 13 additions & 13 deletions scaleway/scaleway/registry/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_namespace(
Get a namespace.
Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response.
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: The UUID of the namespace.
:param namespace_id: UUID of the namespace.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -190,7 +190,7 @@ def wait_for_namespace(
"""
Waits for :class:`Namespace <Namespace>` to be in a final state.
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: The UUID of the namespace.
:param namespace_id: UUID of the namespace.
:param options: The options for the waiter
:return: :class:`Namespace <Namespace>`

Expand Down Expand Up @@ -237,7 +237,7 @@ def create_namespace(
:param project_id: Project ID on which the namespace will be created.

One-of ('project_identifier'): at most one of 'organization_id', 'project_id' could be set.
:param is_public: Whether or not namespace is public.
:param is_public: Defines whether or not namespace is public.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -286,7 +286,7 @@ def update_namespace(
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: ID of the namespace to update.
:param description: Namespace description.
:param is_public: Whether or not the namespace is public.
:param is_public: Defines whether or not the namespace is public.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -327,7 +327,7 @@ def delete_namespace(
Delete a namespace.
Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
:param region: Region to target. If none is passed will use default region from the config.
:param namespace_id: The UUID of the namespace.
:param namespace_id: UUID of the namespace.
:return: :class:`Namespace <Namespace>`

Usage:
Expand Down Expand Up @@ -459,7 +459,7 @@ def get_image(
Get an image.
Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:return: :class:`Image <Image>`

Usage:
Expand Down Expand Up @@ -491,7 +491,7 @@ def wait_for_image(
"""
Waits for :class:`Image <Image>` to be in a final state.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:param options: The options for the waiter
:return: :class:`Image <Image>`

Expand Down Expand Up @@ -571,7 +571,7 @@ def delete_image(
Delete an image.
Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:return: :class:`Image <Image>`

Usage:
Expand Down Expand Up @@ -607,7 +607,7 @@ def list_tags(
List tags.
List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:param page: A positive integer to choose the page to display.
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
:param order_by: Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
Expand Down Expand Up @@ -653,7 +653,7 @@ def list_tags_all(
List tags.
List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`.
:param region: Region to target. If none is passed will use default region from the config.
:param image_id: The UUID of the image.
:param image_id: UUID of the image.
:param page: A positive integer to choose the page to display.
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
:param order_by: Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`.
Expand Down Expand Up @@ -690,7 +690,7 @@ def get_tag(
Get a tag.
Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response.
:param region: Region to target. If none is passed will use default region from the config.
:param tag_id: The UUID of the tag.
:param tag_id: UUID of the tag.
:return: :class:`Tag <Tag>`

Usage:
Expand Down Expand Up @@ -722,7 +722,7 @@ def wait_for_tag(
"""
Waits for :class:`Tag <Tag>` to be in a final state.
:param region: Region to target. If none is passed will use default region from the config.
:param tag_id: The UUID of the tag.
:param tag_id: UUID of the tag.
:param options: The options for the waiter
:return: :class:`Tag <Tag>`

Expand Down Expand Up @@ -758,7 +758,7 @@ def delete_tag(
Delete a tag.
Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
:param region: Region to target. If none is passed will use default region from the config.
:param tag_id: The UUID of the tag.
:param tag_id: UUID of the tag.
:param force: If two tags share the same digest the deletion will fail unless this parameter is set to true.
:return: :class:`Tag <Tag>`

Expand Down
Loading