pulp_python_client 3.13.5 → 3.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentPackagesApi.md +22 -8
  4. data/docs/DistributionsPypiApi.md +72 -32
  5. data/docs/PublicationsPypiApi.md +40 -16
  6. data/docs/PypiApi.md +2 -0
  7. data/docs/PypiLegacyApi.md +2 -0
  8. data/docs/PypiMetadataApi.md +2 -0
  9. data/docs/PypiSimpleApi.md +6 -0
  10. data/docs/RemotesPythonApi.md +74 -32
  11. data/docs/RepositoriesPythonApi.md +88 -40
  12. data/docs/RepositoriesPythonVersionsApi.md +22 -10
  13. data/lib/pulp_python_client/api/content_packages_api.rb +15 -0
  14. data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
  15. data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
  16. data/lib/pulp_python_client/api/pypi_api.rb +3 -0
  17. data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
  18. data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
  19. data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
  20. data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
  21. data/lib/pulp_python_client/api/repositories_python_api.rb +42 -0
  22. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
  23. data/lib/pulp_python_client/version.rb +1 -1
  24. data/spec/api/content_packages_api_spec.rb +5 -0
  25. data/spec/api/distributions_pypi_api_spec.rb +12 -0
  26. data/spec/api/publications_pypi_api_spec.rb +8 -0
  27. data/spec/api/pypi_api_spec.rb +1 -0
  28. data/spec/api/pypi_legacy_api_spec.rb +1 -0
  29. data/spec/api/pypi_metadata_api_spec.rb +1 -0
  30. data/spec/api/pypi_simple_api_spec.rb +3 -0
  31. data/spec/api/remotes_python_api_spec.rb +13 -0
  32. data/spec/api/repositories_python_api_spec.rb +14 -0
  33. data/spec/api/repositories_python_versions_api_spec.rb +5 -1
  34. metadata +38 -38
@@ -24,6 +24,7 @@ module PulpPythonClient
24
24
  # @param meta [String]
25
25
  # @param path [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @option opts [Array<String>] :fields A list of fields to include in the response.
28
29
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
30
  # @return [PackageMetadataResponse]
@@ -37,6 +38,7 @@ module PulpPythonClient
37
38
  # @param meta [String]
38
39
  # @param path [String]
39
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
41
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
44
  # @return [Array<(PackageMetadataResponse, Integer, Hash)>] PackageMetadataResponse data, response status code and response headers
@@ -64,6 +66,7 @@ module PulpPythonClient
64
66
  header_params = opts[:header_params] || {}
65
67
  # HTTP header 'Accept' (if needed)
66
68
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
69
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
67
70
 
68
71
  # form parameters
69
72
  form_params = opts[:form_params] || {}
@@ -25,6 +25,7 @@ module PulpPythonClient
25
25
  # @param content [File] A Python package release file to upload to the index.
26
26
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
27
27
  # @param [Hash] opts the optional parameters
28
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
29
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
29
30
  # @return [PackageUploadTaskResponse]
30
31
  def create(path, content, sha256_digest, opts = {})
@@ -38,6 +39,7 @@ module PulpPythonClient
38
39
  # @param content [File] A Python package release file to upload to the index.
39
40
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
40
41
  # @param [Hash] opts the optional parameters
42
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
42
44
  # @return [Array<(PackageUploadTaskResponse, Integer, Hash)>] PackageUploadTaskResponse data, response status code and response headers
43
45
  def create_with_http_info(path, content, sha256_digest, opts = {})
@@ -83,6 +85,7 @@ module PulpPythonClient
83
85
  if !content_type.nil?
84
86
  header_params['Content-Type'] = content_type
85
87
  end
88
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
86
89
 
87
90
  # form parameters
88
91
  form_params = opts[:form_params] || {}
@@ -121,6 +124,7 @@ module PulpPythonClient
121
124
  # @param package [String]
122
125
  # @param path [String]
123
126
  # @param [Hash] opts the optional parameters
127
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
124
128
  # @option opts [Array<String>] :fields A list of fields to include in the response.
125
129
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
130
  # @return [nil]
@@ -134,6 +138,7 @@ module PulpPythonClient
134
138
  # @param package [String]
135
139
  # @param path [String]
136
140
  # @param [Hash] opts the optional parameters
141
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
137
142
  # @option opts [Array<String>] :fields A list of fields to include in the response.
138
143
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
139
144
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -159,6 +164,7 @@ module PulpPythonClient
159
164
 
160
165
  # header parameters
161
166
  header_params = opts[:header_params] || {}
167
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
162
168
 
163
169
  # form parameters
164
170
  form_params = opts[:form_params] || {}
@@ -193,6 +199,7 @@ module PulpPythonClient
193
199
  # Gets the simple api html page for the index.
194
200
  # @param path [String]
195
201
  # @param [Hash] opts the optional parameters
202
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
196
203
  # @option opts [Array<String>] :fields A list of fields to include in the response.
197
204
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
198
205
  # @return [nil]
@@ -205,6 +212,7 @@ module PulpPythonClient
205
212
  # Gets the simple api html page for the index.
206
213
  # @param path [String]
207
214
  # @param [Hash] opts the optional parameters
215
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
208
216
  # @option opts [Array<String>] :fields A list of fields to include in the response.
209
217
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
210
218
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -226,6 +234,7 @@ module PulpPythonClient
226
234
 
227
235
  # header parameters
228
236
  header_params = opts[:header_params] || {}
237
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
229
238
 
230
239
  # form parameters
231
240
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpPythonClient
24
24
  # @param python_python_remote_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [NestedRoleResponse]
28
29
  def add_role(python_python_remote_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(python_python_remote_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpPythonClient
35
36
  # @param python_python_remote_href [String]
36
37
  # @param nested_role [NestedRole]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
39
41
  def add_role_with_http_info(python_python_remote_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpPythonClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpPythonClient
97
100
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
98
101
  # @param python_python_remote [PythonPythonRemote]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [PythonPythonRemoteResponse]
101
105
  def create(python_python_remote, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(python_python_remote, opts)
@@ -107,6 +111,7 @@ module PulpPythonClient
107
111
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
108
112
  # @param python_python_remote [PythonPythonRemote]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
111
116
  def create_with_http_info(python_python_remote, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpPythonClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpPythonClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param python_python_remote_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(python_python_remote_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(python_python_remote_href, opts)
@@ -175,6 +182,7 @@ module PulpPythonClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param python_python_remote_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(python_python_remote_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpPythonClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
197
206
 
198
207
  # form parameters
199
208
  form_params = opts[:form_params] || {}
@@ -229,6 +238,7 @@ module PulpPythonClient
229
238
  # @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
230
239
  # @param name [String] A unique name for this remote
231
240
  # @param [Hash] opts the optional parameters
241
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
232
242
  # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;on_demand&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
233
243
  # @return [PythonPythonRemoteResponse]
234
244
  def from_bandersnatch(config, name, opts = {})
@@ -241,6 +251,7 @@ module PulpPythonClient
241
251
  # @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
242
252
  # @param name [String] A unique name for this remote
243
253
  # @param [Hash] opts the optional parameters
254
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
244
255
  # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;on_demand&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
245
256
  # @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
246
257
  def from_bandersnatch_with_http_info(config, name, opts = {})
@@ -274,6 +285,7 @@ module PulpPythonClient
274
285
  if !content_type.nil?
275
286
  header_params['Content-Type'] = content_type
276
287
  end
288
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
277
289
 
278
290
  # form parameters
279
291
  form_params = opts[:form_params] || {}
@@ -310,6 +322,7 @@ module PulpPythonClient
310
322
  # List python remotes
311
323
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
312
324
  # @param [Hash] opts the optional parameters
325
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
313
326
  # @option opts [Integer] :limit Number of results to return per page.
314
327
  # @option opts [String] :name Filter results where name matches value
315
328
  # @option opts [String] :name__contains Filter results where name contains value
@@ -345,6 +358,7 @@ module PulpPythonClient
345
358
  # List python remotes
346
359
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
347
360
  # @param [Hash] opts the optional parameters
361
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
348
362
  # @option opts [Integer] :limit Number of results to return per page.
349
363
  # @option opts [String] :name Filter results where name matches value
350
364
  # @option opts [String] :name__contains Filter results where name contains value
@@ -416,6 +430,7 @@ module PulpPythonClient
416
430
  header_params = opts[:header_params] || {}
417
431
  # HTTP header 'Accept' (if needed)
418
432
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
433
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
419
434
 
420
435
  # form parameters
421
436
  form_params = opts[:form_params] || {}
@@ -450,6 +465,7 @@ module PulpPythonClient
450
465
  # List roles assigned to this object.
451
466
  # @param python_python_remote_href [String]
452
467
  # @param [Hash] opts the optional parameters
468
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
453
469
  # @option opts [Array<String>] :fields A list of fields to include in the response.
454
470
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
455
471
  # @return [ObjectRolesResponse]
@@ -462,6 +478,7 @@ module PulpPythonClient
462
478
  # List roles assigned to this object.
463
479
  # @param python_python_remote_href [String]
464
480
  # @param [Hash] opts the optional parameters
481
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
465
482
  # @option opts [Array<String>] :fields A list of fields to include in the response.
466
483
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
467
484
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -485,6 +502,7 @@ module PulpPythonClient
485
502
  header_params = opts[:header_params] || {}
486
503
  # HTTP header 'Accept' (if needed)
487
504
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
505
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
488
506
 
489
507
  # form parameters
490
508
  form_params = opts[:form_params] || {}
@@ -519,6 +537,7 @@ module PulpPythonClient
519
537
  # List permissions available to the current user on this object.
520
538
  # @param python_python_remote_href [String]
521
539
  # @param [Hash] opts the optional parameters
540
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
522
541
  # @option opts [Array<String>] :fields A list of fields to include in the response.
523
542
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
524
543
  # @return [MyPermissionsResponse]
@@ -531,6 +550,7 @@ module PulpPythonClient
531
550
  # List permissions available to the current user on this object.
532
551
  # @param python_python_remote_href [String]
533
552
  # @param [Hash] opts the optional parameters
553
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
534
554
  # @option opts [Array<String>] :fields A list of fields to include in the response.
535
555
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
536
556
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -554,6 +574,7 @@ module PulpPythonClient
554
574
  header_params = opts[:header_params] || {}
555
575
  # HTTP header 'Accept' (if needed)
556
576
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
577
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
557
578
 
558
579
  # form parameters
559
580
  form_params = opts[:form_params] || {}
@@ -589,6 +610,7 @@ module PulpPythonClient
589
610
  # @param python_python_remote_href [String]
590
611
  # @param patchedpython_python_remote [PatchedpythonPythonRemote]
591
612
  # @param [Hash] opts the optional parameters
613
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
592
614
  # @return [AsyncOperationResponse]
593
615
  def partial_update(python_python_remote_href, patchedpython_python_remote, opts = {})
594
616
  data, _status_code, _headers = partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
@@ -600,6 +622,7 @@ module PulpPythonClient
600
622
  # @param python_python_remote_href [String]
601
623
  # @param patchedpython_python_remote [PatchedpythonPythonRemote]
602
624
  # @param [Hash] opts the optional parameters
625
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
603
626
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
604
627
  def partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts = {})
605
628
  if @api_client.config.debugging
@@ -628,6 +651,7 @@ module PulpPythonClient
628
651
  if !content_type.nil?
629
652
  header_params['Content-Type'] = content_type
630
653
  end
654
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
631
655
 
632
656
  # form parameters
633
657
  form_params = opts[:form_params] || {}
@@ -662,6 +686,7 @@ module PulpPythonClient
662
686
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
663
687
  # @param python_python_remote_href [String]
664
688
  # @param [Hash] opts the optional parameters
689
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
665
690
  # @option opts [Array<String>] :fields A list of fields to include in the response.
666
691
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
667
692
  # @return [PythonPythonRemoteResponse]
@@ -674,6 +699,7 @@ module PulpPythonClient
674
699
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
675
700
  # @param python_python_remote_href [String]
676
701
  # @param [Hash] opts the optional parameters
702
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
677
703
  # @option opts [Array<String>] :fields A list of fields to include in the response.
678
704
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
679
705
  # @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
@@ -697,6 +723,7 @@ module PulpPythonClient
697
723
  header_params = opts[:header_params] || {}
698
724
  # HTTP header 'Accept' (if needed)
699
725
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
726
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
700
727
 
701
728
  # form parameters
702
729
  form_params = opts[:form_params] || {}
@@ -732,6 +759,7 @@ module PulpPythonClient
732
759
  # @param python_python_remote_href [String]
733
760
  # @param nested_role [NestedRole]
734
761
  # @param [Hash] opts the optional parameters
762
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
735
763
  # @return [NestedRoleResponse]
736
764
  def remove_role(python_python_remote_href, nested_role, opts = {})
737
765
  data, _status_code, _headers = remove_role_with_http_info(python_python_remote_href, nested_role, opts)
@@ -743,6 +771,7 @@ module PulpPythonClient
743
771
  # @param python_python_remote_href [String]
744
772
  # @param nested_role [NestedRole]
745
773
  # @param [Hash] opts the optional parameters
774
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
746
775
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
747
776
  def remove_role_with_http_info(python_python_remote_href, nested_role, opts = {})
748
777
  if @api_client.config.debugging
@@ -771,6 +800,7 @@ module PulpPythonClient
771
800
  if !content_type.nil?
772
801
  header_params['Content-Type'] = content_type
773
802
  end
803
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
774
804
 
775
805
  # form parameters
776
806
  form_params = opts[:form_params] || {}
@@ -806,6 +836,7 @@ module PulpPythonClient
806
836
  # @param python_python_remote_href [String]
807
837
  # @param set_label [SetLabel]
808
838
  # @param [Hash] opts the optional parameters
839
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
809
840
  # @return [SetLabelResponse]
810
841
  def set_label(python_python_remote_href, set_label, opts = {})
811
842
  data, _status_code, _headers = set_label_with_http_info(python_python_remote_href, set_label, opts)
@@ -817,6 +848,7 @@ module PulpPythonClient
817
848
  # @param python_python_remote_href [String]
818
849
  # @param set_label [SetLabel]
819
850
  # @param [Hash] opts the optional parameters
851
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
820
852
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
821
853
  def set_label_with_http_info(python_python_remote_href, set_label, opts = {})
822
854
  if @api_client.config.debugging
@@ -845,6 +877,7 @@ module PulpPythonClient
845
877
  if !content_type.nil?
846
878
  header_params['Content-Type'] = content_type
847
879
  end
880
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
848
881
 
849
882
  # form parameters
850
883
  form_params = opts[:form_params] || {}
@@ -880,6 +913,7 @@ module PulpPythonClient
880
913
  # @param python_python_remote_href [String]
881
914
  # @param unset_label [UnsetLabel]
882
915
  # @param [Hash] opts the optional parameters
916
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
883
917
  # @return [UnsetLabelResponse]
884
918
  def unset_label(python_python_remote_href, unset_label, opts = {})
885
919
  data, _status_code, _headers = unset_label_with_http_info(python_python_remote_href, unset_label, opts)
@@ -891,6 +925,7 @@ module PulpPythonClient
891
925
  # @param python_python_remote_href [String]
892
926
  # @param unset_label [UnsetLabel]
893
927
  # @param [Hash] opts the optional parameters
928
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
894
929
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
895
930
  def unset_label_with_http_info(python_python_remote_href, unset_label, opts = {})
896
931
  if @api_client.config.debugging
@@ -919,6 +954,7 @@ module PulpPythonClient
919
954
  if !content_type.nil?
920
955
  header_params['Content-Type'] = content_type
921
956
  end
957
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
922
958
 
923
959
  # form parameters
924
960
  form_params = opts[:form_params] || {}
@@ -954,6 +990,7 @@ module PulpPythonClient
954
990
  # @param python_python_remote_href [String]
955
991
  # @param python_python_remote [PythonPythonRemote]
956
992
  # @param [Hash] opts the optional parameters
993
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
957
994
  # @return [AsyncOperationResponse]
958
995
  def update(python_python_remote_href, python_python_remote, opts = {})
959
996
  data, _status_code, _headers = update_with_http_info(python_python_remote_href, python_python_remote, opts)
@@ -965,6 +1002,7 @@ module PulpPythonClient
965
1002
  # @param python_python_remote_href [String]
966
1003
  # @param python_python_remote [PythonPythonRemote]
967
1004
  # @param [Hash] opts the optional parameters
1005
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
968
1006
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
969
1007
  def update_with_http_info(python_python_remote_href, python_python_remote, opts = {})
970
1008
  if @api_client.config.debugging
@@ -993,6 +1031,7 @@ module PulpPythonClient
993
1031
  if !content_type.nil?
994
1032
  header_params['Content-Type'] = content_type
995
1033
  end
1034
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
996
1035
 
997
1036
  # form parameters
998
1037
  form_params = opts[:form_params] || {}