pulp_container_client 2.24.1 → 2.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -4
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  9. data/docs/ContentBlobsApi.md +158 -0
  10. data/docs/ContentManifestsApi.md +158 -0
  11. data/docs/ContentSignaturesApi.md +158 -0
  12. data/docs/ContentTagsApi.md +158 -0
  13. data/docs/DistributionsContainerApi.md +76 -34
  14. data/docs/DistributionsPullThroughApi.md +76 -34
  15. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/docs/PulpContainerNamespacesApi.md +40 -16
  19. data/docs/RemotesContainerApi.md +72 -32
  20. data/docs/RemotesPullThroughApi.md +72 -32
  21. data/docs/RepositoriesContainerApi.md +138 -64
  22. data/docs/RepositoriesContainerPushApi.md +80 -36
  23. data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
  24. data/docs/RepositoriesContainerVersionsApi.md +22 -10
  25. data/docs/TokenApi.md +14 -5
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +160 -0
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +160 -0
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +160 -0
  29. data/lib/pulp_container_client/api/content_tags_api.rb +160 -0
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +42 -3
  31. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +42 -3
  32. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
  33. data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
  34. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
  35. data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
  36. data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
  37. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
  38. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
  39. data/lib/pulp_container_client/api/token_api.rb +9 -0
  40. data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
  41. data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
  42. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
  43. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
  44. data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
  45. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
  47. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
  48. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
  49. data/lib/pulp_container_client/models/unset_label.rb +1 -1
  50. data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
  51. data/lib/pulp_container_client/version.rb +1 -1
  52. data/pulp_container_client.gemspec +0 -1
  53. data/spec/api/content_blobs_api_spec.rb +30 -0
  54. data/spec/api/content_manifests_api_spec.rb +30 -0
  55. data/spec/api/content_signatures_api_spec.rb +30 -0
  56. data/spec/api/content_tags_api_spec.rb +30 -0
  57. data/spec/api/distributions_container_api_spec.rb +14 -1
  58. data/spec/api/distributions_pull_through_api_spec.rb +14 -1
  59. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
  60. data/spec/api/remotes_container_api_spec.rb +12 -0
  61. data/spec/api/remotes_pull_through_api_spec.rb +12 -0
  62. data/spec/api/repositories_container_api_spec.rb +21 -0
  63. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  64. data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
  65. data/spec/api/repositories_container_versions_api_spec.rb +5 -1
  66. data/spec/api/token_api_spec.rb +3 -0
  67. data/spec/models/container_container_distribution_response_spec.rb +11 -11
  68. data/spec/models/container_container_distribution_spec.rb +5 -5
  69. data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
  70. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  71. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  72. data/spec/models/container_container_push_repository_spec.rb +4 -4
  73. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  74. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  75. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  76. metadata +60 -80
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af653ff80be537ae7f95bc13b6dd88fcabdae9a3f3c9f718abb8c587006dce57
4
- data.tar.gz: 17f56a913050398be52ab06cc3832a042641272d989e5c5b9d1abe4e0d4ed4e1
3
+ metadata.gz: '0975465b639d08e715d508e55ef2c5b538f02120f3655006c223517198c71257'
4
+ data.tar.gz: 3b060d9e644a2c58623018d335835e45d1b94f59a4e108485dcde62f204bef94
5
5
  SHA512:
6
- metadata.gz: 741c31ce259b26d327ecb041b2435a28ca3905a099997801eebd51c5e9b343fa19c1ce031c45633b789b8b6012e1536561dd5a199ee8eecc45a368864bb44adc
7
- data.tar.gz: 1c4c84333e17179c3dc79be29de75082d55d3e27b9e5e89bed49b4f554bdeea2e3cdee5c0ae681a9a834cb02bd7d5aef0799d41621a40b27f1545382b27e6dc8
6
+ metadata.gz: 9a0623dbd93b90d555db4a6df8f96e416f953bda0a2296702bd78ff50f1dbe5404f042202354cb0e4b410adea4ba04b817d02f0bff2e8adae1b721032ab46782
7
+ data.tar.gz: 33945a4469e9d0084e54a9e2d0bdab5ca1976236e403a67c00cc6de613927a089c9ba6e26350f95a982c753ace380a45db00b3f3612c11e6665e8eeeca27c482
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.24.1
10
+ - Package version: 2.24.3
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_container_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_container_client-2.24.1.gem
28
+ gem install ./pulp_container_client-2.24.3.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_container_client-2.24.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_container_client-2.24.3.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_container_client', '~> 2.24.1'
37
+ gem 'pulp_container_client', '~> 2.24.3'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -69,6 +69,7 @@ end
69
69
 
70
70
  api_instance = PulpContainerClient::ContentBlobsApi.new
71
71
  opts = {
72
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
72
73
  digest: 'digest_example', # String | Filter results where digest matches value
73
74
  digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
74
75
  limit: 56, # Integer | Number of results to return per page.
@@ -105,12 +106,20 @@ Class | Method | HTTP request | Description
105
106
  ------------ | ------------- | ------------- | -------------
106
107
  *PulpContainerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
107
108
  *PulpContainerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
109
+ *PulpContainerClient::ContentBlobsApi* | [**set_label**](docs/ContentBlobsApi.md#set_label) | **POST** {container_blob_href}set_label/ | Set a label
110
+ *PulpContainerClient::ContentBlobsApi* | [**unset_label**](docs/ContentBlobsApi.md#unset_label) | **POST** {container_blob_href}unset_label/ | Unset a label
108
111
  *PulpContainerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
109
112
  *PulpContainerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
113
+ *PulpContainerClient::ContentManifestsApi* | [**set_label**](docs/ContentManifestsApi.md#set_label) | **POST** {container_manifest_href}set_label/ | Set a label
114
+ *PulpContainerClient::ContentManifestsApi* | [**unset_label**](docs/ContentManifestsApi.md#unset_label) | **POST** {container_manifest_href}unset_label/ | Unset a label
110
115
  *PulpContainerClient::ContentSignaturesApi* | [**list**](docs/ContentSignaturesApi.md#list) | **GET** /pulp/api/v3/content/container/signatures/ | List manifest signatures
111
116
  *PulpContainerClient::ContentSignaturesApi* | [**read**](docs/ContentSignaturesApi.md#read) | **GET** {container_manifest_signature_href} | Inspect a manifest signature
117
+ *PulpContainerClient::ContentSignaturesApi* | [**set_label**](docs/ContentSignaturesApi.md#set_label) | **POST** {container_manifest_signature_href}set_label/ | Set a label
118
+ *PulpContainerClient::ContentSignaturesApi* | [**unset_label**](docs/ContentSignaturesApi.md#unset_label) | **POST** {container_manifest_signature_href}unset_label/ | Unset a label
112
119
  *PulpContainerClient::ContentTagsApi* | [**list**](docs/ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
113
120
  *PulpContainerClient::ContentTagsApi* | [**read**](docs/ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
121
+ *PulpContainerClient::ContentTagsApi* | [**set_label**](docs/ContentTagsApi.md#set_label) | **POST** {container_tag_href}set_label/ | Set a label
122
+ *PulpContainerClient::ContentTagsApi* | [**unset_label**](docs/ContentTagsApi.md#unset_label) | **POST** {container_tag_href}unset_label/ | Unset a label
114
123
  *PulpContainerClient::DistributionsContainerApi* | [**add_role**](docs/DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ | Add a role
115
124
  *PulpContainerClient::DistributionsContainerApi* | [**create**](docs/DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
116
125
  *PulpContainerClient::DistributionsContainerApi* | [**delete**](docs/DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
8
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | |
9
8
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
10
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
11
9
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
11
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
12
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
13
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
14
14
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
15
15
  | **description** | **String** | An optional description. | [optional] |
@@ -20,12 +20,12 @@
20
20
  require 'pulp_container_client'
21
21
 
22
22
  instance = PulpContainerClient::ContainerContainerDistribution.new(
23
- hidden: null,
24
23
  base_path: null,
25
24
  name: null,
26
- content_guard: null,
27
25
  pulp_labels: null,
26
+ content_guard: null,
28
27
  repository: null,
28
+ hidden: null,
29
29
  repository_version: null,
30
30
  private: null,
31
31
  description: null
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_href** | **String** | | [optional][readonly] |
9
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
10
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
11
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | |
12
8
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
13
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
9
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
10
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
11
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
15
12
  | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to &#x60;null&#x60;, no guarantee is provided about content changes. | [optional][readonly] |
16
13
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
17
15
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
16
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
17
+ | **pulp_href** | **String** | | [optional][readonly] |
18
18
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
19
19
  | **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional][readonly] |
20
20
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional][readonly] |
@@ -28,17 +28,17 @@
28
28
  require 'pulp_container_client'
29
29
 
30
30
  instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
31
- prn: null,
32
- pulp_href: null,
33
- pulp_last_updated: null,
34
- hidden: null,
35
31
  base_path: null,
36
32
  name: null,
37
- content_guard: null,
33
+ prn: null,
38
34
  pulp_labels: null,
35
+ content_guard: null,
39
36
  no_content_change_since: null,
40
37
  pulp_created: null,
38
+ pulp_last_updated: null,
41
39
  repository: null,
40
+ hidden: null,
41
+ pulp_href: null,
42
42
  repository_version: null,
43
43
  registry_path: null,
44
44
  remote: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
8
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | |
9
8
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
10
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
11
9
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
12
11
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
12
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
13
13
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
14
14
  | **distributions** | **Array&lt;String&gt;** | Distributions created after pulling content through cache | [optional] |
15
15
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
@@ -21,12 +21,12 @@
21
21
  require 'pulp_container_client'
22
22
 
23
23
  instance = PulpContainerClient::ContainerContainerPullThroughDistribution.new(
24
- hidden: null,
25
24
  base_path: null,
26
25
  name: null,
27
- content_guard: null,
28
26
  pulp_labels: null,
27
+ content_guard: null,
29
28
  repository: null,
29
+ hidden: null,
30
30
  remote: null,
31
31
  distributions: null,
32
32
  private: null,
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
- | **pulp_href** | **String** | | [optional][readonly] |
9
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
10
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
11
7
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | |
12
8
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
13
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
9
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
10
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
11
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
15
12
  | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to &#x60;null&#x60;, no guarantee is provided about content changes. | [optional][readonly] |
16
13
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
14
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
17
15
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
16
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
17
+ | **pulp_href** | **String** | | [optional][readonly] |
18
18
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | |
19
19
  | **distributions** | **Array&lt;String&gt;** | Distributions created after pulling content through cache | [optional] |
20
20
  | **namespace** | **String** | Namespace this distribution belongs to. | [optional][readonly] |
@@ -27,17 +27,17 @@
27
27
  require 'pulp_container_client'
28
28
 
29
29
  instance = PulpContainerClient::ContainerContainerPullThroughDistributionResponse.new(
30
- prn: null,
31
- pulp_href: null,
32
- pulp_last_updated: null,
33
- hidden: null,
34
30
  base_path: null,
35
31
  name: null,
36
- content_guard: null,
32
+ prn: null,
37
33
  pulp_labels: null,
34
+ content_guard: null,
38
35
  no_content_change_since: null,
39
36
  pulp_created: null,
37
+ pulp_last_updated: null,
40
38
  repository: null,
39
+ hidden: null,
40
+ pulp_href: null,
41
41
  remote: null,
42
42
  distributions: null,
43
43
  namespace: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
9
7
  | **name** | **String** | A unique name for this repository. | |
10
- | **description** | **String** | An optional description. | [optional] |
8
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
9
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
11
+ | **description** | **String** | An optional description. | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -16,11 +16,11 @@
16
16
  require 'pulp_container_client'
17
17
 
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(
19
- manifest_signing_service: null,
20
- retain_repo_versions: null,
21
19
  name: null,
22
- description: null,
23
- pulp_labels: null
20
+ retain_repo_versions: null,
21
+ pulp_labels: null,
22
+ manifest_signing_service: null,
23
+ description: null
24
24
  )
25
25
  ```
26
26
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
- | **pulp_href** | **String** | | [optional][readonly] |
10
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
12
7
  | **name** | **String** | A unique name for this repository. | |
13
- | **latest_version_href** | **String** | | [optional][readonly] |
8
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
9
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
10
  | **versions_href** | **String** | | [optional][readonly] |
15
- | **description** | **String** | An optional description. | [optional] |
16
11
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
12
+ | **latest_version_href** | **String** | | [optional][readonly] |
13
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
14
+ | **description** | **String** | An optional description. | [optional] |
17
15
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
16
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
17
+ | **pulp_href** | **String** | | [optional][readonly] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,17 +22,17 @@
22
22
  require 'pulp_container_client'
23
23
 
24
24
  instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
25
- manifest_signing_service: null,
26
- prn: null,
27
- pulp_href: null,
28
- retain_repo_versions: null,
29
- pulp_last_updated: null,
30
25
  name: null,
31
- latest_version_href: null,
26
+ retain_repo_versions: null,
27
+ prn: null,
32
28
  versions_href: null,
33
- description: null,
34
29
  pulp_labels: null,
35
- pulp_created: null
30
+ latest_version_href: null,
31
+ manifest_signing_service: null,
32
+ description: null,
33
+ pulp_created: null,
34
+ pulp_last_updated: null,
35
+ pulp_href: null
36
36
  )
37
37
  ```
38
38
 
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**list**](ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs |
8
8
  | [**read**](ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob |
9
+ | [**set_label**](ContentBlobsApi.md#set_label) | **POST** {container_blob_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentBlobsApi.md#unset_label) | **POST** {container_blob_href}unset_label/ | Unset a label |
9
11
 
10
12
 
11
13
  ## list
@@ -30,6 +32,7 @@ end
30
32
 
31
33
  api_instance = PulpContainerClient::ContentBlobsApi.new
32
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
33
36
  digest: 'digest_example', # String | Filter results where digest matches value
34
37
  digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
35
38
  limit: 56, # Integer | Number of results to return per page.
@@ -79,6 +82,7 @@ end
79
82
 
80
83
  | Name | Type | Description | Notes |
81
84
  | ---- | ---- | ----------- | ----- |
85
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
82
86
  | **digest** | **String** | Filter results where digest matches value | [optional] |
83
87
  | **digest__in** | [**Array&lt;String&gt;**](String.md) | Filter results where digest is in a comma-separated list of values | [optional] |
84
88
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
@@ -133,6 +137,7 @@ end
133
137
  api_instance = PulpContainerClient::ContentBlobsApi.new
134
138
  container_blob_href = 'container_blob_href_example' # String |
135
139
  opts = {
140
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
136
141
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
137
142
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
138
143
  }
@@ -169,6 +174,7 @@ end
169
174
  | Name | Type | Description | Notes |
170
175
  | ---- | ---- | ----------- | ----- |
171
176
  | **container_blob_href** | **String** | | |
177
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
172
178
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
173
179
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
174
180
 
@@ -185,3 +191,155 @@ end
185
191
  - **Content-Type**: Not defined
186
192
  - **Accept**: application/json
187
193
 
194
+
195
+ ## set_label
196
+
197
+ > <SetLabelResponse> set_label(container_blob_href, set_label, opts)
198
+
199
+ Set a label
200
+
201
+ Set a single pulp_label on the object to a specific value or null.
202
+
203
+ ### Examples
204
+
205
+ ```ruby
206
+ require 'time'
207
+ require 'pulp_container_client'
208
+ # setup authorization
209
+ PulpContainerClient.configure do |config|
210
+ # Configure HTTP basic authorization: basicAuth
211
+ config.username = 'YOUR USERNAME'
212
+ config.password = 'YOUR PASSWORD'
213
+ end
214
+
215
+ api_instance = PulpContainerClient::ContentBlobsApi.new
216
+ container_blob_href = 'container_blob_href_example' # String |
217
+ set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
218
+ opts = {
219
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
220
+ }
221
+
222
+ begin
223
+ # Set a label
224
+ result = api_instance.set_label(container_blob_href, set_label, opts)
225
+ p result
226
+ rescue PulpContainerClient::ApiError => e
227
+ puts "Error when calling ContentBlobsApi->set_label: #{e}"
228
+ end
229
+ ```
230
+
231
+ #### Using the set_label_with_http_info variant
232
+
233
+ This returns an Array which contains the response data, status code and headers.
234
+
235
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_blob_href, set_label, opts)
236
+
237
+ ```ruby
238
+ begin
239
+ # Set a label
240
+ data, status_code, headers = api_instance.set_label_with_http_info(container_blob_href, set_label, opts)
241
+ p status_code # => 2xx
242
+ p headers # => { ... }
243
+ p data # => <SetLabelResponse>
244
+ rescue PulpContainerClient::ApiError => e
245
+ puts "Error when calling ContentBlobsApi->set_label_with_http_info: #{e}"
246
+ end
247
+ ```
248
+
249
+ ### Parameters
250
+
251
+ | Name | Type | Description | Notes |
252
+ | ---- | ---- | ----------- | ----- |
253
+ | **container_blob_href** | **String** | | |
254
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
255
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
256
+
257
+ ### Return type
258
+
259
+ [**SetLabelResponse**](SetLabelResponse.md)
260
+
261
+ ### Authorization
262
+
263
+ [basicAuth](../README.md#basicAuth)
264
+
265
+ ### HTTP request headers
266
+
267
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
268
+ - **Accept**: application/json
269
+
270
+
271
+ ## unset_label
272
+
273
+ > <UnsetLabelResponse> unset_label(container_blob_href, unset_label, opts)
274
+
275
+ Unset a label
276
+
277
+ Unset a single pulp_label on the object.
278
+
279
+ ### Examples
280
+
281
+ ```ruby
282
+ require 'time'
283
+ require 'pulp_container_client'
284
+ # setup authorization
285
+ PulpContainerClient.configure do |config|
286
+ # Configure HTTP basic authorization: basicAuth
287
+ config.username = 'YOUR USERNAME'
288
+ config.password = 'YOUR PASSWORD'
289
+ end
290
+
291
+ api_instance = PulpContainerClient::ContentBlobsApi.new
292
+ container_blob_href = 'container_blob_href_example' # String |
293
+ unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
294
+ opts = {
295
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
296
+ }
297
+
298
+ begin
299
+ # Unset a label
300
+ result = api_instance.unset_label(container_blob_href, unset_label, opts)
301
+ p result
302
+ rescue PulpContainerClient::ApiError => e
303
+ puts "Error when calling ContentBlobsApi->unset_label: #{e}"
304
+ end
305
+ ```
306
+
307
+ #### Using the unset_label_with_http_info variant
308
+
309
+ This returns an Array which contains the response data, status code and headers.
310
+
311
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_blob_href, unset_label, opts)
312
+
313
+ ```ruby
314
+ begin
315
+ # Unset a label
316
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_blob_href, unset_label, opts)
317
+ p status_code # => 2xx
318
+ p headers # => { ... }
319
+ p data # => <UnsetLabelResponse>
320
+ rescue PulpContainerClient::ApiError => e
321
+ puts "Error when calling ContentBlobsApi->unset_label_with_http_info: #{e}"
322
+ end
323
+ ```
324
+
325
+ ### Parameters
326
+
327
+ | Name | Type | Description | Notes |
328
+ | ---- | ---- | ----------- | ----- |
329
+ | **container_blob_href** | **String** | | |
330
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
331
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
332
+
333
+ ### Return type
334
+
335
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
336
+
337
+ ### Authorization
338
+
339
+ [basicAuth](../README.md#basicAuth)
340
+
341
+ ### HTTP request headers
342
+
343
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
344
+ - **Accept**: application/json
345
+