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
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param task_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(task_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(task_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param task_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(task_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
|
# 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.
|
98
101
|
# @param task_href [String]
|
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 [nil]
|
101
105
|
def delete(task_href, opts = {})
|
102
106
|
delete_with_http_info(task_href, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# 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.
|
108
112
|
# @param task_href [String]
|
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<(nil, Integer, Hash)>] nil, response status code and response headers
|
111
116
|
def delete_with_http_info(task_href, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -124,6 +129,7 @@ module PulpcoreClient
|
|
124
129
|
|
125
130
|
# header parameters
|
126
131
|
header_params = opts[:header_params] || {}
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
127
133
|
|
128
134
|
# form parameters
|
129
135
|
form_params = opts[:form_params] || {}
|
@@ -157,6 +163,7 @@ module PulpcoreClient
|
|
157
163
|
# List tasks
|
158
164
|
# 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.
|
159
165
|
# @param [Hash] opts the optional parameters
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
160
167
|
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
161
168
|
# @option opts [String] :created_resources
|
162
169
|
# @option opts [String] :exclusive_resources
|
@@ -176,7 +183,7 @@ module PulpcoreClient
|
|
176
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
177
184
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
178
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
186
|
+
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
180
187
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
181
188
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
182
189
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
@@ -225,6 +232,7 @@ module PulpcoreClient
|
|
225
232
|
# List tasks
|
226
233
|
# 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.
|
227
234
|
# @param [Hash] opts the optional parameters
|
235
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
236
|
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
229
237
|
# @option opts [String] :created_resources
|
230
238
|
# @option opts [String] :exclusive_resources
|
@@ -244,7 +252,7 @@ module PulpcoreClient
|
|
244
252
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
245
253
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
246
254
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
247
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
255
|
+
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
248
256
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
249
257
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
250
258
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
@@ -289,7 +297,7 @@ module PulpcoreClient
|
|
289
297
|
if @api_client.config.debugging
|
290
298
|
@api_client.config.logger.debug 'Calling API: TasksApi.list ...'
|
291
299
|
end
|
292
|
-
allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "unblocked_at", "versions"]
|
300
|
+
allowable_values = ["-deferred", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-immediate", "-logging_cid", "-name", "-pk", "-profile_options", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-unblocked_at", "-versions", "deferred", "enc_args", "enc_kwargs", "error", "finished_at", "immediate", "logging_cid", "name", "pk", "profile_options", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "unblocked_at", "versions"]
|
293
301
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
294
302
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
295
303
|
end
|
@@ -366,6 +374,7 @@ module PulpcoreClient
|
|
366
374
|
header_params = opts[:header_params] || {}
|
367
375
|
# HTTP header 'Accept' (if needed)
|
368
376
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
377
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
369
378
|
|
370
379
|
# form parameters
|
371
380
|
form_params = opts[:form_params] || {}
|
@@ -400,6 +409,7 @@ module PulpcoreClient
|
|
400
409
|
# List roles assigned to this object.
|
401
410
|
# @param task_href [String]
|
402
411
|
# @param [Hash] opts the optional parameters
|
412
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
403
413
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
404
414
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
405
415
|
# @return [ObjectRolesResponse]
|
@@ -412,6 +422,7 @@ module PulpcoreClient
|
|
412
422
|
# List roles assigned to this object.
|
413
423
|
# @param task_href [String]
|
414
424
|
# @param [Hash] opts the optional parameters
|
425
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
415
426
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
416
427
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
417
428
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -435,6 +446,7 @@ module PulpcoreClient
|
|
435
446
|
header_params = opts[:header_params] || {}
|
436
447
|
# HTTP header 'Accept' (if needed)
|
437
448
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
449
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
438
450
|
|
439
451
|
# form parameters
|
440
452
|
form_params = opts[:form_params] || {}
|
@@ -469,6 +481,7 @@ module PulpcoreClient
|
|
469
481
|
# List permissions available to the current user on this object.
|
470
482
|
# @param task_href [String]
|
471
483
|
# @param [Hash] opts the optional parameters
|
484
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
472
485
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
473
486
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
474
487
|
# @return [MyPermissionsResponse]
|
@@ -481,6 +494,7 @@ module PulpcoreClient
|
|
481
494
|
# List permissions available to the current user on this object.
|
482
495
|
# @param task_href [String]
|
483
496
|
# @param [Hash] opts the optional parameters
|
497
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
484
498
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
485
499
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
486
500
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -504,6 +518,7 @@ module PulpcoreClient
|
|
504
518
|
header_params = opts[:header_params] || {}
|
505
519
|
# HTTP header 'Accept' (if needed)
|
506
520
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
521
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
507
522
|
|
508
523
|
# form parameters
|
509
524
|
form_params = opts[:form_params] || {}
|
@@ -538,6 +553,7 @@ module PulpcoreClient
|
|
538
553
|
# Return pre-signed URLs used for downloading raw profile artifacts.
|
539
554
|
# @param task_href [String]
|
540
555
|
# @param [Hash] opts the optional parameters
|
556
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
541
557
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
542
558
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
543
559
|
# @return [ProfileArtifactResponse]
|
@@ -550,6 +566,7 @@ module PulpcoreClient
|
|
550
566
|
# Return pre-signed URLs used for downloading raw profile artifacts.
|
551
567
|
# @param task_href [String]
|
552
568
|
# @param [Hash] opts the optional parameters
|
569
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
553
570
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
554
571
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
555
572
|
# @return [Array<(ProfileArtifactResponse, Integer, Hash)>] ProfileArtifactResponse data, response status code and response headers
|
@@ -573,6 +590,7 @@ module PulpcoreClient
|
|
573
590
|
header_params = opts[:header_params] || {}
|
574
591
|
# HTTP header 'Accept' (if needed)
|
575
592
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
593
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
576
594
|
|
577
595
|
# form parameters
|
578
596
|
form_params = opts[:form_params] || {}
|
@@ -607,6 +625,7 @@ module PulpcoreClient
|
|
607
625
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
608
626
|
# @param purge [Purge]
|
609
627
|
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
610
629
|
# @return [AsyncOperationResponse]
|
611
630
|
def purge(purge, opts = {})
|
612
631
|
data, _status_code, _headers = purge_with_http_info(purge, opts)
|
@@ -617,6 +636,7 @@ module PulpcoreClient
|
|
617
636
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
618
637
|
# @param purge [Purge]
|
619
638
|
# @param [Hash] opts the optional parameters
|
639
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
620
640
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
621
641
|
def purge_with_http_info(purge, opts = {})
|
622
642
|
if @api_client.config.debugging
|
@@ -641,6 +661,7 @@ module PulpcoreClient
|
|
641
661
|
if !content_type.nil?
|
642
662
|
header_params['Content-Type'] = content_type
|
643
663
|
end
|
664
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
644
665
|
|
645
666
|
# form parameters
|
646
667
|
form_params = opts[:form_params] || {}
|
@@ -675,6 +696,7 @@ module PulpcoreClient
|
|
675
696
|
# 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.
|
676
697
|
# @param task_href [String]
|
677
698
|
# @param [Hash] opts the optional parameters
|
699
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
678
700
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
679
701
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
680
702
|
# @return [TaskResponse]
|
@@ -687,6 +709,7 @@ module PulpcoreClient
|
|
687
709
|
# 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.
|
688
710
|
# @param task_href [String]
|
689
711
|
# @param [Hash] opts the optional parameters
|
712
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
690
713
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
691
714
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
692
715
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
@@ -710,6 +733,7 @@ module PulpcoreClient
|
|
710
733
|
header_params = opts[:header_params] || {}
|
711
734
|
# HTTP header 'Accept' (if needed)
|
712
735
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
736
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
713
737
|
|
714
738
|
# form parameters
|
715
739
|
form_params = opts[:form_params] || {}
|
@@ -745,6 +769,7 @@ module PulpcoreClient
|
|
745
769
|
# @param task_href [String]
|
746
770
|
# @param nested_role [NestedRole]
|
747
771
|
# @param [Hash] opts the optional parameters
|
772
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
748
773
|
# @return [NestedRoleResponse]
|
749
774
|
def remove_role(task_href, nested_role, opts = {})
|
750
775
|
data, _status_code, _headers = remove_role_with_http_info(task_href, nested_role, opts)
|
@@ -756,6 +781,7 @@ module PulpcoreClient
|
|
756
781
|
# @param task_href [String]
|
757
782
|
# @param nested_role [NestedRole]
|
758
783
|
# @param [Hash] opts the optional parameters
|
784
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
759
785
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
760
786
|
def remove_role_with_http_info(task_href, nested_role, opts = {})
|
761
787
|
if @api_client.config.debugging
|
@@ -784,6 +810,7 @@ module PulpcoreClient
|
|
784
810
|
if !content_type.nil?
|
785
811
|
header_params['Content-Type'] = content_type
|
786
812
|
end
|
813
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
787
814
|
|
788
815
|
# form parameters
|
789
816
|
form_params = opts[:form_params] || {}
|
@@ -819,6 +846,7 @@ module PulpcoreClient
|
|
819
846
|
# @param task_href [String]
|
820
847
|
# @param patched_task_cancel [PatchedTaskCancel]
|
821
848
|
# @param [Hash] opts the optional parameters
|
849
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
822
850
|
# @return [TaskResponse]
|
823
851
|
def tasks_cancel(task_href, patched_task_cancel, opts = {})
|
824
852
|
data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
@@ -830,6 +858,7 @@ module PulpcoreClient
|
|
830
858
|
# @param task_href [String]
|
831
859
|
# @param patched_task_cancel [PatchedTaskCancel]
|
832
860
|
# @param [Hash] opts the optional parameters
|
861
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
833
862
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
834
863
|
def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
|
835
864
|
if @api_client.config.debugging
|
@@ -858,6 +887,7 @@ module PulpcoreClient
|
|
858
887
|
if !content_type.nil?
|
859
888
|
header_params['Content-Type'] = content_type
|
860
889
|
end
|
890
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
861
891
|
|
862
892
|
# form parameters
|
863
893
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param upload_href [String]
|
25
25
|
# @param upload [Upload]
|
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(upload_href, upload, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(upload_href, upload, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param upload_href [String]
|
36
37
|
# @param upload [Upload]
|
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(upload_href, upload, 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] || {}
|
@@ -98,6 +101,7 @@ module PulpcoreClient
|
|
98
101
|
# @param upload_href [String]
|
99
102
|
# @param upload_commit [UploadCommit]
|
100
103
|
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
101
105
|
# @return [AsyncOperationResponse]
|
102
106
|
def commit(upload_href, upload_commit, opts = {})
|
103
107
|
data, _status_code, _headers = commit_with_http_info(upload_href, upload_commit, opts)
|
@@ -109,6 +113,7 @@ module PulpcoreClient
|
|
109
113
|
# @param upload_href [String]
|
110
114
|
# @param upload_commit [UploadCommit]
|
111
115
|
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
112
117
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
113
118
|
def commit_with_http_info(upload_href, upload_commit, opts = {})
|
114
119
|
if @api_client.config.debugging
|
@@ -137,6 +142,7 @@ module PulpcoreClient
|
|
137
142
|
if !content_type.nil?
|
138
143
|
header_params['Content-Type'] = content_type
|
139
144
|
end
|
145
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
140
146
|
|
141
147
|
# form parameters
|
142
148
|
form_params = opts[:form_params] || {}
|
@@ -171,6 +177,7 @@ module PulpcoreClient
|
|
171
177
|
# View for chunked uploads.
|
172
178
|
# @param upload [Upload]
|
173
179
|
# @param [Hash] opts the optional parameters
|
180
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
174
181
|
# @return [UploadResponse]
|
175
182
|
def create(upload, opts = {})
|
176
183
|
data, _status_code, _headers = create_with_http_info(upload, opts)
|
@@ -181,6 +188,7 @@ module PulpcoreClient
|
|
181
188
|
# View for chunked uploads.
|
182
189
|
# @param upload [Upload]
|
183
190
|
# @param [Hash] opts the optional parameters
|
191
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
184
192
|
# @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
|
185
193
|
def create_with_http_info(upload, opts = {})
|
186
194
|
if @api_client.config.debugging
|
@@ -205,6 +213,7 @@ module PulpcoreClient
|
|
205
213
|
if !content_type.nil?
|
206
214
|
header_params['Content-Type'] = content_type
|
207
215
|
end
|
216
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
208
217
|
|
209
218
|
# form parameters
|
210
219
|
form_params = opts[:form_params] || {}
|
@@ -239,6 +248,7 @@ module PulpcoreClient
|
|
239
248
|
# View for chunked uploads.
|
240
249
|
# @param upload_href [String]
|
241
250
|
# @param [Hash] opts the optional parameters
|
251
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
242
252
|
# @return [nil]
|
243
253
|
def delete(upload_href, opts = {})
|
244
254
|
delete_with_http_info(upload_href, opts)
|
@@ -249,6 +259,7 @@ module PulpcoreClient
|
|
249
259
|
# View for chunked uploads.
|
250
260
|
# @param upload_href [String]
|
251
261
|
# @param [Hash] opts the optional parameters
|
262
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
252
263
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
253
264
|
def delete_with_http_info(upload_href, opts = {})
|
254
265
|
if @api_client.config.debugging
|
@@ -266,6 +277,7 @@ module PulpcoreClient
|
|
266
277
|
|
267
278
|
# header parameters
|
268
279
|
header_params = opts[:header_params] || {}
|
280
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
269
281
|
|
270
282
|
# form parameters
|
271
283
|
form_params = opts[:form_params] || {}
|
@@ -299,6 +311,7 @@ module PulpcoreClient
|
|
299
311
|
# List uploads
|
300
312
|
# View for chunked uploads.
|
301
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
302
315
|
# @option opts [Integer] :limit Number of results to return per page.
|
303
316
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
304
317
|
# @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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -321,6 +334,7 @@ module PulpcoreClient
|
|
321
334
|
# List uploads
|
322
335
|
# View for chunked uploads.
|
323
336
|
# @param [Hash] opts the optional parameters
|
337
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
324
338
|
# @option opts [Integer] :limit Number of results to return per page.
|
325
339
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
326
340
|
# @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) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -366,6 +380,7 @@ module PulpcoreClient
|
|
366
380
|
header_params = opts[:header_params] || {}
|
367
381
|
# HTTP header 'Accept' (if needed)
|
368
382
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
383
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
369
384
|
|
370
385
|
# form parameters
|
371
386
|
form_params = opts[:form_params] || {}
|
@@ -400,6 +415,7 @@ module PulpcoreClient
|
|
400
415
|
# List roles assigned to this object.
|
401
416
|
# @param upload_href [String]
|
402
417
|
# @param [Hash] opts the optional parameters
|
418
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
403
419
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
404
420
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
405
421
|
# @return [ObjectRolesResponse]
|
@@ -412,6 +428,7 @@ module PulpcoreClient
|
|
412
428
|
# List roles assigned to this object.
|
413
429
|
# @param upload_href [String]
|
414
430
|
# @param [Hash] opts the optional parameters
|
431
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
415
432
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
416
433
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
417
434
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -435,6 +452,7 @@ module PulpcoreClient
|
|
435
452
|
header_params = opts[:header_params] || {}
|
436
453
|
# HTTP header 'Accept' (if needed)
|
437
454
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
455
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
438
456
|
|
439
457
|
# form parameters
|
440
458
|
form_params = opts[:form_params] || {}
|
@@ -469,6 +487,7 @@ module PulpcoreClient
|
|
469
487
|
# List permissions available to the current user on this object.
|
470
488
|
# @param upload_href [String]
|
471
489
|
# @param [Hash] opts the optional parameters
|
490
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
472
491
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
473
492
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
474
493
|
# @return [MyPermissionsResponse]
|
@@ -481,6 +500,7 @@ module PulpcoreClient
|
|
481
500
|
# List permissions available to the current user on this object.
|
482
501
|
# @param upload_href [String]
|
483
502
|
# @param [Hash] opts the optional parameters
|
503
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
484
504
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
485
505
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
486
506
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -504,6 +524,7 @@ module PulpcoreClient
|
|
504
524
|
header_params = opts[:header_params] || {}
|
505
525
|
# HTTP header 'Accept' (if needed)
|
506
526
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
527
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
507
528
|
|
508
529
|
# form parameters
|
509
530
|
form_params = opts[:form_params] || {}
|
@@ -538,6 +559,7 @@ module PulpcoreClient
|
|
538
559
|
# View for chunked uploads.
|
539
560
|
# @param upload_href [String]
|
540
561
|
# @param [Hash] opts the optional parameters
|
562
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
541
563
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
542
564
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
543
565
|
# @return [UploadDetailResponse]
|
@@ -550,6 +572,7 @@ module PulpcoreClient
|
|
550
572
|
# View for chunked uploads.
|
551
573
|
# @param upload_href [String]
|
552
574
|
# @param [Hash] opts the optional parameters
|
575
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
553
576
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
554
577
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
555
578
|
# @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
|
@@ -573,6 +596,7 @@ module PulpcoreClient
|
|
573
596
|
header_params = opts[:header_params] || {}
|
574
597
|
# HTTP header 'Accept' (if needed)
|
575
598
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
599
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
576
600
|
|
577
601
|
# form parameters
|
578
602
|
form_params = opts[:form_params] || {}
|
@@ -608,6 +632,7 @@ module PulpcoreClient
|
|
608
632
|
# @param upload_href [String]
|
609
633
|
# @param upload [Upload]
|
610
634
|
# @param [Hash] opts the optional parameters
|
635
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
611
636
|
# @return [NestedRoleResponse]
|
612
637
|
def remove_role(upload_href, upload, opts = {})
|
613
638
|
data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
|
@@ -619,6 +644,7 @@ module PulpcoreClient
|
|
619
644
|
# @param upload_href [String]
|
620
645
|
# @param upload [Upload]
|
621
646
|
# @param [Hash] opts the optional parameters
|
647
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
622
648
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
623
649
|
def remove_role_with_http_info(upload_href, upload, opts = {})
|
624
650
|
if @api_client.config.debugging
|
@@ -647,6 +673,7 @@ module PulpcoreClient
|
|
647
673
|
if !content_type.nil?
|
648
674
|
header_params['Content-Type'] = content_type
|
649
675
|
end
|
676
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
650
677
|
|
651
678
|
# form parameters
|
652
679
|
form_params = opts[:form_params] || {}
|
@@ -683,6 +710,7 @@ module PulpcoreClient
|
|
683
710
|
# @param upload_href [String]
|
684
711
|
# @param file [File] A chunk of the uploaded file.
|
685
712
|
# @param [Hash] opts the optional parameters
|
713
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
686
714
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
687
715
|
# @return [UploadResponse]
|
688
716
|
def update(content_range, upload_href, file, opts = {})
|
@@ -696,6 +724,7 @@ module PulpcoreClient
|
|
696
724
|
# @param upload_href [String]
|
697
725
|
# @param file [File] A chunk of the uploaded file.
|
698
726
|
# @param [Hash] opts the optional parameters
|
727
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
699
728
|
# @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
|
700
729
|
# @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
|
701
730
|
def update_with_http_info(content_range, upload_href, file, opts = {})
|
@@ -734,6 +763,7 @@ module PulpcoreClient
|
|
734
763
|
header_params['Content-Type'] = content_type
|
735
764
|
end
|
736
765
|
header_params[:'Content-Range'] = content_range
|
766
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
737
767
|
|
738
768
|
# form parameters
|
739
769
|
form_params = opts[:form_params] || {}
|