Skip to content

Commit 8dd4af9

Browse files
authored
docs(registry): components (#154)
1 parent 98e7743 commit 8dd4af9

File tree

4 files changed

+60
-60
lines changed

4 files changed

+60
-60
lines changed

scaleway-async/scaleway_async/registry/v1/api.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ async def get_namespace(
158158
Get a namespace.
159159
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.
160160
:param region: Region to target. If none is passed will use default region from the config.
161-
:param namespace_id: The UUID of the namespace.
161+
:param namespace_id: UUID of the namespace.
162162
:return: :class:`Namespace <Namespace>`
163163
164164
Usage:
@@ -192,7 +192,7 @@ async def wait_for_namespace(
192192
"""
193193
Waits for :class:`Namespace <Namespace>` to be in a final state.
194194
:param region: Region to target. If none is passed will use default region from the config.
195-
:param namespace_id: The UUID of the namespace.
195+
:param namespace_id: UUID of the namespace.
196196
:param options: The options for the waiter
197197
:return: :class:`Namespace <Namespace>`
198198
@@ -239,7 +239,7 @@ async def create_namespace(
239239
:param project_id: Project ID on which the namespace will be created.
240240
241241
One-of ('project_identifier'): at most one of 'organization_id', 'project_id' could be set.
242-
:param is_public: Whether or not namespace is public.
242+
:param is_public: Defines whether or not namespace is public.
243243
:return: :class:`Namespace <Namespace>`
244244
245245
Usage:
@@ -288,7 +288,7 @@ async def update_namespace(
288288
:param region: Region to target. If none is passed will use default region from the config.
289289
:param namespace_id: ID of the namespace to update.
290290
:param description: Namespace description.
291-
:param is_public: Whether or not the namespace is public.
291+
:param is_public: Defines whether or not the namespace is public.
292292
:return: :class:`Namespace <Namespace>`
293293
294294
Usage:
@@ -329,7 +329,7 @@ async def delete_namespace(
329329
Delete a namespace.
330330
Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
331331
:param region: Region to target. If none is passed will use default region from the config.
332-
:param namespace_id: The UUID of the namespace.
332+
:param namespace_id: UUID of the namespace.
333333
:return: :class:`Namespace <Namespace>`
334334
335335
Usage:
@@ -461,7 +461,7 @@ async def get_image(
461461
Get an image.
462462
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.
463463
:param region: Region to target. If none is passed will use default region from the config.
464-
:param image_id: The UUID of the image.
464+
:param image_id: UUID of the image.
465465
:return: :class:`Image <Image>`
466466
467467
Usage:
@@ -493,7 +493,7 @@ async def wait_for_image(
493493
"""
494494
Waits for :class:`Image <Image>` to be in a final state.
495495
:param region: Region to target. If none is passed will use default region from the config.
496-
:param image_id: The UUID of the image.
496+
:param image_id: UUID of the image.
497497
:param options: The options for the waiter
498498
:return: :class:`Image <Image>`
499499
@@ -573,7 +573,7 @@ async def delete_image(
573573
Delete an image.
574574
Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
575575
:param region: Region to target. If none is passed will use default region from the config.
576-
:param image_id: The UUID of the image.
576+
:param image_id: UUID of the image.
577577
:return: :class:`Image <Image>`
578578
579579
Usage:
@@ -609,7 +609,7 @@ async def list_tags(
609609
List tags.
610610
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`.
611611
:param region: Region to target. If none is passed will use default region from the config.
612-
:param image_id: The UUID of the image.
612+
:param image_id: UUID of the image.
613613
:param page: A positive integer to choose the page to display.
614614
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
615615
: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`.
@@ -655,7 +655,7 @@ async def list_tags_all(
655655
List tags.
656656
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`.
657657
:param region: Region to target. If none is passed will use default region from the config.
658-
:param image_id: The UUID of the image.
658+
:param image_id: UUID of the image.
659659
:param page: A positive integer to choose the page to display.
660660
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
661661
: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`.
@@ -692,7 +692,7 @@ async def get_tag(
692692
Get a tag.
693693
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.
694694
:param region: Region to target. If none is passed will use default region from the config.
695-
:param tag_id: The UUID of the tag.
695+
:param tag_id: UUID of the tag.
696696
:return: :class:`Tag <Tag>`
697697
698698
Usage:
@@ -724,7 +724,7 @@ async def wait_for_tag(
724724
"""
725725
Waits for :class:`Tag <Tag>` to be in a final state.
726726
:param region: Region to target. If none is passed will use default region from the config.
727-
:param tag_id: The UUID of the tag.
727+
:param tag_id: UUID of the tag.
728728
:param options: The options for the waiter
729729
:return: :class:`Tag <Tag>`
730730
@@ -760,7 +760,7 @@ async def delete_tag(
760760
Delete a tag.
761761
Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
762762
:param region: Region to target. If none is passed will use default region from the config.
763-
:param tag_id: The UUID of the tag.
763+
:param tag_id: UUID of the tag.
764764
:param force: If two tags share the same digest the deletion will fail unless this parameter is set to true.
765765
:return: :class:`Tag <Tag>`
766766

scaleway-async/scaleway_async/registry/v1/types.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,22 @@ class Image:
9595

9696
id: str
9797
"""
98-
The UUID of the image.
98+
UUID of the image.
9999
"""
100100

101101
name: str
102102
"""
103-
The name of the image, it must be unique within the namespace.
103+
Name of the image, it must be unique within the namespace.
104104
"""
105105

106106
namespace_id: str
107107
"""
108-
The UUID of the namespace the image belongs to.
108+
UUID of the namespace the image belongs to.
109109
"""
110110

111111
status: ImageStatus
112112
"""
113-
The status of the image.
113+
Status of the image.
114114
"""
115115

116116
status_message: Optional[str]
@@ -204,12 +204,12 @@ class Namespace:
204204

205205
id: str
206206
"""
207-
The UUID of the namespace.
207+
UUID of the namespace.
208208
"""
209209

210210
name: str
211211
"""
212-
The name of the namespace, unique in a region accross all organizations.
212+
Name of the namespace, unique in a region accross all organizations.
213213
"""
214214

215215
description: str
@@ -244,7 +244,7 @@ class Namespace:
244244

245245
is_public: bool
246246
"""
247-
Whether or not namespace is public.
247+
Defines whether or not namespace is public.
248248
"""
249249

250250
size: int
@@ -281,7 +281,7 @@ class Tag:
281281

282282
id: str
283283
"""
284-
The UUID of the tag.
284+
UUID of the tag.
285285
"""
286286

287287
name: str
@@ -362,7 +362,7 @@ class GetNamespaceRequest:
362362

363363
namespace_id: str
364364
"""
365-
The UUID of the namespace.
365+
UUID of the namespace.
366366
"""
367367

368368

@@ -400,7 +400,7 @@ class CreateNamespaceRequest:
400400

401401
is_public: bool
402402
"""
403-
Whether or not namespace is public.
403+
Defines whether or not namespace is public.
404404
"""
405405

406406

@@ -423,7 +423,7 @@ class UpdateNamespaceRequest:
423423

424424
is_public: Optional[bool]
425425
"""
426-
Whether or not the namespace is public.
426+
Defines whether or not the namespace is public.
427427
"""
428428

429429

@@ -436,7 +436,7 @@ class DeleteNamespaceRequest:
436436

437437
namespace_id: str
438438
"""
439-
The UUID of the namespace.
439+
UUID of the namespace.
440440
"""
441441

442442

@@ -492,7 +492,7 @@ class GetImageRequest:
492492

493493
image_id: str
494494
"""
495-
The UUID of the image.
495+
UUID of the image.
496496
"""
497497

498498

@@ -523,7 +523,7 @@ class DeleteImageRequest:
523523

524524
image_id: str
525525
"""
526-
The UUID of the image.
526+
UUID of the image.
527527
"""
528528

529529

@@ -536,7 +536,7 @@ class ListTagsRequest:
536536

537537
image_id: str
538538
"""
539-
The UUID of the image.
539+
UUID of the image.
540540
"""
541541

542542
page: Optional[int]
@@ -569,7 +569,7 @@ class GetTagRequest:
569569

570570
tag_id: str
571571
"""
572-
The UUID of the tag.
572+
UUID of the tag.
573573
"""
574574

575575

@@ -582,7 +582,7 @@ class DeleteTagRequest:
582582

583583
tag_id: str
584584
"""
585-
The UUID of the tag.
585+
UUID of the tag.
586586
"""
587587

588588
force: bool

scaleway/scaleway/registry/v1/api.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def get_namespace(
158158
Get a namespace.
159159
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.
160160
:param region: Region to target. If none is passed will use default region from the config.
161-
:param namespace_id: The UUID of the namespace.
161+
:param namespace_id: UUID of the namespace.
162162
:return: :class:`Namespace <Namespace>`
163163
164164
Usage:
@@ -190,7 +190,7 @@ def wait_for_namespace(
190190
"""
191191
Waits for :class:`Namespace <Namespace>` to be in a final state.
192192
:param region: Region to target. If none is passed will use default region from the config.
193-
:param namespace_id: The UUID of the namespace.
193+
:param namespace_id: UUID of the namespace.
194194
:param options: The options for the waiter
195195
:return: :class:`Namespace <Namespace>`
196196
@@ -237,7 +237,7 @@ def create_namespace(
237237
:param project_id: Project ID on which the namespace will be created.
238238
239239
One-of ('project_identifier'): at most one of 'organization_id', 'project_id' could be set.
240-
:param is_public: Whether or not namespace is public.
240+
:param is_public: Defines whether or not namespace is public.
241241
:return: :class:`Namespace <Namespace>`
242242
243243
Usage:
@@ -286,7 +286,7 @@ def update_namespace(
286286
:param region: Region to target. If none is passed will use default region from the config.
287287
:param namespace_id: ID of the namespace to update.
288288
:param description: Namespace description.
289-
:param is_public: Whether or not the namespace is public.
289+
:param is_public: Defines whether or not the namespace is public.
290290
:return: :class:`Namespace <Namespace>`
291291
292292
Usage:
@@ -327,7 +327,7 @@ def delete_namespace(
327327
Delete a namespace.
328328
Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete.
329329
:param region: Region to target. If none is passed will use default region from the config.
330-
:param namespace_id: The UUID of the namespace.
330+
:param namespace_id: UUID of the namespace.
331331
:return: :class:`Namespace <Namespace>`
332332
333333
Usage:
@@ -459,7 +459,7 @@ def get_image(
459459
Get an image.
460460
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.
461461
:param region: Region to target. If none is passed will use default region from the config.
462-
:param image_id: The UUID of the image.
462+
:param image_id: UUID of the image.
463463
:return: :class:`Image <Image>`
464464
465465
Usage:
@@ -491,7 +491,7 @@ def wait_for_image(
491491
"""
492492
Waits for :class:`Image <Image>` to be in a final state.
493493
:param region: Region to target. If none is passed will use default region from the config.
494-
:param image_id: The UUID of the image.
494+
:param image_id: UUID of the image.
495495
:param options: The options for the waiter
496496
:return: :class:`Image <Image>`
497497
@@ -571,7 +571,7 @@ def delete_image(
571571
Delete an image.
572572
Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete.
573573
:param region: Region to target. If none is passed will use default region from the config.
574-
:param image_id: The UUID of the image.
574+
:param image_id: UUID of the image.
575575
:return: :class:`Image <Image>`
576576
577577
Usage:
@@ -607,7 +607,7 @@ def list_tags(
607607
List tags.
608608
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`.
609609
:param region: Region to target. If none is passed will use default region from the config.
610-
:param image_id: The UUID of the image.
610+
:param image_id: UUID of the image.
611611
:param page: A positive integer to choose the page to display.
612612
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
613613
: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`.
@@ -653,7 +653,7 @@ def list_tags_all(
653653
List tags.
654654
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`.
655655
:param region: Region to target. If none is passed will use default region from the config.
656-
:param image_id: The UUID of the image.
656+
:param image_id: UUID of the image.
657657
:param page: A positive integer to choose the page to display.
658658
:param page_size: A positive integer lower or equal to 100 to select the number of items to display.
659659
: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`.
@@ -690,7 +690,7 @@ def get_tag(
690690
Get a tag.
691691
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.
692692
:param region: Region to target. If none is passed will use default region from the config.
693-
:param tag_id: The UUID of the tag.
693+
:param tag_id: UUID of the tag.
694694
:return: :class:`Tag <Tag>`
695695
696696
Usage:
@@ -722,7 +722,7 @@ def wait_for_tag(
722722
"""
723723
Waits for :class:`Tag <Tag>` to be in a final state.
724724
:param region: Region to target. If none is passed will use default region from the config.
725-
:param tag_id: The UUID of the tag.
725+
:param tag_id: UUID of the tag.
726726
:param options: The options for the waiter
727727
:return: :class:`Tag <Tag>`
728728
@@ -758,7 +758,7 @@ def delete_tag(
758758
Delete a tag.
759759
Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete.
760760
:param region: Region to target. If none is passed will use default region from the config.
761-
:param tag_id: The UUID of the tag.
761+
:param tag_id: UUID of the tag.
762762
:param force: If two tags share the same digest the deletion will fail unless this parameter is set to true.
763763
:return: :class:`Tag <Tag>`
764764

0 commit comments

Comments
 (0)