pulp_ansible_client 0.24.1 → 0.24.2

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -4
  3. data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
  4. data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
  5. data/docs/AnsibleCollectionVersionResponse.md +8 -6
  6. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  7. data/docs/AnsibleGitRemote.md +26 -26
  8. data/docs/AnsibleGitRemoteResponse.md +28 -28
  9. data/docs/AnsibleRole.md +2 -0
  10. data/docs/AnsibleRoleResponse.md +8 -6
  11. data/docs/ContentCollectionDeprecationsApi.md +148 -0
  12. data/docs/ContentCollectionMarksApi.md +150 -2
  13. data/docs/ContentCollectionSignaturesApi.md +152 -2
  14. data/docs/ContentCollectionVersionsApi.md +156 -6
  15. data/docs/ContentNamespacesApi.md +4 -2
  16. data/docs/ContentRolesApi.md +150 -2
  17. data/docs/PatchedansibleGitRemote.md +26 -26
  18. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -2
  19. data/docs/PulpAnsibleApiV3NamespacesApi.md +2 -2
  20. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
  21. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +2 -2
  22. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -2
  23. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +2 -2
  24. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
  25. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +2 -2
  26. data/docs/RemotesGitApi.md +2 -2
  27. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +151 -0
  28. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +154 -3
  29. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +157 -3
  30. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +163 -9
  31. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -3
  32. data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
  33. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -3
  34. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +3 -3
  35. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
  36. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
  37. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -3
  38. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +3 -3
  39. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
  40. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
  41. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +13 -1
  42. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +13 -1
  43. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -24
  44. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
  45. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +219 -219
  46. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
  47. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
  48. data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -27
  49. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +209 -209
  50. data/lib/pulp_ansible_client/version.rb +1 -1
  51. data/spec/api/content_collection_deprecations_api_spec.rb +27 -0
  52. data/spec/api/content_collection_marks_api_spec.rb +28 -1
  53. data/spec/api/content_collection_signatures_api_spec.rb +29 -1
  54. data/spec/api/content_collection_versions_api_spec.rb +31 -3
  55. data/spec/api/content_namespaces_api_spec.rb +2 -1
  56. data/spec/api/content_roles_api_spec.rb +28 -1
  57. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -1
  58. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +1 -1
  59. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
  60. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
  61. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -1
  62. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +1 -1
  63. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
  64. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
  65. data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
  66. data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
  67. data/spec/models/ansible_collection_version_response_spec.rb +10 -4
  68. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  69. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  70. data/spec/models/ansible_git_remote_spec.rb +17 -17
  71. data/spec/models/ansible_role_response_spec.rb +11 -5
  72. data/spec/models/ansible_role_spec.rb +6 -0
  73. data/spec/models/patchedansible_git_remote_spec.rb +17 -17
  74. metadata +123 -123
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentCollectionMarksApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_marks/ | Create a collection version mark |
8
8
  | [**list**](ContentCollectionMarksApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_marks/ | List collection version marks |
9
9
  | [**read**](ContentCollectionMarksApi.md#read) | **GET** {ansible_collection_version_mark_href} | Inspect a collection version mark |
10
+ | [**set_label**](ContentCollectionMarksApi.md#set_label) | **POST** {ansible_collection_version_mark_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentCollectionMarksApi.md#unset_label) | **POST** {ansible_collection_version_mark_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -104,11 +106,12 @@ opts = {
104
106
  limit: 56, # Integer | Number of results to return per page.
105
107
  marked_collection: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter marks for collection version
106
108
  offset: 56, # Integer | The initial index from which to return the results.
107
- ordering: ['-pk'], # 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) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
109
+ ordering: ['-pk'], # 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) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
108
110
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
109
111
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
110
112
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
111
113
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
114
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
112
115
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
113
116
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
114
117
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -153,11 +156,12 @@ end
153
156
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
154
157
  | **marked_collection** | **String** | Filter marks for collection version | [optional] |
155
158
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
156
- | **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;value&#x60; - Value * &#x60;-value&#x60; - Value (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
159
+ | **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;value&#x60; - Value * &#x60;-value&#x60; - Value (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
157
160
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
158
161
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
159
162
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
160
163
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
164
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
161
165
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
162
166
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
163
167
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -256,3 +260,147 @@ end
256
260
  - **Content-Type**: Not defined
257
261
  - **Accept**: application/json
258
262
 
263
+
264
+ ## set_label
265
+
266
+ > <SetLabelResponse> set_label(ansible_collection_version_mark_href, set_label)
267
+
268
+ Set a label
269
+
270
+ Set a single pulp_label on the object to a specific value or null.
271
+
272
+ ### Examples
273
+
274
+ ```ruby
275
+ require 'time'
276
+ require 'pulp_ansible_client'
277
+ # setup authorization
278
+ PulpAnsibleClient.configure do |config|
279
+ # Configure HTTP basic authorization: basicAuth
280
+ config.username = 'YOUR USERNAME'
281
+ config.password = 'YOUR PASSWORD'
282
+ end
283
+
284
+ api_instance = PulpAnsibleClient::ContentCollectionMarksApi.new
285
+ ansible_collection_version_mark_href = 'ansible_collection_version_mark_href_example' # String |
286
+ set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
287
+
288
+ begin
289
+ # Set a label
290
+ result = api_instance.set_label(ansible_collection_version_mark_href, set_label)
291
+ p result
292
+ rescue PulpAnsibleClient::ApiError => e
293
+ puts "Error when calling ContentCollectionMarksApi->set_label: #{e}"
294
+ end
295
+ ```
296
+
297
+ #### Using the set_label_with_http_info variant
298
+
299
+ This returns an Array which contains the response data, status code and headers.
300
+
301
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_version_mark_href, set_label)
302
+
303
+ ```ruby
304
+ begin
305
+ # Set a label
306
+ data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_version_mark_href, set_label)
307
+ p status_code # => 2xx
308
+ p headers # => { ... }
309
+ p data # => <SetLabelResponse>
310
+ rescue PulpAnsibleClient::ApiError => e
311
+ puts "Error when calling ContentCollectionMarksApi->set_label_with_http_info: #{e}"
312
+ end
313
+ ```
314
+
315
+ ### Parameters
316
+
317
+ | Name | Type | Description | Notes |
318
+ | ---- | ---- | ----------- | ----- |
319
+ | **ansible_collection_version_mark_href** | **String** | | |
320
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
321
+
322
+ ### Return type
323
+
324
+ [**SetLabelResponse**](SetLabelResponse.md)
325
+
326
+ ### Authorization
327
+
328
+ [basicAuth](../README.md#basicAuth)
329
+
330
+ ### HTTP request headers
331
+
332
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
333
+ - **Accept**: application/json
334
+
335
+
336
+ ## unset_label
337
+
338
+ > <UnsetLabelResponse> unset_label(ansible_collection_version_mark_href, unset_label)
339
+
340
+ Unset a label
341
+
342
+ Unset a single pulp_label on the object.
343
+
344
+ ### Examples
345
+
346
+ ```ruby
347
+ require 'time'
348
+ require 'pulp_ansible_client'
349
+ # setup authorization
350
+ PulpAnsibleClient.configure do |config|
351
+ # Configure HTTP basic authorization: basicAuth
352
+ config.username = 'YOUR USERNAME'
353
+ config.password = 'YOUR PASSWORD'
354
+ end
355
+
356
+ api_instance = PulpAnsibleClient::ContentCollectionMarksApi.new
357
+ ansible_collection_version_mark_href = 'ansible_collection_version_mark_href_example' # String |
358
+ unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
359
+
360
+ begin
361
+ # Unset a label
362
+ result = api_instance.unset_label(ansible_collection_version_mark_href, unset_label)
363
+ p result
364
+ rescue PulpAnsibleClient::ApiError => e
365
+ puts "Error when calling ContentCollectionMarksApi->unset_label: #{e}"
366
+ end
367
+ ```
368
+
369
+ #### Using the unset_label_with_http_info variant
370
+
371
+ This returns an Array which contains the response data, status code and headers.
372
+
373
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_version_mark_href, unset_label)
374
+
375
+ ```ruby
376
+ begin
377
+ # Unset a label
378
+ data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_version_mark_href, unset_label)
379
+ p status_code # => 2xx
380
+ p headers # => { ... }
381
+ p data # => <UnsetLabelResponse>
382
+ rescue PulpAnsibleClient::ApiError => e
383
+ puts "Error when calling ContentCollectionMarksApi->unset_label_with_http_info: #{e}"
384
+ end
385
+ ```
386
+
387
+ ### Parameters
388
+
389
+ | Name | Type | Description | Notes |
390
+ | ---- | ---- | ----------- | ----- |
391
+ | **ansible_collection_version_mark_href** | **String** | | |
392
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
393
+
394
+ ### Return type
395
+
396
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
397
+
398
+ ### Authorization
399
+
400
+ [basicAuth](../README.md#basicAuth)
401
+
402
+ ### HTTP request headers
403
+
404
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
405
+ - **Accept**: application/json
406
+
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentCollectionSignaturesApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_signatures/ | Create a collection version signature |
8
8
  | [**list**](ContentCollectionSignaturesApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_signatures/ | List collection version signatures |
9
9
  | [**read**](ContentCollectionSignaturesApi.md#read) | **GET** {ansible_collection_version_signature_href} | Inspect a collection version signature |
10
+ | [**set_label**](ContentCollectionSignaturesApi.md#set_label) | **POST** {ansible_collection_version_signature_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentCollectionSignaturesApi.md#unset_label) | **POST** {ansible_collection_version_signature_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -33,6 +35,7 @@ api_instance = PulpAnsibleClient::ContentCollectionSignaturesApi.new
33
35
  signed_collection = 'signed_collection_example' # String | The content this signature is pointing to.
34
36
  opts = {
35
37
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
39
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
37
40
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
41
  file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
@@ -71,6 +74,7 @@ end
71
74
  | ---- | ---- | ----------- | ----- |
72
75
  | **signed_collection** | **String** | The content this signature is pointing to. | |
73
76
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
77
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
74
78
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
75
79
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
76
80
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
@@ -113,13 +117,14 @@ api_instance = PulpAnsibleClient::ContentCollectionSignaturesApi.new
113
117
  opts = {
114
118
  limit: 56, # Integer | Number of results to return per page.
115
119
  offset: 56, # Integer | The initial index from which to return the results.
116
- ordering: ['-data'], # 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) * `data` - Data * `-data` - Data (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `pk` - Pk * `-pk` - Pk (descending)
120
+ ordering: ['-data'], # 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) * `data` - Data * `-data` - Data (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `pk` - Pk * `-pk` - Pk (descending)
117
121
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
118
122
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
119
123
  pubkey_fingerprint: 'pubkey_fingerprint_example', # String | Filter results where pubkey_fingerprint matches value
120
124
  pubkey_fingerprint__in: ['inner_example'], # Array<String> | Filter results where pubkey_fingerprint is in a comma-separated list of values
121
125
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
122
126
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
127
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
123
128
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
124
129
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
125
130
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -163,13 +168,14 @@ end
163
168
  | ---- | ---- | ----------- | ----- |
164
169
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
165
170
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
166
- | **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;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pubkey_fingerprint&#x60; - Pubkey fingerprint * &#x60;-pubkey_fingerprint&#x60; - Pubkey fingerprint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
171
+ | **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;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pubkey_fingerprint&#x60; - Pubkey fingerprint * &#x60;-pubkey_fingerprint&#x60; - Pubkey fingerprint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
167
172
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
168
173
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
174
  | **pubkey_fingerprint** | **String** | Filter results where pubkey_fingerprint matches value | [optional] |
170
175
  | **pubkey_fingerprint__in** | [**Array&lt;String&gt;**](String.md) | Filter results where pubkey_fingerprint is in a comma-separated list of values | [optional] |
171
176
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
172
177
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
178
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
173
179
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
174
180
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
175
181
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -268,3 +274,147 @@ end
268
274
  - **Content-Type**: Not defined
269
275
  - **Accept**: application/json
270
276
 
277
+
278
+ ## set_label
279
+
280
+ > <SetLabelResponse> set_label(ansible_collection_version_signature_href, set_label)
281
+
282
+ Set a label
283
+
284
+ Set a single pulp_label on the object to a specific value or null.
285
+
286
+ ### Examples
287
+
288
+ ```ruby
289
+ require 'time'
290
+ require 'pulp_ansible_client'
291
+ # setup authorization
292
+ PulpAnsibleClient.configure do |config|
293
+ # Configure HTTP basic authorization: basicAuth
294
+ config.username = 'YOUR USERNAME'
295
+ config.password = 'YOUR PASSWORD'
296
+ end
297
+
298
+ api_instance = PulpAnsibleClient::ContentCollectionSignaturesApi.new
299
+ ansible_collection_version_signature_href = 'ansible_collection_version_signature_href_example' # String |
300
+ set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
301
+
302
+ begin
303
+ # Set a label
304
+ result = api_instance.set_label(ansible_collection_version_signature_href, set_label)
305
+ p result
306
+ rescue PulpAnsibleClient::ApiError => e
307
+ puts "Error when calling ContentCollectionSignaturesApi->set_label: #{e}"
308
+ end
309
+ ```
310
+
311
+ #### Using the set_label_with_http_info variant
312
+
313
+ This returns an Array which contains the response data, status code and headers.
314
+
315
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_version_signature_href, set_label)
316
+
317
+ ```ruby
318
+ begin
319
+ # Set a label
320
+ data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_version_signature_href, set_label)
321
+ p status_code # => 2xx
322
+ p headers # => { ... }
323
+ p data # => <SetLabelResponse>
324
+ rescue PulpAnsibleClient::ApiError => e
325
+ puts "Error when calling ContentCollectionSignaturesApi->set_label_with_http_info: #{e}"
326
+ end
327
+ ```
328
+
329
+ ### Parameters
330
+
331
+ | Name | Type | Description | Notes |
332
+ | ---- | ---- | ----------- | ----- |
333
+ | **ansible_collection_version_signature_href** | **String** | | |
334
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
335
+
336
+ ### Return type
337
+
338
+ [**SetLabelResponse**](SetLabelResponse.md)
339
+
340
+ ### Authorization
341
+
342
+ [basicAuth](../README.md#basicAuth)
343
+
344
+ ### HTTP request headers
345
+
346
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
347
+ - **Accept**: application/json
348
+
349
+
350
+ ## unset_label
351
+
352
+ > <UnsetLabelResponse> unset_label(ansible_collection_version_signature_href, unset_label)
353
+
354
+ Unset a label
355
+
356
+ Unset a single pulp_label on the object.
357
+
358
+ ### Examples
359
+
360
+ ```ruby
361
+ require 'time'
362
+ require 'pulp_ansible_client'
363
+ # setup authorization
364
+ PulpAnsibleClient.configure do |config|
365
+ # Configure HTTP basic authorization: basicAuth
366
+ config.username = 'YOUR USERNAME'
367
+ config.password = 'YOUR PASSWORD'
368
+ end
369
+
370
+ api_instance = PulpAnsibleClient::ContentCollectionSignaturesApi.new
371
+ ansible_collection_version_signature_href = 'ansible_collection_version_signature_href_example' # String |
372
+ unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
373
+
374
+ begin
375
+ # Unset a label
376
+ result = api_instance.unset_label(ansible_collection_version_signature_href, unset_label)
377
+ p result
378
+ rescue PulpAnsibleClient::ApiError => e
379
+ puts "Error when calling ContentCollectionSignaturesApi->unset_label: #{e}"
380
+ end
381
+ ```
382
+
383
+ #### Using the unset_label_with_http_info variant
384
+
385
+ This returns an Array which contains the response data, status code and headers.
386
+
387
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_version_signature_href, unset_label)
388
+
389
+ ```ruby
390
+ begin
391
+ # Unset a label
392
+ data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_version_signature_href, unset_label)
393
+ p status_code # => 2xx
394
+ p headers # => { ... }
395
+ p data # => <UnsetLabelResponse>
396
+ rescue PulpAnsibleClient::ApiError => e
397
+ puts "Error when calling ContentCollectionSignaturesApi->unset_label_with_http_info: #{e}"
398
+ end
399
+ ```
400
+
401
+ ### Parameters
402
+
403
+ | Name | Type | Description | Notes |
404
+ | ---- | ---- | ----------- | ----- |
405
+ | **ansible_collection_version_signature_href** | **String** | | |
406
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
407
+
408
+ ### Return type
409
+
410
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
411
+
412
+ ### Authorization
413
+
414
+ [basicAuth](../README.md#basicAuth)
415
+
416
+ ### HTTP request headers
417
+
418
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
419
+ - **Accept**: application/json
420
+
@@ -7,6 +7,8 @@ All URIs are relative to *http://localhost:24817*
7
7
  | [**create**](ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version |
8
8
  | [**list**](ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions |
9
9
  | [**read**](ContentCollectionVersionsApi.md#read) | **GET** {ansible_collection_version_href} | Inspect a collection version |
10
+ | [**set_label**](ContentCollectionVersionsApi.md#set_label) | **POST** {ansible_collection_version_href}set_label/ | Set a label |
11
+ | [**unset_label**](ContentCollectionVersionsApi.md#unset_label) | **POST** {ansible_collection_version_href}unset_label/ | Unset a label |
10
12
 
11
13
 
12
14
  ## create
@@ -31,11 +33,12 @@ end
31
33
 
32
34
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
33
35
  opts = {
34
- file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
36
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
35
37
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
38
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
36
39
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
37
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
40
  artifact: 'artifact_example', # String | Artifact file representing the physical content
41
+ pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
39
42
  expected_name: 'expected_name_example', # String | The name of the collection.
40
43
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
41
44
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -72,11 +75,12 @@ end
72
75
 
73
76
  | Name | Type | Description | Notes |
74
77
  | ---- | ---- | ----------- | ----- |
75
- | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
78
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
76
79
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
80
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
77
81
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
78
- | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
79
82
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
83
+ | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
80
84
  | **expected_name** | **String** | The name of the collection. | [optional] |
81
85
  | **expected_namespace** | **String** | The namespace of the collection. | [optional] |
82
86
  | **expected_version** | **String** | The version of the collection. | [optional] |
@@ -121,11 +125,12 @@ opts = {
121
125
  name: 'name_example', # String |
122
126
  namespace: 'namespace_example', # String |
123
127
  offset: 56, # Integer | The initial index from which to return the results.
124
- ordering: ['-authors'], # 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
128
+ ordering: ['-authors'], # 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
125
129
  orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
126
130
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
127
131
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
128
132
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
133
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
129
134
  q: 'q_example', # String |
130
135
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
131
136
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
@@ -171,11 +176,12 @@ end
171
176
  | **name** | **String** | | [optional] |
172
177
  | **namespace** | **String** | | [optional] |
173
178
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
174
- | **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;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
179
+ | **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;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
175
180
  | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
176
181
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
177
182
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
178
183
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
184
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
179
185
  | **q** | **String** | | [optional] |
180
186
  | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
181
187
  | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
@@ -274,3 +280,147 @@ end
274
280
  - **Content-Type**: Not defined
275
281
  - **Accept**: application/json
276
282
 
283
+
284
+ ## set_label
285
+
286
+ > <SetLabelResponse> set_label(ansible_collection_version_href, set_label)
287
+
288
+ Set a label
289
+
290
+ Set a single pulp_label on the object to a specific value or null.
291
+
292
+ ### Examples
293
+
294
+ ```ruby
295
+ require 'time'
296
+ require 'pulp_ansible_client'
297
+ # setup authorization
298
+ PulpAnsibleClient.configure do |config|
299
+ # Configure HTTP basic authorization: basicAuth
300
+ config.username = 'YOUR USERNAME'
301
+ config.password = 'YOUR PASSWORD'
302
+ end
303
+
304
+ api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
305
+ ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
306
+ set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
307
+
308
+ begin
309
+ # Set a label
310
+ result = api_instance.set_label(ansible_collection_version_href, set_label)
311
+ p result
312
+ rescue PulpAnsibleClient::ApiError => e
313
+ puts "Error when calling ContentCollectionVersionsApi->set_label: #{e}"
314
+ end
315
+ ```
316
+
317
+ #### Using the set_label_with_http_info variant
318
+
319
+ This returns an Array which contains the response data, status code and headers.
320
+
321
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_version_href, set_label)
322
+
323
+ ```ruby
324
+ begin
325
+ # Set a label
326
+ data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_version_href, set_label)
327
+ p status_code # => 2xx
328
+ p headers # => { ... }
329
+ p data # => <SetLabelResponse>
330
+ rescue PulpAnsibleClient::ApiError => e
331
+ puts "Error when calling ContentCollectionVersionsApi->set_label_with_http_info: #{e}"
332
+ end
333
+ ```
334
+
335
+ ### Parameters
336
+
337
+ | Name | Type | Description | Notes |
338
+ | ---- | ---- | ----------- | ----- |
339
+ | **ansible_collection_version_href** | **String** | | |
340
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
341
+
342
+ ### Return type
343
+
344
+ [**SetLabelResponse**](SetLabelResponse.md)
345
+
346
+ ### Authorization
347
+
348
+ [basicAuth](../README.md#basicAuth)
349
+
350
+ ### HTTP request headers
351
+
352
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
353
+ - **Accept**: application/json
354
+
355
+
356
+ ## unset_label
357
+
358
+ > <UnsetLabelResponse> unset_label(ansible_collection_version_href, unset_label)
359
+
360
+ Unset a label
361
+
362
+ Unset a single pulp_label on the object.
363
+
364
+ ### Examples
365
+
366
+ ```ruby
367
+ require 'time'
368
+ require 'pulp_ansible_client'
369
+ # setup authorization
370
+ PulpAnsibleClient.configure do |config|
371
+ # Configure HTTP basic authorization: basicAuth
372
+ config.username = 'YOUR USERNAME'
373
+ config.password = 'YOUR PASSWORD'
374
+ end
375
+
376
+ api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
377
+ ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
378
+ unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
379
+
380
+ begin
381
+ # Unset a label
382
+ result = api_instance.unset_label(ansible_collection_version_href, unset_label)
383
+ p result
384
+ rescue PulpAnsibleClient::ApiError => e
385
+ puts "Error when calling ContentCollectionVersionsApi->unset_label: #{e}"
386
+ end
387
+ ```
388
+
389
+ #### Using the unset_label_with_http_info variant
390
+
391
+ This returns an Array which contains the response data, status code and headers.
392
+
393
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_version_href, unset_label)
394
+
395
+ ```ruby
396
+ begin
397
+ # Unset a label
398
+ data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_version_href, unset_label)
399
+ p status_code # => 2xx
400
+ p headers # => { ... }
401
+ p data # => <UnsetLabelResponse>
402
+ rescue PulpAnsibleClient::ApiError => e
403
+ puts "Error when calling ContentCollectionVersionsApi->unset_label_with_http_info: #{e}"
404
+ end
405
+ ```
406
+
407
+ ### Parameters
408
+
409
+ | Name | Type | Description | Notes |
410
+ | ---- | ---- | ----------- | ----- |
411
+ | **ansible_collection_version_href** | **String** | | |
412
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
413
+
414
+ ### Return type
415
+
416
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
417
+
418
+ ### Authorization
419
+
420
+ [basicAuth](../README.md#basicAuth)
421
+
422
+ ### HTTP request headers
423
+
424
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
425
+ - **Accept**: application/json
426
+