pulp_rpm_client 3.30.2 → 3.31.1
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.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/AcsRpmApi.md +64 -28
- data/docs/ContentAdvisoriesApi.md +22 -8
- data/docs/ContentDistributionTreesApi.md +20 -8
- data/docs/ContentModulemdDefaultsApi.md +28 -12
- data/docs/ContentModulemdObsoletesApi.md +28 -12
- data/docs/ContentModulemdsApi.md +28 -12
- data/docs/ContentPackagecategoriesApi.md +20 -8
- data/docs/ContentPackageenvironmentsApi.md +20 -8
- data/docs/ContentPackagegroupsApi.md +20 -8
- data/docs/ContentPackagelangpacksApi.md +20 -8
- data/docs/ContentPackagesApi.md +105 -8
- data/docs/ContentRepoMetadataFilesApi.md +20 -8
- data/docs/DistributionsRpmApi.md +72 -32
- data/docs/PublicationsRpmApi.md +40 -16
- data/docs/RemotesRpmApi.md +72 -32
- data/docs/RemotesUlnApi.md +72 -32
- data/docs/RepositoriesRpmApi.md +88 -40
- data/docs/RepositoriesRpmVersionsApi.md +20 -8
- data/docs/RpmCompsApi.md +2 -0
- data/docs/RpmCopyApi.md +8 -4
- data/docs/RpmPruneApi.md +8 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +33 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +99 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +24 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +36 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +42 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -0
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +3 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +11 -0
- data/spec/api/content_advisories_api_spec.rb +5 -0
- data/spec/api/content_distribution_trees_api_spec.rb +4 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -0
- data/spec/api/content_packagecategories_api_spec.rb +4 -0
- data/spec/api/content_packageenvironments_api_spec.rb +4 -0
- data/spec/api/content_packagegroups_api_spec.rb +4 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +22 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -0
- data/spec/api/distributions_rpm_api_spec.rb +12 -0
- data/spec/api/publications_rpm_api_spec.rb +8 -0
- data/spec/api/remotes_rpm_api_spec.rb +12 -0
- data/spec/api/remotes_uln_api_spec.rb +12 -0
- data/spec/api/repositories_rpm_api_spec.rb +14 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -0
- data/spec/api/rpm_comps_api_spec.rb +1 -0
- data/spec/api/rpm_copy_api_spec.rb +1 -0
- data/spec/api/rpm_prune_api_spec.rb +1 -0
- metadata +82 -82
data/docs/ContentPackagesApi.md
CHANGED
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:24817*
|
|
9
9
|
| [**read**](ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package |
|
10
10
|
| [**set_label**](ContentPackagesApi.md#set_label) | **POST** {rpm_package_href}set_label/ | Set a label |
|
11
11
|
| [**unset_label**](ContentPackagesApi.md#unset_label) | **POST** {rpm_package_href}unset_label/ | Unset a label |
|
12
|
+
| [**upload**](ContentPackagesApi.md#upload) | **POST** /pulp/api/v3/content/rpm/packages/upload/ | Upload an RPM package synchronously. |
|
12
13
|
|
13
14
|
|
14
15
|
## create
|
@@ -33,6 +34,7 @@ end
|
|
33
34
|
|
34
35
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
35
36
|
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
38
40
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
@@ -73,6 +75,7 @@ end
|
|
73
75
|
|
74
76
|
| Name | Type | Description | Notes |
|
75
77
|
| ---- | ---- | ----------- | ----- |
|
78
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
76
79
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
77
80
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
78
81
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
@@ -117,6 +120,7 @@ end
|
|
117
120
|
|
118
121
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
119
122
|
opts = {
|
123
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
120
124
|
arch: 'arch_example', # String | Filter results where arch matches value
|
121
125
|
arch__contains: 'arch__contains_example', # String | Filter results where arch contains value
|
122
126
|
arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
@@ -192,6 +196,7 @@ end
|
|
192
196
|
|
193
197
|
| Name | Type | Description | Notes |
|
194
198
|
| ---- | ---- | ----------- | ----- |
|
199
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
195
200
|
| **arch** | **String** | Filter results where arch matches value | [optional] |
|
196
201
|
| **arch__contains** | **String** | Filter results where arch contains value | [optional] |
|
197
202
|
| **arch__in** | [**Array<String>**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
|
@@ -272,6 +277,7 @@ end
|
|
272
277
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
273
278
|
rpm_package_href = 'rpm_package_href_example' # String |
|
274
279
|
opts = {
|
280
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
275
281
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
276
282
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
277
283
|
}
|
@@ -308,6 +314,7 @@ end
|
|
308
314
|
| Name | Type | Description | Notes |
|
309
315
|
| ---- | ---- | ----------- | ----- |
|
310
316
|
| **rpm_package_href** | **String** | | |
|
317
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
311
318
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
312
319
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
313
320
|
|
@@ -327,7 +334,7 @@ end
|
|
327
334
|
|
328
335
|
## set_label
|
329
336
|
|
330
|
-
> <SetLabelResponse> set_label(rpm_package_href, set_label)
|
337
|
+
> <SetLabelResponse> set_label(rpm_package_href, set_label, opts)
|
331
338
|
|
332
339
|
Set a label
|
333
340
|
|
@@ -348,10 +355,13 @@ end
|
|
348
355
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
349
356
|
rpm_package_href = 'rpm_package_href_example' # String |
|
350
357
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
358
|
+
opts = {
|
359
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
360
|
+
}
|
351
361
|
|
352
362
|
begin
|
353
363
|
# Set a label
|
354
|
-
result = api_instance.set_label(rpm_package_href, set_label)
|
364
|
+
result = api_instance.set_label(rpm_package_href, set_label, opts)
|
355
365
|
p result
|
356
366
|
rescue PulpRpmClient::ApiError => e
|
357
367
|
puts "Error when calling ContentPackagesApi->set_label: #{e}"
|
@@ -362,12 +372,12 @@ end
|
|
362
372
|
|
363
373
|
This returns an Array which contains the response data, status code and headers.
|
364
374
|
|
365
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label)
|
375
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label, opts)
|
366
376
|
|
367
377
|
```ruby
|
368
378
|
begin
|
369
379
|
# Set a label
|
370
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label)
|
380
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label, opts)
|
371
381
|
p status_code # => 2xx
|
372
382
|
p headers # => { ... }
|
373
383
|
p data # => <SetLabelResponse>
|
@@ -382,6 +392,7 @@ end
|
|
382
392
|
| ---- | ---- | ----------- | ----- |
|
383
393
|
| **rpm_package_href** | **String** | | |
|
384
394
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
395
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
385
396
|
|
386
397
|
### Return type
|
387
398
|
|
@@ -399,7 +410,7 @@ end
|
|
399
410
|
|
400
411
|
## unset_label
|
401
412
|
|
402
|
-
> <UnsetLabelResponse> unset_label(rpm_package_href, unset_label)
|
413
|
+
> <UnsetLabelResponse> unset_label(rpm_package_href, unset_label, opts)
|
403
414
|
|
404
415
|
Unset a label
|
405
416
|
|
@@ -420,10 +431,13 @@ end
|
|
420
431
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
421
432
|
rpm_package_href = 'rpm_package_href_example' # String |
|
422
433
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
434
|
+
opts = {
|
435
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
436
|
+
}
|
423
437
|
|
424
438
|
begin
|
425
439
|
# Unset a label
|
426
|
-
result = api_instance.unset_label(rpm_package_href, unset_label)
|
440
|
+
result = api_instance.unset_label(rpm_package_href, unset_label, opts)
|
427
441
|
p result
|
428
442
|
rescue PulpRpmClient::ApiError => e
|
429
443
|
puts "Error when calling ContentPackagesApi->unset_label: #{e}"
|
@@ -434,12 +448,12 @@ end
|
|
434
448
|
|
435
449
|
This returns an Array which contains the response data, status code and headers.
|
436
450
|
|
437
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label)
|
451
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
438
452
|
|
439
453
|
```ruby
|
440
454
|
begin
|
441
455
|
# Unset a label
|
442
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label)
|
456
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
443
457
|
p status_code # => 2xx
|
444
458
|
p headers # => { ... }
|
445
459
|
p data # => <UnsetLabelResponse>
|
@@ -454,6 +468,7 @@ end
|
|
454
468
|
| ---- | ---- | ----------- | ----- |
|
455
469
|
| **rpm_package_href** | **String** | | |
|
456
470
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
471
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
457
472
|
|
458
473
|
### Return type
|
459
474
|
|
@@ -468,3 +483,85 @@ end
|
|
468
483
|
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
469
484
|
- **Accept**: application/json
|
470
485
|
|
486
|
+
|
487
|
+
## upload
|
488
|
+
|
489
|
+
> <RpmPackageResponse> upload(opts)
|
490
|
+
|
491
|
+
Upload an RPM package synchronously.
|
492
|
+
|
493
|
+
Synchronously upload an RPM package.
|
494
|
+
|
495
|
+
### Examples
|
496
|
+
|
497
|
+
```ruby
|
498
|
+
require 'time'
|
499
|
+
require 'pulp_rpm_client'
|
500
|
+
# setup authorization
|
501
|
+
PulpRpmClient.configure do |config|
|
502
|
+
# Configure HTTP basic authorization: basicAuth
|
503
|
+
config.username = 'YOUR USERNAME'
|
504
|
+
config.password = 'YOUR PASSWORD'
|
505
|
+
end
|
506
|
+
|
507
|
+
api_instance = PulpRpmClient::ContentPackagesApi.new
|
508
|
+
opts = {
|
509
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
510
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
511
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
512
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
513
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
514
|
+
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
515
|
+
}
|
516
|
+
|
517
|
+
begin
|
518
|
+
# Upload an RPM package synchronously.
|
519
|
+
result = api_instance.upload(opts)
|
520
|
+
p result
|
521
|
+
rescue PulpRpmClient::ApiError => e
|
522
|
+
puts "Error when calling ContentPackagesApi->upload: #{e}"
|
523
|
+
end
|
524
|
+
```
|
525
|
+
|
526
|
+
#### Using the upload_with_http_info variant
|
527
|
+
|
528
|
+
This returns an Array which contains the response data, status code and headers.
|
529
|
+
|
530
|
+
> <Array(<RpmPackageResponse>, Integer, Hash)> upload_with_http_info(opts)
|
531
|
+
|
532
|
+
```ruby
|
533
|
+
begin
|
534
|
+
# Upload an RPM package synchronously.
|
535
|
+
data, status_code, headers = api_instance.upload_with_http_info(opts)
|
536
|
+
p status_code # => 2xx
|
537
|
+
p headers # => { ... }
|
538
|
+
p data # => <RpmPackageResponse>
|
539
|
+
rescue PulpRpmClient::ApiError => e
|
540
|
+
puts "Error when calling ContentPackagesApi->upload_with_http_info: #{e}"
|
541
|
+
end
|
542
|
+
```
|
543
|
+
|
544
|
+
### Parameters
|
545
|
+
|
546
|
+
| Name | Type | Description | Notes |
|
547
|
+
| ---- | ---- | ----------- | ----- |
|
548
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
549
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
550
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
551
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
552
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
553
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
554
|
+
|
555
|
+
### Return type
|
556
|
+
|
557
|
+
[**RpmPackageResponse**](RpmPackageResponse.md)
|
558
|
+
|
559
|
+
### Authorization
|
560
|
+
|
561
|
+
[basicAuth](../README.md#basicAuth)
|
562
|
+
|
563
|
+
### HTTP request headers
|
564
|
+
|
565
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
566
|
+
- **Accept**: application/json
|
567
|
+
|
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
34
34
|
opts = {
|
35
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
35
36
|
limit: 56, # Integer | Number of results to return per page.
|
36
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
38
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -79,6 +80,7 @@ end
|
|
79
80
|
|
80
81
|
| Name | Type | Description | Notes |
|
81
82
|
| ---- | ---- | ----------- | ----- |
|
83
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
82
84
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
83
85
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
84
86
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -131,6 +133,7 @@ end
|
|
131
133
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
132
134
|
rpm_repo_metadata_file_href = 'rpm_repo_metadata_file_href_example' # String |
|
133
135
|
opts = {
|
136
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
134
137
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
135
138
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
136
139
|
}
|
@@ -167,6 +170,7 @@ end
|
|
167
170
|
| Name | Type | Description | Notes |
|
168
171
|
| ---- | ---- | ----------- | ----- |
|
169
172
|
| **rpm_repo_metadata_file_href** | **String** | | |
|
173
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
170
174
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
171
175
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
172
176
|
|
@@ -186,7 +190,7 @@ end
|
|
186
190
|
|
187
191
|
## set_label
|
188
192
|
|
189
|
-
> <SetLabelResponse> set_label(rpm_repo_metadata_file_href, set_label)
|
193
|
+
> <SetLabelResponse> set_label(rpm_repo_metadata_file_href, set_label, opts)
|
190
194
|
|
191
195
|
Set a label
|
192
196
|
|
@@ -207,10 +211,13 @@ end
|
|
207
211
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
208
212
|
rpm_repo_metadata_file_href = 'rpm_repo_metadata_file_href_example' # String |
|
209
213
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
214
|
+
opts = {
|
215
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
216
|
+
}
|
210
217
|
|
211
218
|
begin
|
212
219
|
# Set a label
|
213
|
-
result = api_instance.set_label(rpm_repo_metadata_file_href, set_label)
|
220
|
+
result = api_instance.set_label(rpm_repo_metadata_file_href, set_label, opts)
|
214
221
|
p result
|
215
222
|
rescue PulpRpmClient::ApiError => e
|
216
223
|
puts "Error when calling ContentRepoMetadataFilesApi->set_label: #{e}"
|
@@ -221,12 +228,12 @@ end
|
|
221
228
|
|
222
229
|
This returns an Array which contains the response data, status code and headers.
|
223
230
|
|
224
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_repo_metadata_file_href, set_label)
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_repo_metadata_file_href, set_label, opts)
|
225
232
|
|
226
233
|
```ruby
|
227
234
|
begin
|
228
235
|
# Set a label
|
229
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_repo_metadata_file_href, set_label)
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_repo_metadata_file_href, set_label, opts)
|
230
237
|
p status_code # => 2xx
|
231
238
|
p headers # => { ... }
|
232
239
|
p data # => <SetLabelResponse>
|
@@ -241,6 +248,7 @@ end
|
|
241
248
|
| ---- | ---- | ----------- | ----- |
|
242
249
|
| **rpm_repo_metadata_file_href** | **String** | | |
|
243
250
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
251
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
244
252
|
|
245
253
|
### Return type
|
246
254
|
|
@@ -258,7 +266,7 @@ end
|
|
258
266
|
|
259
267
|
## unset_label
|
260
268
|
|
261
|
-
> <UnsetLabelResponse> unset_label(rpm_repo_metadata_file_href, unset_label)
|
269
|
+
> <UnsetLabelResponse> unset_label(rpm_repo_metadata_file_href, unset_label, opts)
|
262
270
|
|
263
271
|
Unset a label
|
264
272
|
|
@@ -279,10 +287,13 @@ end
|
|
279
287
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
280
288
|
rpm_repo_metadata_file_href = 'rpm_repo_metadata_file_href_example' # String |
|
281
289
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
290
|
+
opts = {
|
291
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
292
|
+
}
|
282
293
|
|
283
294
|
begin
|
284
295
|
# Unset a label
|
285
|
-
result = api_instance.unset_label(rpm_repo_metadata_file_href, unset_label)
|
296
|
+
result = api_instance.unset_label(rpm_repo_metadata_file_href, unset_label, opts)
|
286
297
|
p result
|
287
298
|
rescue PulpRpmClient::ApiError => e
|
288
299
|
puts "Error when calling ContentRepoMetadataFilesApi->unset_label: #{e}"
|
@@ -293,12 +304,12 @@ end
|
|
293
304
|
|
294
305
|
This returns an Array which contains the response data, status code and headers.
|
295
306
|
|
296
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label)
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label, opts)
|
297
308
|
|
298
309
|
```ruby
|
299
310
|
begin
|
300
311
|
# Unset a label
|
301
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label)
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label, opts)
|
302
313
|
p status_code # => 2xx
|
303
314
|
p headers # => { ... }
|
304
315
|
p data # => <UnsetLabelResponse>
|
@@ -313,6 +324,7 @@ end
|
|
313
324
|
| ---- | ---- | ----------- | ----- |
|
314
325
|
| **rpm_repo_metadata_file_href** | **String** | | |
|
315
326
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
327
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
316
328
|
|
317
329
|
### Return type
|
318
330
|
|