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
data/docs/ExportersPulpApi.md
CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost:24817*
|
|
14
14
|
|
15
15
|
## create
|
16
16
|
|
17
|
-
> <PulpExporterResponse> create(pulp_exporter)
|
17
|
+
> <PulpExporterResponse> create(pulp_exporter, opts)
|
18
18
|
|
19
19
|
Create a pulp exporter
|
20
20
|
|
@@ -34,10 +34,13 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
36
36
|
pulp_exporter = PulpcoreClient::PulpExporter.new({name: 'name_example', path: 'path_example', repositories: ['repositories_example']}) # PulpExporter |
|
37
|
+
opts = {
|
38
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
39
|
+
}
|
37
40
|
|
38
41
|
begin
|
39
42
|
# Create a pulp exporter
|
40
|
-
result = api_instance.create(pulp_exporter)
|
43
|
+
result = api_instance.create(pulp_exporter, opts)
|
41
44
|
p result
|
42
45
|
rescue PulpcoreClient::ApiError => e
|
43
46
|
puts "Error when calling ExportersPulpApi->create: #{e}"
|
@@ -48,12 +51,12 @@ end
|
|
48
51
|
|
49
52
|
This returns an Array which contains the response data, status code and headers.
|
50
53
|
|
51
|
-
> <Array(<PulpExporterResponse>, Integer, Hash)> create_with_http_info(pulp_exporter)
|
54
|
+
> <Array(<PulpExporterResponse>, Integer, Hash)> create_with_http_info(pulp_exporter, opts)
|
52
55
|
|
53
56
|
```ruby
|
54
57
|
begin
|
55
58
|
# Create a pulp exporter
|
56
|
-
data, status_code, headers = api_instance.create_with_http_info(pulp_exporter)
|
59
|
+
data, status_code, headers = api_instance.create_with_http_info(pulp_exporter, opts)
|
57
60
|
p status_code # => 2xx
|
58
61
|
p headers # => { ... }
|
59
62
|
p data # => <PulpExporterResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| Name | Type | Description | Notes |
|
68
71
|
| ---- | ---- | ----------- | ----- |
|
69
72
|
| **pulp_exporter** | [**PulpExporter**](PulpExporter.md) | | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
70
74
|
|
71
75
|
### Return type
|
72
76
|
|
@@ -84,7 +88,7 @@ end
|
|
84
88
|
|
85
89
|
## delete
|
86
90
|
|
87
|
-
> <AsyncOperationResponse> delete(pulp_exporter_href)
|
91
|
+
> <AsyncOperationResponse> delete(pulp_exporter_href, opts)
|
88
92
|
|
89
93
|
Delete a pulp exporter
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
106
110
|
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
111
|
+
opts = {
|
112
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
113
|
+
}
|
107
114
|
|
108
115
|
begin
|
109
116
|
# Delete a pulp exporter
|
110
|
-
result = api_instance.delete(pulp_exporter_href)
|
117
|
+
result = api_instance.delete(pulp_exporter_href, opts)
|
111
118
|
p result
|
112
119
|
rescue PulpcoreClient::ApiError => e
|
113
120
|
puts "Error when calling ExportersPulpApi->delete: #{e}"
|
@@ -118,12 +125,12 @@ end
|
|
118
125
|
|
119
126
|
This returns an Array which contains the response data, status code and headers.
|
120
127
|
|
121
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(pulp_exporter_href)
|
128
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(pulp_exporter_href, opts)
|
122
129
|
|
123
130
|
```ruby
|
124
131
|
begin
|
125
132
|
# Delete a pulp exporter
|
126
|
-
data, status_code, headers = api_instance.delete_with_http_info(pulp_exporter_href)
|
133
|
+
data, status_code, headers = api_instance.delete_with_http_info(pulp_exporter_href, opts)
|
127
134
|
p status_code # => 2xx
|
128
135
|
p headers # => { ... }
|
129
136
|
p data # => <AsyncOperationResponse>
|
@@ -137,6 +144,7 @@ end
|
|
137
144
|
| Name | Type | Description | Notes |
|
138
145
|
| ---- | ---- | ----------- | ----- |
|
139
146
|
| **pulp_exporter_href** | **String** | | |
|
147
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
140
148
|
|
141
149
|
### Return type
|
142
150
|
|
@@ -174,6 +182,7 @@ end
|
|
174
182
|
|
175
183
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
176
184
|
opts = {
|
185
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
177
186
|
limit: 56, # Integer | Number of results to return per page.
|
178
187
|
name: 'name_example', # String | Filter results where name matches value
|
179
188
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -225,6 +234,7 @@ end
|
|
225
234
|
|
226
235
|
| Name | Type | Description | Notes |
|
227
236
|
| ---- | ---- | ----------- | ----- |
|
237
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
228
238
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
229
239
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
230
240
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -260,7 +270,7 @@ end
|
|
260
270
|
|
261
271
|
## partial_update
|
262
272
|
|
263
|
-
> <AsyncOperationResponse> partial_update(pulp_exporter_href, patched_pulp_exporter)
|
273
|
+
> <AsyncOperationResponse> partial_update(pulp_exporter_href, patched_pulp_exporter, opts)
|
264
274
|
|
265
275
|
Update a pulp exporter
|
266
276
|
|
@@ -281,10 +291,13 @@ end
|
|
281
291
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
282
292
|
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
283
293
|
patched_pulp_exporter = PulpcoreClient::PatchedPulpExporter.new # PatchedPulpExporter |
|
294
|
+
opts = {
|
295
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
296
|
+
}
|
284
297
|
|
285
298
|
begin
|
286
299
|
# Update a pulp exporter
|
287
|
-
result = api_instance.partial_update(pulp_exporter_href, patched_pulp_exporter)
|
300
|
+
result = api_instance.partial_update(pulp_exporter_href, patched_pulp_exporter, opts)
|
288
301
|
p result
|
289
302
|
rescue PulpcoreClient::ApiError => e
|
290
303
|
puts "Error when calling ExportersPulpApi->partial_update: #{e}"
|
@@ -295,12 +308,12 @@ end
|
|
295
308
|
|
296
309
|
This returns an Array which contains the response data, status code and headers.
|
297
310
|
|
298
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter)
|
311
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts)
|
299
312
|
|
300
313
|
```ruby
|
301
314
|
begin
|
302
315
|
# Update a pulp exporter
|
303
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter)
|
316
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts)
|
304
317
|
p status_code # => 2xx
|
305
318
|
p headers # => { ... }
|
306
319
|
p data # => <AsyncOperationResponse>
|
@@ -315,6 +328,7 @@ end
|
|
315
328
|
| ---- | ---- | ----------- | ----- |
|
316
329
|
| **pulp_exporter_href** | **String** | | |
|
317
330
|
| **patched_pulp_exporter** | [**PatchedPulpExporter**](PatchedPulpExporter.md) | | |
|
331
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
318
332
|
|
319
333
|
### Return type
|
320
334
|
|
@@ -353,6 +367,7 @@ end
|
|
353
367
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
354
368
|
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
355
369
|
opts = {
|
370
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
356
371
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
357
372
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
358
373
|
}
|
@@ -389,6 +404,7 @@ end
|
|
389
404
|
| Name | Type | Description | Notes |
|
390
405
|
| ---- | ---- | ----------- | ----- |
|
391
406
|
| **pulp_exporter_href** | **String** | | |
|
407
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
392
408
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
393
409
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
394
410
|
|
@@ -408,7 +424,7 @@ end
|
|
408
424
|
|
409
425
|
## update
|
410
426
|
|
411
|
-
> <AsyncOperationResponse> update(pulp_exporter_href, pulp_exporter)
|
427
|
+
> <AsyncOperationResponse> update(pulp_exporter_href, pulp_exporter, opts)
|
412
428
|
|
413
429
|
Update a pulp exporter
|
414
430
|
|
@@ -429,10 +445,13 @@ end
|
|
429
445
|
api_instance = PulpcoreClient::ExportersPulpApi.new
|
430
446
|
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
431
447
|
pulp_exporter = PulpcoreClient::PulpExporter.new({name: 'name_example', path: 'path_example', repositories: ['repositories_example']}) # PulpExporter |
|
448
|
+
opts = {
|
449
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
450
|
+
}
|
432
451
|
|
433
452
|
begin
|
434
453
|
# Update a pulp exporter
|
435
|
-
result = api_instance.update(pulp_exporter_href, pulp_exporter)
|
454
|
+
result = api_instance.update(pulp_exporter_href, pulp_exporter, opts)
|
436
455
|
p result
|
437
456
|
rescue PulpcoreClient::ApiError => e
|
438
457
|
puts "Error when calling ExportersPulpApi->update: #{e}"
|
@@ -443,12 +462,12 @@ end
|
|
443
462
|
|
444
463
|
This returns an Array which contains the response data, status code and headers.
|
445
464
|
|
446
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(pulp_exporter_href, pulp_exporter)
|
465
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(pulp_exporter_href, pulp_exporter, opts)
|
447
466
|
|
448
467
|
```ruby
|
449
468
|
begin
|
450
469
|
# Update a pulp exporter
|
451
|
-
data, status_code, headers = api_instance.update_with_http_info(pulp_exporter_href, pulp_exporter)
|
470
|
+
data, status_code, headers = api_instance.update_with_http_info(pulp_exporter_href, pulp_exporter, opts)
|
452
471
|
p status_code # => 2xx
|
453
472
|
p headers # => { ... }
|
454
473
|
p data # => <AsyncOperationResponse>
|
@@ -463,6 +482,7 @@ end
|
|
463
482
|
| ---- | ---- | ----------- | ----- |
|
464
483
|
| **pulp_exporter_href** | **String** | | |
|
465
484
|
| **pulp_exporter** | [**PulpExporter**](PulpExporter.md) | | |
|
485
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
466
486
|
|
467
487
|
### Return type
|
468
488
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
> <AsyncOperationResponse> create(pulp_exporter_href, pulp_export)
|
15
|
+
> <AsyncOperationResponse> create(pulp_exporter_href, pulp_export, opts)
|
16
16
|
|
17
17
|
Create a pulp export
|
18
18
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
api_instance = PulpcoreClient::ExportersPulpExportsApi.new
|
34
34
|
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
35
35
|
pulp_export = PulpcoreClient::PulpExport.new # PulpExport |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a pulp export
|
39
|
-
result = api_instance.create(pulp_exporter_href, pulp_export)
|
42
|
+
result = api_instance.create(pulp_exporter_href, pulp_export, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpcoreClient::ApiError => e
|
42
45
|
puts "Error when calling ExportersPulpExportsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(pulp_exporter_href, pulp_export)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(pulp_exporter_href, pulp_export, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a pulp export
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(pulp_exporter_href, pulp_export)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(pulp_exporter_href, pulp_export, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -67,6 +70,7 @@ end
|
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **pulp_exporter_href** | **String** | | |
|
69
72
|
| **pulp_export** | [**PulpExport**](PulpExport.md) | | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
70
74
|
|
71
75
|
### Return type
|
72
76
|
|
@@ -84,7 +88,7 @@ end
|
|
84
88
|
|
85
89
|
## delete
|
86
90
|
|
87
|
-
> delete(pulp_pulp_export_href)
|
91
|
+
> delete(pulp_pulp_export_href, opts)
|
88
92
|
|
89
93
|
Delete a pulp export
|
90
94
|
|
@@ -104,10 +108,13 @@ end
|
|
104
108
|
|
105
109
|
api_instance = PulpcoreClient::ExportersPulpExportsApi.new
|
106
110
|
pulp_pulp_export_href = 'pulp_pulp_export_href_example' # String |
|
111
|
+
opts = {
|
112
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
113
|
+
}
|
107
114
|
|
108
115
|
begin
|
109
116
|
# Delete a pulp export
|
110
|
-
api_instance.delete(pulp_pulp_export_href)
|
117
|
+
api_instance.delete(pulp_pulp_export_href, opts)
|
111
118
|
rescue PulpcoreClient::ApiError => e
|
112
119
|
puts "Error when calling ExportersPulpExportsApi->delete: #{e}"
|
113
120
|
end
|
@@ -117,12 +124,12 @@ end
|
|
117
124
|
|
118
125
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
119
126
|
|
120
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(pulp_pulp_export_href)
|
127
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(pulp_pulp_export_href, opts)
|
121
128
|
|
122
129
|
```ruby
|
123
130
|
begin
|
124
131
|
# Delete a pulp export
|
125
|
-
data, status_code, headers = api_instance.delete_with_http_info(pulp_pulp_export_href)
|
132
|
+
data, status_code, headers = api_instance.delete_with_http_info(pulp_pulp_export_href, opts)
|
126
133
|
p status_code # => 2xx
|
127
134
|
p headers # => { ... }
|
128
135
|
p data # => nil
|
@@ -136,6 +143,7 @@ end
|
|
136
143
|
| Name | Type | Description | Notes |
|
137
144
|
| ---- | ---- | ----------- | ----- |
|
138
145
|
| **pulp_pulp_export_href** | **String** | | |
|
146
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
139
147
|
|
140
148
|
### Return type
|
141
149
|
|
@@ -174,6 +182,7 @@ end
|
|
174
182
|
api_instance = PulpcoreClient::ExportersPulpExportsApi.new
|
175
183
|
pulp_exporter_href = 'pulp_exporter_href_example' # String |
|
176
184
|
opts = {
|
185
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
177
186
|
limit: 56, # Integer | Number of results to return per page.
|
178
187
|
offset: 56, # Integer | The initial index from which to return the results.
|
179
188
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -212,6 +221,7 @@ end
|
|
212
221
|
| Name | Type | Description | Notes |
|
213
222
|
| ---- | ---- | ----------- | ----- |
|
214
223
|
| **pulp_exporter_href** | **String** | | |
|
224
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
215
225
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
216
226
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
217
227
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
@@ -254,6 +264,7 @@ end
|
|
254
264
|
api_instance = PulpcoreClient::ExportersPulpExportsApi.new
|
255
265
|
pulp_pulp_export_href = 'pulp_pulp_export_href_example' # String |
|
256
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
257
268
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
258
269
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
259
270
|
}
|
@@ -290,6 +301,7 @@ end
|
|
290
301
|
| Name | Type | Description | Notes |
|
291
302
|
| ---- | ---- | ----------- | ----- |
|
292
303
|
| **pulp_pulp_export_href** | **String** | | |
|
304
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
293
305
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
294
306
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
295
307
|
|
data/docs/GroupsApi.md
CHANGED
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:24817*
|
|
18
18
|
|
19
19
|
## add_role
|
20
20
|
|
21
|
-
> <NestedRoleResponse> add_role(group_href, nested_role)
|
21
|
+
> <NestedRoleResponse> add_role(group_href, nested_role, opts)
|
22
22
|
|
23
23
|
Add a role
|
24
24
|
|
@@ -39,10 +39,13 @@ end
|
|
39
39
|
api_instance = PulpcoreClient::GroupsApi.new
|
40
40
|
group_href = 'group_href_example' # String |
|
41
41
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
42
|
+
opts = {
|
43
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
44
|
+
}
|
42
45
|
|
43
46
|
begin
|
44
47
|
# Add a role
|
45
|
-
result = api_instance.add_role(group_href, nested_role)
|
48
|
+
result = api_instance.add_role(group_href, nested_role, opts)
|
46
49
|
p result
|
47
50
|
rescue PulpcoreClient::ApiError => e
|
48
51
|
puts "Error when calling GroupsApi->add_role: #{e}"
|
@@ -53,12 +56,12 @@ end
|
|
53
56
|
|
54
57
|
This returns an Array which contains the response data, status code and headers.
|
55
58
|
|
56
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(group_href, nested_role)
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(group_href, nested_role, opts)
|
57
60
|
|
58
61
|
```ruby
|
59
62
|
begin
|
60
63
|
# Add a role
|
61
|
-
data, status_code, headers = api_instance.add_role_with_http_info(group_href, nested_role)
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(group_href, nested_role, opts)
|
62
65
|
p status_code # => 2xx
|
63
66
|
p headers # => { ... }
|
64
67
|
p data # => <NestedRoleResponse>
|
@@ -73,6 +76,7 @@ end
|
|
73
76
|
| ---- | ---- | ----------- | ----- |
|
74
77
|
| **group_href** | **String** | | |
|
75
78
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
79
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
76
80
|
|
77
81
|
### Return type
|
78
82
|
|
@@ -90,7 +94,7 @@ end
|
|
90
94
|
|
91
95
|
## create
|
92
96
|
|
93
|
-
> <GroupResponse> create(group)
|
97
|
+
> <GroupResponse> create(group, opts)
|
94
98
|
|
95
99
|
Create a group
|
96
100
|
|
@@ -110,10 +114,13 @@ end
|
|
110
114
|
|
111
115
|
api_instance = PulpcoreClient::GroupsApi.new
|
112
116
|
group = PulpcoreClient::Group.new({name: 'name_example'}) # Group |
|
117
|
+
opts = {
|
118
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
119
|
+
}
|
113
120
|
|
114
121
|
begin
|
115
122
|
# Create a group
|
116
|
-
result = api_instance.create(group)
|
123
|
+
result = api_instance.create(group, opts)
|
117
124
|
p result
|
118
125
|
rescue PulpcoreClient::ApiError => e
|
119
126
|
puts "Error when calling GroupsApi->create: #{e}"
|
@@ -124,12 +131,12 @@ end
|
|
124
131
|
|
125
132
|
This returns an Array which contains the response data, status code and headers.
|
126
133
|
|
127
|
-
> <Array(<GroupResponse>, Integer, Hash)> create_with_http_info(group)
|
134
|
+
> <Array(<GroupResponse>, Integer, Hash)> create_with_http_info(group, opts)
|
128
135
|
|
129
136
|
```ruby
|
130
137
|
begin
|
131
138
|
# Create a group
|
132
|
-
data, status_code, headers = api_instance.create_with_http_info(group)
|
139
|
+
data, status_code, headers = api_instance.create_with_http_info(group, opts)
|
133
140
|
p status_code # => 2xx
|
134
141
|
p headers # => { ... }
|
135
142
|
p data # => <GroupResponse>
|
@@ -143,6 +150,7 @@ end
|
|
143
150
|
| Name | Type | Description | Notes |
|
144
151
|
| ---- | ---- | ----------- | ----- |
|
145
152
|
| **group** | [**Group**](Group.md) | | |
|
153
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
146
154
|
|
147
155
|
### Return type
|
148
156
|
|
@@ -160,7 +168,7 @@ end
|
|
160
168
|
|
161
169
|
## delete
|
162
170
|
|
163
|
-
> delete(group_href)
|
171
|
+
> delete(group_href, opts)
|
164
172
|
|
165
173
|
Delete a group
|
166
174
|
|
@@ -180,10 +188,13 @@ end
|
|
180
188
|
|
181
189
|
api_instance = PulpcoreClient::GroupsApi.new
|
182
190
|
group_href = 'group_href_example' # String |
|
191
|
+
opts = {
|
192
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
193
|
+
}
|
183
194
|
|
184
195
|
begin
|
185
196
|
# Delete a group
|
186
|
-
api_instance.delete(group_href)
|
197
|
+
api_instance.delete(group_href, opts)
|
187
198
|
rescue PulpcoreClient::ApiError => e
|
188
199
|
puts "Error when calling GroupsApi->delete: #{e}"
|
189
200
|
end
|
@@ -193,12 +204,12 @@ end
|
|
193
204
|
|
194
205
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
195
206
|
|
196
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(group_href)
|
207
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(group_href, opts)
|
197
208
|
|
198
209
|
```ruby
|
199
210
|
begin
|
200
211
|
# Delete a group
|
201
|
-
data, status_code, headers = api_instance.delete_with_http_info(group_href)
|
212
|
+
data, status_code, headers = api_instance.delete_with_http_info(group_href, opts)
|
202
213
|
p status_code # => 2xx
|
203
214
|
p headers # => { ... }
|
204
215
|
p data # => nil
|
@@ -212,6 +223,7 @@ end
|
|
212
223
|
| Name | Type | Description | Notes |
|
213
224
|
| ---- | ---- | ----------- | ----- |
|
214
225
|
| **group_href** | **String** | | |
|
226
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
215
227
|
|
216
228
|
### Return type
|
217
229
|
|
@@ -249,6 +261,7 @@ end
|
|
249
261
|
|
250
262
|
api_instance = PulpcoreClient::GroupsApi.new
|
251
263
|
opts = {
|
264
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
252
265
|
id: 56, # Integer | Filter results where id matches value
|
253
266
|
id__in: [37], # Array<Integer> | Filter results where id is in a comma-separated list of values
|
254
267
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -298,6 +311,7 @@ end
|
|
298
311
|
|
299
312
|
| Name | Type | Description | Notes |
|
300
313
|
| ---- | ---- | ----------- | ----- |
|
314
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
301
315
|
| **id** | **Integer** | Filter results where id matches value | [optional] |
|
302
316
|
| **id__in** | [**Array<Integer>**](Integer.md) | Filter results where id is in a comma-separated list of values | [optional] |
|
303
317
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -352,6 +366,7 @@ end
|
|
352
366
|
api_instance = PulpcoreClient::GroupsApi.new
|
353
367
|
group_href = 'group_href_example' # String |
|
354
368
|
opts = {
|
369
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
355
370
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
356
371
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
357
372
|
}
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| Name | Type | Description | Notes |
|
389
404
|
| ---- | ---- | ----------- | ----- |
|
390
405
|
| **group_href** | **String** | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
392
408
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
393
409
|
|
@@ -428,6 +444,7 @@ end
|
|
428
444
|
api_instance = PulpcoreClient::GroupsApi.new
|
429
445
|
group_href = 'group_href_example' # String |
|
430
446
|
opts = {
|
447
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
431
448
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
432
449
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
433
450
|
}
|
@@ -464,6 +481,7 @@ end
|
|
464
481
|
| Name | Type | Description | Notes |
|
465
482
|
| ---- | ---- | ----------- | ----- |
|
466
483
|
| **group_href** | **String** | | |
|
484
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
467
485
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
468
486
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
469
487
|
|
@@ -483,7 +501,7 @@ end
|
|
483
501
|
|
484
502
|
## partial_update
|
485
503
|
|
486
|
-
> <GroupResponse> partial_update(group_href, patched_group)
|
504
|
+
> <GroupResponse> partial_update(group_href, patched_group, opts)
|
487
505
|
|
488
506
|
Update a group
|
489
507
|
|
@@ -504,10 +522,13 @@ end
|
|
504
522
|
api_instance = PulpcoreClient::GroupsApi.new
|
505
523
|
group_href = 'group_href_example' # String |
|
506
524
|
patched_group = PulpcoreClient::PatchedGroup.new # PatchedGroup |
|
525
|
+
opts = {
|
526
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
527
|
+
}
|
507
528
|
|
508
529
|
begin
|
509
530
|
# Update a group
|
510
|
-
result = api_instance.partial_update(group_href, patched_group)
|
531
|
+
result = api_instance.partial_update(group_href, patched_group, opts)
|
511
532
|
p result
|
512
533
|
rescue PulpcoreClient::ApiError => e
|
513
534
|
puts "Error when calling GroupsApi->partial_update: #{e}"
|
@@ -518,12 +539,12 @@ end
|
|
518
539
|
|
519
540
|
This returns an Array which contains the response data, status code and headers.
|
520
541
|
|
521
|
-
> <Array(<GroupResponse>, Integer, Hash)> partial_update_with_http_info(group_href, patched_group)
|
542
|
+
> <Array(<GroupResponse>, Integer, Hash)> partial_update_with_http_info(group_href, patched_group, opts)
|
522
543
|
|
523
544
|
```ruby
|
524
545
|
begin
|
525
546
|
# Update a group
|
526
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(group_href, patched_group)
|
547
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(group_href, patched_group, opts)
|
527
548
|
p status_code # => 2xx
|
528
549
|
p headers # => { ... }
|
529
550
|
p data # => <GroupResponse>
|
@@ -538,6 +559,7 @@ end
|
|
538
559
|
| ---- | ---- | ----------- | ----- |
|
539
560
|
| **group_href** | **String** | | |
|
540
561
|
| **patched_group** | [**PatchedGroup**](PatchedGroup.md) | | |
|
562
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
541
563
|
|
542
564
|
### Return type
|
543
565
|
|
@@ -576,6 +598,7 @@ end
|
|
576
598
|
api_instance = PulpcoreClient::GroupsApi.new
|
577
599
|
group_href = 'group_href_example' # String |
|
578
600
|
opts = {
|
601
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
579
602
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
580
603
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
581
604
|
}
|
@@ -612,6 +635,7 @@ end
|
|
612
635
|
| Name | Type | Description | Notes |
|
613
636
|
| ---- | ---- | ----------- | ----- |
|
614
637
|
| **group_href** | **String** | | |
|
638
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
615
639
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
616
640
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
617
641
|
|
@@ -631,7 +655,7 @@ end
|
|
631
655
|
|
632
656
|
## remove_role
|
633
657
|
|
634
|
-
> <NestedRoleResponse> remove_role(group_href, nested_role)
|
658
|
+
> <NestedRoleResponse> remove_role(group_href, nested_role, opts)
|
635
659
|
|
636
660
|
Remove a role
|
637
661
|
|
@@ -652,10 +676,13 @@ end
|
|
652
676
|
api_instance = PulpcoreClient::GroupsApi.new
|
653
677
|
group_href = 'group_href_example' # String |
|
654
678
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
679
|
+
opts = {
|
680
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
681
|
+
}
|
655
682
|
|
656
683
|
begin
|
657
684
|
# Remove a role
|
658
|
-
result = api_instance.remove_role(group_href, nested_role)
|
685
|
+
result = api_instance.remove_role(group_href, nested_role, opts)
|
659
686
|
p result
|
660
687
|
rescue PulpcoreClient::ApiError => e
|
661
688
|
puts "Error when calling GroupsApi->remove_role: #{e}"
|
@@ -666,12 +693,12 @@ end
|
|
666
693
|
|
667
694
|
This returns an Array which contains the response data, status code and headers.
|
668
695
|
|
669
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(group_href, nested_role)
|
696
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(group_href, nested_role, opts)
|
670
697
|
|
671
698
|
```ruby
|
672
699
|
begin
|
673
700
|
# Remove a role
|
674
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(group_href, nested_role)
|
701
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(group_href, nested_role, opts)
|
675
702
|
p status_code # => 2xx
|
676
703
|
p headers # => { ... }
|
677
704
|
p data # => <NestedRoleResponse>
|
@@ -686,6 +713,7 @@ end
|
|
686
713
|
| ---- | ---- | ----------- | ----- |
|
687
714
|
| **group_href** | **String** | | |
|
688
715
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
716
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
689
717
|
|
690
718
|
### Return type
|
691
719
|
|
@@ -703,7 +731,7 @@ end
|
|
703
731
|
|
704
732
|
## update
|
705
733
|
|
706
|
-
> <GroupResponse> update(group_href, group)
|
734
|
+
> <GroupResponse> update(group_href, group, opts)
|
707
735
|
|
708
736
|
Update a group
|
709
737
|
|
@@ -724,10 +752,13 @@ end
|
|
724
752
|
api_instance = PulpcoreClient::GroupsApi.new
|
725
753
|
group_href = 'group_href_example' # String |
|
726
754
|
group = PulpcoreClient::Group.new({name: 'name_example'}) # Group |
|
755
|
+
opts = {
|
756
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
757
|
+
}
|
727
758
|
|
728
759
|
begin
|
729
760
|
# Update a group
|
730
|
-
result = api_instance.update(group_href, group)
|
761
|
+
result = api_instance.update(group_href, group, opts)
|
731
762
|
p result
|
732
763
|
rescue PulpcoreClient::ApiError => e
|
733
764
|
puts "Error when calling GroupsApi->update: #{e}"
|
@@ -738,12 +769,12 @@ end
|
|
738
769
|
|
739
770
|
This returns an Array which contains the response data, status code and headers.
|
740
771
|
|
741
|
-
> <Array(<GroupResponse>, Integer, Hash)> update_with_http_info(group_href, group)
|
772
|
+
> <Array(<GroupResponse>, Integer, Hash)> update_with_http_info(group_href, group, opts)
|
742
773
|
|
743
774
|
```ruby
|
744
775
|
begin
|
745
776
|
# Update a group
|
746
|
-
data, status_code, headers = api_instance.update_with_http_info(group_href, group)
|
777
|
+
data, status_code, headers = api_instance.update_with_http_info(group_href, group, opts)
|
747
778
|
p status_code # => 2xx
|
748
779
|
p headers # => { ... }
|
749
780
|
p data # => <GroupResponse>
|
@@ -758,6 +789,7 @@ end
|
|
758
789
|
| ---- | ---- | ----------- | ----- |
|
759
790
|
| **group_href** | **String** | | |
|
760
791
|
| **group** | [**Group**](Group.md) | | |
|
792
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
761
793
|
|
762
794
|
### Return type
|
763
795
|
|