pulpcore-client 3.81.0__py3-none-any.whl → 3.82.0__py3-none-any.whl

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.

Potentially problematic release.


This version of pulpcore-client might be problematic. Click here for more details.

Files changed (64) hide show
  1. pulpcore/client/pulpcore/__init__.py +1 -1
  2. pulpcore/client/pulpcore/api/access_policies_api.py +80 -0
  3. pulpcore/client/pulpcore/api/artifacts_api.py +64 -0
  4. pulpcore/client/pulpcore/api/content_api.py +16 -0
  5. pulpcore/client/pulpcore/api/content_openpgp_publickey_api.py +80 -0
  6. pulpcore/client/pulpcore/api/content_openpgp_publicsubkey_api.py +64 -0
  7. pulpcore/client/pulpcore/api/content_openpgp_signature_api.py +64 -0
  8. pulpcore/client/pulpcore/api/content_openpgp_userattribute_api.py +64 -0
  9. pulpcore/client/pulpcore/api/content_openpgp_userid_api.py +64 -0
  10. pulpcore/client/pulpcore/api/contentguards_api.py +16 -0
  11. pulpcore/client/pulpcore/api/contentguards_composite_api.py +160 -0
  12. pulpcore/client/pulpcore/api/contentguards_content_redirect_api.py +160 -0
  13. pulpcore/client/pulpcore/api/contentguards_header_api.py +160 -0
  14. pulpcore/client/pulpcore/api/contentguards_rbac_api.py +160 -0
  15. pulpcore/client/pulpcore/api/distributions_api.py +16 -0
  16. pulpcore/client/pulpcore/api/distributions_artifacts_api.py +32 -0
  17. pulpcore/client/pulpcore/api/distributions_openpgp_api.py +128 -0
  18. pulpcore/client/pulpcore/api/domains_api.py +144 -0
  19. pulpcore/client/pulpcore/api/exporters_filesystem_api.py +96 -0
  20. pulpcore/client/pulpcore/api/exporters_filesystem_exports_api.py +64 -0
  21. pulpcore/client/pulpcore/api/exporters_pulp_api.py +96 -0
  22. pulpcore/client/pulpcore/api/exporters_pulp_exports_api.py +64 -0
  23. pulpcore/client/pulpcore/api/groups_api.py +160 -0
  24. pulpcore/client/pulpcore/api/groups_roles_api.py +64 -0
  25. pulpcore/client/pulpcore/api/groups_users_api.py +48 -0
  26. pulpcore/client/pulpcore/api/importers_pulp_api.py +96 -0
  27. pulpcore/client/pulpcore/api/importers_pulp_import_check_api.py +19 -0
  28. pulpcore/client/pulpcore/api/importers_pulp_imports_api.py +64 -0
  29. pulpcore/client/pulpcore/api/livez_api.py +55 -0
  30. pulpcore/client/pulpcore/api/login_api.py +87 -0
  31. pulpcore/client/pulpcore/api/orphans_api.py +19 -0
  32. pulpcore/client/pulpcore/api/orphans_cleanup_api.py +19 -0
  33. pulpcore/client/pulpcore/api/publications_api.py +16 -0
  34. pulpcore/client/pulpcore/api/remotes_api.py +16 -0
  35. pulpcore/client/pulpcore/api/repair_api.py +19 -0
  36. pulpcore/client/pulpcore/api/repositories_api.py +16 -0
  37. pulpcore/client/pulpcore/api/repositories_openpgp_keyring_api.py +208 -0
  38. pulpcore/client/pulpcore/api/repositories_reclaim_space_api.py +19 -0
  39. pulpcore/client/pulpcore/api/repository_versions_api.py +16 -0
  40. pulpcore/client/pulpcore/api/roles_api.py +96 -0
  41. pulpcore/client/pulpcore/api/signing_services_api.py +32 -0
  42. pulpcore/client/pulpcore/api/status_api.py +55 -0
  43. pulpcore/client/pulpcore/api/task_groups_api.py +48 -0
  44. pulpcore/client/pulpcore/api/task_schedules_api.py +96 -0
  45. pulpcore/client/pulpcore/api/tasks_api.py +166 -6
  46. pulpcore/client/pulpcore/api/uploads_api.py +160 -0
  47. pulpcore/client/pulpcore/api/upstream_pulps_api.py +176 -0
  48. pulpcore/client/pulpcore/api/users_api.py +96 -0
  49. pulpcore/client/pulpcore/api/users_roles_api.py +64 -0
  50. pulpcore/client/pulpcore/api/workers_api.py +32 -0
  51. pulpcore/client/pulpcore/api_client.py +1 -1
  52. pulpcore/client/pulpcore/configuration.py +1 -1
  53. pulpcore/client/pulpcore/models/artifact_distribution_response.py +16 -16
  54. pulpcore/client/pulpcore/models/composite_content_guard.py +1 -1
  55. pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -1
  56. pulpcore/client/pulpcore/models/content_guard_response.py +1 -1
  57. pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -1
  58. pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -1
  59. pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -1
  60. pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -1
  61. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
@@ -55,6 +55,7 @@ class TasksApi:
55
55
  self,
56
56
  task_href: StrictStr,
57
57
  nested_role: NestedRole,
58
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
58
59
  _request_timeout: Union[
59
60
  None,
60
61
  Annotated[StrictFloat, Field(gt=0)],
@@ -76,6 +77,8 @@ class TasksApi:
76
77
  :type task_href: str
77
78
  :param nested_role: (required)
78
79
  :type nested_role: NestedRole
80
+ :param x_task_diagnostics: List of profilers to use on tasks.
81
+ :type x_task_diagnostics: List[str]
79
82
  :param _request_timeout: timeout setting for this request. If one
80
83
  number provided, it will be total request
81
84
  timeout. It can also be a pair (tuple) of
@@ -101,6 +104,7 @@ class TasksApi:
101
104
  _param = self._add_role_serialize(
102
105
  task_href=task_href,
103
106
  nested_role=nested_role,
107
+ x_task_diagnostics=x_task_diagnostics,
104
108
  _request_auth=_request_auth,
105
109
  _content_type=_content_type,
106
110
  _headers=_headers,
@@ -126,6 +130,7 @@ class TasksApi:
126
130
  self,
127
131
  task_href: StrictStr,
128
132
  nested_role: NestedRole,
133
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
129
134
  _request_timeout: Union[
130
135
  None,
131
136
  Annotated[StrictFloat, Field(gt=0)],
@@ -147,6 +152,8 @@ class TasksApi:
147
152
  :type task_href: str
148
153
  :param nested_role: (required)
149
154
  :type nested_role: NestedRole
155
+ :param x_task_diagnostics: List of profilers to use on tasks.
156
+ :type x_task_diagnostics: List[str]
150
157
  :param _request_timeout: timeout setting for this request. If one
151
158
  number provided, it will be total request
152
159
  timeout. It can also be a pair (tuple) of
@@ -172,6 +179,7 @@ class TasksApi:
172
179
  _param = self._add_role_serialize(
173
180
  task_href=task_href,
174
181
  nested_role=nested_role,
182
+ x_task_diagnostics=x_task_diagnostics,
175
183
  _request_auth=_request_auth,
176
184
  _content_type=_content_type,
177
185
  _headers=_headers,
@@ -197,6 +205,7 @@ class TasksApi:
197
205
  self,
198
206
  task_href: StrictStr,
199
207
  nested_role: NestedRole,
208
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
200
209
  _request_timeout: Union[
201
210
  None,
202
211
  Annotated[StrictFloat, Field(gt=0)],
@@ -218,6 +227,8 @@ class TasksApi:
218
227
  :type task_href: str
219
228
  :param nested_role: (required)
220
229
  :type nested_role: NestedRole
230
+ :param x_task_diagnostics: List of profilers to use on tasks.
231
+ :type x_task_diagnostics: List[str]
221
232
  :param _request_timeout: timeout setting for this request. If one
222
233
  number provided, it will be total request
223
234
  timeout. It can also be a pair (tuple) of
@@ -243,6 +254,7 @@ class TasksApi:
243
254
  _param = self._add_role_serialize(
244
255
  task_href=task_href,
245
256
  nested_role=nested_role,
257
+ x_task_diagnostics=x_task_diagnostics,
246
258
  _request_auth=_request_auth,
247
259
  _content_type=_content_type,
248
260
  _headers=_headers,
@@ -263,6 +275,7 @@ class TasksApi:
263
275
  self,
264
276
  task_href,
265
277
  nested_role,
278
+ x_task_diagnostics,
266
279
  _request_auth,
267
280
  _content_type,
268
281
  _headers,
@@ -272,6 +285,7 @@ class TasksApi:
272
285
  _host = None
273
286
 
274
287
  _collection_formats: Dict[str, str] = {
288
+ 'X-Task-Diagnostics': 'csv',
275
289
  }
276
290
 
277
291
  _path_params: Dict[str, str] = {}
@@ -288,6 +302,8 @@ class TasksApi:
288
302
  _path_params['task_href'] = task_href
289
303
  # process the query parameters
290
304
  # process the header parameters
305
+ if x_task_diagnostics is not None:
306
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
291
307
  # process the form parameters
292
308
  # process the body parameter
293
309
  if nested_role is not None:
@@ -346,6 +362,7 @@ class TasksApi:
346
362
  def delete(
347
363
  self,
348
364
  task_href: StrictStr,
365
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
349
366
  _request_timeout: Union[
350
367
  None,
351
368
  Annotated[StrictFloat, Field(gt=0)],
@@ -365,6 +382,8 @@ class TasksApi:
365
382
 
366
383
  :param task_href: (required)
367
384
  :type task_href: str
385
+ :param x_task_diagnostics: List of profilers to use on tasks.
386
+ :type x_task_diagnostics: List[str]
368
387
  :param _request_timeout: timeout setting for this request. If one
369
388
  number provided, it will be total request
370
389
  timeout. It can also be a pair (tuple) of
@@ -389,6 +408,7 @@ class TasksApi:
389
408
 
390
409
  _param = self._delete_serialize(
391
410
  task_href=task_href,
411
+ x_task_diagnostics=x_task_diagnostics,
392
412
  _request_auth=_request_auth,
393
413
  _content_type=_content_type,
394
414
  _headers=_headers,
@@ -413,6 +433,7 @@ class TasksApi:
413
433
  def delete_with_http_info(
414
434
  self,
415
435
  task_href: StrictStr,
436
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
416
437
  _request_timeout: Union[
417
438
  None,
418
439
  Annotated[StrictFloat, Field(gt=0)],
@@ -432,6 +453,8 @@ class TasksApi:
432
453
 
433
454
  :param task_href: (required)
434
455
  :type task_href: str
456
+ :param x_task_diagnostics: List of profilers to use on tasks.
457
+ :type x_task_diagnostics: List[str]
435
458
  :param _request_timeout: timeout setting for this request. If one
436
459
  number provided, it will be total request
437
460
  timeout. It can also be a pair (tuple) of
@@ -456,6 +479,7 @@ class TasksApi:
456
479
 
457
480
  _param = self._delete_serialize(
458
481
  task_href=task_href,
482
+ x_task_diagnostics=x_task_diagnostics,
459
483
  _request_auth=_request_auth,
460
484
  _content_type=_content_type,
461
485
  _headers=_headers,
@@ -480,6 +504,7 @@ class TasksApi:
480
504
  def delete_without_preload_content(
481
505
  self,
482
506
  task_href: StrictStr,
507
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
483
508
  _request_timeout: Union[
484
509
  None,
485
510
  Annotated[StrictFloat, Field(gt=0)],
@@ -499,6 +524,8 @@ class TasksApi:
499
524
 
500
525
  :param task_href: (required)
501
526
  :type task_href: str
527
+ :param x_task_diagnostics: List of profilers to use on tasks.
528
+ :type x_task_diagnostics: List[str]
502
529
  :param _request_timeout: timeout setting for this request. If one
503
530
  number provided, it will be total request
504
531
  timeout. It can also be a pair (tuple) of
@@ -523,6 +550,7 @@ class TasksApi:
523
550
 
524
551
  _param = self._delete_serialize(
525
552
  task_href=task_href,
553
+ x_task_diagnostics=x_task_diagnostics,
526
554
  _request_auth=_request_auth,
527
555
  _content_type=_content_type,
528
556
  _headers=_headers,
@@ -542,6 +570,7 @@ class TasksApi:
542
570
  def _delete_serialize(
543
571
  self,
544
572
  task_href,
573
+ x_task_diagnostics,
545
574
  _request_auth,
546
575
  _content_type,
547
576
  _headers,
@@ -551,6 +580,7 @@ class TasksApi:
551
580
  _host = None
552
581
 
553
582
  _collection_formats: Dict[str, str] = {
583
+ 'X-Task-Diagnostics': 'csv',
554
584
  }
555
585
 
556
586
  _path_params: Dict[str, str] = {}
@@ -567,6 +597,8 @@ class TasksApi:
567
597
  _path_params['task_href'] = task_href
568
598
  # process the query parameters
569
599
  # process the header parameters
600
+ if x_task_diagnostics is not None:
601
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
570
602
  # process the form parameters
571
603
  # process the body parameter
572
604
 
@@ -600,6 +632,7 @@ class TasksApi:
600
632
  @validate_call
601
633
  def list(
602
634
  self,
635
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
603
636
  child_tasks: Annotated[Optional[StrictStr], Field(description="Filter results where child_tasks matches value")] = None,
604
637
  created_resources: Optional[StrictStr] = None,
605
638
  exclusive_resources: Optional[StrictStr] = None,
@@ -619,7 +652,7 @@ class TasksApi:
619
652
  name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
620
653
  name__ne: Annotated[Optional[StrictStr], Field(description="Filter results where name not equal to value")] = None,
621
654
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
622
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
655
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
623
656
  parent_task: Annotated[Optional[StrictStr], Field(description="Filter results where parent_task matches value")] = None,
624
657
  prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
625
658
  pulp_created: Annotated[Optional[datetime], Field(description="Filter results where pulp_created matches value")] = None,
@@ -676,6 +709,8 @@ class TasksApi:
676
709
 
677
710
  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.
678
711
 
712
+ :param x_task_diagnostics: List of profilers to use on tasks.
713
+ :type x_task_diagnostics: List[str]
679
714
  :param child_tasks: Filter results where child_tasks matches value
680
715
  :type child_tasks: str
681
716
  :param created_resources:
@@ -714,7 +749,7 @@ class TasksApi:
714
749
  :type name__ne: str
715
750
  :param offset: The initial index from which to return the results.
716
751
  :type offset: int
717
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
752
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
718
753
  :type ordering: List[str]
719
754
  :param parent_task: Filter results where parent_task matches value
720
755
  :type parent_task: str
@@ -817,6 +852,7 @@ class TasksApi:
817
852
  """ # noqa: E501
818
853
 
819
854
  _param = self._list_serialize(
855
+ x_task_diagnostics=x_task_diagnostics,
820
856
  child_tasks=child_tasks,
821
857
  created_resources=created_resources,
822
858
  exclusive_resources=exclusive_resources,
@@ -899,6 +935,7 @@ class TasksApi:
899
935
  @validate_call
900
936
  def list_with_http_info(
901
937
  self,
938
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
902
939
  child_tasks: Annotated[Optional[StrictStr], Field(description="Filter results where child_tasks matches value")] = None,
903
940
  created_resources: Optional[StrictStr] = None,
904
941
  exclusive_resources: Optional[StrictStr] = None,
@@ -918,7 +955,7 @@ class TasksApi:
918
955
  name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
919
956
  name__ne: Annotated[Optional[StrictStr], Field(description="Filter results where name not equal to value")] = None,
920
957
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
921
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
958
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
922
959
  parent_task: Annotated[Optional[StrictStr], Field(description="Filter results where parent_task matches value")] = None,
923
960
  prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
924
961
  pulp_created: Annotated[Optional[datetime], Field(description="Filter results where pulp_created matches value")] = None,
@@ -975,6 +1012,8 @@ class TasksApi:
975
1012
 
976
1013
  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.
977
1014
 
1015
+ :param x_task_diagnostics: List of profilers to use on tasks.
1016
+ :type x_task_diagnostics: List[str]
978
1017
  :param child_tasks: Filter results where child_tasks matches value
979
1018
  :type child_tasks: str
980
1019
  :param created_resources:
@@ -1013,7 +1052,7 @@ class TasksApi:
1013
1052
  :type name__ne: str
1014
1053
  :param offset: The initial index from which to return the results.
1015
1054
  :type offset: int
1016
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
1055
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
1017
1056
  :type ordering: List[str]
1018
1057
  :param parent_task: Filter results where parent_task matches value
1019
1058
  :type parent_task: str
@@ -1116,6 +1155,7 @@ class TasksApi:
1116
1155
  """ # noqa: E501
1117
1156
 
1118
1157
  _param = self._list_serialize(
1158
+ x_task_diagnostics=x_task_diagnostics,
1119
1159
  child_tasks=child_tasks,
1120
1160
  created_resources=created_resources,
1121
1161
  exclusive_resources=exclusive_resources,
@@ -1198,6 +1238,7 @@ class TasksApi:
1198
1238
  @validate_call
1199
1239
  def list_without_preload_content(
1200
1240
  self,
1241
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1201
1242
  child_tasks: Annotated[Optional[StrictStr], Field(description="Filter results where child_tasks matches value")] = None,
1202
1243
  created_resources: Optional[StrictStr] = None,
1203
1244
  exclusive_resources: Optional[StrictStr] = None,
@@ -1217,7 +1258,7 @@ class TasksApi:
1217
1258
  name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
1218
1259
  name__ne: Annotated[Optional[StrictStr], Field(description="Filter results where name not equal to value")] = None,
1219
1260
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
1220
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
1261
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
1221
1262
  parent_task: Annotated[Optional[StrictStr], Field(description="Filter results where parent_task matches value")] = None,
1222
1263
  prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1223
1264
  pulp_created: Annotated[Optional[datetime], Field(description="Filter results where pulp_created matches value")] = None,
@@ -1274,6 +1315,8 @@ class TasksApi:
1274
1315
 
1275
1316
  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.
1276
1317
 
1318
+ :param x_task_diagnostics: List of profilers to use on tasks.
1319
+ :type x_task_diagnostics: List[str]
1277
1320
  :param child_tasks: Filter results where child_tasks matches value
1278
1321
  :type child_tasks: str
1279
1322
  :param created_resources:
@@ -1312,7 +1355,7 @@ class TasksApi:
1312
1355
  :type name__ne: str
1313
1356
  :param offset: The initial index from which to return the results.
1314
1357
  :type offset: int
1315
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
1358
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
1316
1359
  :type ordering: List[str]
1317
1360
  :param parent_task: Filter results where parent_task matches value
1318
1361
  :type parent_task: str
@@ -1415,6 +1458,7 @@ class TasksApi:
1415
1458
  """ # noqa: E501
1416
1459
 
1417
1460
  _param = self._list_serialize(
1461
+ x_task_diagnostics=x_task_diagnostics,
1418
1462
  child_tasks=child_tasks,
1419
1463
  created_resources=created_resources,
1420
1464
  exclusive_resources=exclusive_resources,
@@ -1492,6 +1536,7 @@ class TasksApi:
1492
1536
 
1493
1537
  def _list_serialize(
1494
1538
  self,
1539
+ x_task_diagnostics,
1495
1540
  child_tasks,
1496
1541
  created_resources,
1497
1542
  exclusive_resources,
@@ -1560,6 +1605,7 @@ class TasksApi:
1560
1605
  _host = None
1561
1606
 
1562
1607
  _collection_formats: Dict[str, str] = {
1608
+ 'X-Task-Diagnostics': 'csv',
1563
1609
  'exclusive_resources__in': 'csv',
1564
1610
  'finished_at__range': 'csv',
1565
1611
  'name__in': 'csv',
@@ -2006,6 +2052,8 @@ class TasksApi:
2006
2052
  _query_params.append(('exclude_fields', exclude_fields))
2007
2053
 
2008
2054
  # process the header parameters
2055
+ if x_task_diagnostics is not None:
2056
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2009
2057
  # process the form parameters
2010
2058
  # process the body parameter
2011
2059
 
@@ -2047,6 +2095,7 @@ class TasksApi:
2047
2095
  def list_roles(
2048
2096
  self,
2049
2097
  task_href: StrictStr,
2098
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2050
2099
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2051
2100
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2052
2101
  _request_timeout: Union[
@@ -2068,6 +2117,8 @@ class TasksApi:
2068
2117
 
2069
2118
  :param task_href: (required)
2070
2119
  :type task_href: str
2120
+ :param x_task_diagnostics: List of profilers to use on tasks.
2121
+ :type x_task_diagnostics: List[str]
2071
2122
  :param fields: A list of fields to include in the response.
2072
2123
  :type fields: List[str]
2073
2124
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2096,6 +2147,7 @@ class TasksApi:
2096
2147
 
2097
2148
  _param = self._list_roles_serialize(
2098
2149
  task_href=task_href,
2150
+ x_task_diagnostics=x_task_diagnostics,
2099
2151
  fields=fields,
2100
2152
  exclude_fields=exclude_fields,
2101
2153
  _request_auth=_request_auth,
@@ -2122,6 +2174,7 @@ class TasksApi:
2122
2174
  def list_roles_with_http_info(
2123
2175
  self,
2124
2176
  task_href: StrictStr,
2177
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2125
2178
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2126
2179
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2127
2180
  _request_timeout: Union[
@@ -2143,6 +2196,8 @@ class TasksApi:
2143
2196
 
2144
2197
  :param task_href: (required)
2145
2198
  :type task_href: str
2199
+ :param x_task_diagnostics: List of profilers to use on tasks.
2200
+ :type x_task_diagnostics: List[str]
2146
2201
  :param fields: A list of fields to include in the response.
2147
2202
  :type fields: List[str]
2148
2203
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2171,6 +2226,7 @@ class TasksApi:
2171
2226
 
2172
2227
  _param = self._list_roles_serialize(
2173
2228
  task_href=task_href,
2229
+ x_task_diagnostics=x_task_diagnostics,
2174
2230
  fields=fields,
2175
2231
  exclude_fields=exclude_fields,
2176
2232
  _request_auth=_request_auth,
@@ -2197,6 +2253,7 @@ class TasksApi:
2197
2253
  def list_roles_without_preload_content(
2198
2254
  self,
2199
2255
  task_href: StrictStr,
2256
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2200
2257
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2201
2258
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2202
2259
  _request_timeout: Union[
@@ -2218,6 +2275,8 @@ class TasksApi:
2218
2275
 
2219
2276
  :param task_href: (required)
2220
2277
  :type task_href: str
2278
+ :param x_task_diagnostics: List of profilers to use on tasks.
2279
+ :type x_task_diagnostics: List[str]
2221
2280
  :param fields: A list of fields to include in the response.
2222
2281
  :type fields: List[str]
2223
2282
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2246,6 +2305,7 @@ class TasksApi:
2246
2305
 
2247
2306
  _param = self._list_roles_serialize(
2248
2307
  task_href=task_href,
2308
+ x_task_diagnostics=x_task_diagnostics,
2249
2309
  fields=fields,
2250
2310
  exclude_fields=exclude_fields,
2251
2311
  _request_auth=_request_auth,
@@ -2267,6 +2327,7 @@ class TasksApi:
2267
2327
  def _list_roles_serialize(
2268
2328
  self,
2269
2329
  task_href,
2330
+ x_task_diagnostics,
2270
2331
  fields,
2271
2332
  exclude_fields,
2272
2333
  _request_auth,
@@ -2278,6 +2339,7 @@ class TasksApi:
2278
2339
  _host = None
2279
2340
 
2280
2341
  _collection_formats: Dict[str, str] = {
2342
+ 'X-Task-Diagnostics': 'csv',
2281
2343
  'fields': 'multi',
2282
2344
  'exclude_fields': 'multi',
2283
2345
  }
@@ -2304,6 +2366,8 @@ class TasksApi:
2304
2366
  _query_params.append(('exclude_fields', exclude_fields))
2305
2367
 
2306
2368
  # process the header parameters
2369
+ if x_task_diagnostics is not None:
2370
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2307
2371
  # process the form parameters
2308
2372
  # process the body parameter
2309
2373
 
@@ -2345,6 +2409,7 @@ class TasksApi:
2345
2409
  def my_permissions(
2346
2410
  self,
2347
2411
  task_href: StrictStr,
2412
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2348
2413
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2349
2414
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2350
2415
  _request_timeout: Union[
@@ -2366,6 +2431,8 @@ class TasksApi:
2366
2431
 
2367
2432
  :param task_href: (required)
2368
2433
  :type task_href: str
2434
+ :param x_task_diagnostics: List of profilers to use on tasks.
2435
+ :type x_task_diagnostics: List[str]
2369
2436
  :param fields: A list of fields to include in the response.
2370
2437
  :type fields: List[str]
2371
2438
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2394,6 +2461,7 @@ class TasksApi:
2394
2461
 
2395
2462
  _param = self._my_permissions_serialize(
2396
2463
  task_href=task_href,
2464
+ x_task_diagnostics=x_task_diagnostics,
2397
2465
  fields=fields,
2398
2466
  exclude_fields=exclude_fields,
2399
2467
  _request_auth=_request_auth,
@@ -2420,6 +2488,7 @@ class TasksApi:
2420
2488
  def my_permissions_with_http_info(
2421
2489
  self,
2422
2490
  task_href: StrictStr,
2491
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2423
2492
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2424
2493
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2425
2494
  _request_timeout: Union[
@@ -2441,6 +2510,8 @@ class TasksApi:
2441
2510
 
2442
2511
  :param task_href: (required)
2443
2512
  :type task_href: str
2513
+ :param x_task_diagnostics: List of profilers to use on tasks.
2514
+ :type x_task_diagnostics: List[str]
2444
2515
  :param fields: A list of fields to include in the response.
2445
2516
  :type fields: List[str]
2446
2517
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2469,6 +2540,7 @@ class TasksApi:
2469
2540
 
2470
2541
  _param = self._my_permissions_serialize(
2471
2542
  task_href=task_href,
2543
+ x_task_diagnostics=x_task_diagnostics,
2472
2544
  fields=fields,
2473
2545
  exclude_fields=exclude_fields,
2474
2546
  _request_auth=_request_auth,
@@ -2495,6 +2567,7 @@ class TasksApi:
2495
2567
  def my_permissions_without_preload_content(
2496
2568
  self,
2497
2569
  task_href: StrictStr,
2570
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2498
2571
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2499
2572
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2500
2573
  _request_timeout: Union[
@@ -2516,6 +2589,8 @@ class TasksApi:
2516
2589
 
2517
2590
  :param task_href: (required)
2518
2591
  :type task_href: str
2592
+ :param x_task_diagnostics: List of profilers to use on tasks.
2593
+ :type x_task_diagnostics: List[str]
2519
2594
  :param fields: A list of fields to include in the response.
2520
2595
  :type fields: List[str]
2521
2596
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2544,6 +2619,7 @@ class TasksApi:
2544
2619
 
2545
2620
  _param = self._my_permissions_serialize(
2546
2621
  task_href=task_href,
2622
+ x_task_diagnostics=x_task_diagnostics,
2547
2623
  fields=fields,
2548
2624
  exclude_fields=exclude_fields,
2549
2625
  _request_auth=_request_auth,
@@ -2565,6 +2641,7 @@ class TasksApi:
2565
2641
  def _my_permissions_serialize(
2566
2642
  self,
2567
2643
  task_href,
2644
+ x_task_diagnostics,
2568
2645
  fields,
2569
2646
  exclude_fields,
2570
2647
  _request_auth,
@@ -2576,6 +2653,7 @@ class TasksApi:
2576
2653
  _host = None
2577
2654
 
2578
2655
  _collection_formats: Dict[str, str] = {
2656
+ 'X-Task-Diagnostics': 'csv',
2579
2657
  'fields': 'multi',
2580
2658
  'exclude_fields': 'multi',
2581
2659
  }
@@ -2602,6 +2680,8 @@ class TasksApi:
2602
2680
  _query_params.append(('exclude_fields', exclude_fields))
2603
2681
 
2604
2682
  # process the header parameters
2683
+ if x_task_diagnostics is not None:
2684
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2605
2685
  # process the form parameters
2606
2686
  # process the body parameter
2607
2687
 
@@ -2643,6 +2723,7 @@ class TasksApi:
2643
2723
  def profile_artifacts(
2644
2724
  self,
2645
2725
  task_href: StrictStr,
2726
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2646
2727
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2647
2728
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2648
2729
  _request_timeout: Union[
@@ -2664,6 +2745,8 @@ class TasksApi:
2664
2745
 
2665
2746
  :param task_href: (required)
2666
2747
  :type task_href: str
2748
+ :param x_task_diagnostics: List of profilers to use on tasks.
2749
+ :type x_task_diagnostics: List[str]
2667
2750
  :param fields: A list of fields to include in the response.
2668
2751
  :type fields: List[str]
2669
2752
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2692,6 +2775,7 @@ class TasksApi:
2692
2775
 
2693
2776
  _param = self._profile_artifacts_serialize(
2694
2777
  task_href=task_href,
2778
+ x_task_diagnostics=x_task_diagnostics,
2695
2779
  fields=fields,
2696
2780
  exclude_fields=exclude_fields,
2697
2781
  _request_auth=_request_auth,
@@ -2718,6 +2802,7 @@ class TasksApi:
2718
2802
  def profile_artifacts_with_http_info(
2719
2803
  self,
2720
2804
  task_href: StrictStr,
2805
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2721
2806
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2722
2807
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2723
2808
  _request_timeout: Union[
@@ -2739,6 +2824,8 @@ class TasksApi:
2739
2824
 
2740
2825
  :param task_href: (required)
2741
2826
  :type task_href: str
2827
+ :param x_task_diagnostics: List of profilers to use on tasks.
2828
+ :type x_task_diagnostics: List[str]
2742
2829
  :param fields: A list of fields to include in the response.
2743
2830
  :type fields: List[str]
2744
2831
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2767,6 +2854,7 @@ class TasksApi:
2767
2854
 
2768
2855
  _param = self._profile_artifacts_serialize(
2769
2856
  task_href=task_href,
2857
+ x_task_diagnostics=x_task_diagnostics,
2770
2858
  fields=fields,
2771
2859
  exclude_fields=exclude_fields,
2772
2860
  _request_auth=_request_auth,
@@ -2793,6 +2881,7 @@ class TasksApi:
2793
2881
  def profile_artifacts_without_preload_content(
2794
2882
  self,
2795
2883
  task_href: StrictStr,
2884
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2796
2885
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2797
2886
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2798
2887
  _request_timeout: Union[
@@ -2814,6 +2903,8 @@ class TasksApi:
2814
2903
 
2815
2904
  :param task_href: (required)
2816
2905
  :type task_href: str
2906
+ :param x_task_diagnostics: List of profilers to use on tasks.
2907
+ :type x_task_diagnostics: List[str]
2817
2908
  :param fields: A list of fields to include in the response.
2818
2909
  :type fields: List[str]
2819
2910
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2842,6 +2933,7 @@ class TasksApi:
2842
2933
 
2843
2934
  _param = self._profile_artifacts_serialize(
2844
2935
  task_href=task_href,
2936
+ x_task_diagnostics=x_task_diagnostics,
2845
2937
  fields=fields,
2846
2938
  exclude_fields=exclude_fields,
2847
2939
  _request_auth=_request_auth,
@@ -2863,6 +2955,7 @@ class TasksApi:
2863
2955
  def _profile_artifacts_serialize(
2864
2956
  self,
2865
2957
  task_href,
2958
+ x_task_diagnostics,
2866
2959
  fields,
2867
2960
  exclude_fields,
2868
2961
  _request_auth,
@@ -2874,6 +2967,7 @@ class TasksApi:
2874
2967
  _host = None
2875
2968
 
2876
2969
  _collection_formats: Dict[str, str] = {
2970
+ 'X-Task-Diagnostics': 'csv',
2877
2971
  'fields': 'multi',
2878
2972
  'exclude_fields': 'multi',
2879
2973
  }
@@ -2900,6 +2994,8 @@ class TasksApi:
2900
2994
  _query_params.append(('exclude_fields', exclude_fields))
2901
2995
 
2902
2996
  # process the header parameters
2997
+ if x_task_diagnostics is not None:
2998
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2903
2999
  # process the form parameters
2904
3000
  # process the body parameter
2905
3001
 
@@ -2941,6 +3037,7 @@ class TasksApi:
2941
3037
  def purge(
2942
3038
  self,
2943
3039
  purge: Purge,
3040
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2944
3041
  _request_timeout: Union[
2945
3042
  None,
2946
3043
  Annotated[StrictFloat, Field(gt=0)],
@@ -2960,6 +3057,8 @@ class TasksApi:
2960
3057
 
2961
3058
  :param purge: (required)
2962
3059
  :type purge: Purge
3060
+ :param x_task_diagnostics: List of profilers to use on tasks.
3061
+ :type x_task_diagnostics: List[str]
2963
3062
  :param _request_timeout: timeout setting for this request. If one
2964
3063
  number provided, it will be total request
2965
3064
  timeout. It can also be a pair (tuple) of
@@ -2984,6 +3083,7 @@ class TasksApi:
2984
3083
 
2985
3084
  _param = self._purge_serialize(
2986
3085
  purge=purge,
3086
+ x_task_diagnostics=x_task_diagnostics,
2987
3087
  _request_auth=_request_auth,
2988
3088
  _content_type=_content_type,
2989
3089
  _headers=_headers,
@@ -3008,6 +3108,7 @@ class TasksApi:
3008
3108
  def purge_with_http_info(
3009
3109
  self,
3010
3110
  purge: Purge,
3111
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3011
3112
  _request_timeout: Union[
3012
3113
  None,
3013
3114
  Annotated[StrictFloat, Field(gt=0)],
@@ -3027,6 +3128,8 @@ class TasksApi:
3027
3128
 
3028
3129
  :param purge: (required)
3029
3130
  :type purge: Purge
3131
+ :param x_task_diagnostics: List of profilers to use on tasks.
3132
+ :type x_task_diagnostics: List[str]
3030
3133
  :param _request_timeout: timeout setting for this request. If one
3031
3134
  number provided, it will be total request
3032
3135
  timeout. It can also be a pair (tuple) of
@@ -3051,6 +3154,7 @@ class TasksApi:
3051
3154
 
3052
3155
  _param = self._purge_serialize(
3053
3156
  purge=purge,
3157
+ x_task_diagnostics=x_task_diagnostics,
3054
3158
  _request_auth=_request_auth,
3055
3159
  _content_type=_content_type,
3056
3160
  _headers=_headers,
@@ -3075,6 +3179,7 @@ class TasksApi:
3075
3179
  def purge_without_preload_content(
3076
3180
  self,
3077
3181
  purge: Purge,
3182
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3078
3183
  _request_timeout: Union[
3079
3184
  None,
3080
3185
  Annotated[StrictFloat, Field(gt=0)],
@@ -3094,6 +3199,8 @@ class TasksApi:
3094
3199
 
3095
3200
  :param purge: (required)
3096
3201
  :type purge: Purge
3202
+ :param x_task_diagnostics: List of profilers to use on tasks.
3203
+ :type x_task_diagnostics: List[str]
3097
3204
  :param _request_timeout: timeout setting for this request. If one
3098
3205
  number provided, it will be total request
3099
3206
  timeout. It can also be a pair (tuple) of
@@ -3118,6 +3225,7 @@ class TasksApi:
3118
3225
 
3119
3226
  _param = self._purge_serialize(
3120
3227
  purge=purge,
3228
+ x_task_diagnostics=x_task_diagnostics,
3121
3229
  _request_auth=_request_auth,
3122
3230
  _content_type=_content_type,
3123
3231
  _headers=_headers,
@@ -3137,6 +3245,7 @@ class TasksApi:
3137
3245
  def _purge_serialize(
3138
3246
  self,
3139
3247
  purge,
3248
+ x_task_diagnostics,
3140
3249
  _request_auth,
3141
3250
  _content_type,
3142
3251
  _headers,
@@ -3146,6 +3255,7 @@ class TasksApi:
3146
3255
  _host = None
3147
3256
 
3148
3257
  _collection_formats: Dict[str, str] = {
3258
+ 'X-Task-Diagnostics': 'csv',
3149
3259
  }
3150
3260
 
3151
3261
  _path_params: Dict[str, str] = {}
@@ -3160,6 +3270,8 @@ class TasksApi:
3160
3270
  # process the path parameters
3161
3271
  # process the query parameters
3162
3272
  # process the header parameters
3273
+ if x_task_diagnostics is not None:
3274
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3163
3275
  # process the form parameters
3164
3276
  # process the body parameter
3165
3277
  if purge is not None:
@@ -3218,6 +3330,7 @@ class TasksApi:
3218
3330
  def read(
3219
3331
  self,
3220
3332
  task_href: StrictStr,
3333
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3221
3334
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
3222
3335
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
3223
3336
  _request_timeout: Union[
@@ -3239,6 +3352,8 @@ class TasksApi:
3239
3352
 
3240
3353
  :param task_href: (required)
3241
3354
  :type task_href: str
3355
+ :param x_task_diagnostics: List of profilers to use on tasks.
3356
+ :type x_task_diagnostics: List[str]
3242
3357
  :param fields: A list of fields to include in the response.
3243
3358
  :type fields: List[str]
3244
3359
  :param exclude_fields: A list of fields to exclude from the response.
@@ -3267,6 +3382,7 @@ class TasksApi:
3267
3382
 
3268
3383
  _param = self._read_serialize(
3269
3384
  task_href=task_href,
3385
+ x_task_diagnostics=x_task_diagnostics,
3270
3386
  fields=fields,
3271
3387
  exclude_fields=exclude_fields,
3272
3388
  _request_auth=_request_auth,
@@ -3293,6 +3409,7 @@ class TasksApi:
3293
3409
  def read_with_http_info(
3294
3410
  self,
3295
3411
  task_href: StrictStr,
3412
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3296
3413
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
3297
3414
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
3298
3415
  _request_timeout: Union[
@@ -3314,6 +3431,8 @@ class TasksApi:
3314
3431
 
3315
3432
  :param task_href: (required)
3316
3433
  :type task_href: str
3434
+ :param x_task_diagnostics: List of profilers to use on tasks.
3435
+ :type x_task_diagnostics: List[str]
3317
3436
  :param fields: A list of fields to include in the response.
3318
3437
  :type fields: List[str]
3319
3438
  :param exclude_fields: A list of fields to exclude from the response.
@@ -3342,6 +3461,7 @@ class TasksApi:
3342
3461
 
3343
3462
  _param = self._read_serialize(
3344
3463
  task_href=task_href,
3464
+ x_task_diagnostics=x_task_diagnostics,
3345
3465
  fields=fields,
3346
3466
  exclude_fields=exclude_fields,
3347
3467
  _request_auth=_request_auth,
@@ -3368,6 +3488,7 @@ class TasksApi:
3368
3488
  def read_without_preload_content(
3369
3489
  self,
3370
3490
  task_href: StrictStr,
3491
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3371
3492
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
3372
3493
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
3373
3494
  _request_timeout: Union[
@@ -3389,6 +3510,8 @@ class TasksApi:
3389
3510
 
3390
3511
  :param task_href: (required)
3391
3512
  :type task_href: str
3513
+ :param x_task_diagnostics: List of profilers to use on tasks.
3514
+ :type x_task_diagnostics: List[str]
3392
3515
  :param fields: A list of fields to include in the response.
3393
3516
  :type fields: List[str]
3394
3517
  :param exclude_fields: A list of fields to exclude from the response.
@@ -3417,6 +3540,7 @@ class TasksApi:
3417
3540
 
3418
3541
  _param = self._read_serialize(
3419
3542
  task_href=task_href,
3543
+ x_task_diagnostics=x_task_diagnostics,
3420
3544
  fields=fields,
3421
3545
  exclude_fields=exclude_fields,
3422
3546
  _request_auth=_request_auth,
@@ -3438,6 +3562,7 @@ class TasksApi:
3438
3562
  def _read_serialize(
3439
3563
  self,
3440
3564
  task_href,
3565
+ x_task_diagnostics,
3441
3566
  fields,
3442
3567
  exclude_fields,
3443
3568
  _request_auth,
@@ -3449,6 +3574,7 @@ class TasksApi:
3449
3574
  _host = None
3450
3575
 
3451
3576
  _collection_formats: Dict[str, str] = {
3577
+ 'X-Task-Diagnostics': 'csv',
3452
3578
  'fields': 'multi',
3453
3579
  'exclude_fields': 'multi',
3454
3580
  }
@@ -3475,6 +3601,8 @@ class TasksApi:
3475
3601
  _query_params.append(('exclude_fields', exclude_fields))
3476
3602
 
3477
3603
  # process the header parameters
3604
+ if x_task_diagnostics is not None:
3605
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3478
3606
  # process the form parameters
3479
3607
  # process the body parameter
3480
3608
 
@@ -3517,6 +3645,7 @@ class TasksApi:
3517
3645
  self,
3518
3646
  task_href: StrictStr,
3519
3647
  nested_role: NestedRole,
3648
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3520
3649
  _request_timeout: Union[
3521
3650
  None,
3522
3651
  Annotated[StrictFloat, Field(gt=0)],
@@ -3538,6 +3667,8 @@ class TasksApi:
3538
3667
  :type task_href: str
3539
3668
  :param nested_role: (required)
3540
3669
  :type nested_role: NestedRole
3670
+ :param x_task_diagnostics: List of profilers to use on tasks.
3671
+ :type x_task_diagnostics: List[str]
3541
3672
  :param _request_timeout: timeout setting for this request. If one
3542
3673
  number provided, it will be total request
3543
3674
  timeout. It can also be a pair (tuple) of
@@ -3563,6 +3694,7 @@ class TasksApi:
3563
3694
  _param = self._remove_role_serialize(
3564
3695
  task_href=task_href,
3565
3696
  nested_role=nested_role,
3697
+ x_task_diagnostics=x_task_diagnostics,
3566
3698
  _request_auth=_request_auth,
3567
3699
  _content_type=_content_type,
3568
3700
  _headers=_headers,
@@ -3588,6 +3720,7 @@ class TasksApi:
3588
3720
  self,
3589
3721
  task_href: StrictStr,
3590
3722
  nested_role: NestedRole,
3723
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3591
3724
  _request_timeout: Union[
3592
3725
  None,
3593
3726
  Annotated[StrictFloat, Field(gt=0)],
@@ -3609,6 +3742,8 @@ class TasksApi:
3609
3742
  :type task_href: str
3610
3743
  :param nested_role: (required)
3611
3744
  :type nested_role: NestedRole
3745
+ :param x_task_diagnostics: List of profilers to use on tasks.
3746
+ :type x_task_diagnostics: List[str]
3612
3747
  :param _request_timeout: timeout setting for this request. If one
3613
3748
  number provided, it will be total request
3614
3749
  timeout. It can also be a pair (tuple) of
@@ -3634,6 +3769,7 @@ class TasksApi:
3634
3769
  _param = self._remove_role_serialize(
3635
3770
  task_href=task_href,
3636
3771
  nested_role=nested_role,
3772
+ x_task_diagnostics=x_task_diagnostics,
3637
3773
  _request_auth=_request_auth,
3638
3774
  _content_type=_content_type,
3639
3775
  _headers=_headers,
@@ -3659,6 +3795,7 @@ class TasksApi:
3659
3795
  self,
3660
3796
  task_href: StrictStr,
3661
3797
  nested_role: NestedRole,
3798
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3662
3799
  _request_timeout: Union[
3663
3800
  None,
3664
3801
  Annotated[StrictFloat, Field(gt=0)],
@@ -3680,6 +3817,8 @@ class TasksApi:
3680
3817
  :type task_href: str
3681
3818
  :param nested_role: (required)
3682
3819
  :type nested_role: NestedRole
3820
+ :param x_task_diagnostics: List of profilers to use on tasks.
3821
+ :type x_task_diagnostics: List[str]
3683
3822
  :param _request_timeout: timeout setting for this request. If one
3684
3823
  number provided, it will be total request
3685
3824
  timeout. It can also be a pair (tuple) of
@@ -3705,6 +3844,7 @@ class TasksApi:
3705
3844
  _param = self._remove_role_serialize(
3706
3845
  task_href=task_href,
3707
3846
  nested_role=nested_role,
3847
+ x_task_diagnostics=x_task_diagnostics,
3708
3848
  _request_auth=_request_auth,
3709
3849
  _content_type=_content_type,
3710
3850
  _headers=_headers,
@@ -3725,6 +3865,7 @@ class TasksApi:
3725
3865
  self,
3726
3866
  task_href,
3727
3867
  nested_role,
3868
+ x_task_diagnostics,
3728
3869
  _request_auth,
3729
3870
  _content_type,
3730
3871
  _headers,
@@ -3734,6 +3875,7 @@ class TasksApi:
3734
3875
  _host = None
3735
3876
 
3736
3877
  _collection_formats: Dict[str, str] = {
3878
+ 'X-Task-Diagnostics': 'csv',
3737
3879
  }
3738
3880
 
3739
3881
  _path_params: Dict[str, str] = {}
@@ -3750,6 +3892,8 @@ class TasksApi:
3750
3892
  _path_params['task_href'] = task_href
3751
3893
  # process the query parameters
3752
3894
  # process the header parameters
3895
+ if x_task_diagnostics is not None:
3896
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3753
3897
  # process the form parameters
3754
3898
  # process the body parameter
3755
3899
  if nested_role is not None:
@@ -3809,6 +3953,7 @@ class TasksApi:
3809
3953
  self,
3810
3954
  task_href: StrictStr,
3811
3955
  patched_task_cancel: PatchedTaskCancel,
3956
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3812
3957
  _request_timeout: Union[
3813
3958
  None,
3814
3959
  Annotated[StrictFloat, Field(gt=0)],
@@ -3830,6 +3975,8 @@ class TasksApi:
3830
3975
  :type task_href: str
3831
3976
  :param patched_task_cancel: (required)
3832
3977
  :type patched_task_cancel: PatchedTaskCancel
3978
+ :param x_task_diagnostics: List of profilers to use on tasks.
3979
+ :type x_task_diagnostics: List[str]
3833
3980
  :param _request_timeout: timeout setting for this request. If one
3834
3981
  number provided, it will be total request
3835
3982
  timeout. It can also be a pair (tuple) of
@@ -3855,6 +4002,7 @@ class TasksApi:
3855
4002
  _param = self._tasks_cancel_serialize(
3856
4003
  task_href=task_href,
3857
4004
  patched_task_cancel=patched_task_cancel,
4005
+ x_task_diagnostics=x_task_diagnostics,
3858
4006
  _request_auth=_request_auth,
3859
4007
  _content_type=_content_type,
3860
4008
  _headers=_headers,
@@ -3881,6 +4029,7 @@ class TasksApi:
3881
4029
  self,
3882
4030
  task_href: StrictStr,
3883
4031
  patched_task_cancel: PatchedTaskCancel,
4032
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3884
4033
  _request_timeout: Union[
3885
4034
  None,
3886
4035
  Annotated[StrictFloat, Field(gt=0)],
@@ -3902,6 +4051,8 @@ class TasksApi:
3902
4051
  :type task_href: str
3903
4052
  :param patched_task_cancel: (required)
3904
4053
  :type patched_task_cancel: PatchedTaskCancel
4054
+ :param x_task_diagnostics: List of profilers to use on tasks.
4055
+ :type x_task_diagnostics: List[str]
3905
4056
  :param _request_timeout: timeout setting for this request. If one
3906
4057
  number provided, it will be total request
3907
4058
  timeout. It can also be a pair (tuple) of
@@ -3927,6 +4078,7 @@ class TasksApi:
3927
4078
  _param = self._tasks_cancel_serialize(
3928
4079
  task_href=task_href,
3929
4080
  patched_task_cancel=patched_task_cancel,
4081
+ x_task_diagnostics=x_task_diagnostics,
3930
4082
  _request_auth=_request_auth,
3931
4083
  _content_type=_content_type,
3932
4084
  _headers=_headers,
@@ -3953,6 +4105,7 @@ class TasksApi:
3953
4105
  self,
3954
4106
  task_href: StrictStr,
3955
4107
  patched_task_cancel: PatchedTaskCancel,
4108
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3956
4109
  _request_timeout: Union[
3957
4110
  None,
3958
4111
  Annotated[StrictFloat, Field(gt=0)],
@@ -3974,6 +4127,8 @@ class TasksApi:
3974
4127
  :type task_href: str
3975
4128
  :param patched_task_cancel: (required)
3976
4129
  :type patched_task_cancel: PatchedTaskCancel
4130
+ :param x_task_diagnostics: List of profilers to use on tasks.
4131
+ :type x_task_diagnostics: List[str]
3977
4132
  :param _request_timeout: timeout setting for this request. If one
3978
4133
  number provided, it will be total request
3979
4134
  timeout. It can also be a pair (tuple) of
@@ -3999,6 +4154,7 @@ class TasksApi:
3999
4154
  _param = self._tasks_cancel_serialize(
4000
4155
  task_href=task_href,
4001
4156
  patched_task_cancel=patched_task_cancel,
4157
+ x_task_diagnostics=x_task_diagnostics,
4002
4158
  _request_auth=_request_auth,
4003
4159
  _content_type=_content_type,
4004
4160
  _headers=_headers,
@@ -4020,6 +4176,7 @@ class TasksApi:
4020
4176
  self,
4021
4177
  task_href,
4022
4178
  patched_task_cancel,
4179
+ x_task_diagnostics,
4023
4180
  _request_auth,
4024
4181
  _content_type,
4025
4182
  _headers,
@@ -4029,6 +4186,7 @@ class TasksApi:
4029
4186
  _host = None
4030
4187
 
4031
4188
  _collection_formats: Dict[str, str] = {
4189
+ 'X-Task-Diagnostics': 'csv',
4032
4190
  }
4033
4191
 
4034
4192
  _path_params: Dict[str, str] = {}
@@ -4045,6 +4203,8 @@ class TasksApi:
4045
4203
  _path_params['task_href'] = task_href
4046
4204
  # process the query parameters
4047
4205
  # process the header parameters
4206
+ if x_task_diagnostics is not None:
4207
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
4048
4208
  # process the form parameters
4049
4209
  # process the body parameter
4050
4210
  if patched_task_cancel is not None: