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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AccessPoliciesApi.md +28 -12
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/ArtifactsApi.md +14 -4
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +22 -8
- data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
- data/docs/ContentOpenpgpSignatureApi.md +20 -8
- data/docs/ContentOpenpgpUserattributeApi.md +20 -8
- data/docs/ContentOpenpgpUseridApi.md +20 -8
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +56 -24
- data/docs/ContentguardsContentRedirectApi.md +56 -24
- data/docs/ContentguardsHeaderApi.md +56 -24
- data/docs/ContentguardsRbacApi.md +56 -24
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DistributionsOpenpgpApi.md +52 -24
- data/docs/DomainsApi.md +60 -28
- data/docs/ExportersFilesystemApi.md +36 -16
- data/docs/ExportersFilesystemExportsApi.md +20 -8
- data/docs/ExportersPulpApi.md +36 -16
- data/docs/ExportersPulpExportsApi.md +20 -8
- data/docs/GroupsApi.md +56 -24
- data/docs/GroupsRolesApi.md +20 -8
- data/docs/GroupsUsersApi.md +18 -8
- data/docs/ImportersPulpApi.md +36 -16
- data/docs/ImportersPulpImportCheckApi.md +8 -4
- data/docs/ImportersPulpImportsApi.md +20 -8
- data/docs/LivezApi.md +14 -5
- data/docs/LoginApi.md +34 -15
- data/docs/OrphansApi.md +10 -5
- data/docs/OrphansCleanupApi.md +8 -4
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +8 -4
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
- data/docs/RepositoriesReclaimSpaceApi.md +8 -4
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +36 -16
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +14 -5
- data/docs/TaskGroupsApi.md +12 -4
- data/docs/TaskSchedulesApi.md +24 -8
- data/docs/TasksApi.md +52 -22
- data/docs/UploadsApi.md +50 -20
- data/docs/UpstreamPulpsApi.md +64 -28
- data/docs/UsersApi.md +36 -16
- data/docs/UsersRolesApi.md +20 -8
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
- data/lib/pulpcore_client/api/domains_api.rb +27 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/livez_api.rb +9 -0
- data/lib/pulpcore_client/api/login_api.rb +15 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +33 -3
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
- data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/distributions_openpgp_api_spec.rb +8 -0
- data/spec/api/domains_api_spec.rb +9 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/livez_api_spec.rb +3 -0
- data/spec/api/login_api_spec.rb +5 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +3 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +11 -1
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +190 -190
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List open pgp signatures
|
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] :issuer Filter results where issuer 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 signatures
|
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] :issuer Filter results where issuer 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_signature_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 [OpenPGPSignatureResponse]
|
@@ -141,6 +145,7 @@ module PulpcoreClient
|
|
141
145
|
# Content viewset that supports only GET by default.
|
142
146
|
# @param open_p_g_p_signature_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<(OpenPGPSignatureResponse, Integer, Hash)>] OpenPGPSignatureResponse 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_signature_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_signature_href, set_label, opts = {})
|
204
211
|
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_signature_href, set_label, opts)
|
@@ -210,6 +217,7 @@ module PulpcoreClient
|
|
210
217
|
# @param open_p_g_p_signature_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_signature_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_signature_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_signature_href, unset_label, opts = {})
|
278
288
|
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_signature_href, unset_label, opts)
|
@@ -284,6 +294,7 @@ module PulpcoreClient
|
|
284
294
|
# @param open_p_g_p_signature_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_signature_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] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List open pgp user attributes
|
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 [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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -46,6 +47,7 @@ module PulpcoreClient
|
|
46
47
|
# List open pgp user attributes
|
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 [Integer] :limit Number of results to return per page.
|
50
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
53
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -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_user_attribute_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 [OpenPGPUserAttributeResponse]
|
@@ -141,6 +145,7 @@ module PulpcoreClient
|
|
141
145
|
# Content viewset that supports only GET by default.
|
142
146
|
# @param open_p_g_p_user_attribute_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<(OpenPGPUserAttributeResponse, Integer, Hash)>] OpenPGPUserAttributeResponse 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_user_attribute_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_user_attribute_href, set_label, opts = {})
|
204
211
|
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_user_attribute_href, set_label, opts)
|
@@ -210,6 +217,7 @@ module PulpcoreClient
|
|
210
217
|
# @param open_p_g_p_user_attribute_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_user_attribute_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_user_attribute_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_user_attribute_href, unset_label, opts = {})
|
278
288
|
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_user_attribute_href, unset_label, opts)
|
@@ -284,6 +294,7 @@ module PulpcoreClient
|
|
284
294
|
# @param open_p_g_p_user_attribute_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_user_attribute_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] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List open pgp user ids
|
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 [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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -54,6 +55,7 @@ module PulpcoreClient
|
|
54
55
|
# List open pgp user ids
|
55
56
|
# Content viewset that supports only GET by default.
|
56
57
|
# @param [Hash] opts the optional parameters
|
58
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
57
59
|
# @option opts [Integer] :limit Number of results to return per page.
|
58
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
59
61
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -119,6 +121,7 @@ module PulpcoreClient
|
|
119
121
|
header_params = opts[:header_params] || {}
|
120
122
|
# HTTP header 'Accept' (if needed)
|
121
123
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
124
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
122
125
|
|
123
126
|
# form parameters
|
124
127
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +156,7 @@ module PulpcoreClient
|
|
153
156
|
# Content viewset that supports only GET by default.
|
154
157
|
# @param open_p_g_p_user_i_d_href [String]
|
155
158
|
# @param [Hash] opts the optional parameters
|
159
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
160
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
157
161
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
158
162
|
# @return [OpenPGPUserIDResponse]
|
@@ -165,6 +169,7 @@ module PulpcoreClient
|
|
165
169
|
# Content viewset that supports only GET by default.
|
166
170
|
# @param open_p_g_p_user_i_d_href [String]
|
167
171
|
# @param [Hash] opts the optional parameters
|
172
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
173
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
174
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
170
175
|
# @return [Array<(OpenPGPUserIDResponse, Integer, Hash)>] OpenPGPUserIDResponse data, response status code and response headers
|
@@ -188,6 +193,7 @@ module PulpcoreClient
|
|
188
193
|
header_params = opts[:header_params] || {}
|
189
194
|
# HTTP header 'Accept' (if needed)
|
190
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
196
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
191
197
|
|
192
198
|
# form parameters
|
193
199
|
form_params = opts[:form_params] || {}
|
@@ -223,6 +229,7 @@ module PulpcoreClient
|
|
223
229
|
# @param open_p_g_p_user_i_d_href [String]
|
224
230
|
# @param set_label [SetLabel]
|
225
231
|
# @param [Hash] opts the optional parameters
|
232
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
226
233
|
# @return [SetLabelResponse]
|
227
234
|
def set_label(open_p_g_p_user_i_d_href, set_label, opts = {})
|
228
235
|
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_user_i_d_href, set_label, opts)
|
@@ -234,6 +241,7 @@ module PulpcoreClient
|
|
234
241
|
# @param open_p_g_p_user_i_d_href [String]
|
235
242
|
# @param set_label [SetLabel]
|
236
243
|
# @param [Hash] opts the optional parameters
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
237
245
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
238
246
|
def set_label_with_http_info(open_p_g_p_user_i_d_href, set_label, opts = {})
|
239
247
|
if @api_client.config.debugging
|
@@ -262,6 +270,7 @@ module PulpcoreClient
|
|
262
270
|
if !content_type.nil?
|
263
271
|
header_params['Content-Type'] = content_type
|
264
272
|
end
|
273
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
265
274
|
|
266
275
|
# form parameters
|
267
276
|
form_params = opts[:form_params] || {}
|
@@ -297,6 +306,7 @@ module PulpcoreClient
|
|
297
306
|
# @param open_p_g_p_user_i_d_href [String]
|
298
307
|
# @param unset_label [UnsetLabel]
|
299
308
|
# @param [Hash] opts the optional parameters
|
309
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
300
310
|
# @return [UnsetLabelResponse]
|
301
311
|
def unset_label(open_p_g_p_user_i_d_href, unset_label, opts = {})
|
302
312
|
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label, opts)
|
@@ -308,6 +318,7 @@ module PulpcoreClient
|
|
308
318
|
# @param open_p_g_p_user_i_d_href [String]
|
309
319
|
# @param unset_label [UnsetLabel]
|
310
320
|
# @param [Hash] opts the optional parameters
|
321
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
311
322
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
312
323
|
def unset_label_with_http_info(open_p_g_p_user_i_d_href, unset_label, opts = {})
|
313
324
|
if @api_client.config.debugging
|
@@ -336,6 +347,7 @@ module PulpcoreClient
|
|
336
347
|
if !content_type.nil?
|
337
348
|
header_params['Content-Type'] = content_type
|
338
349
|
end
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
339
351
|
|
340
352
|
# form parameters
|
341
353
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
22
22
|
# List content guards
|
23
23
|
# Endpoint to list all contentguards.
|
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 [String] :name Filter results where name matches value
|
27
28
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -51,6 +52,7 @@ module PulpcoreClient
|
|
51
52
|
# List content guards
|
52
53
|
# Endpoint to list all contentguards.
|
53
54
|
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
54
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
57
|
# @option opts [String] :name Filter results where name matches value
|
56
58
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -118,6 +120,7 @@ module PulpcoreClient
|
|
118
120
|
header_params = opts[:header_params] || {}
|
119
121
|
# HTTP header 'Accept' (if needed)
|
120
122
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
123
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
121
124
|
|
122
125
|
# form parameters
|
123
126
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param composite_content_guard_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(composite_content_guard_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(composite_content_guard_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param composite_content_guard_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(composite_content_guard_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
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 PulpcoreClient
|
|
97
100
|
# Content guard that queries a list-of content-guards for access permissions.
|
98
101
|
# @param composite_content_guard [CompositeContentGuard]
|
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 [CompositeContentGuardResponse]
|
101
105
|
def create(composite_content_guard, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(composite_content_guard, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# Content guard that queries a list-of content-guards for access permissions.
|
108
112
|
# @param composite_content_guard [CompositeContentGuard]
|
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<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(composite_content_guard, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpcoreClient
|
|
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 PulpcoreClient
|
|
165
171
|
# Content guard that queries a list-of content-guards for access permissions.
|
166
172
|
# @param composite_content_guard_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 [nil]
|
169
176
|
def delete(composite_content_guard_href, opts = {})
|
170
177
|
delete_with_http_info(composite_content_guard_href, opts)
|
@@ -175,6 +182,7 @@ module PulpcoreClient
|
|
175
182
|
# Content guard that queries a list-of content-guards for access permissions.
|
176
183
|
# @param composite_content_guard_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<(nil, Integer, Hash)>] nil, response status code and response headers
|
179
187
|
def delete_with_http_info(composite_content_guard_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -192,6 +200,7 @@ module PulpcoreClient
|
|
192
200
|
|
193
201
|
# header parameters
|
194
202
|
header_params = opts[:header_params] || {}
|
203
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
204
|
|
196
205
|
# form parameters
|
197
206
|
form_params = opts[:form_params] || {}
|
@@ -225,6 +234,7 @@ module PulpcoreClient
|
|
225
234
|
# List composite content guards
|
226
235
|
# Content guard that queries a list-of content-guards for access permissions.
|
227
236
|
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
238
|
# @option opts [Integer] :limit Number of results to return per page.
|
229
239
|
# @option opts [String] :name Filter results where name matches value
|
230
240
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -252,6 +262,7 @@ module PulpcoreClient
|
|
252
262
|
# List composite content guards
|
253
263
|
# Content guard that queries a list-of content-guards for access permissions.
|
254
264
|
# @param [Hash] opts the optional parameters
|
265
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
255
266
|
# @option opts [Integer] :limit Number of results to return per page.
|
256
267
|
# @option opts [String] :name Filter results where name matches value
|
257
268
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -307,6 +318,7 @@ module PulpcoreClient
|
|
307
318
|
header_params = opts[:header_params] || {}
|
308
319
|
# HTTP header 'Accept' (if needed)
|
309
320
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
321
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
310
322
|
|
311
323
|
# form parameters
|
312
324
|
form_params = opts[:form_params] || {}
|
@@ -341,6 +353,7 @@ module PulpcoreClient
|
|
341
353
|
# List roles assigned to this object.
|
342
354
|
# @param composite_content_guard_href [String]
|
343
355
|
# @param [Hash] opts the optional parameters
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
359
|
# @return [ObjectRolesResponse]
|
@@ -353,6 +366,7 @@ module PulpcoreClient
|
|
353
366
|
# List roles assigned to this object.
|
354
367
|
# @param composite_content_guard_href [String]
|
355
368
|
# @param [Hash] opts the optional parameters
|
369
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
356
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
357
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
358
372
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -376,6 +390,7 @@ module PulpcoreClient
|
|
376
390
|
header_params = opts[:header_params] || {}
|
377
391
|
# HTTP header 'Accept' (if needed)
|
378
392
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
393
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
379
394
|
|
380
395
|
# form parameters
|
381
396
|
form_params = opts[:form_params] || {}
|
@@ -410,6 +425,7 @@ module PulpcoreClient
|
|
410
425
|
# List permissions available to the current user on this object.
|
411
426
|
# @param composite_content_guard_href [String]
|
412
427
|
# @param [Hash] opts the optional parameters
|
428
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
413
429
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
414
430
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
415
431
|
# @return [MyPermissionsResponse]
|
@@ -422,6 +438,7 @@ module PulpcoreClient
|
|
422
438
|
# List permissions available to the current user on this object.
|
423
439
|
# @param composite_content_guard_href [String]
|
424
440
|
# @param [Hash] opts the optional parameters
|
441
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
425
442
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
426
443
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
427
444
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -445,6 +462,7 @@ module PulpcoreClient
|
|
445
462
|
header_params = opts[:header_params] || {}
|
446
463
|
# HTTP header 'Accept' (if needed)
|
447
464
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
465
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
448
466
|
|
449
467
|
# form parameters
|
450
468
|
form_params = opts[:form_params] || {}
|
@@ -480,6 +498,7 @@ module PulpcoreClient
|
|
480
498
|
# @param composite_content_guard_href [String]
|
481
499
|
# @param patched_composite_content_guard [PatchedCompositeContentGuard]
|
482
500
|
# @param [Hash] opts the optional parameters
|
501
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
483
502
|
# @return [CompositeContentGuardResponse]
|
484
503
|
def partial_update(composite_content_guard_href, patched_composite_content_guard, opts = {})
|
485
504
|
data, _status_code, _headers = partial_update_with_http_info(composite_content_guard_href, patched_composite_content_guard, opts)
|
@@ -491,6 +510,7 @@ module PulpcoreClient
|
|
491
510
|
# @param composite_content_guard_href [String]
|
492
511
|
# @param patched_composite_content_guard [PatchedCompositeContentGuard]
|
493
512
|
# @param [Hash] opts the optional parameters
|
513
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
494
514
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
495
515
|
def partial_update_with_http_info(composite_content_guard_href, patched_composite_content_guard, opts = {})
|
496
516
|
if @api_client.config.debugging
|
@@ -519,6 +539,7 @@ module PulpcoreClient
|
|
519
539
|
if !content_type.nil?
|
520
540
|
header_params['Content-Type'] = content_type
|
521
541
|
end
|
542
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
522
543
|
|
523
544
|
# form parameters
|
524
545
|
form_params = opts[:form_params] || {}
|
@@ -553,6 +574,7 @@ module PulpcoreClient
|
|
553
574
|
# Content guard that queries a list-of content-guards for access permissions.
|
554
575
|
# @param composite_content_guard_href [String]
|
555
576
|
# @param [Hash] opts the optional parameters
|
577
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
556
578
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
557
579
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
558
580
|
# @return [CompositeContentGuardResponse]
|
@@ -565,6 +587,7 @@ module PulpcoreClient
|
|
565
587
|
# Content guard that queries a list-of content-guards for access permissions.
|
566
588
|
# @param composite_content_guard_href [String]
|
567
589
|
# @param [Hash] opts the optional parameters
|
590
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
568
591
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
569
592
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
570
593
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
@@ -588,6 +611,7 @@ module PulpcoreClient
|
|
588
611
|
header_params = opts[:header_params] || {}
|
589
612
|
# HTTP header 'Accept' (if needed)
|
590
613
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
614
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
591
615
|
|
592
616
|
# form parameters
|
593
617
|
form_params = opts[:form_params] || {}
|
@@ -623,6 +647,7 @@ module PulpcoreClient
|
|
623
647
|
# @param composite_content_guard_href [String]
|
624
648
|
# @param nested_role [NestedRole]
|
625
649
|
# @param [Hash] opts the optional parameters
|
650
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
626
651
|
# @return [NestedRoleResponse]
|
627
652
|
def remove_role(composite_content_guard_href, nested_role, opts = {})
|
628
653
|
data, _status_code, _headers = remove_role_with_http_info(composite_content_guard_href, nested_role, opts)
|
@@ -634,6 +659,7 @@ module PulpcoreClient
|
|
634
659
|
# @param composite_content_guard_href [String]
|
635
660
|
# @param nested_role [NestedRole]
|
636
661
|
# @param [Hash] opts the optional parameters
|
662
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
637
663
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
638
664
|
def remove_role_with_http_info(composite_content_guard_href, nested_role, opts = {})
|
639
665
|
if @api_client.config.debugging
|
@@ -662,6 +688,7 @@ module PulpcoreClient
|
|
662
688
|
if !content_type.nil?
|
663
689
|
header_params['Content-Type'] = content_type
|
664
690
|
end
|
691
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
665
692
|
|
666
693
|
# form parameters
|
667
694
|
form_params = opts[:form_params] || {}
|
@@ -697,6 +724,7 @@ module PulpcoreClient
|
|
697
724
|
# @param composite_content_guard_href [String]
|
698
725
|
# @param composite_content_guard [CompositeContentGuard]
|
699
726
|
# @param [Hash] opts the optional parameters
|
727
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
700
728
|
# @return [CompositeContentGuardResponse]
|
701
729
|
def update(composite_content_guard_href, composite_content_guard, opts = {})
|
702
730
|
data, _status_code, _headers = update_with_http_info(composite_content_guard_href, composite_content_guard, opts)
|
@@ -708,6 +736,7 @@ module PulpcoreClient
|
|
708
736
|
# @param composite_content_guard_href [String]
|
709
737
|
# @param composite_content_guard [CompositeContentGuard]
|
710
738
|
# @param [Hash] opts the optional parameters
|
739
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
711
740
|
# @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
|
712
741
|
def update_with_http_info(composite_content_guard_href, composite_content_guard, opts = {})
|
713
742
|
if @api_client.config.debugging
|
@@ -736,6 +765,7 @@ module PulpcoreClient
|
|
736
765
|
if !content_type.nil?
|
737
766
|
header_params['Content-Type'] = content_type
|
738
767
|
end
|
768
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
739
769
|
|
740
770
|
# form parameters
|
741
771
|
form_params = opts[:form_params] || {}
|