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
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param r_b_a_c_content_guard_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(r_b_a_c_content_guard_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param r_b_a_c_content_guard_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
98
101
|
# @param rbac_content_guard [RBACContentGuard]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [RBACContentGuardResponse]
|
101
105
|
def create(rbac_content_guard, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(rbac_content_guard, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
108
112
|
# @param rbac_content_guard [RBACContentGuard]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(rbac_content_guard, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpcoreClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpcoreClient
|
|
165
171
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
166
172
|
# @param r_b_a_c_content_guard_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [nil]
|
169
176
|
def delete(r_b_a_c_content_guard_href, opts = {})
|
170
177
|
delete_with_http_info(r_b_a_c_content_guard_href, opts)
|
@@ -175,6 +182,7 @@ module PulpcoreClient
|
|
175
182
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
176
183
|
# @param r_b_a_c_content_guard_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
179
187
|
def delete_with_http_info(r_b_a_c_content_guard_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -192,6 +200,7 @@ module PulpcoreClient
|
|
192
200
|
|
193
201
|
# header parameters
|
194
202
|
header_params = opts[:header_params] || {}
|
203
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
204
|
|
196
205
|
# form parameters
|
197
206
|
form_params = opts[:form_params] || {}
|
@@ -225,6 +234,7 @@ module PulpcoreClient
|
|
225
234
|
# List rbac content guards
|
226
235
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
227
236
|
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
238
|
# @option opts [Integer] :limit Number of results to return per page.
|
229
239
|
# @option opts [String] :name Filter results where name matches value
|
230
240
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -252,6 +262,7 @@ module PulpcoreClient
|
|
252
262
|
# List rbac content guards
|
253
263
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
254
264
|
# @param [Hash] opts the optional parameters
|
265
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
255
266
|
# @option opts [Integer] :limit Number of results to return per page.
|
256
267
|
# @option opts [String] :name Filter results where name matches value
|
257
268
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -307,6 +318,7 @@ module PulpcoreClient
|
|
307
318
|
header_params = opts[:header_params] || {}
|
308
319
|
# HTTP header 'Accept' (if needed)
|
309
320
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
321
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
310
322
|
|
311
323
|
# form parameters
|
312
324
|
form_params = opts[:form_params] || {}
|
@@ -341,6 +353,7 @@ module PulpcoreClient
|
|
341
353
|
# List roles assigned to this object.
|
342
354
|
# @param r_b_a_c_content_guard_href [String]
|
343
355
|
# @param [Hash] opts the optional parameters
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
359
|
# @return [ObjectRolesResponse]
|
@@ -353,6 +366,7 @@ module PulpcoreClient
|
|
353
366
|
# List roles assigned to this object.
|
354
367
|
# @param r_b_a_c_content_guard_href [String]
|
355
368
|
# @param [Hash] opts the optional parameters
|
369
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
356
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
357
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
358
372
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -376,6 +390,7 @@ module PulpcoreClient
|
|
376
390
|
header_params = opts[:header_params] || {}
|
377
391
|
# HTTP header 'Accept' (if needed)
|
378
392
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
393
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
379
394
|
|
380
395
|
# form parameters
|
381
396
|
form_params = opts[:form_params] || {}
|
@@ -410,6 +425,7 @@ module PulpcoreClient
|
|
410
425
|
# List permissions available to the current user on this object.
|
411
426
|
# @param r_b_a_c_content_guard_href [String]
|
412
427
|
# @param [Hash] opts the optional parameters
|
428
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
413
429
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
414
430
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
415
431
|
# @return [MyPermissionsResponse]
|
@@ -422,6 +438,7 @@ module PulpcoreClient
|
|
422
438
|
# List permissions available to the current user on this object.
|
423
439
|
# @param r_b_a_c_content_guard_href [String]
|
424
440
|
# @param [Hash] opts the optional parameters
|
441
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
425
442
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
426
443
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
427
444
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -445,6 +462,7 @@ module PulpcoreClient
|
|
445
462
|
header_params = opts[:header_params] || {}
|
446
463
|
# HTTP header 'Accept' (if needed)
|
447
464
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
465
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
448
466
|
|
449
467
|
# form parameters
|
450
468
|
form_params = opts[:form_params] || {}
|
@@ -480,6 +498,7 @@ module PulpcoreClient
|
|
480
498
|
# @param r_b_a_c_content_guard_href [String]
|
481
499
|
# @param patched_rbac_content_guard [PatchedRBACContentGuard]
|
482
500
|
# @param [Hash] opts the optional parameters
|
501
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
483
502
|
# @return [RBACContentGuardResponse]
|
484
503
|
def partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
|
485
504
|
data, _status_code, _headers = partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
|
@@ -491,6 +510,7 @@ module PulpcoreClient
|
|
491
510
|
# @param r_b_a_c_content_guard_href [String]
|
492
511
|
# @param patched_rbac_content_guard [PatchedRBACContentGuard]
|
493
512
|
# @param [Hash] opts the optional parameters
|
513
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
494
514
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
495
515
|
def partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts = {})
|
496
516
|
if @api_client.config.debugging
|
@@ -519,6 +539,7 @@ module PulpcoreClient
|
|
519
539
|
if !content_type.nil?
|
520
540
|
header_params['Content-Type'] = content_type
|
521
541
|
end
|
542
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
522
543
|
|
523
544
|
# form parameters
|
524
545
|
form_params = opts[:form_params] || {}
|
@@ -553,6 +574,7 @@ module PulpcoreClient
|
|
553
574
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
554
575
|
# @param r_b_a_c_content_guard_href [String]
|
555
576
|
# @param [Hash] opts the optional parameters
|
577
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
556
578
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
557
579
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
558
580
|
# @return [RBACContentGuardResponse]
|
@@ -565,6 +587,7 @@ module PulpcoreClient
|
|
565
587
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
566
588
|
# @param r_b_a_c_content_guard_href [String]
|
567
589
|
# @param [Hash] opts the optional parameters
|
590
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
568
591
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
569
592
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
570
593
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
@@ -588,6 +611,7 @@ module PulpcoreClient
|
|
588
611
|
header_params = opts[:header_params] || {}
|
589
612
|
# HTTP header 'Accept' (if needed)
|
590
613
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
614
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
591
615
|
|
592
616
|
# form parameters
|
593
617
|
form_params = opts[:form_params] || {}
|
@@ -623,6 +647,7 @@ module PulpcoreClient
|
|
623
647
|
# @param r_b_a_c_content_guard_href [String]
|
624
648
|
# @param nested_role [NestedRole]
|
625
649
|
# @param [Hash] opts the optional parameters
|
650
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
626
651
|
# @return [NestedRoleResponse]
|
627
652
|
def remove_role(r_b_a_c_content_guard_href, nested_role, opts = {})
|
628
653
|
data, _status_code, _headers = remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
|
@@ -634,6 +659,7 @@ module PulpcoreClient
|
|
634
659
|
# @param r_b_a_c_content_guard_href [String]
|
635
660
|
# @param nested_role [NestedRole]
|
636
661
|
# @param [Hash] opts the optional parameters
|
662
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
637
663
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
638
664
|
def remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts = {})
|
639
665
|
if @api_client.config.debugging
|
@@ -662,6 +688,7 @@ module PulpcoreClient
|
|
662
688
|
if !content_type.nil?
|
663
689
|
header_params['Content-Type'] = content_type
|
664
690
|
end
|
691
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
665
692
|
|
666
693
|
# form parameters
|
667
694
|
form_params = opts[:form_params] || {}
|
@@ -697,6 +724,7 @@ module PulpcoreClient
|
|
697
724
|
# @param r_b_a_c_content_guard_href [String]
|
698
725
|
# @param rbac_content_guard [RBACContentGuard]
|
699
726
|
# @param [Hash] opts the optional parameters
|
727
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
700
728
|
# @return [RBACContentGuardResponse]
|
701
729
|
def update(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
|
702
730
|
data, _status_code, _headers = update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts)
|
@@ -708,6 +736,7 @@ module PulpcoreClient
|
|
708
736
|
# @param r_b_a_c_content_guard_href [String]
|
709
737
|
# @param rbac_content_guard [RBACContentGuard]
|
710
738
|
# @param [Hash] opts the optional parameters
|
739
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
711
740
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
712
741
|
def update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts = {})
|
713
742
|
if @api_client.config.debugging
|
@@ -736,6 +765,7 @@ module PulpcoreClient
|
|
736
765
|
if !content_type.nil?
|
737
766
|
header_params['Content-Type'] = content_type
|
738
767
|
end
|
768
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
739
769
|
|
740
770
|
# form parameters
|
741
771
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List distributions
|
23
23
|
# Provides base viewset for Distributions.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [String] :base_path Filter results where base_path matches value
|
26
27
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
27
28
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -60,6 +61,7 @@ module PulpcoreClient
|
|
60
61
|
# List distributions
|
61
62
|
# Provides base viewset for Distributions.
|
62
63
|
# @param [Hash] opts the optional parameters
|
64
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
63
65
|
# @option opts [String] :base_path Filter results where base_path matches value
|
64
66
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
65
67
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -145,6 +147,7 @@ module PulpcoreClient
|
|
145
147
|
header_params = opts[:header_params] || {}
|
146
148
|
# HTTP header 'Accept' (if needed)
|
147
149
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
150
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
148
151
|
|
149
152
|
# form parameters
|
150
153
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List artifact distributions
|
23
23
|
# ViewSet for ArtifactDistribution.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
26
|
# @option opts [String] :base_path Filter results where base_path matches value
|
26
27
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
27
28
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -58,6 +59,7 @@ module PulpcoreClient
|
|
58
59
|
# List artifact distributions
|
59
60
|
# ViewSet for ArtifactDistribution.
|
60
61
|
# @param [Hash] opts the optional parameters
|
62
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
61
63
|
# @option opts [String] :base_path Filter results where base_path matches value
|
62
64
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
63
65
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -131,6 +133,7 @@ module PulpcoreClient
|
|
131
133
|
header_params = opts[:header_params] || {}
|
132
134
|
# HTTP header 'Accept' (if needed)
|
133
135
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
136
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
137
|
|
135
138
|
# form parameters
|
136
139
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +168,7 @@ module PulpcoreClient
|
|
165
168
|
# ViewSet for ArtifactDistribution.
|
166
169
|
# @param artifact_distribution_href [String]
|
167
170
|
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
170
174
|
# @return [ArtifactDistributionResponse]
|
@@ -177,6 +181,7 @@ module PulpcoreClient
|
|
177
181
|
# ViewSet for ArtifactDistribution.
|
178
182
|
# @param artifact_distribution_href [String]
|
179
183
|
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
180
185
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
186
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
187
|
# @return [Array<(ArtifactDistributionResponse, Integer, Hash)>] ArtifactDistributionResponse data, response status code and response headers
|
@@ -200,6 +205,7 @@ module PulpcoreClient
|
|
200
205
|
header_params = opts[:header_params] || {}
|
201
206
|
# HTTP header 'Accept' (if needed)
|
202
207
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
208
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
203
209
|
|
204
210
|
# form parameters
|
205
211
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# Trigger an asynchronous create task
|
24
24
|
# @param open_pgp_distribution [OpenPGPDistribution]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(open_pgp_distribution, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(open_pgp_distribution, opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# Trigger an asynchronous create task
|
34
35
|
# @param open_pgp_distribution [OpenPGPDistribution]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(open_pgp_distribution, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpcoreClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpcoreClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param open_p_g_p_distribution_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(open_p_g_p_distribution_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(open_p_g_p_distribution_href, opts)
|
@@ -101,6 +105,7 @@ module PulpcoreClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param open_p_g_p_distribution_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(open_p_g_p_distribution_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpcoreClient
|
|
153
159
|
# List open pgp distributions
|
154
160
|
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
157
164
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
165
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -174,6 +181,7 @@ module PulpcoreClient
|
|
174
181
|
# List open pgp distributions
|
175
182
|
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
176
183
|
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
177
185
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
186
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
187
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -217,6 +225,7 @@ module PulpcoreClient
|
|
217
225
|
header_params = opts[:header_params] || {}
|
218
226
|
# HTTP header 'Accept' (if needed)
|
219
227
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
228
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
220
229
|
|
221
230
|
# form parameters
|
222
231
|
form_params = opts[:form_params] || {}
|
@@ -252,6 +261,7 @@ module PulpcoreClient
|
|
252
261
|
# @param open_p_g_p_distribution_href [String]
|
253
262
|
# @param patched_open_pgp_distribution [PatchedOpenPGPDistribution]
|
254
263
|
# @param [Hash] opts the optional parameters
|
264
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
255
265
|
# @return [AsyncOperationResponse]
|
256
266
|
def partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts = {})
|
257
267
|
data, _status_code, _headers = partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts)
|
@@ -263,6 +273,7 @@ module PulpcoreClient
|
|
263
273
|
# @param open_p_g_p_distribution_href [String]
|
264
274
|
# @param patched_open_pgp_distribution [PatchedOpenPGPDistribution]
|
265
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
266
277
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
267
278
|
def partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts = {})
|
268
279
|
if @api_client.config.debugging
|
@@ -291,6 +302,7 @@ module PulpcoreClient
|
|
291
302
|
if !content_type.nil?
|
292
303
|
header_params['Content-Type'] = content_type
|
293
304
|
end
|
305
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
294
306
|
|
295
307
|
# form parameters
|
296
308
|
form_params = opts[:form_params] || {}
|
@@ -325,6 +337,7 @@ module PulpcoreClient
|
|
325
337
|
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
326
338
|
# @param open_p_g_p_distribution_href [String]
|
327
339
|
# @param [Hash] opts the optional parameters
|
340
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
328
341
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
329
342
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
330
343
|
# @return [OpenPGPDistributionResponse]
|
@@ -337,6 +350,7 @@ module PulpcoreClient
|
|
337
350
|
# Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
|
338
351
|
# @param open_p_g_p_distribution_href [String]
|
339
352
|
# @param [Hash] opts the optional parameters
|
353
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
340
354
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
341
355
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
342
356
|
# @return [Array<(OpenPGPDistributionResponse, Integer, Hash)>] OpenPGPDistributionResponse data, response status code and response headers
|
@@ -360,6 +374,7 @@ module PulpcoreClient
|
|
360
374
|
header_params = opts[:header_params] || {}
|
361
375
|
# HTTP header 'Accept' (if needed)
|
362
376
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
377
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
363
378
|
|
364
379
|
# form parameters
|
365
380
|
form_params = opts[:form_params] || {}
|
@@ -395,6 +410,7 @@ module PulpcoreClient
|
|
395
410
|
# @param open_p_g_p_distribution_href [String]
|
396
411
|
# @param set_label [SetLabel]
|
397
412
|
# @param [Hash] opts the optional parameters
|
413
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
398
414
|
# @return [SetLabelResponse]
|
399
415
|
def set_label(open_p_g_p_distribution_href, set_label, opts = {})
|
400
416
|
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_distribution_href, set_label, opts)
|
@@ -406,6 +422,7 @@ module PulpcoreClient
|
|
406
422
|
# @param open_p_g_p_distribution_href [String]
|
407
423
|
# @param set_label [SetLabel]
|
408
424
|
# @param [Hash] opts the optional parameters
|
425
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
409
426
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
410
427
|
def set_label_with_http_info(open_p_g_p_distribution_href, set_label, opts = {})
|
411
428
|
if @api_client.config.debugging
|
@@ -434,6 +451,7 @@ module PulpcoreClient
|
|
434
451
|
if !content_type.nil?
|
435
452
|
header_params['Content-Type'] = content_type
|
436
453
|
end
|
454
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
437
455
|
|
438
456
|
# form parameters
|
439
457
|
form_params = opts[:form_params] || {}
|
@@ -469,6 +487,7 @@ module PulpcoreClient
|
|
469
487
|
# @param open_p_g_p_distribution_href [String]
|
470
488
|
# @param unset_label [UnsetLabel]
|
471
489
|
# @param [Hash] opts the optional parameters
|
490
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
472
491
|
# @return [UnsetLabelResponse]
|
473
492
|
def unset_label(open_p_g_p_distribution_href, unset_label, opts = {})
|
474
493
|
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_distribution_href, unset_label, opts)
|
@@ -480,6 +499,7 @@ module PulpcoreClient
|
|
480
499
|
# @param open_p_g_p_distribution_href [String]
|
481
500
|
# @param unset_label [UnsetLabel]
|
482
501
|
# @param [Hash] opts the optional parameters
|
502
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
483
503
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
484
504
|
def unset_label_with_http_info(open_p_g_p_distribution_href, unset_label, opts = {})
|
485
505
|
if @api_client.config.debugging
|
@@ -508,6 +528,7 @@ module PulpcoreClient
|
|
508
528
|
if !content_type.nil?
|
509
529
|
header_params['Content-Type'] = content_type
|
510
530
|
end
|
531
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
511
532
|
|
512
533
|
# form parameters
|
513
534
|
form_params = opts[:form_params] || {}
|
@@ -543,6 +564,7 @@ module PulpcoreClient
|
|
543
564
|
# @param open_p_g_p_distribution_href [String]
|
544
565
|
# @param open_pgp_distribution [OpenPGPDistribution]
|
545
566
|
# @param [Hash] opts the optional parameters
|
567
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
546
568
|
# @return [AsyncOperationResponse]
|
547
569
|
def update(open_p_g_p_distribution_href, open_pgp_distribution, opts = {})
|
548
570
|
data, _status_code, _headers = update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution, opts)
|
@@ -554,6 +576,7 @@ module PulpcoreClient
|
|
554
576
|
# @param open_p_g_p_distribution_href [String]
|
555
577
|
# @param open_pgp_distribution [OpenPGPDistribution]
|
556
578
|
# @param [Hash] opts the optional parameters
|
579
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
557
580
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
558
581
|
def update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution, opts = {})
|
559
582
|
if @api_client.config.debugging
|
@@ -582,6 +605,7 @@ module PulpcoreClient
|
|
582
605
|
if !content_type.nil?
|
583
606
|
header_params['Content-Type'] = content_type
|
584
607
|
end
|
608
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
585
609
|
|
586
610
|
# form parameters
|
587
611
|
form_params = opts[:form_params] || {}
|