pulpcore_client 3.80.2 → 3.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccessPoliciesApi.md +28 -12
  4. data/docs/ArtifactDistributionResponse.md +13 -13
  5. data/docs/ArtifactsApi.md +14 -4
  6. data/docs/ContentApi.md +2 -0
  7. data/docs/ContentOpenpgpPublickeyApi.md +22 -8
  8. data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
  9. data/docs/ContentOpenpgpSignatureApi.md +20 -8
  10. data/docs/ContentOpenpgpUserattributeApi.md +20 -8
  11. data/docs/ContentOpenpgpUseridApi.md +20 -8
  12. data/docs/ContentguardsApi.md +2 -0
  13. data/docs/ContentguardsCompositeApi.md +56 -24
  14. data/docs/ContentguardsContentRedirectApi.md +56 -24
  15. data/docs/ContentguardsHeaderApi.md +56 -24
  16. data/docs/ContentguardsRbacApi.md +56 -24
  17. data/docs/DistributionsApi.md +2 -0
  18. data/docs/DistributionsArtifactsApi.md +4 -0
  19. data/docs/DistributionsOpenpgpApi.md +52 -24
  20. data/docs/DomainsApi.md +60 -28
  21. data/docs/ExportersFilesystemApi.md +36 -16
  22. data/docs/ExportersFilesystemExportsApi.md +20 -8
  23. data/docs/ExportersPulpApi.md +36 -16
  24. data/docs/ExportersPulpExportsApi.md +20 -8
  25. data/docs/GroupsApi.md +56 -24
  26. data/docs/GroupsRolesApi.md +20 -8
  27. data/docs/GroupsUsersApi.md +18 -8
  28. data/docs/ImportersPulpApi.md +36 -16
  29. data/docs/ImportersPulpImportCheckApi.md +8 -4
  30. data/docs/ImportersPulpImportsApi.md +20 -8
  31. data/docs/LivezApi.md +14 -5
  32. data/docs/LoginApi.md +34 -15
  33. data/docs/OrphansApi.md +10 -5
  34. data/docs/OrphansCleanupApi.md +8 -4
  35. data/docs/PublicationsApi.md +2 -0
  36. data/docs/RemotesApi.md +2 -0
  37. data/docs/RepairApi.md +8 -4
  38. data/docs/RepositoriesApi.md +2 -0
  39. data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
  40. data/docs/RepositoriesReclaimSpaceApi.md +8 -4
  41. data/docs/RepositoryVersionsApi.md +2 -0
  42. data/docs/RolesApi.md +36 -16
  43. data/docs/SigningServicesApi.md +4 -0
  44. data/docs/StatusApi.md +14 -5
  45. data/docs/TaskGroupsApi.md +12 -4
  46. data/docs/TaskSchedulesApi.md +24 -8
  47. data/docs/TasksApi.md +52 -22
  48. data/docs/UploadsApi.md +50 -20
  49. data/docs/UpstreamPulpsApi.md +64 -28
  50. data/docs/UsersApi.md +36 -16
  51. data/docs/UsersRolesApi.md +20 -8
  52. data/docs/WorkersApi.md +4 -0
  53. data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
  54. data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
  55. data/lib/pulpcore_client/api/content_api.rb +3 -0
  56. data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
  57. data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
  58. data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
  59. data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
  60. data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
  61. data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
  62. data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
  63. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
  64. data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
  65. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
  66. data/lib/pulpcore_client/api/distributions_api.rb +3 -0
  67. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  68. data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
  69. data/lib/pulpcore_client/api/domains_api.rb +27 -0
  70. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
  71. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
  72. data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
  73. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
  74. data/lib/pulpcore_client/api/groups_api.rb +30 -0
  75. data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
  76. data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
  77. data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
  78. data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
  79. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
  80. data/lib/pulpcore_client/api/livez_api.rb +9 -0
  81. data/lib/pulpcore_client/api/login_api.rb +15 -0
  82. data/lib/pulpcore_client/api/orphans_api.rb +3 -0
  83. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
  84. data/lib/pulpcore_client/api/publications_api.rb +3 -0
  85. data/lib/pulpcore_client/api/remotes_api.rb +3 -0
  86. data/lib/pulpcore_client/api/repair_api.rb +3 -0
  87. data/lib/pulpcore_client/api/repositories_api.rb +3 -0
  88. data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
  89. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
  90. data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
  91. data/lib/pulpcore_client/api/roles_api.rb +18 -0
  92. data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
  93. data/lib/pulpcore_client/api/status_api.rb +9 -0
  94. data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
  95. data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
  96. data/lib/pulpcore_client/api/tasks_api.rb +33 -3
  97. data/lib/pulpcore_client/api/uploads_api.rb +30 -0
  98. data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
  99. data/lib/pulpcore_client/api/users_api.rb +18 -0
  100. data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
  101. data/lib/pulpcore_client/api/workers_api.rb +6 -0
  102. data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
  103. data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
  104. data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
  105. data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
  106. data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
  107. data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
  108. data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
  109. data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
  110. data/lib/pulpcore_client/version.rb +1 -1
  111. data/spec/api/access_policies_api_spec.rb +5 -0
  112. data/spec/api/artifacts_api_spec.rb +4 -0
  113. data/spec/api/content_api_spec.rb +1 -0
  114. data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
  115. data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
  116. data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
  117. data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
  118. data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
  119. data/spec/api/contentguards_api_spec.rb +1 -0
  120. data/spec/api/contentguards_composite_api_spec.rb +10 -0
  121. data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
  122. data/spec/api/contentguards_header_api_spec.rb +10 -0
  123. data/spec/api/contentguards_rbac_api_spec.rb +10 -0
  124. data/spec/api/distributions_api_spec.rb +1 -0
  125. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  126. data/spec/api/distributions_openpgp_api_spec.rb +8 -0
  127. data/spec/api/domains_api_spec.rb +9 -0
  128. data/spec/api/exporters_filesystem_api_spec.rb +6 -0
  129. data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
  130. data/spec/api/exporters_pulp_api_spec.rb +6 -0
  131. data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
  132. data/spec/api/groups_api_spec.rb +10 -0
  133. data/spec/api/groups_roles_api_spec.rb +4 -0
  134. data/spec/api/groups_users_api_spec.rb +3 -0
  135. data/spec/api/importers_pulp_api_spec.rb +6 -0
  136. data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
  137. data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
  138. data/spec/api/livez_api_spec.rb +3 -0
  139. data/spec/api/login_api_spec.rb +5 -0
  140. data/spec/api/orphans_api_spec.rb +1 -0
  141. data/spec/api/orphans_cleanup_api_spec.rb +1 -0
  142. data/spec/api/publications_api_spec.rb +1 -0
  143. data/spec/api/remotes_api_spec.rb +1 -0
  144. data/spec/api/repair_api_spec.rb +1 -0
  145. data/spec/api/repositories_api_spec.rb +1 -0
  146. data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
  147. data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
  148. data/spec/api/repository_versions_api_spec.rb +1 -0
  149. data/spec/api/roles_api_spec.rb +6 -0
  150. data/spec/api/signing_services_api_spec.rb +2 -0
  151. data/spec/api/status_api_spec.rb +3 -0
  152. data/spec/api/task_groups_api_spec.rb +3 -0
  153. data/spec/api/task_schedules_api_spec.rb +6 -0
  154. data/spec/api/tasks_api_spec.rb +11 -1
  155. data/spec/api/uploads_api_spec.rb +10 -0
  156. data/spec/api/upstream_pulps_api_spec.rb +11 -0
  157. data/spec/api/users_api_spec.rb +6 -0
  158. data/spec/api/users_roles_api_spec.rb +4 -0
  159. data/spec/api/workers_api_spec.rb +2 -0
  160. data/spec/models/artifact_distribution_response_spec.rb +11 -11
  161. metadata +190 -190
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
12
12
 
13
13
  ## create
14
14
 
15
- > <UserRoleResponse> create(auth_user_href, user_role)
15
+ > <UserRoleResponse> create(auth_user_href, user_role, opts)
16
16
 
17
17
  Create an user role
18
18
 
@@ -33,10 +33,13 @@ end
33
33
  api_instance = PulpcoreClient::UsersRolesApi.new
34
34
  auth_user_href = 'auth_user_href_example' # String |
35
35
  user_role = PulpcoreClient::UserRole.new({role: 'role_example'}) # UserRole |
36
+ opts = {
37
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
38
+ }
36
39
 
37
40
  begin
38
41
  # Create an user role
39
- result = api_instance.create(auth_user_href, user_role)
42
+ result = api_instance.create(auth_user_href, user_role, opts)
40
43
  p result
41
44
  rescue PulpcoreClient::ApiError => e
42
45
  puts "Error when calling UsersRolesApi->create: #{e}"
@@ -47,12 +50,12 @@ end
47
50
 
48
51
  This returns an Array which contains the response data, status code and headers.
49
52
 
50
- > <Array(<UserRoleResponse>, Integer, Hash)> create_with_http_info(auth_user_href, user_role)
53
+ > <Array(<UserRoleResponse>, Integer, Hash)> create_with_http_info(auth_user_href, user_role, opts)
51
54
 
52
55
  ```ruby
53
56
  begin
54
57
  # Create an user role
55
- data, status_code, headers = api_instance.create_with_http_info(auth_user_href, user_role)
58
+ data, status_code, headers = api_instance.create_with_http_info(auth_user_href, user_role, opts)
56
59
  p status_code # => 2xx
57
60
  p headers # => { ... }
58
61
  p data # => <UserRoleResponse>
@@ -67,6 +70,7 @@ end
67
70
  | ---- | ---- | ----------- | ----- |
68
71
  | **auth_user_href** | **String** | | |
69
72
  | **user_role** | [**UserRole**](UserRole.md) | | |
73
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
70
74
 
71
75
  ### Return type
72
76
 
@@ -84,7 +88,7 @@ end
84
88
 
85
89
  ## delete
86
90
 
87
- > delete(auth_users_user_role_href)
91
+ > delete(auth_users_user_role_href, opts)
88
92
 
89
93
  Delete an user role
90
94
 
@@ -104,10 +108,13 @@ end
104
108
 
105
109
  api_instance = PulpcoreClient::UsersRolesApi.new
106
110
  auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
111
+ opts = {
112
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
113
+ }
107
114
 
108
115
  begin
109
116
  # Delete an user role
110
- api_instance.delete(auth_users_user_role_href)
117
+ api_instance.delete(auth_users_user_role_href, opts)
111
118
  rescue PulpcoreClient::ApiError => e
112
119
  puts "Error when calling UsersRolesApi->delete: #{e}"
113
120
  end
@@ -117,12 +124,12 @@ end
117
124
 
118
125
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
119
126
 
120
- > <Array(nil, Integer, Hash)> delete_with_http_info(auth_users_user_role_href)
127
+ > <Array(nil, Integer, Hash)> delete_with_http_info(auth_users_user_role_href, opts)
121
128
 
122
129
  ```ruby
123
130
  begin
124
131
  # Delete an user role
125
- data, status_code, headers = api_instance.delete_with_http_info(auth_users_user_role_href)
132
+ data, status_code, headers = api_instance.delete_with_http_info(auth_users_user_role_href, opts)
126
133
  p status_code # => 2xx
127
134
  p headers # => { ... }
128
135
  p data # => nil
@@ -136,6 +143,7 @@ end
136
143
  | Name | Type | Description | Notes |
137
144
  | ---- | ---- | ----------- | ----- |
138
145
  | **auth_users_user_role_href** | **String** | | |
146
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
139
147
 
140
148
  ### Return type
141
149
 
@@ -174,6 +182,7 @@ end
174
182
  api_instance = PulpcoreClient::UsersRolesApi.new
175
183
  auth_user_href = 'auth_user_href_example' # String |
176
184
  opts = {
185
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
177
186
  content_object: 'content_object_example', # String | content_object
178
187
  domain: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
179
188
  limit: 56, # Integer | Number of results to return per page.
@@ -224,6 +233,7 @@ end
224
233
  | Name | Type | Description | Notes |
225
234
  | ---- | ---- | ----------- | ----- |
226
235
  | **auth_user_href** | **String** | | |
236
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
227
237
  | **content_object** | **String** | content_object | [optional] |
228
238
  | **domain** | **String** | Foreign Key referenced by HREF | [optional] |
229
239
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
@@ -278,6 +288,7 @@ end
278
288
  api_instance = PulpcoreClient::UsersRolesApi.new
279
289
  auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
280
290
  opts = {
291
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
281
292
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
282
293
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
283
294
  }
@@ -314,6 +325,7 @@ end
314
325
  | Name | Type | Description | Notes |
315
326
  | ---- | ---- | ----------- | ----- |
316
327
  | **auth_users_user_role_href** | **String** | | |
328
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
317
329
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
318
330
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
319
331
 
data/docs/WorkersApi.md CHANGED
@@ -30,6 +30,7 @@ end
30
30
 
31
31
  api_instance = PulpcoreClient::WorkersApi.new
32
32
  opts = {
33
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
33
34
  last_heartbeat: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_heartbeat matches value
34
35
  last_heartbeat__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_heartbeat is greater than value
35
36
  last_heartbeat__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where last_heartbeat is greater than or equal to value
@@ -90,6 +91,7 @@ end
90
91
 
91
92
  | Name | Type | Description | Notes |
92
93
  | ---- | ---- | ----------- | ----- |
94
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
93
95
  | **last_heartbeat** | **Time** | Filter results where last_heartbeat matches value | [optional] |
94
96
  | **last_heartbeat__gt** | **Time** | Filter results where last_heartbeat is greater than value | [optional] |
95
97
  | **last_heartbeat__gte** | **Time** | Filter results where last_heartbeat is greater than or equal to value | [optional] |
@@ -155,6 +157,7 @@ end
155
157
  api_instance = PulpcoreClient::WorkersApi.new
156
158
  worker_href = 'worker_href_example' # String |
157
159
  opts = {
160
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
158
161
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
159
162
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
160
163
  }
@@ -191,6 +194,7 @@ end
191
194
  | Name | Type | Description | Notes |
192
195
  | ---- | ---- | ----------- | ----- |
193
196
  | **worker_href** | **String** | | |
197
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
194
198
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
195
199
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
196
200
 
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List access policys
23
23
  # ViewSet for AccessPolicy.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Boolean] :customized Filter results where customized matches value
26
27
  # @option opts [Integer] :limit Number of results to return per page.
27
28
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -50,6 +51,7 @@ module PulpcoreClient
50
51
  # List access policys
51
52
  # ViewSet for AccessPolicy.
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
55
  # @option opts [Boolean] :customized Filter results where customized matches value
54
56
  # @option opts [Integer] :limit Number of results to return per page.
55
57
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -107,6 +109,7 @@ module PulpcoreClient
107
109
  header_params = opts[:header_params] || {}
108
110
  # HTTP header 'Accept' (if needed)
109
111
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
112
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
110
113
 
111
114
  # form parameters
112
115
  form_params = opts[:form_params] || {}
@@ -142,6 +145,7 @@ module PulpcoreClient
142
145
  # @param access_policy_href [String]
143
146
  # @param patched_access_policy [PatchedAccessPolicy]
144
147
  # @param [Hash] opts the optional parameters
148
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
145
149
  # @return [AccessPolicyResponse]
146
150
  def partial_update(access_policy_href, patched_access_policy, opts = {})
147
151
  data, _status_code, _headers = partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
@@ -153,6 +157,7 @@ module PulpcoreClient
153
157
  # @param access_policy_href [String]
154
158
  # @param patched_access_policy [PatchedAccessPolicy]
155
159
  # @param [Hash] opts the optional parameters
160
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
156
161
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
157
162
  def partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
158
163
  if @api_client.config.debugging
@@ -181,6 +186,7 @@ module PulpcoreClient
181
186
  if !content_type.nil?
182
187
  header_params['Content-Type'] = content_type
183
188
  end
189
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
184
190
 
185
191
  # form parameters
186
192
  form_params = opts[:form_params] || {}
@@ -215,6 +221,7 @@ module PulpcoreClient
215
221
  # ViewSet for AccessPolicy.
216
222
  # @param access_policy_href [String]
217
223
  # @param [Hash] opts the optional parameters
224
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
218
225
  # @option opts [Array<String>] :fields A list of fields to include in the response.
219
226
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
220
227
  # @return [AccessPolicyResponse]
@@ -227,6 +234,7 @@ module PulpcoreClient
227
234
  # ViewSet for AccessPolicy.
228
235
  # @param access_policy_href [String]
229
236
  # @param [Hash] opts the optional parameters
237
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
238
  # @option opts [Array<String>] :fields A list of fields to include in the response.
231
239
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
232
240
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
@@ -250,6 +258,7 @@ module PulpcoreClient
250
258
  header_params = opts[:header_params] || {}
251
259
  # HTTP header 'Accept' (if needed)
252
260
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
261
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
253
262
 
254
263
  # form parameters
255
264
  form_params = opts[:form_params] || {}
@@ -283,6 +292,7 @@ module PulpcoreClient
283
292
  # Reset the access policy to its uncustomized default value.
284
293
  # @param access_policy_href [String]
285
294
  # @param [Hash] opts the optional parameters
295
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
286
296
  # @return [AccessPolicyResponse]
287
297
  def reset(access_policy_href, opts = {})
288
298
  data, _status_code, _headers = reset_with_http_info(access_policy_href, opts)
@@ -292,6 +302,7 @@ module PulpcoreClient
292
302
  # Reset the access policy to its uncustomized default value.
293
303
  # @param access_policy_href [String]
294
304
  # @param [Hash] opts the optional parameters
305
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
295
306
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
296
307
  def reset_with_http_info(access_policy_href, opts = {})
297
308
  if @api_client.config.debugging
@@ -311,6 +322,7 @@ module PulpcoreClient
311
322
  header_params = opts[:header_params] || {}
312
323
  # HTTP header 'Accept' (if needed)
313
324
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
325
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
314
326
 
315
327
  # form parameters
316
328
  form_params = opts[:form_params] || {}
@@ -346,6 +358,7 @@ module PulpcoreClient
346
358
  # @param access_policy_href [String]
347
359
  # @param access_policy [AccessPolicy]
348
360
  # @param [Hash] opts the optional parameters
361
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
349
362
  # @return [AccessPolicyResponse]
350
363
  def update(access_policy_href, access_policy, opts = {})
351
364
  data, _status_code, _headers = update_with_http_info(access_policy_href, access_policy, opts)
@@ -357,6 +370,7 @@ module PulpcoreClient
357
370
  # @param access_policy_href [String]
358
371
  # @param access_policy [AccessPolicy]
359
372
  # @param [Hash] opts the optional parameters
373
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
360
374
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
361
375
  def update_with_http_info(access_policy_href, access_policy, opts = {})
362
376
  if @api_client.config.debugging
@@ -385,6 +399,7 @@ module PulpcoreClient
385
399
  if !content_type.nil?
386
400
  header_params['Content-Type'] = content_type
387
401
  end
402
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
388
403
 
389
404
  # form parameters
390
405
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpcoreClient
23
23
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
24
24
  # @param file [File] The stored file.
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @option opts [Integer] :size The size of the file in bytes.
27
28
  # @option opts [String] :md5 The MD5 checksum of the file if available.
28
29
  # @option opts [String] :sha1 The SHA-1 checksum of the file if available.
@@ -40,6 +41,7 @@ module PulpcoreClient
40
41
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
41
42
  # @param file [File] The stored file.
42
43
  # @param [Hash] opts the optional parameters
44
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
43
45
  # @option opts [Integer] :size The size of the file in bytes.
44
46
  # @option opts [String] :md5 The MD5 checksum of the file if available.
45
47
  # @option opts [String] :sha1 The SHA-1 checksum of the file if available.
@@ -95,6 +97,7 @@ module PulpcoreClient
95
97
  if !content_type.nil?
96
98
  header_params['Content-Type'] = content_type
97
99
  end
100
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
98
101
 
99
102
  # form parameters
100
103
  form_params = opts[:form_params] || {}
@@ -137,6 +140,7 @@ module PulpcoreClient
137
140
  # Remove Artifact only if it is not associated with any Content.
138
141
  # @param artifact_href [String]
139
142
  # @param [Hash] opts the optional parameters
143
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
140
144
  # @return [nil]
141
145
  def delete(artifact_href, opts = {})
142
146
  delete_with_http_info(artifact_href, opts)
@@ -147,6 +151,7 @@ module PulpcoreClient
147
151
  # Remove Artifact only if it is not associated with any Content.
148
152
  # @param artifact_href [String]
149
153
  # @param [Hash] opts the optional parameters
154
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
150
155
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
151
156
  def delete_with_http_info(artifact_href, opts = {})
152
157
  if @api_client.config.debugging
@@ -164,6 +169,7 @@ module PulpcoreClient
164
169
 
165
170
  # header parameters
166
171
  header_params = opts[:header_params] || {}
172
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
167
173
 
168
174
  # form parameters
169
175
  form_params = opts[:form_params] || {}
@@ -197,6 +203,7 @@ module PulpcoreClient
197
203
  # List artifacts
198
204
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
199
205
  # @param [Hash] opts the optional parameters
206
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
200
207
  # @option opts [Integer] :limit Number of results to return per page.
201
208
  # @option opts [String] :md5 Filter results where md5 matches value
202
209
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -223,6 +230,7 @@ module PulpcoreClient
223
230
  # List artifacts
224
231
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
225
232
  # @param [Hash] opts the optional parameters
233
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
226
234
  # @option opts [Integer] :limit Number of results to return per page.
227
235
  # @option opts [String] :md5 Filter results where md5 matches value
228
236
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -276,6 +284,7 @@ module PulpcoreClient
276
284
  header_params = opts[:header_params] || {}
277
285
  # HTTP header 'Accept' (if needed)
278
286
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
287
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
279
288
 
280
289
  # form parameters
281
290
  form_params = opts[:form_params] || {}
@@ -310,6 +319,7 @@ module PulpcoreClient
310
319
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
311
320
  # @param artifact_href [String]
312
321
  # @param [Hash] opts the optional parameters
322
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
313
323
  # @option opts [Array<String>] :fields A list of fields to include in the response.
314
324
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
315
325
  # @return [ArtifactResponse]
@@ -322,6 +332,7 @@ module PulpcoreClient
322
332
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
323
333
  # @param artifact_href [String]
324
334
  # @param [Hash] opts the optional parameters
335
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
325
336
  # @option opts [Array<String>] :fields A list of fields to include in the response.
326
337
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
327
338
  # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
@@ -345,6 +356,7 @@ module PulpcoreClient
345
356
  header_params = opts[:header_params] || {}
346
357
  # HTTP header 'Accept' (if needed)
347
358
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
359
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
348
360
 
349
361
  # form parameters
350
362
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List content
23
23
  # Endpoint to list all content.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Integer] :limit Number of results to return per page.
26
27
  # @option opts [Integer] :offset The initial index from which to return the results.
27
28
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -47,6 +48,7 @@ module PulpcoreClient
47
48
  # List content
48
49
  # Endpoint to list all content.
49
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
50
52
  # @option opts [Integer] :limit Number of results to return per page.
51
53
  # @option opts [Integer] :offset The initial index from which to return the results.
52
54
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -106,6 +108,7 @@ module PulpcoreClient
106
108
  header_params = opts[:header_params] || {}
107
109
  # HTTP header 'Accept' (if needed)
108
110
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
111
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
109
112
 
110
113
  # form parameters
111
114
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # Create an open pgp public key
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
26
27
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
27
28
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -36,6 +37,7 @@ module PulpcoreClient
36
37
  # Create an open pgp public key
37
38
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
42
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
43
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -65,6 +67,7 @@ module PulpcoreClient
65
67
  if !content_type.nil?
66
68
  header_params['Content-Type'] = content_type
67
69
  end
70
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
68
71
 
69
72
  # form parameters
70
73
  form_params = opts[:form_params] || {}
@@ -103,6 +106,7 @@ module PulpcoreClient
103
106
  # List open pgp public keys
104
107
  # A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
105
108
  # @param [Hash] opts the optional parameters
109
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
106
110
  # @option opts [String] :fingerprint Filter results where fingerprint matches value
107
111
  # @option opts [Integer] :limit Number of results to return per page.
108
112
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -127,6 +131,7 @@ module PulpcoreClient
127
131
  # List open pgp public keys
128
132
  # A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
129
133
  # @param [Hash] opts the optional parameters
134
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
130
135
  # @option opts [String] :fingerprint Filter results where fingerprint matches value
131
136
  # @option opts [Integer] :limit Number of results to return per page.
132
137
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -176,6 +181,7 @@ module PulpcoreClient
176
181
  header_params = opts[:header_params] || {}
177
182
  # HTTP header 'Accept' (if needed)
178
183
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
184
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
179
185
 
180
186
  # form parameters
181
187
  form_params = opts[:form_params] || {}
@@ -210,6 +216,7 @@ module PulpcoreClient
210
216
  # A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
211
217
  # @param open_p_g_p_public_key_href [String]
212
218
  # @param [Hash] opts the optional parameters
219
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
213
220
  # @option opts [Array<String>] :fields A list of fields to include in the response.
214
221
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
215
222
  # @return [OpenPGPPublicKeyResponse]
@@ -222,6 +229,7 @@ module PulpcoreClient
222
229
  # A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
223
230
  # @param open_p_g_p_public_key_href [String]
224
231
  # @param [Hash] opts the optional parameters
232
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
233
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
234
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
235
  # @return [Array<(OpenPGPPublicKeyResponse, Integer, Hash)>] OpenPGPPublicKeyResponse data, response status code and response headers
@@ -245,6 +253,7 @@ module PulpcoreClient
245
253
  header_params = opts[:header_params] || {}
246
254
  # HTTP header 'Accept' (if needed)
247
255
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
256
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
248
257
 
249
258
  # form parameters
250
259
  form_params = opts[:form_params] || {}
@@ -280,6 +289,7 @@ module PulpcoreClient
280
289
  # @param open_p_g_p_public_key_href [String]
281
290
  # @param set_label [SetLabel]
282
291
  # @param [Hash] opts the optional parameters
292
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
283
293
  # @return [SetLabelResponse]
284
294
  def set_label(open_p_g_p_public_key_href, set_label, opts = {})
285
295
  data, _status_code, _headers = set_label_with_http_info(open_p_g_p_public_key_href, set_label, opts)
@@ -291,6 +301,7 @@ module PulpcoreClient
291
301
  # @param open_p_g_p_public_key_href [String]
292
302
  # @param set_label [SetLabel]
293
303
  # @param [Hash] opts the optional parameters
304
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
294
305
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
295
306
  def set_label_with_http_info(open_p_g_p_public_key_href, set_label, opts = {})
296
307
  if @api_client.config.debugging
@@ -319,6 +330,7 @@ module PulpcoreClient
319
330
  if !content_type.nil?
320
331
  header_params['Content-Type'] = content_type
321
332
  end
333
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
322
334
 
323
335
  # form parameters
324
336
  form_params = opts[:form_params] || {}
@@ -354,6 +366,7 @@ module PulpcoreClient
354
366
  # @param open_p_g_p_public_key_href [String]
355
367
  # @param unset_label [UnsetLabel]
356
368
  # @param [Hash] opts the optional parameters
369
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
357
370
  # @return [UnsetLabelResponse]
358
371
  def unset_label(open_p_g_p_public_key_href, unset_label, opts = {})
359
372
  data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_public_key_href, unset_label, opts)
@@ -365,6 +378,7 @@ module PulpcoreClient
365
378
  # @param open_p_g_p_public_key_href [String]
366
379
  # @param unset_label [UnsetLabel]
367
380
  # @param [Hash] opts the optional parameters
381
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
368
382
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
369
383
  def unset_label_with_http_info(open_p_g_p_public_key_href, unset_label, opts = {})
370
384
  if @api_client.config.debugging
@@ -393,6 +407,7 @@ module PulpcoreClient
393
407
  if !content_type.nil?
394
408
  header_params['Content-Type'] = content_type
395
409
  end
410
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
396
411
 
397
412
  # form parameters
398
413
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List open pgp public subkeys
23
23
  # Content viewset that supports only GET by default.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [String] :fingerprint Filter results where fingerprint matches value
26
27
  # @option opts [Integer] :limit Number of results to return per page.
27
28
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -46,6 +47,7 @@ module PulpcoreClient
46
47
  # List open pgp public subkeys
47
48
  # Content viewset that supports only GET by default.
48
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
49
51
  # @option opts [String] :fingerprint Filter results where fingerprint matches value
50
52
  # @option opts [Integer] :limit Number of results to return per page.
51
53
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -95,6 +97,7 @@ module PulpcoreClient
95
97
  header_params = opts[:header_params] || {}
96
98
  # HTTP header 'Accept' (if needed)
97
99
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
100
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
98
101
 
99
102
  # form parameters
100
103
  form_params = opts[:form_params] || {}
@@ -129,6 +132,7 @@ module PulpcoreClient
129
132
  # Content viewset that supports only GET by default.
130
133
  # @param open_p_g_p_public_subkey_href [String]
131
134
  # @param [Hash] opts the optional parameters
135
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
132
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
133
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
134
138
  # @return [OpenPGPPublicSubkeyResponse]
@@ -141,6 +145,7 @@ module PulpcoreClient
141
145
  # Content viewset that supports only GET by default.
142
146
  # @param open_p_g_p_public_subkey_href [String]
143
147
  # @param [Hash] opts the optional parameters
148
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
144
149
  # @option opts [Array<String>] :fields A list of fields to include in the response.
145
150
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
146
151
  # @return [Array<(OpenPGPPublicSubkeyResponse, Integer, Hash)>] OpenPGPPublicSubkeyResponse data, response status code and response headers
@@ -164,6 +169,7 @@ module PulpcoreClient
164
169
  header_params = opts[:header_params] || {}
165
170
  # HTTP header 'Accept' (if needed)
166
171
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
172
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
167
173
 
168
174
  # form parameters
169
175
  form_params = opts[:form_params] || {}
@@ -199,6 +205,7 @@ module PulpcoreClient
199
205
  # @param open_p_g_p_public_subkey_href [String]
200
206
  # @param set_label [SetLabel]
201
207
  # @param [Hash] opts the optional parameters
208
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
202
209
  # @return [SetLabelResponse]
203
210
  def set_label(open_p_g_p_public_subkey_href, set_label, opts = {})
204
211
  data, _status_code, _headers = set_label_with_http_info(open_p_g_p_public_subkey_href, set_label, opts)
@@ -210,6 +217,7 @@ module PulpcoreClient
210
217
  # @param open_p_g_p_public_subkey_href [String]
211
218
  # @param set_label [SetLabel]
212
219
  # @param [Hash] opts the optional parameters
220
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
213
221
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
214
222
  def set_label_with_http_info(open_p_g_p_public_subkey_href, set_label, opts = {})
215
223
  if @api_client.config.debugging
@@ -238,6 +246,7 @@ module PulpcoreClient
238
246
  if !content_type.nil?
239
247
  header_params['Content-Type'] = content_type
240
248
  end
249
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
241
250
 
242
251
  # form parameters
243
252
  form_params = opts[:form_params] || {}
@@ -273,6 +282,7 @@ module PulpcoreClient
273
282
  # @param open_p_g_p_public_subkey_href [String]
274
283
  # @param unset_label [UnsetLabel]
275
284
  # @param [Hash] opts the optional parameters
285
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
276
286
  # @return [UnsetLabelResponse]
277
287
  def unset_label(open_p_g_p_public_subkey_href, unset_label, opts = {})
278
288
  data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label, opts)
@@ -284,6 +294,7 @@ module PulpcoreClient
284
294
  # @param open_p_g_p_public_subkey_href [String]
285
295
  # @param unset_label [UnsetLabel]
286
296
  # @param [Hash] opts the optional parameters
297
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
287
298
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
288
299
  def unset_label_with_http_info(open_p_g_p_public_subkey_href, unset_label, opts = {})
289
300
  if @api_client.config.debugging
@@ -312,6 +323,7 @@ module PulpcoreClient
312
323
  if !content_type.nil?
313
324
  header_params['Content-Type'] = content_type
314
325
  end
326
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
315
327
 
316
328
  # form parameters
317
329
  form_params = opts[:form_params] || {}