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 task_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_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(task_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param task_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_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
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
98
101
  # @param task_href [String]
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 [nil]
101
105
  def delete(task_href, opts = {})
102
106
  delete_with_http_info(task_href, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
108
112
  # @param task_href [String]
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<(nil, Integer, Hash)>] nil, response status code and response headers
111
116
  def delete_with_http_info(task_href, opts = {})
112
117
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpcoreClient
124
129
 
125
130
  # header parameters
126
131
  header_params = opts[:header_params] || {}
132
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
127
133
 
128
134
  # form parameters
129
135
  form_params = opts[:form_params] || {}
@@ -157,6 +163,7 @@ module PulpcoreClient
157
163
  # List tasks
158
164
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
159
165
  # @param [Hash] opts the optional parameters
166
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
167
  # @option opts [String] :child_tasks Filter results where child_tasks matches value
161
168
  # @option opts [String] :created_resources
162
169
  # @option opts [String] :exclusive_resources
@@ -176,7 +183,7 @@ module PulpcoreClient
176
183
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
177
184
  # @option opts [String] :name__ne Filter results where name not equal to value
178
185
  # @option opts [Integer] :offset The initial index from which to return the results.
179
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;unblocked_at&#x60; - Unblocked at * &#x60;-unblocked_at&#x60; - Unblocked at (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;immediate&#x60; - Immediate * &#x60;-immediate&#x60; - Immediate (descending) * &#x60;deferred&#x60; - Deferred * &#x60;-deferred&#x60; - Deferred (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
186
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;unblocked_at&#x60; - Unblocked at * &#x60;-unblocked_at&#x60; - Unblocked at (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;profile_options&#x60; - Profile options * &#x60;-profile_options&#x60; - Profile options (descending) * &#x60;immediate&#x60; - Immediate * &#x60;-immediate&#x60; - Immediate (descending) * &#x60;deferred&#x60; - Deferred * &#x60;-deferred&#x60; - Deferred (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
180
187
  # @option opts [String] :parent_task Filter results where parent_task matches value
181
188
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
182
189
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
@@ -225,6 +232,7 @@ module PulpcoreClient
225
232
  # List tasks
226
233
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
227
234
  # @param [Hash] opts the optional parameters
235
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
228
236
  # @option opts [String] :child_tasks Filter results where child_tasks matches value
229
237
  # @option opts [String] :created_resources
230
238
  # @option opts [String] :exclusive_resources
@@ -244,7 +252,7 @@ module PulpcoreClient
244
252
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
245
253
  # @option opts [String] :name__ne Filter results where name not equal to value
246
254
  # @option opts [Integer] :offset The initial index from which to return the results.
247
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;unblocked_at&#x60; - Unblocked at * &#x60;-unblocked_at&#x60; - Unblocked at (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;immediate&#x60; - Immediate * &#x60;-immediate&#x60; - Immediate (descending) * &#x60;deferred&#x60; - Deferred * &#x60;-deferred&#x60; - Deferred (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
255
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;unblocked_at&#x60; - Unblocked at * &#x60;-unblocked_at&#x60; - Unblocked at (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;profile_options&#x60; - Profile options * &#x60;-profile_options&#x60; - Profile options (descending) * &#x60;immediate&#x60; - Immediate * &#x60;-immediate&#x60; - Immediate (descending) * &#x60;deferred&#x60; - Deferred * &#x60;-deferred&#x60; - Deferred (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
248
256
  # @option opts [String] :parent_task Filter results where parent_task matches value
249
257
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
250
258
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
@@ -289,7 +297,7 @@ module PulpcoreClient
289
297
  if @api_client.config.debugging
290
298
  @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
291
299
  end
292
- allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "unblocked_at", "versions"]
300
+ allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-profile_options", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "profile_options", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "unblocked_at", "versions"]
293
301
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
294
302
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
295
303
  end
@@ -366,6 +374,7 @@ module PulpcoreClient
366
374
  header_params = opts[:header_params] || {}
367
375
  # HTTP header 'Accept' (if needed)
368
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?
369
378
 
370
379
  # form parameters
371
380
  form_params = opts[:form_params] || {}
@@ -400,6 +409,7 @@ module PulpcoreClient
400
409
  # List roles assigned to this object.
401
410
  # @param task_href [String]
402
411
  # @param [Hash] opts the optional parameters
412
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
403
413
  # @option opts [Array<String>] :fields A list of fields to include in the response.
404
414
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
405
415
  # @return [ObjectRolesResponse]
@@ -412,6 +422,7 @@ module PulpcoreClient
412
422
  # List roles assigned to this object.
413
423
  # @param task_href [String]
414
424
  # @param [Hash] opts the optional parameters
425
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
415
426
  # @option opts [Array<String>] :fields A list of fields to include in the response.
416
427
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
417
428
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -435,6 +446,7 @@ module PulpcoreClient
435
446
  header_params = opts[:header_params] || {}
436
447
  # HTTP header 'Accept' (if needed)
437
448
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
449
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
438
450
 
439
451
  # form parameters
440
452
  form_params = opts[:form_params] || {}
@@ -469,6 +481,7 @@ module PulpcoreClient
469
481
  # List permissions available to the current user on this object.
470
482
  # @param task_href [String]
471
483
  # @param [Hash] opts the optional parameters
484
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
472
485
  # @option opts [Array<String>] :fields A list of fields to include in the response.
473
486
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
474
487
  # @return [MyPermissionsResponse]
@@ -481,6 +494,7 @@ module PulpcoreClient
481
494
  # List permissions available to the current user on this object.
482
495
  # @param task_href [String]
483
496
  # @param [Hash] opts the optional parameters
497
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
484
498
  # @option opts [Array<String>] :fields A list of fields to include in the response.
485
499
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
486
500
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -504,6 +518,7 @@ module PulpcoreClient
504
518
  header_params = opts[:header_params] || {}
505
519
  # HTTP header 'Accept' (if needed)
506
520
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
521
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
507
522
 
508
523
  # form parameters
509
524
  form_params = opts[:form_params] || {}
@@ -538,6 +553,7 @@ module PulpcoreClient
538
553
  # Return pre-signed URLs used for downloading raw profile artifacts.
539
554
  # @param task_href [String]
540
555
  # @param [Hash] opts the optional parameters
556
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
541
557
  # @option opts [Array<String>] :fields A list of fields to include in the response.
542
558
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
543
559
  # @return [ProfileArtifactResponse]
@@ -550,6 +566,7 @@ module PulpcoreClient
550
566
  # Return pre-signed URLs used for downloading raw profile artifacts.
551
567
  # @param task_href [String]
552
568
  # @param [Hash] opts the optional parameters
569
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
553
570
  # @option opts [Array<String>] :fields A list of fields to include in the response.
554
571
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
555
572
  # @return [Array<(ProfileArtifactResponse, Integer, Hash)>] ProfileArtifactResponse data, response status code and response headers
@@ -573,6 +590,7 @@ module PulpcoreClient
573
590
  header_params = opts[:header_params] || {}
574
591
  # HTTP header 'Accept' (if needed)
575
592
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
593
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
576
594
 
577
595
  # form parameters
578
596
  form_params = opts[:form_params] || {}
@@ -607,6 +625,7 @@ module PulpcoreClient
607
625
  # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
608
626
  # @param purge [Purge]
609
627
  # @param [Hash] opts the optional parameters
628
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
610
629
  # @return [AsyncOperationResponse]
611
630
  def purge(purge, opts = {})
612
631
  data, _status_code, _headers = purge_with_http_info(purge, opts)
@@ -617,6 +636,7 @@ module PulpcoreClient
617
636
  # Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
618
637
  # @param purge [Purge]
619
638
  # @param [Hash] opts the optional parameters
639
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
620
640
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
621
641
  def purge_with_http_info(purge, opts = {})
622
642
  if @api_client.config.debugging
@@ -641,6 +661,7 @@ module PulpcoreClient
641
661
  if !content_type.nil?
642
662
  header_params['Content-Type'] = content_type
643
663
  end
664
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
644
665
 
645
666
  # form parameters
646
667
  form_params = opts[:form_params] || {}
@@ -675,6 +696,7 @@ module PulpcoreClient
675
696
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
676
697
  # @param task_href [String]
677
698
  # @param [Hash] opts the optional parameters
699
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
678
700
  # @option opts [Array<String>] :fields A list of fields to include in the response.
679
701
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
680
702
  # @return [TaskResponse]
@@ -687,6 +709,7 @@ module PulpcoreClient
687
709
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
688
710
  # @param task_href [String]
689
711
  # @param [Hash] opts the optional parameters
712
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
690
713
  # @option opts [Array<String>] :fields A list of fields to include in the response.
691
714
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
692
715
  # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
@@ -710,6 +733,7 @@ module PulpcoreClient
710
733
  header_params = opts[:header_params] || {}
711
734
  # HTTP header 'Accept' (if needed)
712
735
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
736
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
713
737
 
714
738
  # form parameters
715
739
  form_params = opts[:form_params] || {}
@@ -745,6 +769,7 @@ module PulpcoreClient
745
769
  # @param task_href [String]
746
770
  # @param nested_role [NestedRole]
747
771
  # @param [Hash] opts the optional parameters
772
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
748
773
  # @return [NestedRoleResponse]
749
774
  def remove_role(task_href, nested_role, opts = {})
750
775
  data, _status_code, _headers = remove_role_with_http_info(task_href, nested_role, opts)
@@ -756,6 +781,7 @@ module PulpcoreClient
756
781
  # @param task_href [String]
757
782
  # @param nested_role [NestedRole]
758
783
  # @param [Hash] opts the optional parameters
784
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
759
785
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
760
786
  def remove_role_with_http_info(task_href, nested_role, opts = {})
761
787
  if @api_client.config.debugging
@@ -784,6 +810,7 @@ module PulpcoreClient
784
810
  if !content_type.nil?
785
811
  header_params['Content-Type'] = content_type
786
812
  end
813
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
787
814
 
788
815
  # form parameters
789
816
  form_params = opts[:form_params] || {}
@@ -819,6 +846,7 @@ module PulpcoreClient
819
846
  # @param task_href [String]
820
847
  # @param patched_task_cancel [PatchedTaskCancel]
821
848
  # @param [Hash] opts the optional parameters
849
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
822
850
  # @return [TaskResponse]
823
851
  def tasks_cancel(task_href, patched_task_cancel, opts = {})
824
852
  data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
@@ -830,6 +858,7 @@ module PulpcoreClient
830
858
  # @param task_href [String]
831
859
  # @param patched_task_cancel [PatchedTaskCancel]
832
860
  # @param [Hash] opts the optional parameters
861
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
833
862
  # @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
834
863
  def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
835
864
  if @api_client.config.debugging
@@ -858,6 +887,7 @@ module PulpcoreClient
858
887
  if !content_type.nil?
859
888
  header_params['Content-Type'] = content_type
860
889
  end
890
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
861
891
 
862
892
  # form parameters
863
893
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param upload_href [String]
25
25
  # @param upload [Upload]
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(upload_href, upload, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(upload_href, upload, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param upload_href [String]
36
37
  # @param upload [Upload]
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(upload_href, upload, 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] || {}
@@ -98,6 +101,7 @@ module PulpcoreClient
98
101
  # @param upload_href [String]
99
102
  # @param upload_commit [UploadCommit]
100
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
101
105
  # @return [AsyncOperationResponse]
102
106
  def commit(upload_href, upload_commit, opts = {})
103
107
  data, _status_code, _headers = commit_with_http_info(upload_href, upload_commit, opts)
@@ -109,6 +113,7 @@ module PulpcoreClient
109
113
  # @param upload_href [String]
110
114
  # @param upload_commit [UploadCommit]
111
115
  # @param [Hash] opts the optional parameters
116
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
112
117
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
113
118
  def commit_with_http_info(upload_href, upload_commit, opts = {})
114
119
  if @api_client.config.debugging
@@ -137,6 +142,7 @@ module PulpcoreClient
137
142
  if !content_type.nil?
138
143
  header_params['Content-Type'] = content_type
139
144
  end
145
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
140
146
 
141
147
  # form parameters
142
148
  form_params = opts[:form_params] || {}
@@ -171,6 +177,7 @@ module PulpcoreClient
171
177
  # View for chunked uploads.
172
178
  # @param upload [Upload]
173
179
  # @param [Hash] opts the optional parameters
180
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
174
181
  # @return [UploadResponse]
175
182
  def create(upload, opts = {})
176
183
  data, _status_code, _headers = create_with_http_info(upload, opts)
@@ -181,6 +188,7 @@ module PulpcoreClient
181
188
  # View for chunked uploads.
182
189
  # @param upload [Upload]
183
190
  # @param [Hash] opts the optional parameters
191
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
184
192
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
185
193
  def create_with_http_info(upload, opts = {})
186
194
  if @api_client.config.debugging
@@ -205,6 +213,7 @@ module PulpcoreClient
205
213
  if !content_type.nil?
206
214
  header_params['Content-Type'] = content_type
207
215
  end
216
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
208
217
 
209
218
  # form parameters
210
219
  form_params = opts[:form_params] || {}
@@ -239,6 +248,7 @@ module PulpcoreClient
239
248
  # View for chunked uploads.
240
249
  # @param upload_href [String]
241
250
  # @param [Hash] opts the optional parameters
251
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
242
252
  # @return [nil]
243
253
  def delete(upload_href, opts = {})
244
254
  delete_with_http_info(upload_href, opts)
@@ -249,6 +259,7 @@ module PulpcoreClient
249
259
  # View for chunked uploads.
250
260
  # @param upload_href [String]
251
261
  # @param [Hash] opts the optional parameters
262
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
252
263
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
253
264
  def delete_with_http_info(upload_href, opts = {})
254
265
  if @api_client.config.debugging
@@ -266,6 +277,7 @@ module PulpcoreClient
266
277
 
267
278
  # header parameters
268
279
  header_params = opts[:header_params] || {}
280
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
269
281
 
270
282
  # form parameters
271
283
  form_params = opts[:form_params] || {}
@@ -299,6 +311,7 @@ module PulpcoreClient
299
311
  # List uploads
300
312
  # View for chunked uploads.
301
313
  # @param [Hash] opts the optional parameters
314
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
302
315
  # @option opts [Integer] :limit Number of results to return per page.
303
316
  # @option opts [Integer] :offset The initial index from which to return the results.
304
317
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -321,6 +334,7 @@ module PulpcoreClient
321
334
  # List uploads
322
335
  # View for chunked uploads.
323
336
  # @param [Hash] opts the optional parameters
337
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
324
338
  # @option opts [Integer] :limit Number of results to return per page.
325
339
  # @option opts [Integer] :offset The initial index from which to return the results.
326
340
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -366,6 +380,7 @@ module PulpcoreClient
366
380
  header_params = opts[:header_params] || {}
367
381
  # HTTP header 'Accept' (if needed)
368
382
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
383
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
369
384
 
370
385
  # form parameters
371
386
  form_params = opts[:form_params] || {}
@@ -400,6 +415,7 @@ module PulpcoreClient
400
415
  # List roles assigned to this object.
401
416
  # @param upload_href [String]
402
417
  # @param [Hash] opts the optional parameters
418
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
403
419
  # @option opts [Array<String>] :fields A list of fields to include in the response.
404
420
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
405
421
  # @return [ObjectRolesResponse]
@@ -412,6 +428,7 @@ module PulpcoreClient
412
428
  # List roles assigned to this object.
413
429
  # @param upload_href [String]
414
430
  # @param [Hash] opts the optional parameters
431
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
415
432
  # @option opts [Array<String>] :fields A list of fields to include in the response.
416
433
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
417
434
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -435,6 +452,7 @@ module PulpcoreClient
435
452
  header_params = opts[:header_params] || {}
436
453
  # HTTP header 'Accept' (if needed)
437
454
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
455
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
438
456
 
439
457
  # form parameters
440
458
  form_params = opts[:form_params] || {}
@@ -469,6 +487,7 @@ module PulpcoreClient
469
487
  # List permissions available to the current user on this object.
470
488
  # @param upload_href [String]
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
  # @option opts [Array<String>] :fields A list of fields to include in the response.
473
492
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
474
493
  # @return [MyPermissionsResponse]
@@ -481,6 +500,7 @@ module PulpcoreClient
481
500
  # List permissions available to the current user on this object.
482
501
  # @param upload_href [String]
483
502
  # @param [Hash] opts the optional parameters
503
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
484
504
  # @option opts [Array<String>] :fields A list of fields to include in the response.
485
505
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
486
506
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -504,6 +524,7 @@ module PulpcoreClient
504
524
  header_params = opts[:header_params] || {}
505
525
  # HTTP header 'Accept' (if needed)
506
526
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
527
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
507
528
 
508
529
  # form parameters
509
530
  form_params = opts[:form_params] || {}
@@ -538,6 +559,7 @@ module PulpcoreClient
538
559
  # View for chunked uploads.
539
560
  # @param upload_href [String]
540
561
  # @param [Hash] opts the optional parameters
562
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
541
563
  # @option opts [Array<String>] :fields A list of fields to include in the response.
542
564
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
543
565
  # @return [UploadDetailResponse]
@@ -550,6 +572,7 @@ module PulpcoreClient
550
572
  # View for chunked uploads.
551
573
  # @param upload_href [String]
552
574
  # @param [Hash] opts the optional parameters
575
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
553
576
  # @option opts [Array<String>] :fields A list of fields to include in the response.
554
577
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
555
578
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
@@ -573,6 +596,7 @@ module PulpcoreClient
573
596
  header_params = opts[:header_params] || {}
574
597
  # HTTP header 'Accept' (if needed)
575
598
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
599
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
576
600
 
577
601
  # form parameters
578
602
  form_params = opts[:form_params] || {}
@@ -608,6 +632,7 @@ module PulpcoreClient
608
632
  # @param upload_href [String]
609
633
  # @param upload [Upload]
610
634
  # @param [Hash] opts the optional parameters
635
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
611
636
  # @return [NestedRoleResponse]
612
637
  def remove_role(upload_href, upload, opts = {})
613
638
  data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
@@ -619,6 +644,7 @@ module PulpcoreClient
619
644
  # @param upload_href [String]
620
645
  # @param upload [Upload]
621
646
  # @param [Hash] opts the optional parameters
647
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
622
648
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
623
649
  def remove_role_with_http_info(upload_href, upload, opts = {})
624
650
  if @api_client.config.debugging
@@ -647,6 +673,7 @@ module PulpcoreClient
647
673
  if !content_type.nil?
648
674
  header_params['Content-Type'] = content_type
649
675
  end
676
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
650
677
 
651
678
  # form parameters
652
679
  form_params = opts[:form_params] || {}
@@ -683,6 +710,7 @@ module PulpcoreClient
683
710
  # @param upload_href [String]
684
711
  # @param file [File] A chunk of the uploaded file.
685
712
  # @param [Hash] opts the optional parameters
713
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
686
714
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
687
715
  # @return [UploadResponse]
688
716
  def update(content_range, upload_href, file, opts = {})
@@ -696,6 +724,7 @@ module PulpcoreClient
696
724
  # @param upload_href [String]
697
725
  # @param file [File] A chunk of the uploaded file.
698
726
  # @param [Hash] opts the optional parameters
727
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
699
728
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
700
729
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
701
730
  def update_with_http_info(content_range, upload_href, file, opts = {})
@@ -734,6 +763,7 @@ module PulpcoreClient
734
763
  header_params['Content-Type'] = content_type
735
764
  end
736
765
  header_params[:'Content-Range'] = content_range
766
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
737
767
 
738
768
  # form parameters
739
769
  form_params = opts[:form_params] || {}