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
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # Trigger an asynchronous space reclaim operation.
23
23
  # @param reclaim_space [ReclaimSpace]
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
  # @return [AsyncOperationResponse]
26
27
  def reclaim(reclaim_space, opts = {})
27
28
  data, _status_code, _headers = reclaim_with_http_info(reclaim_space, opts)
@@ -31,6 +32,7 @@ module PulpcoreClient
31
32
  # Trigger an asynchronous space reclaim operation.
32
33
  # @param reclaim_space [ReclaimSpace]
33
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
34
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
37
  def reclaim_with_http_info(reclaim_space, opts = {})
36
38
  if @api_client.config.debugging
@@ -55,6 +57,7 @@ module PulpcoreClient
55
57
  if !content_type.nil?
56
58
  header_params['Content-Type'] = content_type
57
59
  end
60
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
58
61
 
59
62
  # form parameters
60
63
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List repository versions
23
23
  # A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
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] :content Content Unit referenced by HREF/PRN
26
27
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
27
28
  # @option opts [Integer] :limit Number of results to return per page.
@@ -54,6 +55,7 @@ module PulpcoreClient
54
55
  # List repository versions
55
56
  # A mixin to hold the shared get_queryset logic used by RepositoryVersionViewSets.
56
57
  # @param [Hash] opts the optional parameters
58
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
57
59
  # @option opts [String] :content Content Unit referenced by HREF/PRN
58
60
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
59
61
  # @option opts [Integer] :limit Number of results to return per page.
@@ -119,6 +121,7 @@ module PulpcoreClient
119
121
  header_params = opts[:header_params] || {}
120
122
  # HTTP header 'Accept' (if needed)
121
123
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
124
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
122
125
 
123
126
  # form parameters
124
127
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpcoreClient
23
23
  # ViewSet for Role.
24
24
  # @param role [Role]
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 [RoleResponse]
27
28
  def create(role, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(role, opts)
@@ -33,6 +34,7 @@ module PulpcoreClient
33
34
  # ViewSet for Role.
34
35
  # @param role [Role]
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<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
37
39
  def create_with_http_info(role, 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
  # ViewSet for Role.
92
95
  # @param role_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 [nil]
95
99
  def delete(role_href, opts = {})
96
100
  delete_with_http_info(role_href, opts)
@@ -101,6 +105,7 @@ module PulpcoreClient
101
105
  # ViewSet for Role.
102
106
  # @param role_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<(nil, Integer, Hash)>] nil, response status code and response headers
105
110
  def delete_with_http_info(role_href, opts = {})
106
111
  if @api_client.config.debugging
@@ -118,6 +123,7 @@ module PulpcoreClient
118
123
 
119
124
  # header parameters
120
125
  header_params = opts[:header_params] || {}
126
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
121
127
 
122
128
  # form parameters
123
129
  form_params = opts[:form_params] || {}
@@ -151,6 +157,7 @@ module PulpcoreClient
151
157
  # List roles
152
158
  # ViewSet for Role.
153
159
  # @param [Hash] opts the optional parameters
160
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
154
161
  # @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
155
162
  # @option opts [String] :description Filter results where description matches value
156
163
  # @option opts [String] :description__contains Filter results where description contains value
@@ -185,6 +192,7 @@ module PulpcoreClient
185
192
  # List roles
186
193
  # ViewSet for Role.
187
194
  # @param [Hash] opts the optional parameters
195
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
188
196
  # @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
189
197
  # @option opts [String] :description Filter results where description matches value
190
198
  # @option opts [String] :description__contains Filter results where description contains value
@@ -254,6 +262,7 @@ module PulpcoreClient
254
262
  header_params = opts[:header_params] || {}
255
263
  # HTTP header 'Accept' (if needed)
256
264
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
265
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
257
266
 
258
267
  # form parameters
259
268
  form_params = opts[:form_params] || {}
@@ -289,6 +298,7 @@ module PulpcoreClient
289
298
  # @param role_href [String]
290
299
  # @param patched_role [PatchedRole]
291
300
  # @param [Hash] opts the optional parameters
301
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
292
302
  # @return [RoleResponse]
293
303
  def partial_update(role_href, patched_role, opts = {})
294
304
  data, _status_code, _headers = partial_update_with_http_info(role_href, patched_role, opts)
@@ -300,6 +310,7 @@ module PulpcoreClient
300
310
  # @param role_href [String]
301
311
  # @param patched_role [PatchedRole]
302
312
  # @param [Hash] opts the optional parameters
313
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
303
314
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
304
315
  def partial_update_with_http_info(role_href, patched_role, opts = {})
305
316
  if @api_client.config.debugging
@@ -328,6 +339,7 @@ module PulpcoreClient
328
339
  if !content_type.nil?
329
340
  header_params['Content-Type'] = content_type
330
341
  end
342
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
331
343
 
332
344
  # form parameters
333
345
  form_params = opts[:form_params] || {}
@@ -362,6 +374,7 @@ module PulpcoreClient
362
374
  # ViewSet for Role.
363
375
  # @param role_href [String]
364
376
  # @param [Hash] opts the optional parameters
377
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
365
378
  # @option opts [Array<String>] :fields A list of fields to include in the response.
366
379
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
367
380
  # @return [RoleResponse]
@@ -374,6 +387,7 @@ module PulpcoreClient
374
387
  # ViewSet for Role.
375
388
  # @param role_href [String]
376
389
  # @param [Hash] opts the optional parameters
390
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
377
391
  # @option opts [Array<String>] :fields A list of fields to include in the response.
378
392
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
379
393
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
@@ -397,6 +411,7 @@ module PulpcoreClient
397
411
  header_params = opts[:header_params] || {}
398
412
  # HTTP header 'Accept' (if needed)
399
413
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
414
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
400
415
 
401
416
  # form parameters
402
417
  form_params = opts[:form_params] || {}
@@ -432,6 +447,7 @@ module PulpcoreClient
432
447
  # @param role_href [String]
433
448
  # @param role [Role]
434
449
  # @param [Hash] opts the optional parameters
450
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
435
451
  # @return [RoleResponse]
436
452
  def update(role_href, role, opts = {})
437
453
  data, _status_code, _headers = update_with_http_info(role_href, role, opts)
@@ -443,6 +459,7 @@ module PulpcoreClient
443
459
  # @param role_href [String]
444
460
  # @param role [Role]
445
461
  # @param [Hash] opts the optional parameters
462
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
446
463
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
447
464
  def update_with_http_info(role_href, role, opts = {})
448
465
  if @api_client.config.debugging
@@ -471,6 +488,7 @@ module PulpcoreClient
471
488
  if !content_type.nil?
472
489
  header_params['Content-Type'] = content_type
473
490
  end
491
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
474
492
 
475
493
  # form parameters
476
494
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List signing services
23
23
  # A ViewSet that supports browsing of existing signing services.
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 [Integer] :limit Number of results to return per page.
26
27
  # @option opts [String] :name Filter results where name matches value
27
28
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -41,6 +42,7 @@ module PulpcoreClient
41
42
  # List signing services
42
43
  # A ViewSet that supports browsing of existing signing services.
43
44
  # @param [Hash] opts the optional parameters
45
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
44
46
  # @option opts [Integer] :limit Number of results to return per page.
45
47
  # @option opts [String] :name Filter results where name matches value
46
48
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -80,6 +82,7 @@ module PulpcoreClient
80
82
  header_params = opts[:header_params] || {}
81
83
  # HTTP header 'Accept' (if needed)
82
84
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
85
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
83
86
 
84
87
  # form parameters
85
88
  form_params = opts[:form_params] || {}
@@ -114,6 +117,7 @@ module PulpcoreClient
114
117
  # A ViewSet that supports browsing of existing signing services.
115
118
  # @param signing_service_href [String]
116
119
  # @param [Hash] opts the optional parameters
120
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
117
121
  # @option opts [Array<String>] :fields A list of fields to include in the response.
118
122
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
119
123
  # @return [SigningServiceResponse]
@@ -126,6 +130,7 @@ module PulpcoreClient
126
130
  # A ViewSet that supports browsing of existing signing services.
127
131
  # @param signing_service_href [String]
128
132
  # @param [Hash] opts the optional parameters
133
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
129
134
  # @option opts [Array<String>] :fields A list of fields to include in the response.
130
135
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
131
136
  # @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
@@ -149,6 +154,7 @@ module PulpcoreClient
149
154
  header_params = opts[:header_params] || {}
150
155
  # HTTP header 'Accept' (if needed)
151
156
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
157
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
152
158
 
153
159
  # form parameters
154
160
  form_params = opts[:form_params] || {}
@@ -22,6 +22,9 @@ module PulpcoreClient
22
22
  # Inspect status of Pulp
23
23
  # Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
27
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
25
28
  # @return [StatusResponse]
26
29
  def status_read(opts = {})
27
30
  data, _status_code, _headers = status_read_with_http_info(opts)
@@ -31,6 +34,9 @@ module PulpcoreClient
31
34
  # Inspect status of Pulp
32
35
  # Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
33
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
39
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
34
40
  # @return [Array<(StatusResponse, Integer, Hash)>] StatusResponse data, response status code and response headers
35
41
  def status_read_with_http_info(opts = {})
36
42
  if @api_client.config.debugging
@@ -41,11 +47,14 @@ module PulpcoreClient
41
47
 
42
48
  # query parameters
43
49
  query_params = opts[:query_params] || {}
50
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
51
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
44
52
 
45
53
  # header parameters
46
54
  header_params = opts[:header_params] || {}
47
55
  # HTTP header 'Accept' (if needed)
48
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
49
58
 
50
59
  # form parameters
51
60
  form_params = opts[:form_params] || {}
@@ -21,6 +21,7 @@ module PulpcoreClient
21
21
  end
22
22
  # List task groups
23
23
  # @param [Hash] opts the optional parameters
24
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
24
25
  # @option opts [Integer] :limit Number of results to return per page.
25
26
  # @option opts [Integer] :offset The initial index from which to return the results.
26
27
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -33,6 +34,7 @@ module PulpcoreClient
33
34
 
34
35
  # List task groups
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
  # @option opts [Integer] :limit Number of results to return per page.
37
39
  # @option opts [Integer] :offset The initial index from which to return the results.
38
40
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -56,6 +58,7 @@ module PulpcoreClient
56
58
  header_params = opts[:header_params] || {}
57
59
  # HTTP header 'Accept' (if needed)
58
60
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
61
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
59
62
 
60
63
  # form parameters
61
64
  form_params = opts[:form_params] || {}
@@ -89,6 +92,7 @@ module PulpcoreClient
89
92
  # Inspect a task group
90
93
  # @param task_group_href [String]
91
94
  # @param [Hash] opts the optional parameters
95
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
92
96
  # @option opts [Array<String>] :fields A list of fields to include in the response.
93
97
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
94
98
  # @return [TaskGroupResponse]
@@ -100,6 +104,7 @@ module PulpcoreClient
100
104
  # Inspect a task group
101
105
  # @param task_group_href [String]
102
106
  # @param [Hash] opts the optional parameters
107
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
103
108
  # @option opts [Array<String>] :fields A list of fields to include in the response.
104
109
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
110
  # @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
@@ -123,6 +128,7 @@ module PulpcoreClient
123
128
  header_params = opts[:header_params] || {}
124
129
  # HTTP header 'Accept' (if needed)
125
130
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
131
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
126
132
 
127
133
  # form parameters
128
134
  form_params = opts[:form_params] || {}
@@ -158,6 +164,7 @@ module PulpcoreClient
158
164
  # @param task_group_href [String]
159
165
  # @param patched_task_cancel [PatchedTaskCancel]
160
166
  # @param [Hash] opts the optional parameters
167
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
161
168
  # @return [TaskGroupResponse]
162
169
  def task_groups_cancel(task_group_href, patched_task_cancel, opts = {})
163
170
  data, _status_code, _headers = task_groups_cancel_with_http_info(task_group_href, patched_task_cancel, opts)
@@ -169,6 +176,7 @@ module PulpcoreClient
169
176
  # @param task_group_href [String]
170
177
  # @param patched_task_cancel [PatchedTaskCancel]
171
178
  # @param [Hash] opts the optional parameters
179
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
172
180
  # @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
173
181
  def task_groups_cancel_with_http_info(task_group_href, patched_task_cancel, opts = {})
174
182
  if @api_client.config.debugging
@@ -197,6 +205,7 @@ module PulpcoreClient
197
205
  if !content_type.nil?
198
206
  header_params['Content-Type'] = content_type
199
207
  end
208
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
200
209
 
201
210
  # form parameters
202
211
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param task_schedule_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(task_schedule_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(task_schedule_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param task_schedule_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(task_schedule_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] || {}
@@ -96,6 +99,7 @@ module PulpcoreClient
96
99
  # List task schedules
97
100
  # ViewSet to monitor task schedules.
98
101
  # @param [Hash] opts the optional parameters
102
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
99
103
  # @option opts [Integer] :limit Number of results to return per page.
100
104
  # @option opts [String] :name Filter results where name matches value
101
105
  # @option opts [String] :name__contains Filter results where name contains value
@@ -118,6 +122,7 @@ module PulpcoreClient
118
122
  # List task schedules
119
123
  # ViewSet to monitor task schedules.
120
124
  # @param [Hash] opts the optional parameters
125
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
121
126
  # @option opts [Integer] :limit Number of results to return per page.
122
127
  # @option opts [String] :name Filter results where name matches value
123
128
  # @option opts [String] :name__contains Filter results where name contains value
@@ -163,6 +168,7 @@ module PulpcoreClient
163
168
  header_params = opts[:header_params] || {}
164
169
  # HTTP header 'Accept' (if needed)
165
170
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
171
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
166
172
 
167
173
  # form parameters
168
174
  form_params = opts[:form_params] || {}
@@ -197,6 +203,7 @@ module PulpcoreClient
197
203
  # List roles assigned to this object.
198
204
  # @param task_schedule_href [String]
199
205
  # @param [Hash] opts the optional parameters
206
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
200
207
  # @option opts [Array<String>] :fields A list of fields to include in the response.
201
208
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
202
209
  # @return [ObjectRolesResponse]
@@ -209,6 +216,7 @@ module PulpcoreClient
209
216
  # List roles assigned to this object.
210
217
  # @param task_schedule_href [String]
211
218
  # @param [Hash] opts the optional parameters
219
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
212
220
  # @option opts [Array<String>] :fields A list of fields to include in the response.
213
221
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
214
222
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -232,6 +240,7 @@ module PulpcoreClient
232
240
  header_params = opts[:header_params] || {}
233
241
  # HTTP header 'Accept' (if needed)
234
242
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
243
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
235
244
 
236
245
  # form parameters
237
246
  form_params = opts[:form_params] || {}
@@ -266,6 +275,7 @@ module PulpcoreClient
266
275
  # List permissions available to the current user on this object.
267
276
  # @param task_schedule_href [String]
268
277
  # @param [Hash] opts the optional parameters
278
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
279
  # @option opts [Array<String>] :fields A list of fields to include in the response.
270
280
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
271
281
  # @return [MyPermissionsResponse]
@@ -278,6 +288,7 @@ module PulpcoreClient
278
288
  # List permissions available to the current user on this object.
279
289
  # @param task_schedule_href [String]
280
290
  # @param [Hash] opts the optional parameters
291
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
281
292
  # @option opts [Array<String>] :fields A list of fields to include in the response.
282
293
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
283
294
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -301,6 +312,7 @@ module PulpcoreClient
301
312
  header_params = opts[:header_params] || {}
302
313
  # HTTP header 'Accept' (if needed)
303
314
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
315
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
304
316
 
305
317
  # form parameters
306
318
  form_params = opts[:form_params] || {}
@@ -335,6 +347,7 @@ module PulpcoreClient
335
347
  # ViewSet to monitor task schedules.
336
348
  # @param task_schedule_href [String]
337
349
  # @param [Hash] opts the optional parameters
350
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
338
351
  # @option opts [Array<String>] :fields A list of fields to include in the response.
339
352
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
340
353
  # @return [TaskScheduleResponse]
@@ -347,6 +360,7 @@ module PulpcoreClient
347
360
  # ViewSet to monitor task schedules.
348
361
  # @param task_schedule_href [String]
349
362
  # @param [Hash] opts the optional parameters
363
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
350
364
  # @option opts [Array<String>] :fields A list of fields to include in the response.
351
365
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
352
366
  # @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
@@ -370,6 +384,7 @@ module PulpcoreClient
370
384
  header_params = opts[:header_params] || {}
371
385
  # HTTP header 'Accept' (if needed)
372
386
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
387
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
373
388
 
374
389
  # form parameters
375
390
  form_params = opts[:form_params] || {}
@@ -405,6 +420,7 @@ module PulpcoreClient
405
420
  # @param task_schedule_href [String]
406
421
  # @param nested_role [NestedRole]
407
422
  # @param [Hash] opts the optional parameters
423
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
408
424
  # @return [NestedRoleResponse]
409
425
  def remove_role(task_schedule_href, nested_role, opts = {})
410
426
  data, _status_code, _headers = remove_role_with_http_info(task_schedule_href, nested_role, opts)
@@ -416,6 +432,7 @@ module PulpcoreClient
416
432
  # @param task_schedule_href [String]
417
433
  # @param nested_role [NestedRole]
418
434
  # @param [Hash] opts the optional parameters
435
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
419
436
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
420
437
  def remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
421
438
  if @api_client.config.debugging
@@ -444,6 +461,7 @@ module PulpcoreClient
444
461
  if !content_type.nil?
445
462
  header_params['Content-Type'] = content_type
446
463
  end
464
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
447
465
 
448
466
  # form parameters
449
467
  form_params = opts[:form_params] || {}