pulpcore_client 3.80.2 → 3.82.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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AccessPoliciesApi.md +28 -12
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/ArtifactsApi.md +14 -4
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +22 -8
- data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
- data/docs/ContentOpenpgpSignatureApi.md +20 -8
- data/docs/ContentOpenpgpUserattributeApi.md +20 -8
- data/docs/ContentOpenpgpUseridApi.md +20 -8
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +56 -24
- data/docs/ContentguardsContentRedirectApi.md +56 -24
- data/docs/ContentguardsHeaderApi.md +56 -24
- data/docs/ContentguardsRbacApi.md +56 -24
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DistributionsOpenpgpApi.md +52 -24
- data/docs/DomainsApi.md +60 -28
- data/docs/ExportersFilesystemApi.md +36 -16
- data/docs/ExportersFilesystemExportsApi.md +20 -8
- data/docs/ExportersPulpApi.md +36 -16
- data/docs/ExportersPulpExportsApi.md +20 -8
- data/docs/GroupsApi.md +56 -24
- data/docs/GroupsRolesApi.md +20 -8
- data/docs/GroupsUsersApi.md +18 -8
- data/docs/ImportersPulpApi.md +36 -16
- data/docs/ImportersPulpImportCheckApi.md +8 -4
- data/docs/ImportersPulpImportsApi.md +20 -8
- data/docs/LivezApi.md +14 -5
- data/docs/LoginApi.md +34 -15
- data/docs/OrphansApi.md +10 -5
- data/docs/OrphansCleanupApi.md +8 -4
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +8 -4
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
- data/docs/RepositoriesReclaimSpaceApi.md +8 -4
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +36 -16
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +14 -5
- data/docs/TaskGroupsApi.md +12 -4
- data/docs/TaskSchedulesApi.md +24 -8
- data/docs/TasksApi.md +52 -22
- data/docs/UploadsApi.md +50 -20
- data/docs/UpstreamPulpsApi.md +64 -28
- data/docs/UsersApi.md +36 -16
- data/docs/UsersRolesApi.md +20 -8
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
- data/lib/pulpcore_client/api/domains_api.rb +27 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/livez_api.rb +9 -0
- data/lib/pulpcore_client/api/login_api.rb +15 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +33 -3
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
- data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/distributions_openpgp_api_spec.rb +8 -0
- data/spec/api/domains_api_spec.rb +9 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/livez_api_spec.rb +3 -0
- data/spec/api/login_api_spec.rb +5 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +3 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +11 -1
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +190 -190
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e933bb99362ec167f9a5c9b4106742fe5b768e0cd86f5b20a678240ecf8fcaf3
|
4
|
+
data.tar.gz: 573968397c33cd87dce02e56999f9d33e1ae46e3506852c5658379d4a2e349a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1919aaec25714f7d6e665444894ffdfabb91367b8f9d45d1829ae9b1ca0774defd23d2887a7de79c6e313ed8e80a8b37437eba1d951abc91860f627bce9386
|
7
|
+
data.tar.gz: 458ad06d514debb15e63a3051e81ced9e40dae00c62e70be1985f4cfa6ae18bbae3dd339b8423a94286157ee4268a284d2b44621c5bba1d8519f4291726b0a27
|
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: 3.
|
10
|
+
- Package version: 3.82.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 pulpcore_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulpcore_client-3.
|
28
|
+
gem install ./pulpcore_client-3.82.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.82.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 'pulpcore_client', '~> 3.
|
37
|
+
gem 'pulpcore_client', '~> 3.82.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -69,6 +69,7 @@ end
|
|
69
69
|
|
70
70
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
71
71
|
opts = {
|
72
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
72
73
|
customized: true, # Boolean | Filter results where customized matches value
|
73
74
|
limit: 56, # Integer | Number of results to return per page.
|
74
75
|
offset: 56, # Integer | The initial index from which to return the results.
|
data/docs/AccessPoliciesApi.md
CHANGED
@@ -33,6 +33,7 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
35
35
|
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
37
|
customized: true, # Boolean | Filter results where customized matches value
|
37
38
|
limit: 56, # Integer | Number of results to return per page.
|
38
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -85,6 +86,7 @@ end
|
|
85
86
|
|
86
87
|
| Name | Type | Description | Notes |
|
87
88
|
| ---- | ---- | ----------- | ----- |
|
89
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
88
90
|
| **customized** | **Boolean** | Filter results where customized matches value | [optional] |
|
89
91
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
90
92
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -121,7 +123,7 @@ end
|
|
121
123
|
|
122
124
|
## partial_update
|
123
125
|
|
124
|
-
> <AccessPolicyResponse> partial_update(access_policy_href, patched_access_policy)
|
126
|
+
> <AccessPolicyResponse> partial_update(access_policy_href, patched_access_policy, opts)
|
125
127
|
|
126
128
|
Update an access policy
|
127
129
|
|
@@ -142,10 +144,13 @@ end
|
|
142
144
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
143
145
|
access_policy_href = 'access_policy_href_example' # String |
|
144
146
|
patched_access_policy = PulpcoreClient::PatchedAccessPolicy.new # PatchedAccessPolicy |
|
147
|
+
opts = {
|
148
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
149
|
+
}
|
145
150
|
|
146
151
|
begin
|
147
152
|
# Update an access policy
|
148
|
-
result = api_instance.partial_update(access_policy_href, patched_access_policy)
|
153
|
+
result = api_instance.partial_update(access_policy_href, patched_access_policy, opts)
|
149
154
|
p result
|
150
155
|
rescue PulpcoreClient::ApiError => e
|
151
156
|
puts "Error when calling AccessPoliciesApi->partial_update: #{e}"
|
@@ -156,12 +161,12 @@ end
|
|
156
161
|
|
157
162
|
This returns an Array which contains the response data, status code and headers.
|
158
163
|
|
159
|
-
> <Array(<AccessPolicyResponse>, Integer, Hash)> partial_update_with_http_info(access_policy_href, patched_access_policy)
|
164
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
|
160
165
|
|
161
166
|
```ruby
|
162
167
|
begin
|
163
168
|
# Update an access policy
|
164
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(access_policy_href, patched_access_policy)
|
169
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
|
165
170
|
p status_code # => 2xx
|
166
171
|
p headers # => { ... }
|
167
172
|
p data # => <AccessPolicyResponse>
|
@@ -176,6 +181,7 @@ end
|
|
176
181
|
| ---- | ---- | ----------- | ----- |
|
177
182
|
| **access_policy_href** | **String** | | |
|
178
183
|
| **patched_access_policy** | [**PatchedAccessPolicy**](PatchedAccessPolicy.md) | | |
|
184
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
179
185
|
|
180
186
|
### Return type
|
181
187
|
|
@@ -214,6 +220,7 @@ end
|
|
214
220
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
215
221
|
access_policy_href = 'access_policy_href_example' # String |
|
216
222
|
opts = {
|
223
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
217
224
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
218
225
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
219
226
|
}
|
@@ -250,6 +257,7 @@ end
|
|
250
257
|
| Name | Type | Description | Notes |
|
251
258
|
| ---- | ---- | ----------- | ----- |
|
252
259
|
| **access_policy_href** | **String** | | |
|
260
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
253
261
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
254
262
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
255
263
|
|
@@ -269,7 +277,7 @@ end
|
|
269
277
|
|
270
278
|
## reset
|
271
279
|
|
272
|
-
> <AccessPolicyResponse> reset(access_policy_href)
|
280
|
+
> <AccessPolicyResponse> reset(access_policy_href, opts)
|
273
281
|
|
274
282
|
|
275
283
|
|
@@ -289,10 +297,13 @@ end
|
|
289
297
|
|
290
298
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
291
299
|
access_policy_href = 'access_policy_href_example' # String |
|
300
|
+
opts = {
|
301
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
302
|
+
}
|
292
303
|
|
293
304
|
begin
|
294
305
|
|
295
|
-
result = api_instance.reset(access_policy_href)
|
306
|
+
result = api_instance.reset(access_policy_href, opts)
|
296
307
|
p result
|
297
308
|
rescue PulpcoreClient::ApiError => e
|
298
309
|
puts "Error when calling AccessPoliciesApi->reset: #{e}"
|
@@ -303,12 +314,12 @@ end
|
|
303
314
|
|
304
315
|
This returns an Array which contains the response data, status code and headers.
|
305
316
|
|
306
|
-
> <Array(<AccessPolicyResponse>, Integer, Hash)> reset_with_http_info(access_policy_href)
|
317
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> reset_with_http_info(access_policy_href, opts)
|
307
318
|
|
308
319
|
```ruby
|
309
320
|
begin
|
310
321
|
|
311
|
-
data, status_code, headers = api_instance.reset_with_http_info(access_policy_href)
|
322
|
+
data, status_code, headers = api_instance.reset_with_http_info(access_policy_href, opts)
|
312
323
|
p status_code # => 2xx
|
313
324
|
p headers # => { ... }
|
314
325
|
p data # => <AccessPolicyResponse>
|
@@ -322,6 +333,7 @@ end
|
|
322
333
|
| Name | Type | Description | Notes |
|
323
334
|
| ---- | ---- | ----------- | ----- |
|
324
335
|
| **access_policy_href** | **String** | | |
|
336
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
325
337
|
|
326
338
|
### Return type
|
327
339
|
|
@@ -339,7 +351,7 @@ end
|
|
339
351
|
|
340
352
|
## update
|
341
353
|
|
342
|
-
> <AccessPolicyResponse> update(access_policy_href, access_policy)
|
354
|
+
> <AccessPolicyResponse> update(access_policy_href, access_policy, opts)
|
343
355
|
|
344
356
|
Update an access policy
|
345
357
|
|
@@ -360,10 +372,13 @@ end
|
|
360
372
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
361
373
|
access_policy_href = 'access_policy_href_example' # String |
|
362
374
|
access_policy = PulpcoreClient::AccessPolicy.new({statements: [3.56]}) # AccessPolicy |
|
375
|
+
opts = {
|
376
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
377
|
+
}
|
363
378
|
|
364
379
|
begin
|
365
380
|
# Update an access policy
|
366
|
-
result = api_instance.update(access_policy_href, access_policy)
|
381
|
+
result = api_instance.update(access_policy_href, access_policy, opts)
|
367
382
|
p result
|
368
383
|
rescue PulpcoreClient::ApiError => e
|
369
384
|
puts "Error when calling AccessPoliciesApi->update: #{e}"
|
@@ -374,12 +389,12 @@ end
|
|
374
389
|
|
375
390
|
This returns an Array which contains the response data, status code and headers.
|
376
391
|
|
377
|
-
> <Array(<AccessPolicyResponse>, Integer, Hash)> update_with_http_info(access_policy_href, access_policy)
|
392
|
+
> <Array(<AccessPolicyResponse>, Integer, Hash)> update_with_http_info(access_policy_href, access_policy, opts)
|
378
393
|
|
379
394
|
```ruby
|
380
395
|
begin
|
381
396
|
# Update an access policy
|
382
|
-
data, status_code, headers = api_instance.update_with_http_info(access_policy_href, access_policy)
|
397
|
+
data, status_code, headers = api_instance.update_with_http_info(access_policy_href, access_policy, opts)
|
383
398
|
p status_code # => 2xx
|
384
399
|
p headers # => { ... }
|
385
400
|
p data # => <AccessPolicyResponse>
|
@@ -394,6 +409,7 @@ end
|
|
394
409
|
| ---- | ---- | ----------- | ----- |
|
395
410
|
| **access_policy_href** | **String** | | |
|
396
411
|
| **access_policy** | [**AccessPolicy**](AccessPolicy.md) | | |
|
412
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
397
413
|
|
398
414
|
### Return type
|
399
415
|
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
8
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
9
7
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
8
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
9
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
10
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
11
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
12
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
13
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
14
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
11
15
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
12
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
13
16
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
14
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
15
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
16
17
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
17
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -22,17 +22,17 @@
|
|
22
22
|
require 'pulpcore_client'
|
23
23
|
|
24
24
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
25
|
-
no_content_change_since: null,
|
26
|
-
name: null,
|
27
25
|
base_url: null,
|
26
|
+
no_content_change_since: null,
|
27
|
+
pulp_href: null,
|
28
|
+
content_guard: null,
|
29
|
+
hidden: null,
|
28
30
|
pulp_labels: null,
|
31
|
+
pulp_created: null,
|
32
|
+
name: null,
|
29
33
|
prn: null,
|
30
|
-
hidden: null,
|
31
34
|
pulp_last_updated: null,
|
32
|
-
|
33
|
-
pulp_href: null,
|
34
|
-
base_path: null,
|
35
|
-
content_guard: null
|
35
|
+
base_path: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/ArtifactsApi.md
CHANGED
@@ -33,6 +33,7 @@ end
|
|
33
33
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
34
34
|
file = File.new('/path/to/some/file') # File | The stored file.
|
35
35
|
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
37
|
size: 789, # Integer | The size of the file in bytes.
|
37
38
|
md5: 'md5_example', # String | The MD5 checksum of the file if available.
|
38
39
|
sha1: 'sha1_example', # String | The SHA-1 checksum of the file if available.
|
@@ -74,6 +75,7 @@ end
|
|
74
75
|
| Name | Type | Description | Notes |
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
76
77
|
| **file** | **File** | The stored file. | |
|
78
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
77
79
|
| **size** | **Integer** | The size of the file in bytes. | [optional] |
|
78
80
|
| **md5** | **String** | The MD5 checksum of the file if available. | [optional] |
|
79
81
|
| **sha1** | **String** | The SHA-1 checksum of the file if available. | [optional] |
|
@@ -98,7 +100,7 @@ end
|
|
98
100
|
|
99
101
|
## delete
|
100
102
|
|
101
|
-
> delete(artifact_href)
|
103
|
+
> delete(artifact_href, opts)
|
102
104
|
|
103
105
|
Delete an artifact
|
104
106
|
|
@@ -118,10 +120,13 @@ end
|
|
118
120
|
|
119
121
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
120
122
|
artifact_href = 'artifact_href_example' # String |
|
123
|
+
opts = {
|
124
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
125
|
+
}
|
121
126
|
|
122
127
|
begin
|
123
128
|
# Delete an artifact
|
124
|
-
api_instance.delete(artifact_href)
|
129
|
+
api_instance.delete(artifact_href, opts)
|
125
130
|
rescue PulpcoreClient::ApiError => e
|
126
131
|
puts "Error when calling ArtifactsApi->delete: #{e}"
|
127
132
|
end
|
@@ -131,12 +136,12 @@ end
|
|
131
136
|
|
132
137
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
133
138
|
|
134
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(artifact_href)
|
139
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(artifact_href, opts)
|
135
140
|
|
136
141
|
```ruby
|
137
142
|
begin
|
138
143
|
# Delete an artifact
|
139
|
-
data, status_code, headers = api_instance.delete_with_http_info(artifact_href)
|
144
|
+
data, status_code, headers = api_instance.delete_with_http_info(artifact_href, opts)
|
140
145
|
p status_code # => 2xx
|
141
146
|
p headers # => { ... }
|
142
147
|
p data # => nil
|
@@ -150,6 +155,7 @@ end
|
|
150
155
|
| Name | Type | Description | Notes |
|
151
156
|
| ---- | ---- | ----------- | ----- |
|
152
157
|
| **artifact_href** | **String** | | |
|
158
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
153
159
|
|
154
160
|
### Return type
|
155
161
|
|
@@ -187,6 +193,7 @@ end
|
|
187
193
|
|
188
194
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
189
195
|
opts = {
|
196
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
190
197
|
limit: 56, # Integer | Number of results to return per page.
|
191
198
|
md5: 'md5_example', # String | Filter results where md5 matches value
|
192
199
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -237,6 +244,7 @@ end
|
|
237
244
|
|
238
245
|
| Name | Type | Description | Notes |
|
239
246
|
| ---- | ---- | ----------- | ----- |
|
247
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
240
248
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
241
249
|
| **md5** | **String** | Filter results where md5 matches value | [optional] |
|
242
250
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -292,6 +300,7 @@ end
|
|
292
300
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
293
301
|
artifact_href = 'artifact_href_example' # String |
|
294
302
|
opts = {
|
303
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
295
304
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
296
305
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
297
306
|
}
|
@@ -328,6 +337,7 @@ end
|
|
328
337
|
| Name | Type | Description | Notes |
|
329
338
|
| ---- | ---- | ----------- | ----- |
|
330
339
|
| **artifact_href** | **String** | | |
|
340
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
331
341
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
332
342
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
333
343
|
|
data/docs/ContentApi.md
CHANGED
@@ -29,6 +29,7 @@ end
|
|
29
29
|
|
30
30
|
api_instance = PulpcoreClient::ContentApi.new
|
31
31
|
opts = {
|
32
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
32
33
|
limit: 56, # Integer | Number of results to return per page.
|
33
34
|
offset: 56, # Integer | The initial index from which to return the results.
|
34
35
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -78,6 +79,7 @@ end
|
|
78
79
|
|
79
80
|
| Name | Type | Description | Notes |
|
80
81
|
| ---- | ---- | ----------- | ----- |
|
82
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
81
83
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
82
84
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
83
85
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -33,6 +33,7 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
35
35
|
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
38
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
38
39
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
@@ -71,6 +72,7 @@ end
|
|
71
72
|
|
72
73
|
| Name | Type | Description | Notes |
|
73
74
|
| ---- | ---- | ----------- | ----- |
|
75
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
76
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
75
77
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
76
78
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
@@ -113,6 +115,7 @@ end
|
|
113
115
|
|
114
116
|
api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
115
117
|
opts = {
|
118
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
116
119
|
fingerprint: 'fingerprint_example', # String | Filter results where fingerprint matches value
|
117
120
|
limit: 56, # Integer | Number of results to return per page.
|
118
121
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -161,6 +164,7 @@ end
|
|
161
164
|
|
162
165
|
| Name | Type | Description | Notes |
|
163
166
|
| ---- | ---- | ----------- | ----- |
|
167
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
164
168
|
| **fingerprint** | **String** | Filter results where fingerprint matches value | [optional] |
|
165
169
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
166
170
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -214,6 +218,7 @@ end
|
|
214
218
|
api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
215
219
|
open_p_g_p_public_key_href = 'open_p_g_p_public_key_href_example' # String |
|
216
220
|
opts = {
|
221
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
217
222
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
218
223
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
219
224
|
}
|
@@ -250,6 +255,7 @@ end
|
|
250
255
|
| Name | Type | Description | Notes |
|
251
256
|
| ---- | ---- | ----------- | ----- |
|
252
257
|
| **open_p_g_p_public_key_href** | **String** | | |
|
258
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
253
259
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
254
260
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
255
261
|
|
@@ -269,7 +275,7 @@ end
|
|
269
275
|
|
270
276
|
## set_label
|
271
277
|
|
272
|
-
> <SetLabelResponse> set_label(open_p_g_p_public_key_href, set_label)
|
278
|
+
> <SetLabelResponse> set_label(open_p_g_p_public_key_href, set_label, opts)
|
273
279
|
|
274
280
|
Set a label
|
275
281
|
|
@@ -290,10 +296,13 @@ end
|
|
290
296
|
api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
291
297
|
open_p_g_p_public_key_href = 'open_p_g_p_public_key_href_example' # String |
|
292
298
|
set_label = PulpcoreClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
299
|
+
opts = {
|
300
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
301
|
+
}
|
293
302
|
|
294
303
|
begin
|
295
304
|
# Set a label
|
296
|
-
result = api_instance.set_label(open_p_g_p_public_key_href, set_label)
|
305
|
+
result = api_instance.set_label(open_p_g_p_public_key_href, set_label, opts)
|
297
306
|
p result
|
298
307
|
rescue PulpcoreClient::ApiError => e
|
299
308
|
puts "Error when calling ContentOpenpgpPublickeyApi->set_label: #{e}"
|
@@ -304,12 +313,12 @@ end
|
|
304
313
|
|
305
314
|
This returns an Array which contains the response data, status code and headers.
|
306
315
|
|
307
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_public_key_href, set_label)
|
316
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_public_key_href, set_label, opts)
|
308
317
|
|
309
318
|
```ruby
|
310
319
|
begin
|
311
320
|
# Set a label
|
312
|
-
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_public_key_href, set_label)
|
321
|
+
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_public_key_href, set_label, opts)
|
313
322
|
p status_code # => 2xx
|
314
323
|
p headers # => { ... }
|
315
324
|
p data # => <SetLabelResponse>
|
@@ -324,6 +333,7 @@ end
|
|
324
333
|
| ---- | ---- | ----------- | ----- |
|
325
334
|
| **open_p_g_p_public_key_href** | **String** | | |
|
326
335
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
336
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
327
337
|
|
328
338
|
### Return type
|
329
339
|
|
@@ -341,7 +351,7 @@ end
|
|
341
351
|
|
342
352
|
## unset_label
|
343
353
|
|
344
|
-
> <UnsetLabelResponse> unset_label(open_p_g_p_public_key_href, unset_label)
|
354
|
+
> <UnsetLabelResponse> unset_label(open_p_g_p_public_key_href, unset_label, opts)
|
345
355
|
|
346
356
|
Unset a label
|
347
357
|
|
@@ -362,10 +372,13 @@ end
|
|
362
372
|
api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
|
363
373
|
open_p_g_p_public_key_href = 'open_p_g_p_public_key_href_example' # String |
|
364
374
|
unset_label = PulpcoreClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
375
|
+
opts = {
|
376
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
377
|
+
}
|
365
378
|
|
366
379
|
begin
|
367
380
|
# Unset a label
|
368
|
-
result = api_instance.unset_label(open_p_g_p_public_key_href, unset_label)
|
381
|
+
result = api_instance.unset_label(open_p_g_p_public_key_href, unset_label, opts)
|
369
382
|
p result
|
370
383
|
rescue PulpcoreClient::ApiError => e
|
371
384
|
puts "Error when calling ContentOpenpgpPublickeyApi->unset_label: #{e}"
|
@@ -376,12 +389,12 @@ end
|
|
376
389
|
|
377
390
|
This returns an Array which contains the response data, status code and headers.
|
378
391
|
|
379
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_public_key_href, unset_label)
|
392
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_public_key_href, unset_label, opts)
|
380
393
|
|
381
394
|
```ruby
|
382
395
|
begin
|
383
396
|
# Unset a label
|
384
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_public_key_href, unset_label)
|
397
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_public_key_href, unset_label, opts)
|
385
398
|
p status_code # => 2xx
|
386
399
|
p headers # => { ... }
|
387
400
|
p data # => <UnsetLabelResponse>
|
@@ -396,6 +409,7 @@ end
|
|
396
409
|
| ---- | ---- | ----------- | ----- |
|
397
410
|
| **open_p_g_p_public_key_href** | **String** | | |
|
398
411
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
412
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
399
413
|
|
400
414
|
### Return type
|
401
415
|
|
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpcoreClient::ContentOpenpgpPublicsubkeyApi.new
|
34
34
|
opts = {
|
35
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
35
36
|
fingerprint: 'fingerprint_example', # String | Filter results where fingerprint matches value
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
37
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -80,6 +81,7 @@ end
|
|
80
81
|
|
81
82
|
| Name | Type | Description | Notes |
|
82
83
|
| ---- | ---- | ----------- | ----- |
|
84
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
83
85
|
| **fingerprint** | **String** | Filter results where fingerprint matches value | [optional] |
|
84
86
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
85
87
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -133,6 +135,7 @@ end
|
|
133
135
|
api_instance = PulpcoreClient::ContentOpenpgpPublicsubkeyApi.new
|
134
136
|
open_p_g_p_public_subkey_href = 'open_p_g_p_public_subkey_href_example' # String |
|
135
137
|
opts = {
|
138
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
136
139
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
137
140
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
138
141
|
}
|
@@ -169,6 +172,7 @@ end
|
|
169
172
|
| Name | Type | Description | Notes |
|
170
173
|
| ---- | ---- | ----------- | ----- |
|
171
174
|
| **open_p_g_p_public_subkey_href** | **String** | | |
|
175
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
172
176
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
173
177
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
174
178
|
|
@@ -188,7 +192,7 @@ end
|
|
188
192
|
|
189
193
|
## set_label
|
190
194
|
|
191
|
-
> <SetLabelResponse> set_label(open_p_g_p_public_subkey_href, set_label)
|
195
|
+
> <SetLabelResponse> set_label(open_p_g_p_public_subkey_href, set_label, opts)
|
192
196
|
|
193
197
|
Set a label
|
194
198
|
|
@@ -209,10 +213,13 @@ end
|
|
209
213
|
api_instance = PulpcoreClient::ContentOpenpgpPublicsubkeyApi.new
|
210
214
|
open_p_g_p_public_subkey_href = 'open_p_g_p_public_subkey_href_example' # String |
|
211
215
|
set_label = PulpcoreClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
216
|
+
opts = {
|
217
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
218
|
+
}
|
212
219
|
|
213
220
|
begin
|
214
221
|
# Set a label
|
215
|
-
result = api_instance.set_label(open_p_g_p_public_subkey_href, set_label)
|
222
|
+
result = api_instance.set_label(open_p_g_p_public_subkey_href, set_label, opts)
|
216
223
|
p result
|
217
224
|
rescue PulpcoreClient::ApiError => e
|
218
225
|
puts "Error when calling ContentOpenpgpPublicsubkeyApi->set_label: #{e}"
|
@@ -223,12 +230,12 @@ end
|
|
223
230
|
|
224
231
|
This returns an Array which contains the response data, status code and headers.
|
225
232
|
|
226
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_public_subkey_href, set_label)
|
233
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_public_subkey_href, set_label, opts)
|
227
234
|
|
228
235
|
```ruby
|
229
236
|
begin
|
230
237
|
# Set a label
|
231
|
-
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_public_subkey_href, set_label)
|
238
|
+
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_public_subkey_href, set_label, opts)
|
232
239
|
p status_code # => 2xx
|
233
240
|
p headers # => { ... }
|
234
241
|
p data # => <SetLabelResponse>
|
@@ -243,6 +250,7 @@ end
|
|
243
250
|
| ---- | ---- | ----------- | ----- |
|
244
251
|
| **open_p_g_p_public_subkey_href** | **String** | | |
|
245
252
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
253
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
246
254
|
|
247
255
|
### Return type
|
248
256
|
|
@@ -260,7 +268,7 @@ end
|
|
260
268
|
|
261
269
|
## unset_label
|
262
270
|
|
263
|
-
> <UnsetLabelResponse> unset_label(open_p_g_p_public_subkey_href, unset_label)
|
271
|
+
> <UnsetLabelResponse> unset_label(open_p_g_p_public_subkey_href, unset_label, opts)
|
264
272
|
|
265
273
|
Unset a label
|
266
274
|
|
@@ -281,10 +289,13 @@ end
|
|
281
289
|
api_instance = PulpcoreClient::ContentOpenpgpPublicsubkeyApi.new
|
282
290
|
open_p_g_p_public_subkey_href = 'open_p_g_p_public_subkey_href_example' # String |
|
283
291
|
unset_label = PulpcoreClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
292
|
+
opts = {
|
293
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
294
|
+
}
|
284
295
|
|
285
296
|
begin
|
286
297
|
# Unset a label
|
287
|
-
result = api_instance.unset_label(open_p_g_p_public_subkey_href, unset_label)
|
298
|
+
result = api_instance.unset_label(open_p_g_p_public_subkey_href, unset_label, opts)
|
288
299
|
p result
|
289
300
|
rescue PulpcoreClient::ApiError => e
|
290
301
|
puts "Error when calling ContentOpenpgpPublicsubkeyApi->unset_label: #{e}"
|
@@ -295,12 +306,12 @@ end
|
|
295
306
|
|
296
307
|
This returns an Array which contains the response data, status code and headers.
|
297
308
|
|
298
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label)
|
309
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label, opts)
|
299
310
|
|
300
311
|
```ruby
|
301
312
|
begin
|
302
313
|
# Unset a label
|
303
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label)
|
314
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label, opts)
|
304
315
|
p status_code # => 2xx
|
305
316
|
p headers # => { ... }
|
306
317
|
p data # => <UnsetLabelResponse>
|
@@ -315,6 +326,7 @@ end
|
|
315
326
|
| ---- | ---- | ----------- | ----- |
|
316
327
|
| **open_p_g_p_public_subkey_href** | **String** | | |
|
317
328
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
329
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
318
330
|
|
319
331
|
### Return type
|
320
332
|
|