pulp_container_client 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +8 -8
  5. data/docs/ContainerContainerDistributionResponse.md +16 -16
  6. data/docs/ContainerContainerPullThroughDistribution.md +8 -8
  7. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
  8. data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
  9. data/docs/ContainerContainerPushRepository.md +7 -7
  10. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  11. data/docs/ContainerContainerRemoteResponse.md +1 -1
  12. data/docs/ContainerManifestResponse.md +2 -0
  13. data/docs/ContainerManifestSignatureResponse.md +2 -0
  14. data/docs/ContainerTagResponse.md +2 -0
  15. data/docs/ContentBlobsApi.md +20 -8
  16. data/docs/ContentManifestsApi.md +20 -8
  17. data/docs/ContentSignaturesApi.md +20 -8
  18. data/docs/ContentTagsApi.md +20 -8
  19. data/docs/DistributionsContainerApi.md +72 -32
  20. data/docs/DistributionsPullThroughApi.md +72 -32
  21. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  22. data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
  23. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  24. data/docs/PulpContainerNamespacesApi.md +40 -16
  25. data/docs/RemotesContainerApi.md +72 -32
  26. data/docs/RemotesPullThroughApi.md +72 -32
  27. data/docs/RepositoriesContainerApi.md +138 -64
  28. data/docs/RepositoriesContainerPushApi.md +80 -36
  29. data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
  30. data/docs/RepositoriesContainerVersionsApi.md +22 -10
  31. data/docs/RepositoryVersionResponse.md +3 -1
  32. data/docs/TokenApi.md +14 -5
  33. data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
  34. data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
  35. data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
  36. data/lib/pulp_container_client/api/content_tags_api.rb +12 -0
  37. data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
  38. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
  39. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
  40. data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
  41. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
  42. data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
  43. data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
  44. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
  45. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
  46. data/lib/pulp_container_client/api/token_api.rb +9 -0
  47. data/lib/pulp_container_client/models/container_blob_response.rb +10 -1
  48. data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
  49. data/lib/pulp_container_client/models/container_container_distribution_response.rb +71 -71
  50. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
  51. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +71 -71
  52. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +0 -15
  53. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +0 -15
  54. data/lib/pulp_container_client/models/container_container_push_repository.rb +33 -48
  55. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +66 -81
  56. data/lib/pulp_container_client/models/container_container_remote.rb +0 -15
  57. data/lib/pulp_container_client/models/container_container_remote_response.rb +0 -15
  58. data/lib/pulp_container_client/models/container_container_repository.rb +0 -15
  59. data/lib/pulp_container_client/models/container_container_repository_response.rb +0 -15
  60. data/lib/pulp_container_client/models/container_manifest_response.rb +10 -1
  61. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +10 -1
  62. data/lib/pulp_container_client/models/container_tag_response.rb +10 -1
  63. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -2
  64. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -2
  65. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -2
  66. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -2
  67. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -2
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -2
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -2
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -2
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -2
  72. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -2
  73. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -2
  74. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -2
  75. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +32 -32
  76. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +32 -32
  77. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +0 -15
  78. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +31 -46
  79. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +0 -15
  80. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +0 -15
  81. data/lib/pulp_container_client/models/repository_version_response.rb +13 -4
  82. data/lib/pulp_container_client/version.rb +1 -1
  83. data/pulp_container_client.gemspec +0 -1
  84. data/spec/api/content_blobs_api_spec.rb +4 -0
  85. data/spec/api/content_manifests_api_spec.rb +4 -0
  86. data/spec/api/content_signatures_api_spec.rb +4 -0
  87. data/spec/api/content_tags_api_spec.rb +4 -0
  88. data/spec/api/distributions_container_api_spec.rb +12 -0
  89. data/spec/api/distributions_pull_through_api_spec.rb +12 -0
  90. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
  91. data/spec/api/remotes_container_api_spec.rb +12 -0
  92. data/spec/api/remotes_pull_through_api_spec.rb +12 -0
  93. data/spec/api/repositories_container_api_spec.rb +21 -0
  94. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  95. data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
  96. data/spec/api/repositories_container_versions_api_spec.rb +5 -1
  97. data/spec/api/token_api_spec.rb +3 -0
  98. data/spec/models/container_blob_response_spec.rb +6 -0
  99. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  100. data/spec/models/container_container_distribution_spec.rb +4 -4
  101. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  102. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  103. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  104. data/spec/models/container_container_push_repository_spec.rb +5 -5
  105. data/spec/models/container_manifest_response_spec.rb +6 -0
  106. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  107. data/spec/models/container_tag_response_spec.rb +6 -0
  108. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  109. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  110. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  111. data/spec/models/repository_version_response_spec.rb +6 -0
  112. metadata +62 -82
@@ -24,6 +24,7 @@ module PulpContainerClient
24
24
  # @param container_container_namespace_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(container_container_namespace_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(container_container_namespace_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpContainerClient
35
36
  # @param container_container_namespace_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(container_container_namespace_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpContainerClient
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 PulpContainerClient
97
100
  # ViewSet for ContainerNamespaces.
98
101
  # @param container_container_namespace [ContainerContainerNamespace]
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 [ContainerContainerNamespaceResponse]
101
105
  def create(container_container_namespace, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(container_container_namespace, opts)
@@ -107,6 +111,7 @@ module PulpContainerClient
107
111
  # ViewSet for ContainerNamespaces.
108
112
  # @param container_container_namespace [ContainerContainerNamespace]
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<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
111
116
  def create_with_http_info(container_container_namespace, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpContainerClient
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 PulpContainerClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param container_container_namespace_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(container_container_namespace_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(container_container_namespace_href, opts)
@@ -175,6 +182,7 @@ module PulpContainerClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param container_container_namespace_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(container_container_namespace_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpContainerClient
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] || {}
@@ -227,6 +236,7 @@ module PulpContainerClient
227
236
  # List container namespaces
228
237
  # ViewSet for ContainerNamespaces.
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @option opts [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -254,6 +264,7 @@ module PulpContainerClient
254
264
  # List container namespaces
255
265
  # ViewSet for ContainerNamespaces.
256
266
  # @param [Hash] opts the optional parameters
267
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
257
268
  # @option opts [Integer] :limit Number of results to return per page.
258
269
  # @option opts [String] :name Filter results where name matches value
259
270
  # @option opts [String] :name__contains Filter results where name contains value
@@ -309,6 +320,7 @@ module PulpContainerClient
309
320
  header_params = opts[:header_params] || {}
310
321
  # HTTP header 'Accept' (if needed)
311
322
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
323
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
312
324
 
313
325
  # form parameters
314
326
  form_params = opts[:form_params] || {}
@@ -343,6 +355,7 @@ module PulpContainerClient
343
355
  # List roles assigned to this object.
344
356
  # @param container_container_namespace_href [String]
345
357
  # @param [Hash] opts the optional parameters
358
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
346
359
  # @option opts [Array<String>] :fields A list of fields to include in the response.
347
360
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
348
361
  # @return [ObjectRolesResponse]
@@ -355,6 +368,7 @@ module PulpContainerClient
355
368
  # List roles assigned to this object.
356
369
  # @param container_container_namespace_href [String]
357
370
  # @param [Hash] opts the optional parameters
371
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
358
372
  # @option opts [Array<String>] :fields A list of fields to include in the response.
359
373
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
360
374
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -378,6 +392,7 @@ module PulpContainerClient
378
392
  header_params = opts[:header_params] || {}
379
393
  # HTTP header 'Accept' (if needed)
380
394
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
395
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
381
396
 
382
397
  # form parameters
383
398
  form_params = opts[:form_params] || {}
@@ -412,6 +427,7 @@ module PulpContainerClient
412
427
  # List permissions available to the current user on this object.
413
428
  # @param container_container_namespace_href [String]
414
429
  # @param [Hash] opts the optional parameters
430
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
415
431
  # @option opts [Array<String>] :fields A list of fields to include in the response.
416
432
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
417
433
  # @return [MyPermissionsResponse]
@@ -424,6 +440,7 @@ module PulpContainerClient
424
440
  # List permissions available to the current user on this object.
425
441
  # @param container_container_namespace_href [String]
426
442
  # @param [Hash] opts the optional parameters
443
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
427
444
  # @option opts [Array<String>] :fields A list of fields to include in the response.
428
445
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
429
446
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -447,6 +464,7 @@ module PulpContainerClient
447
464
  header_params = opts[:header_params] || {}
448
465
  # HTTP header 'Accept' (if needed)
449
466
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
467
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
450
468
 
451
469
  # form parameters
452
470
  form_params = opts[:form_params] || {}
@@ -481,6 +499,7 @@ module PulpContainerClient
481
499
  # ViewSet for ContainerNamespaces.
482
500
  # @param container_container_namespace_href [String]
483
501
  # @param [Hash] opts the optional parameters
502
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
484
503
  # @option opts [Array<String>] :fields A list of fields to include in the response.
485
504
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
486
505
  # @return [ContainerContainerNamespaceResponse]
@@ -493,6 +512,7 @@ module PulpContainerClient
493
512
  # ViewSet for ContainerNamespaces.
494
513
  # @param container_container_namespace_href [String]
495
514
  # @param [Hash] opts the optional parameters
515
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
496
516
  # @option opts [Array<String>] :fields A list of fields to include in the response.
497
517
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
498
518
  # @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
@@ -516,6 +536,7 @@ module PulpContainerClient
516
536
  header_params = opts[:header_params] || {}
517
537
  # HTTP header 'Accept' (if needed)
518
538
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
539
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
519
540
 
520
541
  # form parameters
521
542
  form_params = opts[:form_params] || {}
@@ -551,6 +572,7 @@ module PulpContainerClient
551
572
  # @param container_container_namespace_href [String]
552
573
  # @param nested_role [NestedRole]
553
574
  # @param [Hash] opts the optional parameters
575
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
554
576
  # @return [NestedRoleResponse]
555
577
  def remove_role(container_container_namespace_href, nested_role, opts = {})
556
578
  data, _status_code, _headers = remove_role_with_http_info(container_container_namespace_href, nested_role, opts)
@@ -562,6 +584,7 @@ module PulpContainerClient
562
584
  # @param container_container_namespace_href [String]
563
585
  # @param nested_role [NestedRole]
564
586
  # @param [Hash] opts the optional parameters
587
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
565
588
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
566
589
  def remove_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
567
590
  if @api_client.config.debugging
@@ -590,6 +613,7 @@ module PulpContainerClient
590
613
  if !content_type.nil?
591
614
  header_params['Content-Type'] = content_type
592
615
  end
616
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
593
617
 
594
618
  # form parameters
595
619
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpContainerClient
24
24
  # @param container_container_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(container_container_remote_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(container_container_remote_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpContainerClient
35
36
  # @param container_container_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(container_container_remote_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpContainerClient
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 PulpContainerClient
97
100
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
98
101
  # @param container_container_remote [ContainerContainerRemote]
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 [ContainerContainerRemoteResponse]
101
105
  def create(container_container_remote, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(container_container_remote, opts)
@@ -107,6 +111,7 @@ module PulpContainerClient
107
111
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
108
112
  # @param container_container_remote [ContainerContainerRemote]
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<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
111
116
  def create_with_http_info(container_container_remote, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpContainerClient
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 PulpContainerClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param container_container_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(container_container_remote_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(container_container_remote_href, opts)
@@ -175,6 +182,7 @@ module PulpContainerClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param container_container_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(container_container_remote_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpContainerClient
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] || {}
@@ -227,6 +236,7 @@ module PulpContainerClient
227
236
  # List container remotes
228
237
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @option opts [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -262,6 +272,7 @@ module PulpContainerClient
262
272
  # List container remotes
263
273
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
264
274
  # @param [Hash] opts the optional parameters
275
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
265
276
  # @option opts [Integer] :limit Number of results to return per page.
266
277
  # @option opts [String] :name Filter results where name matches value
267
278
  # @option opts [String] :name__contains Filter results where name contains value
@@ -333,6 +344,7 @@ module PulpContainerClient
333
344
  header_params = opts[:header_params] || {}
334
345
  # HTTP header 'Accept' (if needed)
335
346
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
347
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
336
348
 
337
349
  # form parameters
338
350
  form_params = opts[:form_params] || {}
@@ -367,6 +379,7 @@ module PulpContainerClient
367
379
  # List roles assigned to this object.
368
380
  # @param container_container_remote_href [String]
369
381
  # @param [Hash] opts the optional parameters
382
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
370
383
  # @option opts [Array<String>] :fields A list of fields to include in the response.
371
384
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
372
385
  # @return [ObjectRolesResponse]
@@ -379,6 +392,7 @@ module PulpContainerClient
379
392
  # List roles assigned to this object.
380
393
  # @param container_container_remote_href [String]
381
394
  # @param [Hash] opts the optional parameters
395
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
382
396
  # @option opts [Array<String>] :fields A list of fields to include in the response.
383
397
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
384
398
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -402,6 +416,7 @@ module PulpContainerClient
402
416
  header_params = opts[:header_params] || {}
403
417
  # HTTP header 'Accept' (if needed)
404
418
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
419
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
405
420
 
406
421
  # form parameters
407
422
  form_params = opts[:form_params] || {}
@@ -436,6 +451,7 @@ module PulpContainerClient
436
451
  # List permissions available to the current user on this object.
437
452
  # @param container_container_remote_href [String]
438
453
  # @param [Hash] opts the optional parameters
454
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
439
455
  # @option opts [Array<String>] :fields A list of fields to include in the response.
440
456
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
441
457
  # @return [MyPermissionsResponse]
@@ -448,6 +464,7 @@ module PulpContainerClient
448
464
  # List permissions available to the current user on this object.
449
465
  # @param container_container_remote_href [String]
450
466
  # @param [Hash] opts the optional parameters
467
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
451
468
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
469
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
470
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -471,6 +488,7 @@ module PulpContainerClient
471
488
  header_params = opts[:header_params] || {}
472
489
  # HTTP header 'Accept' (if needed)
473
490
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
491
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
474
492
 
475
493
  # form parameters
476
494
  form_params = opts[:form_params] || {}
@@ -506,6 +524,7 @@ module PulpContainerClient
506
524
  # @param container_container_remote_href [String]
507
525
  # @param patchedcontainer_container_remote [PatchedcontainerContainerRemote]
508
526
  # @param [Hash] opts the optional parameters
527
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
509
528
  # @return [AsyncOperationResponse]
510
529
  def partial_update(container_container_remote_href, patchedcontainer_container_remote, opts = {})
511
530
  data, _status_code, _headers = partial_update_with_http_info(container_container_remote_href, patchedcontainer_container_remote, opts)
@@ -517,6 +536,7 @@ module PulpContainerClient
517
536
  # @param container_container_remote_href [String]
518
537
  # @param patchedcontainer_container_remote [PatchedcontainerContainerRemote]
519
538
  # @param [Hash] opts the optional parameters
539
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
520
540
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
521
541
  def partial_update_with_http_info(container_container_remote_href, patchedcontainer_container_remote, opts = {})
522
542
  if @api_client.config.debugging
@@ -545,6 +565,7 @@ module PulpContainerClient
545
565
  if !content_type.nil?
546
566
  header_params['Content-Type'] = content_type
547
567
  end
568
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
548
569
 
549
570
  # form parameters
550
571
  form_params = opts[:form_params] || {}
@@ -579,6 +600,7 @@ module PulpContainerClient
579
600
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
580
601
  # @param container_container_remote_href [String]
581
602
  # @param [Hash] opts the optional parameters
603
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
582
604
  # @option opts [Array<String>] :fields A list of fields to include in the response.
583
605
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
584
606
  # @return [ContainerContainerRemoteResponse]
@@ -591,6 +613,7 @@ module PulpContainerClient
591
613
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
592
614
  # @param container_container_remote_href [String]
593
615
  # @param [Hash] opts the optional parameters
616
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
594
617
  # @option opts [Array<String>] :fields A list of fields to include in the response.
595
618
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
596
619
  # @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
@@ -614,6 +637,7 @@ module PulpContainerClient
614
637
  header_params = opts[:header_params] || {}
615
638
  # HTTP header 'Accept' (if needed)
616
639
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
640
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
617
641
 
618
642
  # form parameters
619
643
  form_params = opts[:form_params] || {}
@@ -649,6 +673,7 @@ module PulpContainerClient
649
673
  # @param container_container_remote_href [String]
650
674
  # @param nested_role [NestedRole]
651
675
  # @param [Hash] opts the optional parameters
676
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
652
677
  # @return [NestedRoleResponse]
653
678
  def remove_role(container_container_remote_href, nested_role, opts = {})
654
679
  data, _status_code, _headers = remove_role_with_http_info(container_container_remote_href, nested_role, opts)
@@ -660,6 +685,7 @@ module PulpContainerClient
660
685
  # @param container_container_remote_href [String]
661
686
  # @param nested_role [NestedRole]
662
687
  # @param [Hash] opts the optional parameters
688
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
663
689
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
664
690
  def remove_role_with_http_info(container_container_remote_href, nested_role, opts = {})
665
691
  if @api_client.config.debugging
@@ -688,6 +714,7 @@ module PulpContainerClient
688
714
  if !content_type.nil?
689
715
  header_params['Content-Type'] = content_type
690
716
  end
717
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
691
718
 
692
719
  # form parameters
693
720
  form_params = opts[:form_params] || {}
@@ -723,6 +750,7 @@ module PulpContainerClient
723
750
  # @param container_container_remote_href [String]
724
751
  # @param set_label [SetLabel]
725
752
  # @param [Hash] opts the optional parameters
753
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
726
754
  # @return [SetLabelResponse]
727
755
  def set_label(container_container_remote_href, set_label, opts = {})
728
756
  data, _status_code, _headers = set_label_with_http_info(container_container_remote_href, set_label, opts)
@@ -734,6 +762,7 @@ module PulpContainerClient
734
762
  # @param container_container_remote_href [String]
735
763
  # @param set_label [SetLabel]
736
764
  # @param [Hash] opts the optional parameters
765
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
737
766
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
738
767
  def set_label_with_http_info(container_container_remote_href, set_label, opts = {})
739
768
  if @api_client.config.debugging
@@ -762,6 +791,7 @@ module PulpContainerClient
762
791
  if !content_type.nil?
763
792
  header_params['Content-Type'] = content_type
764
793
  end
794
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
765
795
 
766
796
  # form parameters
767
797
  form_params = opts[:form_params] || {}
@@ -797,6 +827,7 @@ module PulpContainerClient
797
827
  # @param container_container_remote_href [String]
798
828
  # @param unset_label [UnsetLabel]
799
829
  # @param [Hash] opts the optional parameters
830
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
800
831
  # @return [UnsetLabelResponse]
801
832
  def unset_label(container_container_remote_href, unset_label, opts = {})
802
833
  data, _status_code, _headers = unset_label_with_http_info(container_container_remote_href, unset_label, opts)
@@ -808,6 +839,7 @@ module PulpContainerClient
808
839
  # @param container_container_remote_href [String]
809
840
  # @param unset_label [UnsetLabel]
810
841
  # @param [Hash] opts the optional parameters
842
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
811
843
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
812
844
  def unset_label_with_http_info(container_container_remote_href, unset_label, opts = {})
813
845
  if @api_client.config.debugging
@@ -836,6 +868,7 @@ module PulpContainerClient
836
868
  if !content_type.nil?
837
869
  header_params['Content-Type'] = content_type
838
870
  end
871
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
839
872
 
840
873
  # form parameters
841
874
  form_params = opts[:form_params] || {}
@@ -871,6 +904,7 @@ module PulpContainerClient
871
904
  # @param container_container_remote_href [String]
872
905
  # @param container_container_remote [ContainerContainerRemote]
873
906
  # @param [Hash] opts the optional parameters
907
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
874
908
  # @return [AsyncOperationResponse]
875
909
  def update(container_container_remote_href, container_container_remote, opts = {})
876
910
  data, _status_code, _headers = update_with_http_info(container_container_remote_href, container_container_remote, opts)
@@ -882,6 +916,7 @@ module PulpContainerClient
882
916
  # @param container_container_remote_href [String]
883
917
  # @param container_container_remote [ContainerContainerRemote]
884
918
  # @param [Hash] opts the optional parameters
919
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
885
920
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
886
921
  def update_with_http_info(container_container_remote_href, container_container_remote, opts = {})
887
922
  if @api_client.config.debugging
@@ -910,6 +945,7 @@ module PulpContainerClient
910
945
  if !content_type.nil?
911
946
  header_params['Content-Type'] = content_type
912
947
  end
948
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
913
949
 
914
950
  # form parameters
915
951
  form_params = opts[:form_params] || {}