pulpcore-client 3.81.0__py3-none-any.whl → 3.82.1__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 +18 -18
  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.1.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.1.dist-info}/top_level.txt +0 -0
@@ -52,6 +52,7 @@ class ContentguardsHeaderApi:
52
52
  self,
53
53
  header_content_guard_href: StrictStr,
54
54
  nested_role: NestedRole,
55
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
55
56
  _request_timeout: Union[
56
57
  None,
57
58
  Annotated[StrictFloat, Field(gt=0)],
@@ -73,6 +74,8 @@ class ContentguardsHeaderApi:
73
74
  :type header_content_guard_href: str
74
75
  :param nested_role: (required)
75
76
  :type nested_role: NestedRole
77
+ :param x_task_diagnostics: List of profilers to use on tasks.
78
+ :type x_task_diagnostics: List[str]
76
79
  :param _request_timeout: timeout setting for this request. If one
77
80
  number provided, it will be total request
78
81
  timeout. It can also be a pair (tuple) of
@@ -98,6 +101,7 @@ class ContentguardsHeaderApi:
98
101
  _param = self._add_role_serialize(
99
102
  header_content_guard_href=header_content_guard_href,
100
103
  nested_role=nested_role,
104
+ x_task_diagnostics=x_task_diagnostics,
101
105
  _request_auth=_request_auth,
102
106
  _content_type=_content_type,
103
107
  _headers=_headers,
@@ -123,6 +127,7 @@ class ContentguardsHeaderApi:
123
127
  self,
124
128
  header_content_guard_href: StrictStr,
125
129
  nested_role: NestedRole,
130
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
126
131
  _request_timeout: Union[
127
132
  None,
128
133
  Annotated[StrictFloat, Field(gt=0)],
@@ -144,6 +149,8 @@ class ContentguardsHeaderApi:
144
149
  :type header_content_guard_href: str
145
150
  :param nested_role: (required)
146
151
  :type nested_role: NestedRole
152
+ :param x_task_diagnostics: List of profilers to use on tasks.
153
+ :type x_task_diagnostics: List[str]
147
154
  :param _request_timeout: timeout setting for this request. If one
148
155
  number provided, it will be total request
149
156
  timeout. It can also be a pair (tuple) of
@@ -169,6 +176,7 @@ class ContentguardsHeaderApi:
169
176
  _param = self._add_role_serialize(
170
177
  header_content_guard_href=header_content_guard_href,
171
178
  nested_role=nested_role,
179
+ x_task_diagnostics=x_task_diagnostics,
172
180
  _request_auth=_request_auth,
173
181
  _content_type=_content_type,
174
182
  _headers=_headers,
@@ -194,6 +202,7 @@ class ContentguardsHeaderApi:
194
202
  self,
195
203
  header_content_guard_href: StrictStr,
196
204
  nested_role: NestedRole,
205
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
197
206
  _request_timeout: Union[
198
207
  None,
199
208
  Annotated[StrictFloat, Field(gt=0)],
@@ -215,6 +224,8 @@ class ContentguardsHeaderApi:
215
224
  :type header_content_guard_href: str
216
225
  :param nested_role: (required)
217
226
  :type nested_role: NestedRole
227
+ :param x_task_diagnostics: List of profilers to use on tasks.
228
+ :type x_task_diagnostics: List[str]
218
229
  :param _request_timeout: timeout setting for this request. If one
219
230
  number provided, it will be total request
220
231
  timeout. It can also be a pair (tuple) of
@@ -240,6 +251,7 @@ class ContentguardsHeaderApi:
240
251
  _param = self._add_role_serialize(
241
252
  header_content_guard_href=header_content_guard_href,
242
253
  nested_role=nested_role,
254
+ x_task_diagnostics=x_task_diagnostics,
243
255
  _request_auth=_request_auth,
244
256
  _content_type=_content_type,
245
257
  _headers=_headers,
@@ -260,6 +272,7 @@ class ContentguardsHeaderApi:
260
272
  self,
261
273
  header_content_guard_href,
262
274
  nested_role,
275
+ x_task_diagnostics,
263
276
  _request_auth,
264
277
  _content_type,
265
278
  _headers,
@@ -269,6 +282,7 @@ class ContentguardsHeaderApi:
269
282
  _host = None
270
283
 
271
284
  _collection_formats: Dict[str, str] = {
285
+ 'X-Task-Diagnostics': 'csv',
272
286
  }
273
287
 
274
288
  _path_params: Dict[str, str] = {}
@@ -285,6 +299,8 @@ class ContentguardsHeaderApi:
285
299
  _path_params['header_content_guard_href'] = header_content_guard_href
286
300
  # process the query parameters
287
301
  # process the header parameters
302
+ if x_task_diagnostics is not None:
303
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
288
304
  # process the form parameters
289
305
  # process the body parameter
290
306
  if nested_role is not None:
@@ -343,6 +359,7 @@ class ContentguardsHeaderApi:
343
359
  def create(
344
360
  self,
345
361
  header_content_guard: HeaderContentGuard,
362
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
346
363
  _request_timeout: Union[
347
364
  None,
348
365
  Annotated[StrictFloat, Field(gt=0)],
@@ -362,6 +379,8 @@ class ContentguardsHeaderApi:
362
379
 
363
380
  :param header_content_guard: (required)
364
381
  :type header_content_guard: HeaderContentGuard
382
+ :param x_task_diagnostics: List of profilers to use on tasks.
383
+ :type x_task_diagnostics: List[str]
365
384
  :param _request_timeout: timeout setting for this request. If one
366
385
  number provided, it will be total request
367
386
  timeout. It can also be a pair (tuple) of
@@ -386,6 +405,7 @@ class ContentguardsHeaderApi:
386
405
 
387
406
  _param = self._create_serialize(
388
407
  header_content_guard=header_content_guard,
408
+ x_task_diagnostics=x_task_diagnostics,
389
409
  _request_auth=_request_auth,
390
410
  _content_type=_content_type,
391
411
  _headers=_headers,
@@ -410,6 +430,7 @@ class ContentguardsHeaderApi:
410
430
  def create_with_http_info(
411
431
  self,
412
432
  header_content_guard: HeaderContentGuard,
433
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
413
434
  _request_timeout: Union[
414
435
  None,
415
436
  Annotated[StrictFloat, Field(gt=0)],
@@ -429,6 +450,8 @@ class ContentguardsHeaderApi:
429
450
 
430
451
  :param header_content_guard: (required)
431
452
  :type header_content_guard: HeaderContentGuard
453
+ :param x_task_diagnostics: List of profilers to use on tasks.
454
+ :type x_task_diagnostics: List[str]
432
455
  :param _request_timeout: timeout setting for this request. If one
433
456
  number provided, it will be total request
434
457
  timeout. It can also be a pair (tuple) of
@@ -453,6 +476,7 @@ class ContentguardsHeaderApi:
453
476
 
454
477
  _param = self._create_serialize(
455
478
  header_content_guard=header_content_guard,
479
+ x_task_diagnostics=x_task_diagnostics,
456
480
  _request_auth=_request_auth,
457
481
  _content_type=_content_type,
458
482
  _headers=_headers,
@@ -477,6 +501,7 @@ class ContentguardsHeaderApi:
477
501
  def create_without_preload_content(
478
502
  self,
479
503
  header_content_guard: HeaderContentGuard,
504
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
480
505
  _request_timeout: Union[
481
506
  None,
482
507
  Annotated[StrictFloat, Field(gt=0)],
@@ -496,6 +521,8 @@ class ContentguardsHeaderApi:
496
521
 
497
522
  :param header_content_guard: (required)
498
523
  :type header_content_guard: HeaderContentGuard
524
+ :param x_task_diagnostics: List of profilers to use on tasks.
525
+ :type x_task_diagnostics: List[str]
499
526
  :param _request_timeout: timeout setting for this request. If one
500
527
  number provided, it will be total request
501
528
  timeout. It can also be a pair (tuple) of
@@ -520,6 +547,7 @@ class ContentguardsHeaderApi:
520
547
 
521
548
  _param = self._create_serialize(
522
549
  header_content_guard=header_content_guard,
550
+ x_task_diagnostics=x_task_diagnostics,
523
551
  _request_auth=_request_auth,
524
552
  _content_type=_content_type,
525
553
  _headers=_headers,
@@ -539,6 +567,7 @@ class ContentguardsHeaderApi:
539
567
  def _create_serialize(
540
568
  self,
541
569
  header_content_guard,
570
+ x_task_diagnostics,
542
571
  _request_auth,
543
572
  _content_type,
544
573
  _headers,
@@ -548,6 +577,7 @@ class ContentguardsHeaderApi:
548
577
  _host = None
549
578
 
550
579
  _collection_formats: Dict[str, str] = {
580
+ 'X-Task-Diagnostics': 'csv',
551
581
  }
552
582
 
553
583
  _path_params: Dict[str, str] = {}
@@ -562,6 +592,8 @@ class ContentguardsHeaderApi:
562
592
  # process the path parameters
563
593
  # process the query parameters
564
594
  # process the header parameters
595
+ if x_task_diagnostics is not None:
596
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
565
597
  # process the form parameters
566
598
  # process the body parameter
567
599
  if header_content_guard is not None:
@@ -620,6 +652,7 @@ class ContentguardsHeaderApi:
620
652
  def delete(
621
653
  self,
622
654
  header_content_guard_href: StrictStr,
655
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
623
656
  _request_timeout: Union[
624
657
  None,
625
658
  Annotated[StrictFloat, Field(gt=0)],
@@ -639,6 +672,8 @@ class ContentguardsHeaderApi:
639
672
 
640
673
  :param header_content_guard_href: (required)
641
674
  :type header_content_guard_href: str
675
+ :param x_task_diagnostics: List of profilers to use on tasks.
676
+ :type x_task_diagnostics: List[str]
642
677
  :param _request_timeout: timeout setting for this request. If one
643
678
  number provided, it will be total request
644
679
  timeout. It can also be a pair (tuple) of
@@ -663,6 +698,7 @@ class ContentguardsHeaderApi:
663
698
 
664
699
  _param = self._delete_serialize(
665
700
  header_content_guard_href=header_content_guard_href,
701
+ x_task_diagnostics=x_task_diagnostics,
666
702
  _request_auth=_request_auth,
667
703
  _content_type=_content_type,
668
704
  _headers=_headers,
@@ -687,6 +723,7 @@ class ContentguardsHeaderApi:
687
723
  def delete_with_http_info(
688
724
  self,
689
725
  header_content_guard_href: StrictStr,
726
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
690
727
  _request_timeout: Union[
691
728
  None,
692
729
  Annotated[StrictFloat, Field(gt=0)],
@@ -706,6 +743,8 @@ class ContentguardsHeaderApi:
706
743
 
707
744
  :param header_content_guard_href: (required)
708
745
  :type header_content_guard_href: str
746
+ :param x_task_diagnostics: List of profilers to use on tasks.
747
+ :type x_task_diagnostics: List[str]
709
748
  :param _request_timeout: timeout setting for this request. If one
710
749
  number provided, it will be total request
711
750
  timeout. It can also be a pair (tuple) of
@@ -730,6 +769,7 @@ class ContentguardsHeaderApi:
730
769
 
731
770
  _param = self._delete_serialize(
732
771
  header_content_guard_href=header_content_guard_href,
772
+ x_task_diagnostics=x_task_diagnostics,
733
773
  _request_auth=_request_auth,
734
774
  _content_type=_content_type,
735
775
  _headers=_headers,
@@ -754,6 +794,7 @@ class ContentguardsHeaderApi:
754
794
  def delete_without_preload_content(
755
795
  self,
756
796
  header_content_guard_href: StrictStr,
797
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
757
798
  _request_timeout: Union[
758
799
  None,
759
800
  Annotated[StrictFloat, Field(gt=0)],
@@ -773,6 +814,8 @@ class ContentguardsHeaderApi:
773
814
 
774
815
  :param header_content_guard_href: (required)
775
816
  :type header_content_guard_href: str
817
+ :param x_task_diagnostics: List of profilers to use on tasks.
818
+ :type x_task_diagnostics: List[str]
776
819
  :param _request_timeout: timeout setting for this request. If one
777
820
  number provided, it will be total request
778
821
  timeout. It can also be a pair (tuple) of
@@ -797,6 +840,7 @@ class ContentguardsHeaderApi:
797
840
 
798
841
  _param = self._delete_serialize(
799
842
  header_content_guard_href=header_content_guard_href,
843
+ x_task_diagnostics=x_task_diagnostics,
800
844
  _request_auth=_request_auth,
801
845
  _content_type=_content_type,
802
846
  _headers=_headers,
@@ -816,6 +860,7 @@ class ContentguardsHeaderApi:
816
860
  def _delete_serialize(
817
861
  self,
818
862
  header_content_guard_href,
863
+ x_task_diagnostics,
819
864
  _request_auth,
820
865
  _content_type,
821
866
  _headers,
@@ -825,6 +870,7 @@ class ContentguardsHeaderApi:
825
870
  _host = None
826
871
 
827
872
  _collection_formats: Dict[str, str] = {
873
+ 'X-Task-Diagnostics': 'csv',
828
874
  }
829
875
 
830
876
  _path_params: Dict[str, str] = {}
@@ -841,6 +887,8 @@ class ContentguardsHeaderApi:
841
887
  _path_params['header_content_guard_href'] = header_content_guard_href
842
888
  # process the query parameters
843
889
  # process the header parameters
890
+ if x_task_diagnostics is not None:
891
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
844
892
  # process the form parameters
845
893
  # process the body parameter
846
894
 
@@ -874,6 +922,7 @@ class ContentguardsHeaderApi:
874
922
  @validate_call
875
923
  def list(
876
924
  self,
925
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
877
926
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
878
927
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
879
928
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -909,6 +958,8 @@ class ContentguardsHeaderApi:
909
958
 
910
959
  Content guard to protect the content app using a specific header.
911
960
 
961
+ :param x_task_diagnostics: List of profilers to use on tasks.
962
+ :type x_task_diagnostics: List[str]
912
963
  :param limit: Number of results to return per page.
913
964
  :type limit: int
914
965
  :param name: Filter results where name matches value
@@ -968,6 +1019,7 @@ class ContentguardsHeaderApi:
968
1019
  """ # noqa: E501
969
1020
 
970
1021
  _param = self._list_serialize(
1022
+ x_task_diagnostics=x_task_diagnostics,
971
1023
  limit=limit,
972
1024
  name=name,
973
1025
  name__contains=name__contains,
@@ -1009,6 +1061,7 @@ class ContentguardsHeaderApi:
1009
1061
  @validate_call
1010
1062
  def list_with_http_info(
1011
1063
  self,
1064
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1012
1065
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1013
1066
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
1014
1067
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -1044,6 +1097,8 @@ class ContentguardsHeaderApi:
1044
1097
 
1045
1098
  Content guard to protect the content app using a specific header.
1046
1099
 
1100
+ :param x_task_diagnostics: List of profilers to use on tasks.
1101
+ :type x_task_diagnostics: List[str]
1047
1102
  :param limit: Number of results to return per page.
1048
1103
  :type limit: int
1049
1104
  :param name: Filter results where name matches value
@@ -1103,6 +1158,7 @@ class ContentguardsHeaderApi:
1103
1158
  """ # noqa: E501
1104
1159
 
1105
1160
  _param = self._list_serialize(
1161
+ x_task_diagnostics=x_task_diagnostics,
1106
1162
  limit=limit,
1107
1163
  name=name,
1108
1164
  name__contains=name__contains,
@@ -1144,6 +1200,7 @@ class ContentguardsHeaderApi:
1144
1200
  @validate_call
1145
1201
  def list_without_preload_content(
1146
1202
  self,
1203
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1147
1204
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
1148
1205
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
1149
1206
  name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
@@ -1179,6 +1236,8 @@ class ContentguardsHeaderApi:
1179
1236
 
1180
1237
  Content guard to protect the content app using a specific header.
1181
1238
 
1239
+ :param x_task_diagnostics: List of profilers to use on tasks.
1240
+ :type x_task_diagnostics: List[str]
1182
1241
  :param limit: Number of results to return per page.
1183
1242
  :type limit: int
1184
1243
  :param name: Filter results where name matches value
@@ -1238,6 +1297,7 @@ class ContentguardsHeaderApi:
1238
1297
  """ # noqa: E501
1239
1298
 
1240
1299
  _param = self._list_serialize(
1300
+ x_task_diagnostics=x_task_diagnostics,
1241
1301
  limit=limit,
1242
1302
  name=name,
1243
1303
  name__contains=name__contains,
@@ -1274,6 +1334,7 @@ class ContentguardsHeaderApi:
1274
1334
 
1275
1335
  def _list_serialize(
1276
1336
  self,
1337
+ x_task_diagnostics,
1277
1338
  limit,
1278
1339
  name,
1279
1340
  name__contains,
@@ -1301,6 +1362,7 @@ class ContentguardsHeaderApi:
1301
1362
  _host = None
1302
1363
 
1303
1364
  _collection_formats: Dict[str, str] = {
1365
+ 'X-Task-Diagnostics': 'csv',
1304
1366
  'name__in': 'csv',
1305
1367
  'ordering': 'csv',
1306
1368
  'prn__in': 'csv',
@@ -1394,6 +1456,8 @@ class ContentguardsHeaderApi:
1394
1456
  _query_params.append(('exclude_fields', exclude_fields))
1395
1457
 
1396
1458
  # process the header parameters
1459
+ if x_task_diagnostics is not None:
1460
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1397
1461
  # process the form parameters
1398
1462
  # process the body parameter
1399
1463
 
@@ -1435,6 +1499,7 @@ class ContentguardsHeaderApi:
1435
1499
  def list_roles(
1436
1500
  self,
1437
1501
  header_content_guard_href: StrictStr,
1502
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1438
1503
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1439
1504
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1440
1505
  _request_timeout: Union[
@@ -1456,6 +1521,8 @@ class ContentguardsHeaderApi:
1456
1521
 
1457
1522
  :param header_content_guard_href: (required)
1458
1523
  :type header_content_guard_href: str
1524
+ :param x_task_diagnostics: List of profilers to use on tasks.
1525
+ :type x_task_diagnostics: List[str]
1459
1526
  :param fields: A list of fields to include in the response.
1460
1527
  :type fields: List[str]
1461
1528
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1484,6 +1551,7 @@ class ContentguardsHeaderApi:
1484
1551
 
1485
1552
  _param = self._list_roles_serialize(
1486
1553
  header_content_guard_href=header_content_guard_href,
1554
+ x_task_diagnostics=x_task_diagnostics,
1487
1555
  fields=fields,
1488
1556
  exclude_fields=exclude_fields,
1489
1557
  _request_auth=_request_auth,
@@ -1510,6 +1578,7 @@ class ContentguardsHeaderApi:
1510
1578
  def list_roles_with_http_info(
1511
1579
  self,
1512
1580
  header_content_guard_href: StrictStr,
1581
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1513
1582
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1514
1583
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1515
1584
  _request_timeout: Union[
@@ -1531,6 +1600,8 @@ class ContentguardsHeaderApi:
1531
1600
 
1532
1601
  :param header_content_guard_href: (required)
1533
1602
  :type header_content_guard_href: str
1603
+ :param x_task_diagnostics: List of profilers to use on tasks.
1604
+ :type x_task_diagnostics: List[str]
1534
1605
  :param fields: A list of fields to include in the response.
1535
1606
  :type fields: List[str]
1536
1607
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1559,6 +1630,7 @@ class ContentguardsHeaderApi:
1559
1630
 
1560
1631
  _param = self._list_roles_serialize(
1561
1632
  header_content_guard_href=header_content_guard_href,
1633
+ x_task_diagnostics=x_task_diagnostics,
1562
1634
  fields=fields,
1563
1635
  exclude_fields=exclude_fields,
1564
1636
  _request_auth=_request_auth,
@@ -1585,6 +1657,7 @@ class ContentguardsHeaderApi:
1585
1657
  def list_roles_without_preload_content(
1586
1658
  self,
1587
1659
  header_content_guard_href: StrictStr,
1660
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1588
1661
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1589
1662
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1590
1663
  _request_timeout: Union[
@@ -1606,6 +1679,8 @@ class ContentguardsHeaderApi:
1606
1679
 
1607
1680
  :param header_content_guard_href: (required)
1608
1681
  :type header_content_guard_href: str
1682
+ :param x_task_diagnostics: List of profilers to use on tasks.
1683
+ :type x_task_diagnostics: List[str]
1609
1684
  :param fields: A list of fields to include in the response.
1610
1685
  :type fields: List[str]
1611
1686
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1634,6 +1709,7 @@ class ContentguardsHeaderApi:
1634
1709
 
1635
1710
  _param = self._list_roles_serialize(
1636
1711
  header_content_guard_href=header_content_guard_href,
1712
+ x_task_diagnostics=x_task_diagnostics,
1637
1713
  fields=fields,
1638
1714
  exclude_fields=exclude_fields,
1639
1715
  _request_auth=_request_auth,
@@ -1655,6 +1731,7 @@ class ContentguardsHeaderApi:
1655
1731
  def _list_roles_serialize(
1656
1732
  self,
1657
1733
  header_content_guard_href,
1734
+ x_task_diagnostics,
1658
1735
  fields,
1659
1736
  exclude_fields,
1660
1737
  _request_auth,
@@ -1666,6 +1743,7 @@ class ContentguardsHeaderApi:
1666
1743
  _host = None
1667
1744
 
1668
1745
  _collection_formats: Dict[str, str] = {
1746
+ 'X-Task-Diagnostics': 'csv',
1669
1747
  'fields': 'multi',
1670
1748
  'exclude_fields': 'multi',
1671
1749
  }
@@ -1692,6 +1770,8 @@ class ContentguardsHeaderApi:
1692
1770
  _query_params.append(('exclude_fields', exclude_fields))
1693
1771
 
1694
1772
  # process the header parameters
1773
+ if x_task_diagnostics is not None:
1774
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1695
1775
  # process the form parameters
1696
1776
  # process the body parameter
1697
1777
 
@@ -1733,6 +1813,7 @@ class ContentguardsHeaderApi:
1733
1813
  def my_permissions(
1734
1814
  self,
1735
1815
  header_content_guard_href: StrictStr,
1816
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1736
1817
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1737
1818
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1738
1819
  _request_timeout: Union[
@@ -1754,6 +1835,8 @@ class ContentguardsHeaderApi:
1754
1835
 
1755
1836
  :param header_content_guard_href: (required)
1756
1837
  :type header_content_guard_href: str
1838
+ :param x_task_diagnostics: List of profilers to use on tasks.
1839
+ :type x_task_diagnostics: List[str]
1757
1840
  :param fields: A list of fields to include in the response.
1758
1841
  :type fields: List[str]
1759
1842
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1782,6 +1865,7 @@ class ContentguardsHeaderApi:
1782
1865
 
1783
1866
  _param = self._my_permissions_serialize(
1784
1867
  header_content_guard_href=header_content_guard_href,
1868
+ x_task_diagnostics=x_task_diagnostics,
1785
1869
  fields=fields,
1786
1870
  exclude_fields=exclude_fields,
1787
1871
  _request_auth=_request_auth,
@@ -1808,6 +1892,7 @@ class ContentguardsHeaderApi:
1808
1892
  def my_permissions_with_http_info(
1809
1893
  self,
1810
1894
  header_content_guard_href: StrictStr,
1895
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1811
1896
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1812
1897
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1813
1898
  _request_timeout: Union[
@@ -1829,6 +1914,8 @@ class ContentguardsHeaderApi:
1829
1914
 
1830
1915
  :param header_content_guard_href: (required)
1831
1916
  :type header_content_guard_href: str
1917
+ :param x_task_diagnostics: List of profilers to use on tasks.
1918
+ :type x_task_diagnostics: List[str]
1832
1919
  :param fields: A list of fields to include in the response.
1833
1920
  :type fields: List[str]
1834
1921
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1857,6 +1944,7 @@ class ContentguardsHeaderApi:
1857
1944
 
1858
1945
  _param = self._my_permissions_serialize(
1859
1946
  header_content_guard_href=header_content_guard_href,
1947
+ x_task_diagnostics=x_task_diagnostics,
1860
1948
  fields=fields,
1861
1949
  exclude_fields=exclude_fields,
1862
1950
  _request_auth=_request_auth,
@@ -1883,6 +1971,7 @@ class ContentguardsHeaderApi:
1883
1971
  def my_permissions_without_preload_content(
1884
1972
  self,
1885
1973
  header_content_guard_href: StrictStr,
1974
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1886
1975
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1887
1976
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1888
1977
  _request_timeout: Union[
@@ -1904,6 +1993,8 @@ class ContentguardsHeaderApi:
1904
1993
 
1905
1994
  :param header_content_guard_href: (required)
1906
1995
  :type header_content_guard_href: str
1996
+ :param x_task_diagnostics: List of profilers to use on tasks.
1997
+ :type x_task_diagnostics: List[str]
1907
1998
  :param fields: A list of fields to include in the response.
1908
1999
  :type fields: List[str]
1909
2000
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1932,6 +2023,7 @@ class ContentguardsHeaderApi:
1932
2023
 
1933
2024
  _param = self._my_permissions_serialize(
1934
2025
  header_content_guard_href=header_content_guard_href,
2026
+ x_task_diagnostics=x_task_diagnostics,
1935
2027
  fields=fields,
1936
2028
  exclude_fields=exclude_fields,
1937
2029
  _request_auth=_request_auth,
@@ -1953,6 +2045,7 @@ class ContentguardsHeaderApi:
1953
2045
  def _my_permissions_serialize(
1954
2046
  self,
1955
2047
  header_content_guard_href,
2048
+ x_task_diagnostics,
1956
2049
  fields,
1957
2050
  exclude_fields,
1958
2051
  _request_auth,
@@ -1964,6 +2057,7 @@ class ContentguardsHeaderApi:
1964
2057
  _host = None
1965
2058
 
1966
2059
  _collection_formats: Dict[str, str] = {
2060
+ 'X-Task-Diagnostics': 'csv',
1967
2061
  'fields': 'multi',
1968
2062
  'exclude_fields': 'multi',
1969
2063
  }
@@ -1990,6 +2084,8 @@ class ContentguardsHeaderApi:
1990
2084
  _query_params.append(('exclude_fields', exclude_fields))
1991
2085
 
1992
2086
  # process the header parameters
2087
+ if x_task_diagnostics is not None:
2088
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1993
2089
  # process the form parameters
1994
2090
  # process the body parameter
1995
2091
 
@@ -2032,6 +2128,7 @@ class ContentguardsHeaderApi:
2032
2128
  self,
2033
2129
  header_content_guard_href: StrictStr,
2034
2130
  patched_header_content_guard: PatchedHeaderContentGuard,
2131
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2035
2132
  _request_timeout: Union[
2036
2133
  None,
2037
2134
  Annotated[StrictFloat, Field(gt=0)],
@@ -2053,6 +2150,8 @@ class ContentguardsHeaderApi:
2053
2150
  :type header_content_guard_href: str
2054
2151
  :param patched_header_content_guard: (required)
2055
2152
  :type patched_header_content_guard: PatchedHeaderContentGuard
2153
+ :param x_task_diagnostics: List of profilers to use on tasks.
2154
+ :type x_task_diagnostics: List[str]
2056
2155
  :param _request_timeout: timeout setting for this request. If one
2057
2156
  number provided, it will be total request
2058
2157
  timeout. It can also be a pair (tuple) of
@@ -2078,6 +2177,7 @@ class ContentguardsHeaderApi:
2078
2177
  _param = self._partial_update_serialize(
2079
2178
  header_content_guard_href=header_content_guard_href,
2080
2179
  patched_header_content_guard=patched_header_content_guard,
2180
+ x_task_diagnostics=x_task_diagnostics,
2081
2181
  _request_auth=_request_auth,
2082
2182
  _content_type=_content_type,
2083
2183
  _headers=_headers,
@@ -2103,6 +2203,7 @@ class ContentguardsHeaderApi:
2103
2203
  self,
2104
2204
  header_content_guard_href: StrictStr,
2105
2205
  patched_header_content_guard: PatchedHeaderContentGuard,
2206
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2106
2207
  _request_timeout: Union[
2107
2208
  None,
2108
2209
  Annotated[StrictFloat, Field(gt=0)],
@@ -2124,6 +2225,8 @@ class ContentguardsHeaderApi:
2124
2225
  :type header_content_guard_href: str
2125
2226
  :param patched_header_content_guard: (required)
2126
2227
  :type patched_header_content_guard: PatchedHeaderContentGuard
2228
+ :param x_task_diagnostics: List of profilers to use on tasks.
2229
+ :type x_task_diagnostics: List[str]
2127
2230
  :param _request_timeout: timeout setting for this request. If one
2128
2231
  number provided, it will be total request
2129
2232
  timeout. It can also be a pair (tuple) of
@@ -2149,6 +2252,7 @@ class ContentguardsHeaderApi:
2149
2252
  _param = self._partial_update_serialize(
2150
2253
  header_content_guard_href=header_content_guard_href,
2151
2254
  patched_header_content_guard=patched_header_content_guard,
2255
+ x_task_diagnostics=x_task_diagnostics,
2152
2256
  _request_auth=_request_auth,
2153
2257
  _content_type=_content_type,
2154
2258
  _headers=_headers,
@@ -2174,6 +2278,7 @@ class ContentguardsHeaderApi:
2174
2278
  self,
2175
2279
  header_content_guard_href: StrictStr,
2176
2280
  patched_header_content_guard: PatchedHeaderContentGuard,
2281
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2177
2282
  _request_timeout: Union[
2178
2283
  None,
2179
2284
  Annotated[StrictFloat, Field(gt=0)],
@@ -2195,6 +2300,8 @@ class ContentguardsHeaderApi:
2195
2300
  :type header_content_guard_href: str
2196
2301
  :param patched_header_content_guard: (required)
2197
2302
  :type patched_header_content_guard: PatchedHeaderContentGuard
2303
+ :param x_task_diagnostics: List of profilers to use on tasks.
2304
+ :type x_task_diagnostics: List[str]
2198
2305
  :param _request_timeout: timeout setting for this request. If one
2199
2306
  number provided, it will be total request
2200
2307
  timeout. It can also be a pair (tuple) of
@@ -2220,6 +2327,7 @@ class ContentguardsHeaderApi:
2220
2327
  _param = self._partial_update_serialize(
2221
2328
  header_content_guard_href=header_content_guard_href,
2222
2329
  patched_header_content_guard=patched_header_content_guard,
2330
+ x_task_diagnostics=x_task_diagnostics,
2223
2331
  _request_auth=_request_auth,
2224
2332
  _content_type=_content_type,
2225
2333
  _headers=_headers,
@@ -2240,6 +2348,7 @@ class ContentguardsHeaderApi:
2240
2348
  self,
2241
2349
  header_content_guard_href,
2242
2350
  patched_header_content_guard,
2351
+ x_task_diagnostics,
2243
2352
  _request_auth,
2244
2353
  _content_type,
2245
2354
  _headers,
@@ -2249,6 +2358,7 @@ class ContentguardsHeaderApi:
2249
2358
  _host = None
2250
2359
 
2251
2360
  _collection_formats: Dict[str, str] = {
2361
+ 'X-Task-Diagnostics': 'csv',
2252
2362
  }
2253
2363
 
2254
2364
  _path_params: Dict[str, str] = {}
@@ -2265,6 +2375,8 @@ class ContentguardsHeaderApi:
2265
2375
  _path_params['header_content_guard_href'] = header_content_guard_href
2266
2376
  # process the query parameters
2267
2377
  # process the header parameters
2378
+ if x_task_diagnostics is not None:
2379
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2268
2380
  # process the form parameters
2269
2381
  # process the body parameter
2270
2382
  if patched_header_content_guard is not None:
@@ -2323,6 +2435,7 @@ class ContentguardsHeaderApi:
2323
2435
  def read(
2324
2436
  self,
2325
2437
  header_content_guard_href: StrictStr,
2438
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2326
2439
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2327
2440
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2328
2441
  _request_timeout: Union[
@@ -2344,6 +2457,8 @@ class ContentguardsHeaderApi:
2344
2457
 
2345
2458
  :param header_content_guard_href: (required)
2346
2459
  :type header_content_guard_href: str
2460
+ :param x_task_diagnostics: List of profilers to use on tasks.
2461
+ :type x_task_diagnostics: List[str]
2347
2462
  :param fields: A list of fields to include in the response.
2348
2463
  :type fields: List[str]
2349
2464
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2372,6 +2487,7 @@ class ContentguardsHeaderApi:
2372
2487
 
2373
2488
  _param = self._read_serialize(
2374
2489
  header_content_guard_href=header_content_guard_href,
2490
+ x_task_diagnostics=x_task_diagnostics,
2375
2491
  fields=fields,
2376
2492
  exclude_fields=exclude_fields,
2377
2493
  _request_auth=_request_auth,
@@ -2398,6 +2514,7 @@ class ContentguardsHeaderApi:
2398
2514
  def read_with_http_info(
2399
2515
  self,
2400
2516
  header_content_guard_href: StrictStr,
2517
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2401
2518
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2402
2519
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2403
2520
  _request_timeout: Union[
@@ -2419,6 +2536,8 @@ class ContentguardsHeaderApi:
2419
2536
 
2420
2537
  :param header_content_guard_href: (required)
2421
2538
  :type header_content_guard_href: str
2539
+ :param x_task_diagnostics: List of profilers to use on tasks.
2540
+ :type x_task_diagnostics: List[str]
2422
2541
  :param fields: A list of fields to include in the response.
2423
2542
  :type fields: List[str]
2424
2543
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2447,6 +2566,7 @@ class ContentguardsHeaderApi:
2447
2566
 
2448
2567
  _param = self._read_serialize(
2449
2568
  header_content_guard_href=header_content_guard_href,
2569
+ x_task_diagnostics=x_task_diagnostics,
2450
2570
  fields=fields,
2451
2571
  exclude_fields=exclude_fields,
2452
2572
  _request_auth=_request_auth,
@@ -2473,6 +2593,7 @@ class ContentguardsHeaderApi:
2473
2593
  def read_without_preload_content(
2474
2594
  self,
2475
2595
  header_content_guard_href: StrictStr,
2596
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2476
2597
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
2477
2598
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
2478
2599
  _request_timeout: Union[
@@ -2494,6 +2615,8 @@ class ContentguardsHeaderApi:
2494
2615
 
2495
2616
  :param header_content_guard_href: (required)
2496
2617
  :type header_content_guard_href: str
2618
+ :param x_task_diagnostics: List of profilers to use on tasks.
2619
+ :type x_task_diagnostics: List[str]
2497
2620
  :param fields: A list of fields to include in the response.
2498
2621
  :type fields: List[str]
2499
2622
  :param exclude_fields: A list of fields to exclude from the response.
@@ -2522,6 +2645,7 @@ class ContentguardsHeaderApi:
2522
2645
 
2523
2646
  _param = self._read_serialize(
2524
2647
  header_content_guard_href=header_content_guard_href,
2648
+ x_task_diagnostics=x_task_diagnostics,
2525
2649
  fields=fields,
2526
2650
  exclude_fields=exclude_fields,
2527
2651
  _request_auth=_request_auth,
@@ -2543,6 +2667,7 @@ class ContentguardsHeaderApi:
2543
2667
  def _read_serialize(
2544
2668
  self,
2545
2669
  header_content_guard_href,
2670
+ x_task_diagnostics,
2546
2671
  fields,
2547
2672
  exclude_fields,
2548
2673
  _request_auth,
@@ -2554,6 +2679,7 @@ class ContentguardsHeaderApi:
2554
2679
  _host = None
2555
2680
 
2556
2681
  _collection_formats: Dict[str, str] = {
2682
+ 'X-Task-Diagnostics': 'csv',
2557
2683
  'fields': 'multi',
2558
2684
  'exclude_fields': 'multi',
2559
2685
  }
@@ -2580,6 +2706,8 @@ class ContentguardsHeaderApi:
2580
2706
  _query_params.append(('exclude_fields', exclude_fields))
2581
2707
 
2582
2708
  # process the header parameters
2709
+ if x_task_diagnostics is not None:
2710
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2583
2711
  # process the form parameters
2584
2712
  # process the body parameter
2585
2713
 
@@ -2622,6 +2750,7 @@ class ContentguardsHeaderApi:
2622
2750
  self,
2623
2751
  header_content_guard_href: StrictStr,
2624
2752
  nested_role: NestedRole,
2753
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2625
2754
  _request_timeout: Union[
2626
2755
  None,
2627
2756
  Annotated[StrictFloat, Field(gt=0)],
@@ -2643,6 +2772,8 @@ class ContentguardsHeaderApi:
2643
2772
  :type header_content_guard_href: str
2644
2773
  :param nested_role: (required)
2645
2774
  :type nested_role: NestedRole
2775
+ :param x_task_diagnostics: List of profilers to use on tasks.
2776
+ :type x_task_diagnostics: List[str]
2646
2777
  :param _request_timeout: timeout setting for this request. If one
2647
2778
  number provided, it will be total request
2648
2779
  timeout. It can also be a pair (tuple) of
@@ -2668,6 +2799,7 @@ class ContentguardsHeaderApi:
2668
2799
  _param = self._remove_role_serialize(
2669
2800
  header_content_guard_href=header_content_guard_href,
2670
2801
  nested_role=nested_role,
2802
+ x_task_diagnostics=x_task_diagnostics,
2671
2803
  _request_auth=_request_auth,
2672
2804
  _content_type=_content_type,
2673
2805
  _headers=_headers,
@@ -2693,6 +2825,7 @@ class ContentguardsHeaderApi:
2693
2825
  self,
2694
2826
  header_content_guard_href: StrictStr,
2695
2827
  nested_role: NestedRole,
2828
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2696
2829
  _request_timeout: Union[
2697
2830
  None,
2698
2831
  Annotated[StrictFloat, Field(gt=0)],
@@ -2714,6 +2847,8 @@ class ContentguardsHeaderApi:
2714
2847
  :type header_content_guard_href: str
2715
2848
  :param nested_role: (required)
2716
2849
  :type nested_role: NestedRole
2850
+ :param x_task_diagnostics: List of profilers to use on tasks.
2851
+ :type x_task_diagnostics: List[str]
2717
2852
  :param _request_timeout: timeout setting for this request. If one
2718
2853
  number provided, it will be total request
2719
2854
  timeout. It can also be a pair (tuple) of
@@ -2739,6 +2874,7 @@ class ContentguardsHeaderApi:
2739
2874
  _param = self._remove_role_serialize(
2740
2875
  header_content_guard_href=header_content_guard_href,
2741
2876
  nested_role=nested_role,
2877
+ x_task_diagnostics=x_task_diagnostics,
2742
2878
  _request_auth=_request_auth,
2743
2879
  _content_type=_content_type,
2744
2880
  _headers=_headers,
@@ -2764,6 +2900,7 @@ class ContentguardsHeaderApi:
2764
2900
  self,
2765
2901
  header_content_guard_href: StrictStr,
2766
2902
  nested_role: NestedRole,
2903
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2767
2904
  _request_timeout: Union[
2768
2905
  None,
2769
2906
  Annotated[StrictFloat, Field(gt=0)],
@@ -2785,6 +2922,8 @@ class ContentguardsHeaderApi:
2785
2922
  :type header_content_guard_href: str
2786
2923
  :param nested_role: (required)
2787
2924
  :type nested_role: NestedRole
2925
+ :param x_task_diagnostics: List of profilers to use on tasks.
2926
+ :type x_task_diagnostics: List[str]
2788
2927
  :param _request_timeout: timeout setting for this request. If one
2789
2928
  number provided, it will be total request
2790
2929
  timeout. It can also be a pair (tuple) of
@@ -2810,6 +2949,7 @@ class ContentguardsHeaderApi:
2810
2949
  _param = self._remove_role_serialize(
2811
2950
  header_content_guard_href=header_content_guard_href,
2812
2951
  nested_role=nested_role,
2952
+ x_task_diagnostics=x_task_diagnostics,
2813
2953
  _request_auth=_request_auth,
2814
2954
  _content_type=_content_type,
2815
2955
  _headers=_headers,
@@ -2830,6 +2970,7 @@ class ContentguardsHeaderApi:
2830
2970
  self,
2831
2971
  header_content_guard_href,
2832
2972
  nested_role,
2973
+ x_task_diagnostics,
2833
2974
  _request_auth,
2834
2975
  _content_type,
2835
2976
  _headers,
@@ -2839,6 +2980,7 @@ class ContentguardsHeaderApi:
2839
2980
  _host = None
2840
2981
 
2841
2982
  _collection_formats: Dict[str, str] = {
2983
+ 'X-Task-Diagnostics': 'csv',
2842
2984
  }
2843
2985
 
2844
2986
  _path_params: Dict[str, str] = {}
@@ -2855,6 +2997,8 @@ class ContentguardsHeaderApi:
2855
2997
  _path_params['header_content_guard_href'] = header_content_guard_href
2856
2998
  # process the query parameters
2857
2999
  # process the header parameters
3000
+ if x_task_diagnostics is not None:
3001
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2858
3002
  # process the form parameters
2859
3003
  # process the body parameter
2860
3004
  if nested_role is not None:
@@ -2914,6 +3058,7 @@ class ContentguardsHeaderApi:
2914
3058
  self,
2915
3059
  header_content_guard_href: StrictStr,
2916
3060
  header_content_guard: HeaderContentGuard,
3061
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2917
3062
  _request_timeout: Union[
2918
3063
  None,
2919
3064
  Annotated[StrictFloat, Field(gt=0)],
@@ -2935,6 +3080,8 @@ class ContentguardsHeaderApi:
2935
3080
  :type header_content_guard_href: str
2936
3081
  :param header_content_guard: (required)
2937
3082
  :type header_content_guard: HeaderContentGuard
3083
+ :param x_task_diagnostics: List of profilers to use on tasks.
3084
+ :type x_task_diagnostics: List[str]
2938
3085
  :param _request_timeout: timeout setting for this request. If one
2939
3086
  number provided, it will be total request
2940
3087
  timeout. It can also be a pair (tuple) of
@@ -2960,6 +3107,7 @@ class ContentguardsHeaderApi:
2960
3107
  _param = self._update_serialize(
2961
3108
  header_content_guard_href=header_content_guard_href,
2962
3109
  header_content_guard=header_content_guard,
3110
+ x_task_diagnostics=x_task_diagnostics,
2963
3111
  _request_auth=_request_auth,
2964
3112
  _content_type=_content_type,
2965
3113
  _headers=_headers,
@@ -2985,6 +3133,7 @@ class ContentguardsHeaderApi:
2985
3133
  self,
2986
3134
  header_content_guard_href: StrictStr,
2987
3135
  header_content_guard: HeaderContentGuard,
3136
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
2988
3137
  _request_timeout: Union[
2989
3138
  None,
2990
3139
  Annotated[StrictFloat, Field(gt=0)],
@@ -3006,6 +3155,8 @@ class ContentguardsHeaderApi:
3006
3155
  :type header_content_guard_href: str
3007
3156
  :param header_content_guard: (required)
3008
3157
  :type header_content_guard: HeaderContentGuard
3158
+ :param x_task_diagnostics: List of profilers to use on tasks.
3159
+ :type x_task_diagnostics: List[str]
3009
3160
  :param _request_timeout: timeout setting for this request. If one
3010
3161
  number provided, it will be total request
3011
3162
  timeout. It can also be a pair (tuple) of
@@ -3031,6 +3182,7 @@ class ContentguardsHeaderApi:
3031
3182
  _param = self._update_serialize(
3032
3183
  header_content_guard_href=header_content_guard_href,
3033
3184
  header_content_guard=header_content_guard,
3185
+ x_task_diagnostics=x_task_diagnostics,
3034
3186
  _request_auth=_request_auth,
3035
3187
  _content_type=_content_type,
3036
3188
  _headers=_headers,
@@ -3056,6 +3208,7 @@ class ContentguardsHeaderApi:
3056
3208
  self,
3057
3209
  header_content_guard_href: StrictStr,
3058
3210
  header_content_guard: HeaderContentGuard,
3211
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
3059
3212
  _request_timeout: Union[
3060
3213
  None,
3061
3214
  Annotated[StrictFloat, Field(gt=0)],
@@ -3077,6 +3230,8 @@ class ContentguardsHeaderApi:
3077
3230
  :type header_content_guard_href: str
3078
3231
  :param header_content_guard: (required)
3079
3232
  :type header_content_guard: HeaderContentGuard
3233
+ :param x_task_diagnostics: List of profilers to use on tasks.
3234
+ :type x_task_diagnostics: List[str]
3080
3235
  :param _request_timeout: timeout setting for this request. If one
3081
3236
  number provided, it will be total request
3082
3237
  timeout. It can also be a pair (tuple) of
@@ -3102,6 +3257,7 @@ class ContentguardsHeaderApi:
3102
3257
  _param = self._update_serialize(
3103
3258
  header_content_guard_href=header_content_guard_href,
3104
3259
  header_content_guard=header_content_guard,
3260
+ x_task_diagnostics=x_task_diagnostics,
3105
3261
  _request_auth=_request_auth,
3106
3262
  _content_type=_content_type,
3107
3263
  _headers=_headers,
@@ -3122,6 +3278,7 @@ class ContentguardsHeaderApi:
3122
3278
  self,
3123
3279
  header_content_guard_href,
3124
3280
  header_content_guard,
3281
+ x_task_diagnostics,
3125
3282
  _request_auth,
3126
3283
  _content_type,
3127
3284
  _headers,
@@ -3131,6 +3288,7 @@ class ContentguardsHeaderApi:
3131
3288
  _host = None
3132
3289
 
3133
3290
  _collection_formats: Dict[str, str] = {
3291
+ 'X-Task-Diagnostics': 'csv',
3134
3292
  }
3135
3293
 
3136
3294
  _path_params: Dict[str, str] = {}
@@ -3147,6 +3305,8 @@ class ContentguardsHeaderApi:
3147
3305
  _path_params['header_content_guard_href'] = header_content_guard_href
3148
3306
  # process the query parameters
3149
3307
  # process the header parameters
3308
+ if x_task_diagnostics is not None:
3309
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
3150
3310
  # process the form parameters
3151
3311
  # process the body parameter
3152
3312
  if header_content_guard is not None: