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.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccessPoliciesApi.md +28 -12
  4. data/docs/ArtifactDistributionResponse.md +13 -13
  5. data/docs/ArtifactsApi.md +14 -4
  6. data/docs/ContentApi.md +2 -0
  7. data/docs/ContentOpenpgpPublickeyApi.md +22 -8
  8. data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
  9. data/docs/ContentOpenpgpSignatureApi.md +20 -8
  10. data/docs/ContentOpenpgpUserattributeApi.md +20 -8
  11. data/docs/ContentOpenpgpUseridApi.md +20 -8
  12. data/docs/ContentguardsApi.md +2 -0
  13. data/docs/ContentguardsCompositeApi.md +56 -24
  14. data/docs/ContentguardsContentRedirectApi.md +56 -24
  15. data/docs/ContentguardsHeaderApi.md +56 -24
  16. data/docs/ContentguardsRbacApi.md +56 -24
  17. data/docs/DistributionsApi.md +2 -0
  18. data/docs/DistributionsArtifactsApi.md +4 -0
  19. data/docs/DistributionsOpenpgpApi.md +52 -24
  20. data/docs/DomainsApi.md +60 -28
  21. data/docs/ExportersFilesystemApi.md +36 -16
  22. data/docs/ExportersFilesystemExportsApi.md +20 -8
  23. data/docs/ExportersPulpApi.md +36 -16
  24. data/docs/ExportersPulpExportsApi.md +20 -8
  25. data/docs/GroupsApi.md +56 -24
  26. data/docs/GroupsRolesApi.md +20 -8
  27. data/docs/GroupsUsersApi.md +18 -8
  28. data/docs/ImportersPulpApi.md +36 -16
  29. data/docs/ImportersPulpImportCheckApi.md +8 -4
  30. data/docs/ImportersPulpImportsApi.md +20 -8
  31. data/docs/LivezApi.md +14 -5
  32. data/docs/LoginApi.md +34 -15
  33. data/docs/OrphansApi.md +10 -5
  34. data/docs/OrphansCleanupApi.md +8 -4
  35. data/docs/PublicationsApi.md +2 -0
  36. data/docs/RemotesApi.md +2 -0
  37. data/docs/RepairApi.md +8 -4
  38. data/docs/RepositoriesApi.md +2 -0
  39. data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
  40. data/docs/RepositoriesReclaimSpaceApi.md +8 -4
  41. data/docs/RepositoryVersionsApi.md +2 -0
  42. data/docs/RolesApi.md +36 -16
  43. data/docs/SigningServicesApi.md +4 -0
  44. data/docs/StatusApi.md +14 -5
  45. data/docs/TaskGroupsApi.md +12 -4
  46. data/docs/TaskSchedulesApi.md +24 -8
  47. data/docs/TasksApi.md +52 -22
  48. data/docs/UploadsApi.md +50 -20
  49. data/docs/UpstreamPulpsApi.md +64 -28
  50. data/docs/UsersApi.md +36 -16
  51. data/docs/UsersRolesApi.md +20 -8
  52. data/docs/WorkersApi.md +4 -0
  53. data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
  54. data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
  55. data/lib/pulpcore_client/api/content_api.rb +3 -0
  56. data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
  57. data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
  58. data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
  59. data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
  60. data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
  61. data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
  62. data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
  63. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
  64. data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
  65. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
  66. data/lib/pulpcore_client/api/distributions_api.rb +3 -0
  67. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  68. data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
  69. data/lib/pulpcore_client/api/domains_api.rb +27 -0
  70. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
  71. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
  72. data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
  73. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
  74. data/lib/pulpcore_client/api/groups_api.rb +30 -0
  75. data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
  76. data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
  77. data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
  78. data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
  79. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
  80. data/lib/pulpcore_client/api/livez_api.rb +9 -0
  81. data/lib/pulpcore_client/api/login_api.rb +15 -0
  82. data/lib/pulpcore_client/api/orphans_api.rb +3 -0
  83. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
  84. data/lib/pulpcore_client/api/publications_api.rb +3 -0
  85. data/lib/pulpcore_client/api/remotes_api.rb +3 -0
  86. data/lib/pulpcore_client/api/repair_api.rb +3 -0
  87. data/lib/pulpcore_client/api/repositories_api.rb +3 -0
  88. data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
  89. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
  90. data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
  91. data/lib/pulpcore_client/api/roles_api.rb +18 -0
  92. data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
  93. data/lib/pulpcore_client/api/status_api.rb +9 -0
  94. data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
  95. data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
  96. data/lib/pulpcore_client/api/tasks_api.rb +33 -3
  97. data/lib/pulpcore_client/api/uploads_api.rb +30 -0
  98. data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
  99. data/lib/pulpcore_client/api/users_api.rb +18 -0
  100. data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
  101. data/lib/pulpcore_client/api/workers_api.rb +6 -0
  102. data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
  103. data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
  104. data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
  105. data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
  106. data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
  107. data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
  108. data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
  109. data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
  110. data/lib/pulpcore_client/version.rb +1 -1
  111. data/spec/api/access_policies_api_spec.rb +5 -0
  112. data/spec/api/artifacts_api_spec.rb +4 -0
  113. data/spec/api/content_api_spec.rb +1 -0
  114. data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
  115. data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
  116. data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
  117. data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
  118. data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
  119. data/spec/api/contentguards_api_spec.rb +1 -0
  120. data/spec/api/contentguards_composite_api_spec.rb +10 -0
  121. data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
  122. data/spec/api/contentguards_header_api_spec.rb +10 -0
  123. data/spec/api/contentguards_rbac_api_spec.rb +10 -0
  124. data/spec/api/distributions_api_spec.rb +1 -0
  125. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  126. data/spec/api/distributions_openpgp_api_spec.rb +8 -0
  127. data/spec/api/domains_api_spec.rb +9 -0
  128. data/spec/api/exporters_filesystem_api_spec.rb +6 -0
  129. data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
  130. data/spec/api/exporters_pulp_api_spec.rb +6 -0
  131. data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
  132. data/spec/api/groups_api_spec.rb +10 -0
  133. data/spec/api/groups_roles_api_spec.rb +4 -0
  134. data/spec/api/groups_users_api_spec.rb +3 -0
  135. data/spec/api/importers_pulp_api_spec.rb +6 -0
  136. data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
  137. data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
  138. data/spec/api/livez_api_spec.rb +3 -0
  139. data/spec/api/login_api_spec.rb +5 -0
  140. data/spec/api/orphans_api_spec.rb +1 -0
  141. data/spec/api/orphans_cleanup_api_spec.rb +1 -0
  142. data/spec/api/publications_api_spec.rb +1 -0
  143. data/spec/api/remotes_api_spec.rb +1 -0
  144. data/spec/api/repair_api_spec.rb +1 -0
  145. data/spec/api/repositories_api_spec.rb +1 -0
  146. data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
  147. data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
  148. data/spec/api/repository_versions_api_spec.rb +1 -0
  149. data/spec/api/roles_api_spec.rb +6 -0
  150. data/spec/api/signing_services_api_spec.rb +2 -0
  151. data/spec/api/status_api_spec.rb +3 -0
  152. data/spec/api/task_groups_api_spec.rb +3 -0
  153. data/spec/api/task_schedules_api_spec.rb +6 -0
  154. data/spec/api/tasks_api_spec.rb +11 -1
  155. data/spec/api/uploads_api_spec.rb +10 -0
  156. data/spec/api/upstream_pulps_api_spec.rb +11 -0
  157. data/spec/api/users_api_spec.rb +6 -0
  158. data/spec/api/users_roles_api_spec.rb +4 -0
  159. data/spec/api/workers_api_spec.rb +2 -0
  160. data/spec/models/artifact_distribution_response_spec.rb +11 -11
  161. metadata +190 -190
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param content_redirect_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(content_redirect_content_guard_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(content_redirect_content_guard_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param content_redirect_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(content_redirect_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
  # Content guard to protect preauthenticated redirects to the content app.
98
101
  # @param content_redirect_content_guard [ContentRedirectContentGuard]
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 [ContentRedirectContentGuardResponse]
101
105
  def create(content_redirect_content_guard, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(content_redirect_content_guard, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # Content guard to protect preauthenticated redirects to the content app.
108
112
  # @param content_redirect_content_guard [ContentRedirectContentGuard]
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<(ContentRedirectContentGuardResponse, Integer, Hash)>] ContentRedirectContentGuardResponse data, response status code and response headers
111
116
  def create_with_http_info(content_redirect_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
  # Content guard to protect preauthenticated redirects to the content app.
166
172
  # @param content_redirect_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(content_redirect_content_guard_href, opts = {})
170
177
  delete_with_http_info(content_redirect_content_guard_href, opts)
@@ -175,6 +182,7 @@ module PulpcoreClient
175
182
  # Content guard to protect preauthenticated redirects to the content app.
176
183
  # @param content_redirect_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(content_redirect_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 content redirect content guards
226
235
  # Content guard to protect preauthenticated redirects to the content app.
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 content redirect content guards
253
263
  # Content guard to protect preauthenticated redirects to the content app.
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 content_redirect_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 content_redirect_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 content_redirect_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 content_redirect_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 content_redirect_content_guard_href [String]
481
499
  # @param patched_content_redirect_content_guard [PatchedContentRedirectContentGuard]
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 [ContentRedirectContentGuardResponse]
484
503
  def partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard, opts = {})
485
504
  data, _status_code, _headers = partial_update_with_http_info(content_redirect_content_guard_href, patched_content_redirect_content_guard, opts)
@@ -491,6 +510,7 @@ module PulpcoreClient
491
510
  # @param content_redirect_content_guard_href [String]
492
511
  # @param patched_content_redirect_content_guard [PatchedContentRedirectContentGuard]
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<(ContentRedirectContentGuardResponse, Integer, Hash)>] ContentRedirectContentGuardResponse data, response status code and response headers
495
515
  def partial_update_with_http_info(content_redirect_content_guard_href, patched_content_redirect_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
  # Content guard to protect preauthenticated redirects to the content app.
554
575
  # @param content_redirect_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 [ContentRedirectContentGuardResponse]
@@ -565,6 +587,7 @@ module PulpcoreClient
565
587
  # Content guard to protect preauthenticated redirects to the content app.
566
588
  # @param content_redirect_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<(ContentRedirectContentGuardResponse, Integer, Hash)>] ContentRedirectContentGuardResponse 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 content_redirect_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(content_redirect_content_guard_href, nested_role, opts = {})
628
653
  data, _status_code, _headers = remove_role_with_http_info(content_redirect_content_guard_href, nested_role, opts)
@@ -634,6 +659,7 @@ module PulpcoreClient
634
659
  # @param content_redirect_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(content_redirect_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 content_redirect_content_guard_href [String]
698
725
  # @param content_redirect_content_guard [ContentRedirectContentGuard]
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 [ContentRedirectContentGuardResponse]
701
729
  def update(content_redirect_content_guard_href, content_redirect_content_guard, opts = {})
702
730
  data, _status_code, _headers = update_with_http_info(content_redirect_content_guard_href, content_redirect_content_guard, opts)
@@ -708,6 +736,7 @@ module PulpcoreClient
708
736
  # @param content_redirect_content_guard_href [String]
709
737
  # @param content_redirect_content_guard [ContentRedirectContentGuard]
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<(ContentRedirectContentGuardResponse, Integer, Hash)>] ContentRedirectContentGuardResponse data, response status code and response headers
712
741
  def update_with_http_info(content_redirect_content_guard_href, content_redirect_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] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param header_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(header_content_guard_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(header_content_guard_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param header_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(header_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
  # Content guard to protect the content app using a specific header.
98
101
  # @param header_content_guard [HeaderContentGuard]
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 [HeaderContentGuardResponse]
101
105
  def create(header_content_guard, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(header_content_guard, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # Content guard to protect the content app using a specific header.
108
112
  # @param header_content_guard [HeaderContentGuard]
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<(HeaderContentGuardResponse, Integer, Hash)>] HeaderContentGuardResponse data, response status code and response headers
111
116
  def create_with_http_info(header_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
  # Content guard to protect the content app using a specific header.
166
172
  # @param header_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(header_content_guard_href, opts = {})
170
177
  delete_with_http_info(header_content_guard_href, opts)
@@ -175,6 +182,7 @@ module PulpcoreClient
175
182
  # Content guard to protect the content app using a specific header.
176
183
  # @param header_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(header_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 header content guards
226
235
  # Content guard to protect the content app using a specific header.
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 header content guards
253
263
  # Content guard to protect the content app using a specific header.
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 header_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 header_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 header_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 header_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 header_content_guard_href [String]
481
499
  # @param patched_header_content_guard [PatchedHeaderContentGuard]
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 [HeaderContentGuardResponse]
484
503
  def partial_update(header_content_guard_href, patched_header_content_guard, opts = {})
485
504
  data, _status_code, _headers = partial_update_with_http_info(header_content_guard_href, patched_header_content_guard, opts)
@@ -491,6 +510,7 @@ module PulpcoreClient
491
510
  # @param header_content_guard_href [String]
492
511
  # @param patched_header_content_guard [PatchedHeaderContentGuard]
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<(HeaderContentGuardResponse, Integer, Hash)>] HeaderContentGuardResponse data, response status code and response headers
495
515
  def partial_update_with_http_info(header_content_guard_href, patched_header_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
  # Content guard to protect the content app using a specific header.
554
575
  # @param header_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 [HeaderContentGuardResponse]
@@ -565,6 +587,7 @@ module PulpcoreClient
565
587
  # Content guard to protect the content app using a specific header.
566
588
  # @param header_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<(HeaderContentGuardResponse, Integer, Hash)>] HeaderContentGuardResponse 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 header_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(header_content_guard_href, nested_role, opts = {})
628
653
  data, _status_code, _headers = remove_role_with_http_info(header_content_guard_href, nested_role, opts)
@@ -634,6 +659,7 @@ module PulpcoreClient
634
659
  # @param header_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(header_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 header_content_guard_href [String]
698
725
  # @param header_content_guard [HeaderContentGuard]
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 [HeaderContentGuardResponse]
701
729
  def update(header_content_guard_href, header_content_guard, opts = {})
702
730
  data, _status_code, _headers = update_with_http_info(header_content_guard_href, header_content_guard, opts)
@@ -708,6 +736,7 @@ module PulpcoreClient
708
736
  # @param header_content_guard_href [String]
709
737
  # @param header_content_guard [HeaderContentGuard]
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<(HeaderContentGuardResponse, Integer, Hash)>] HeaderContentGuardResponse data, response status code and response headers
712
741
  def update_with_http_info(header_content_guard_href, header_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] || {}