pulp_container_client 2.24.0 → 2.25.0

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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -5
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +2 -2
  5. data/docs/ContainerContainerDistributionResponse.md +10 -10
  6. data/docs/ContainerContainerPullThroughDistribution.md +2 -2
  7. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  8. data/docs/ContainerContainerPushRepository.md +7 -7
  9. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  10. data/docs/ContainerManifestResponse.md +2 -0
  11. data/docs/ContainerManifestSignatureResponse.md +2 -0
  12. data/docs/ContainerTagResponse.md +2 -0
  13. data/docs/ContentBlobsApi.md +150 -2
  14. data/docs/ContentManifestsApi.md +150 -2
  15. data/docs/ContentSignaturesApi.md +150 -2
  16. data/docs/ContentTagsApi.md +150 -2
  17. data/docs/DistributionsContainerApi.md +4 -2
  18. data/docs/DistributionsPullThroughApi.md +4 -2
  19. data/docs/PatchedcontainerContainerDistribution.md +2 -2
  20. data/docs/PatchedcontainerContainerPullThroughDistribution.md +2 -2
  21. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  22. data/lib/pulp_container_client/api/content_blobs_api.rb +154 -3
  23. data/lib/pulp_container_client/api/content_manifests_api.rb +154 -3
  24. data/lib/pulp_container_client/api/content_signatures_api.rb +154 -3
  25. data/lib/pulp_container_client/api/content_tags_api.rb +154 -3
  26. data/lib/pulp_container_client/api/distributions_container_api.rb +6 -3
  27. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +6 -3
  28. data/lib/pulp_container_client/models/container_blob_response.rb +13 -1
  29. data/lib/pulp_container_client/models/container_container_distribution.rb +12 -12
  30. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  31. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +12 -12
  32. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +39 -39
  33. data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
  34. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +65 -65
  35. data/lib/pulp_container_client/models/container_manifest_response.rb +13 -1
  36. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +13 -1
  37. data/lib/pulp_container_client/models/container_tag_response.rb +13 -1
  38. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +12 -12
  39. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +12 -12
  40. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
  41. data/lib/pulp_container_client/models/unset_label.rb +1 -1
  42. data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
  43. data/lib/pulp_container_client/version.rb +1 -1
  44. data/spec/api/content_blobs_api_spec.rb +28 -1
  45. data/spec/api/content_manifests_api_spec.rb +28 -1
  46. data/spec/api/content_signatures_api_spec.rb +28 -1
  47. data/spec/api/content_tags_api_spec.rb +28 -1
  48. data/spec/api/distributions_container_api_spec.rb +2 -1
  49. data/spec/api/distributions_pull_through_api_spec.rb +2 -1
  50. data/spec/models/container_blob_response_spec.rb +6 -0
  51. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  52. data/spec/models/container_container_distribution_spec.rb +6 -6
  53. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  54. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  55. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  56. data/spec/models/container_container_push_repository_spec.rb +4 -4
  57. data/spec/models/container_manifest_response_spec.rb +6 -0
  58. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  59. data/spec/models/container_tag_response_spec.rb +6 -0
  60. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  61. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  62. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  63. metadata +63 -63
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84cd55a5a704099f72855aba8fb0d07952513c94c39a7fbdf49b34f9472aae16
4
- data.tar.gz: df029363ffc1394f294d28c6a916b6fefbe259bffdcc7d1bebc5b0cdc9504a8d
3
+ metadata.gz: 4a8cf2ec5a7ebb66b84a0478883f2f98ab4ea7bf95c8f4c3db736c76cd2ea496
4
+ data.tar.gz: 81a031a015e582230a49836079ab6ae7513950ae1ee5ec3fecc997bb728e7534
5
5
  SHA512:
6
- metadata.gz: a104738499a3e860fb798969a357f6e4994fd4bba1a00de23e202832746e824171fe2ecde2c92d01b844888e4def41c3335760c669350c075bd447ab67694b8d
7
- data.tar.gz: e51a1307261a5fbb35ac21edb468b0be22b56f524c94ce2e4bbcef9a907a51758b4f4d285cf4b6d321ba6ccee88d2591b75c3f9e310ba7847e68ac0325d6133d
6
+ metadata.gz: f4805b7d3a44ddd4e159d15409ee87ca1cb000356581270f686e01ad96e44282542515c8a025c285e7b12f35875bc8653320168d5c6febd2b680ff1b8bf41f88
7
+ data.tar.gz: a27fa0a28c24da72375857363b9672a9fc0d2791c485f798d3ad56fd6d5c477b891ed63dccf176aec0c422f7e8932ef2bffa7a6fa764ed3ca40d6421a234f428
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.0
10
+ - Package version: 2.25.0
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.0.gem
28
+ gem install ./pulp_container_client-2.25.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_container_client-2.24.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_container_client-2.25.0.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.0'
37
+ gem 'pulp_container_client', '~> 2.25.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -73,11 +73,12 @@ opts = {
73
73
  digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
74
74
  limit: 56, # Integer | Number of results to return per page.
75
75
  offset: 56, # Integer | The initial index from which to return the results.
76
- ordering: ['-digest'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
76
+ ordering: ['-digest'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
77
77
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
78
78
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
79
79
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
80
80
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
81
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
81
82
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
82
83
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
83
84
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -104,12 +105,20 @@ Class | Method | HTTP request | Description
104
105
  ------------ | ------------- | ------------- | -------------
105
106
  *PulpContainerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
106
107
  *PulpContainerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
108
+ *PulpContainerClient::ContentBlobsApi* | [**set_label**](docs/ContentBlobsApi.md#set_label) | **POST** {container_blob_href}set_label/ | Set a label
109
+ *PulpContainerClient::ContentBlobsApi* | [**unset_label**](docs/ContentBlobsApi.md#unset_label) | **POST** {container_blob_href}unset_label/ | Unset a label
107
110
  *PulpContainerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
108
111
  *PulpContainerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
112
+ *PulpContainerClient::ContentManifestsApi* | [**set_label**](docs/ContentManifestsApi.md#set_label) | **POST** {container_manifest_href}set_label/ | Set a label
113
+ *PulpContainerClient::ContentManifestsApi* | [**unset_label**](docs/ContentManifestsApi.md#unset_label) | **POST** {container_manifest_href}unset_label/ | Unset a label
109
114
  *PulpContainerClient::ContentSignaturesApi* | [**list**](docs/ContentSignaturesApi.md#list) | **GET** /pulp/api/v3/content/container/signatures/ | List manifest signatures
110
115
  *PulpContainerClient::ContentSignaturesApi* | [**read**](docs/ContentSignaturesApi.md#read) | **GET** {container_manifest_signature_href} | Inspect a manifest signature
116
+ *PulpContainerClient::ContentSignaturesApi* | [**set_label**](docs/ContentSignaturesApi.md#set_label) | **POST** {container_manifest_signature_href}set_label/ | Set a label
117
+ *PulpContainerClient::ContentSignaturesApi* | [**unset_label**](docs/ContentSignaturesApi.md#unset_label) | **POST** {container_manifest_signature_href}unset_label/ | Unset a label
111
118
  *PulpContainerClient::ContentTagsApi* | [**list**](docs/ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
112
119
  *PulpContainerClient::ContentTagsApi* | [**read**](docs/ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
120
+ *PulpContainerClient::ContentTagsApi* | [**set_label**](docs/ContentTagsApi.md#set_label) | **POST** {container_tag_href}set_label/ | Set a label
121
+ *PulpContainerClient::ContentTagsApi* | [**unset_label**](docs/ContentTagsApi.md#unset_label) | **POST** {container_tag_href}unset_label/ | Unset a label
113
122
  *PulpContainerClient::DistributionsContainerApi* | [**add_role**](docs/DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ | Add a role
114
123
  *PulpContainerClient::DistributionsContainerApi* | [**create**](docs/DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
115
124
  *PulpContainerClient::DistributionsContainerApi* | [**delete**](docs/DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
@@ -8,6 +8,7 @@
8
8
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **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] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
12
  | **artifact** | **String** | Artifact file representing the physical content | |
12
13
  | **digest** | **String** | sha256 of the Blob file | |
13
14
 
@@ -21,6 +22,7 @@ instance = PulpContainerClient::ContainerBlobResponse.new(
21
22
  prn: null,
22
23
  pulp_created: null,
23
24
  pulp_last_updated: null,
25
+ pulp_labels: null,
24
26
  artifact: null,
25
27
  digest: null
26
28
  )
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
7
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
9
8
  | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
10
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
11
10
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
12
11
  | **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
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
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
- pulp_labels: null,
24
23
  repository: null,
25
24
  content_guard: null,
26
25
  hidden: null,
27
26
  name: null,
28
27
  base_path: null,
28
+ pulp_labels: 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
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
7
+ | **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] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
10
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
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] |
12
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
13
13
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
14
- | **pulp_href** | **String** | | [optional][readonly] |
15
14
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
16
15
  | **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
16
  | **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;) | |
17
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
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
- pulp_labels: null,
32
- repository: null,
31
+ no_content_change_since: null,
32
+ pulp_href: null,
33
33
  pulp_created: null,
34
- content_guard: null,
34
+ repository: null,
35
35
  prn: null,
36
- no_content_change_since: null,
36
+ content_guard: null,
37
37
  hidden: null,
38
- pulp_href: null,
39
38
  name: null,
40
39
  pulp_last_updated: null,
41
40
  base_path: null,
41
+ pulp_labels: 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
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
7
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
9
8
  | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
10
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
11
10
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
12
11
  | **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
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
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
- pulp_labels: null,
25
24
  repository: null,
26
25
  content_guard: null,
27
26
  hidden: null,
28
27
  name: null,
29
28
  base_path: null,
29
+ pulp_labels: 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
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
7
+ | **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] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
10
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
11
11
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
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] |
12
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
13
13
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
14
- | **pulp_href** | **String** | | [optional][readonly] |
15
14
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | |
16
15
  | **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
16
  | **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;) | |
17
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
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
- pulp_labels: null,
31
- repository: null,
30
+ no_content_change_since: null,
31
+ pulp_href: null,
32
32
  pulp_created: null,
33
- content_guard: null,
33
+ repository: null,
34
34
  prn: null,
35
- no_content_change_since: null,
35
+ content_guard: null,
36
36
  hidden: null,
37
- pulp_href: null,
38
37
  name: null,
39
38
  pulp_last_updated: null,
40
39
  base_path: null,
40
+ pulp_labels: 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
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
- | **description** | **String** | An optional description. | [optional] |
9
- | **name** | **String** | A unique name for this repository. | |
10
7
  | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
8
  | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
9
+ | **name** | **String** | A unique name for this repository. | |
10
+ | **description** | **String** | An optional description. | [optional] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [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
- pulp_labels: null,
20
- description: null,
21
- name: null,
22
19
  retain_repo_versions: null,
23
- manifest_signing_service: null
20
+ manifest_signing_service: null,
21
+ name: null,
22
+ description: null,
23
+ pulp_labels: null
24
24
  )
25
25
  ```
26
26
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
- | **description** | **String** | An optional description. | [optional] |
11
- | **latest_version_href** | **String** | | [optional][readonly] |
12
7
  | **versions_href** | **String** | | [optional][readonly] |
8
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
13
9
  | **pulp_href** | **String** | | [optional][readonly] |
10
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
11
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
12
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
13
  | **name** | **String** | A unique name for this repository. | |
15
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
14
+ | **description** | **String** | An optional description. | [optional] |
16
15
  | **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
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
16
+ | **latest_version_href** | **String** | | [optional][readonly] |
17
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
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
- pulp_labels: null,
26
- pulp_created: null,
27
- prn: null,
28
- description: null,
29
- latest_version_href: null,
30
25
  versions_href: null,
26
+ retain_repo_versions: null,
31
27
  pulp_href: null,
28
+ pulp_created: null,
29
+ manifest_signing_service: null,
30
+ prn: null,
32
31
  name: null,
33
- retain_repo_versions: null,
32
+ description: null,
34
33
  pulp_last_updated: null,
35
- manifest_signing_service: null
34
+ latest_version_href: null,
35
+ pulp_labels: null
36
36
  )
37
37
  ```
38
38
 
@@ -8,6 +8,7 @@
8
8
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **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] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
12
  | **digest** | **String** | sha256 of the Manifest file | |
12
13
  | **schema_version** | **Integer** | Manifest schema version | |
13
14
  | **media_type** | **String** | Manifest media type of the file | |
@@ -33,6 +34,7 @@ instance = PulpContainerClient::ContainerManifestResponse.new(
33
34
  prn: null,
34
35
  pulp_created: null,
35
36
  pulp_last_updated: null,
37
+ pulp_labels: null,
36
38
  digest: null,
37
39
  schema_version: null,
38
40
  media_type: null,
@@ -8,6 +8,7 @@
8
8
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **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] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
12
  | **name** | **String** | Signature name in the format of &#x60;digest_algo:manifest_digest@random_32_chars&#x60; | |
12
13
  | **digest** | **String** | sha256 digest of the signature blob | |
13
14
  | **type** | **String** | Container signature type, e.g. &#39;atomic&#39; | |
@@ -26,6 +27,7 @@ instance = PulpContainerClient::ContainerManifestSignatureResponse.new(
26
27
  prn: null,
27
28
  pulp_created: null,
28
29
  pulp_last_updated: null,
30
+ pulp_labels: null,
29
31
  name: null,
30
32
  digest: null,
31
33
  type: null,
@@ -8,6 +8,7 @@
8
8
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **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] |
11
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
11
12
  | **name** | **String** | Tag name | |
12
13
  | **tagged_manifest** | **String** | Manifest that is tagged | |
13
14
 
@@ -21,6 +22,7 @@ instance = PulpContainerClient::ContainerTagResponse.new(
21
22
  prn: null,
22
23
  pulp_created: null,
23
24
  pulp_last_updated: null,
25
+ pulp_labels: null,
24
26
  name: null,
25
27
  tagged_manifest: null
26
28
  )
@@ -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
@@ -34,11 +36,12 @@ opts = {
34
36
  digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
35
37
  limit: 56, # Integer | Number of results to return per page.
36
38
  offset: 56, # Integer | The initial index from which to return the results.
37
- ordering: ['-digest'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
39
+ ordering: ['-digest'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
38
40
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
39
41
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
40
42
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
41
43
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
44
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
42
45
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
43
46
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
44
47
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -82,11 +85,12 @@ end
82
85
  | **digest__in** | [**Array&lt;String&gt;**](String.md) | Filter results where digest is in a comma-separated list of values | [optional] |
83
86
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
84
87
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
85
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
88
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
86
89
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
87
90
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
88
91
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
89
92
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
93
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
90
94
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
91
95
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
92
96
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -183,3 +187,147 @@ end
183
187
  - **Content-Type**: Not defined
184
188
  - **Accept**: application/json
185
189
 
190
+
191
+ ## set_label
192
+
193
+ > <SetLabelResponse> set_label(container_blob_href, set_label)
194
+
195
+ Set a label
196
+
197
+ Set a single pulp_label on the object to a specific value or null.
198
+
199
+ ### Examples
200
+
201
+ ```ruby
202
+ require 'time'
203
+ require 'pulp_container_client'
204
+ # setup authorization
205
+ PulpContainerClient.configure do |config|
206
+ # Configure HTTP basic authorization: basicAuth
207
+ config.username = 'YOUR USERNAME'
208
+ config.password = 'YOUR PASSWORD'
209
+ end
210
+
211
+ api_instance = PulpContainerClient::ContentBlobsApi.new
212
+ container_blob_href = 'container_blob_href_example' # String |
213
+ set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
214
+
215
+ begin
216
+ # Set a label
217
+ result = api_instance.set_label(container_blob_href, set_label)
218
+ p result
219
+ rescue PulpContainerClient::ApiError => e
220
+ puts "Error when calling ContentBlobsApi->set_label: #{e}"
221
+ end
222
+ ```
223
+
224
+ #### Using the set_label_with_http_info variant
225
+
226
+ This returns an Array which contains the response data, status code and headers.
227
+
228
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_blob_href, set_label)
229
+
230
+ ```ruby
231
+ begin
232
+ # Set a label
233
+ data, status_code, headers = api_instance.set_label_with_http_info(container_blob_href, set_label)
234
+ p status_code # => 2xx
235
+ p headers # => { ... }
236
+ p data # => <SetLabelResponse>
237
+ rescue PulpContainerClient::ApiError => e
238
+ puts "Error when calling ContentBlobsApi->set_label_with_http_info: #{e}"
239
+ end
240
+ ```
241
+
242
+ ### Parameters
243
+
244
+ | Name | Type | Description | Notes |
245
+ | ---- | ---- | ----------- | ----- |
246
+ | **container_blob_href** | **String** | | |
247
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
248
+
249
+ ### Return type
250
+
251
+ [**SetLabelResponse**](SetLabelResponse.md)
252
+
253
+ ### Authorization
254
+
255
+ [basicAuth](../README.md#basicAuth)
256
+
257
+ ### HTTP request headers
258
+
259
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
260
+ - **Accept**: application/json
261
+
262
+
263
+ ## unset_label
264
+
265
+ > <UnsetLabelResponse> unset_label(container_blob_href, unset_label)
266
+
267
+ Unset a label
268
+
269
+ Unset a single pulp_label on the object.
270
+
271
+ ### Examples
272
+
273
+ ```ruby
274
+ require 'time'
275
+ require 'pulp_container_client'
276
+ # setup authorization
277
+ PulpContainerClient.configure do |config|
278
+ # Configure HTTP basic authorization: basicAuth
279
+ config.username = 'YOUR USERNAME'
280
+ config.password = 'YOUR PASSWORD'
281
+ end
282
+
283
+ api_instance = PulpContainerClient::ContentBlobsApi.new
284
+ container_blob_href = 'container_blob_href_example' # String |
285
+ unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
286
+
287
+ begin
288
+ # Unset a label
289
+ result = api_instance.unset_label(container_blob_href, unset_label)
290
+ p result
291
+ rescue PulpContainerClient::ApiError => e
292
+ puts "Error when calling ContentBlobsApi->unset_label: #{e}"
293
+ end
294
+ ```
295
+
296
+ #### Using the unset_label_with_http_info variant
297
+
298
+ This returns an Array which contains the response data, status code and headers.
299
+
300
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_blob_href, unset_label)
301
+
302
+ ```ruby
303
+ begin
304
+ # Unset a label
305
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_blob_href, unset_label)
306
+ p status_code # => 2xx
307
+ p headers # => { ... }
308
+ p data # => <UnsetLabelResponse>
309
+ rescue PulpContainerClient::ApiError => e
310
+ puts "Error when calling ContentBlobsApi->unset_label_with_http_info: #{e}"
311
+ end
312
+ ```
313
+
314
+ ### Parameters
315
+
316
+ | Name | Type | Description | Notes |
317
+ | ---- | ---- | ----------- | ----- |
318
+ | **container_blob_href** | **String** | | |
319
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
320
+
321
+ ### Return type
322
+
323
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
324
+
325
+ ### Authorization
326
+
327
+ [basicAuth](../README.md#basicAuth)
328
+
329
+ ### HTTP request headers
330
+
331
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
332
+ - **Accept**: application/json
333
+