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
data/docs/TasksApi.md
CHANGED
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:24817*
|
|
18
18
|
|
19
19
|
## add_role
|
20
20
|
|
21
|
-
> <NestedRoleResponse> add_role(task_href, nested_role)
|
21
|
+
> <NestedRoleResponse> add_role(task_href, nested_role, opts)
|
22
22
|
|
23
23
|
Add a role
|
24
24
|
|
@@ -39,10 +39,13 @@ end
|
|
39
39
|
api_instance = PulpcoreClient::TasksApi.new
|
40
40
|
task_href = 'task_href_example' # String |
|
41
41
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
42
|
+
opts = {
|
43
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
44
|
+
}
|
42
45
|
|
43
46
|
begin
|
44
47
|
# Add a role
|
45
|
-
result = api_instance.add_role(task_href, nested_role)
|
48
|
+
result = api_instance.add_role(task_href, nested_role, opts)
|
46
49
|
p result
|
47
50
|
rescue PulpcoreClient::ApiError => e
|
48
51
|
puts "Error when calling TasksApi->add_role: #{e}"
|
@@ -53,12 +56,12 @@ end
|
|
53
56
|
|
54
57
|
This returns an Array which contains the response data, status code and headers.
|
55
58
|
|
56
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(task_href, nested_role)
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(task_href, nested_role, opts)
|
57
60
|
|
58
61
|
```ruby
|
59
62
|
begin
|
60
63
|
# Add a role
|
61
|
-
data, status_code, headers = api_instance.add_role_with_http_info(task_href, nested_role)
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(task_href, nested_role, opts)
|
62
65
|
p status_code # => 2xx
|
63
66
|
p headers # => { ... }
|
64
67
|
p data # => <NestedRoleResponse>
|
@@ -73,6 +76,7 @@ end
|
|
73
76
|
| ---- | ---- | ----------- | ----- |
|
74
77
|
| **task_href** | **String** | | |
|
75
78
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
79
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
76
80
|
|
77
81
|
### Return type
|
78
82
|
|
@@ -90,7 +94,7 @@ end
|
|
90
94
|
|
91
95
|
## delete
|
92
96
|
|
93
|
-
> delete(task_href)
|
97
|
+
> delete(task_href, opts)
|
94
98
|
|
95
99
|
Delete a task
|
96
100
|
|
@@ -110,10 +114,13 @@ end
|
|
110
114
|
|
111
115
|
api_instance = PulpcoreClient::TasksApi.new
|
112
116
|
task_href = 'task_href_example' # String |
|
117
|
+
opts = {
|
118
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
119
|
+
}
|
113
120
|
|
114
121
|
begin
|
115
122
|
# Delete a task
|
116
|
-
api_instance.delete(task_href)
|
123
|
+
api_instance.delete(task_href, opts)
|
117
124
|
rescue PulpcoreClient::ApiError => e
|
118
125
|
puts "Error when calling TasksApi->delete: #{e}"
|
119
126
|
end
|
@@ -123,12 +130,12 @@ end
|
|
123
130
|
|
124
131
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
125
132
|
|
126
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(task_href)
|
133
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(task_href, opts)
|
127
134
|
|
128
135
|
```ruby
|
129
136
|
begin
|
130
137
|
# Delete a task
|
131
|
-
data, status_code, headers = api_instance.delete_with_http_info(task_href)
|
138
|
+
data, status_code, headers = api_instance.delete_with_http_info(task_href, opts)
|
132
139
|
p status_code # => 2xx
|
133
140
|
p headers # => { ... }
|
134
141
|
p data # => nil
|
@@ -142,6 +149,7 @@ end
|
|
142
149
|
| Name | Type | Description | Notes |
|
143
150
|
| ---- | ---- | ----------- | ----- |
|
144
151
|
| **task_href** | **String** | | |
|
152
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
145
153
|
|
146
154
|
### Return type
|
147
155
|
|
@@ -179,6 +187,7 @@ end
|
|
179
187
|
|
180
188
|
api_instance = PulpcoreClient::TasksApi.new
|
181
189
|
opts = {
|
190
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
182
191
|
child_tasks: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where child_tasks matches value
|
183
192
|
created_resources: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String |
|
184
193
|
exclusive_resources: 'exclusive_resources_example', # String |
|
@@ -198,7 +207,7 @@ opts = {
|
|
198
207
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
199
208
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
200
209
|
offset: 56, # Integer | The initial index from which to return the results.
|
201
|
-
ordering: ['-deferred'], # Array<String> | 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)
|
210
|
+
ordering: ['-deferred'], # Array<String> | 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)
|
202
211
|
parent_task: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Filter results where parent_task matches value
|
203
212
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
204
213
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
@@ -271,6 +280,7 @@ end
|
|
271
280
|
|
272
281
|
| Name | Type | Description | Notes |
|
273
282
|
| ---- | ---- | ----------- | ----- |
|
283
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
274
284
|
| **child_tasks** | **String** | Filter results where child_tasks matches value | [optional] |
|
275
285
|
| **created_resources** | **String** | | [optional] |
|
276
286
|
| **exclusive_resources** | **String** | | [optional] |
|
@@ -290,7 +300,7 @@ end
|
|
290
300
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
291
301
|
| **name__ne** | **String** | Filter results where name not equal to value | [optional] |
|
292
302
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
293
|
-
| **ordering** | [**Array<String>**](String.md) | 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) | [optional] |
|
303
|
+
| **ordering** | [**Array<String>**](String.md) | 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) | [optional] |
|
294
304
|
| **parent_task** | **String** | Filter results where parent_task matches value | [optional] |
|
295
305
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
296
306
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
@@ -368,6 +378,7 @@ end
|
|
368
378
|
api_instance = PulpcoreClient::TasksApi.new
|
369
379
|
task_href = 'task_href_example' # String |
|
370
380
|
opts = {
|
381
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
371
382
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
372
383
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
373
384
|
}
|
@@ -404,6 +415,7 @@ end
|
|
404
415
|
| Name | Type | Description | Notes |
|
405
416
|
| ---- | ---- | ----------- | ----- |
|
406
417
|
| **task_href** | **String** | | |
|
418
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
407
419
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
408
420
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
409
421
|
|
@@ -444,6 +456,7 @@ end
|
|
444
456
|
api_instance = PulpcoreClient::TasksApi.new
|
445
457
|
task_href = 'task_href_example' # String |
|
446
458
|
opts = {
|
459
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
447
460
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
448
461
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
449
462
|
}
|
@@ -480,6 +493,7 @@ end
|
|
480
493
|
| Name | Type | Description | Notes |
|
481
494
|
| ---- | ---- | ----------- | ----- |
|
482
495
|
| **task_href** | **String** | | |
|
496
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
483
497
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
484
498
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
485
499
|
|
@@ -520,6 +534,7 @@ end
|
|
520
534
|
api_instance = PulpcoreClient::TasksApi.new
|
521
535
|
task_href = 'task_href_example' # String |
|
522
536
|
opts = {
|
537
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
523
538
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
524
539
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
525
540
|
}
|
@@ -556,6 +571,7 @@ end
|
|
556
571
|
| Name | Type | Description | Notes |
|
557
572
|
| ---- | ---- | ----------- | ----- |
|
558
573
|
| **task_href** | **String** | | |
|
574
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
559
575
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
560
576
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
561
577
|
|
@@ -575,7 +591,7 @@ end
|
|
575
591
|
|
576
592
|
## purge
|
577
593
|
|
578
|
-
> <AsyncOperationResponse> purge(purge)
|
594
|
+
> <AsyncOperationResponse> purge(purge, opts)
|
579
595
|
|
580
596
|
Purge Completed Tasks
|
581
597
|
|
@@ -595,10 +611,13 @@ end
|
|
595
611
|
|
596
612
|
api_instance = PulpcoreClient::TasksApi.new
|
597
613
|
purge = PulpcoreClient::Purge.new # Purge |
|
614
|
+
opts = {
|
615
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
616
|
+
}
|
598
617
|
|
599
618
|
begin
|
600
619
|
# Purge Completed Tasks
|
601
|
-
result = api_instance.purge(purge)
|
620
|
+
result = api_instance.purge(purge, opts)
|
602
621
|
p result
|
603
622
|
rescue PulpcoreClient::ApiError => e
|
604
623
|
puts "Error when calling TasksApi->purge: #{e}"
|
@@ -609,12 +628,12 @@ end
|
|
609
628
|
|
610
629
|
This returns an Array which contains the response data, status code and headers.
|
611
630
|
|
612
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> purge_with_http_info(purge)
|
631
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> purge_with_http_info(purge, opts)
|
613
632
|
|
614
633
|
```ruby
|
615
634
|
begin
|
616
635
|
# Purge Completed Tasks
|
617
|
-
data, status_code, headers = api_instance.purge_with_http_info(purge)
|
636
|
+
data, status_code, headers = api_instance.purge_with_http_info(purge, opts)
|
618
637
|
p status_code # => 2xx
|
619
638
|
p headers # => { ... }
|
620
639
|
p data # => <AsyncOperationResponse>
|
@@ -628,6 +647,7 @@ end
|
|
628
647
|
| Name | Type | Description | Notes |
|
629
648
|
| ---- | ---- | ----------- | ----- |
|
630
649
|
| **purge** | [**Purge**](Purge.md) | | |
|
650
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
631
651
|
|
632
652
|
### Return type
|
633
653
|
|
@@ -666,6 +686,7 @@ end
|
|
666
686
|
api_instance = PulpcoreClient::TasksApi.new
|
667
687
|
task_href = 'task_href_example' # String |
|
668
688
|
opts = {
|
689
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
669
690
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
670
691
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
671
692
|
}
|
@@ -702,6 +723,7 @@ end
|
|
702
723
|
| Name | Type | Description | Notes |
|
703
724
|
| ---- | ---- | ----------- | ----- |
|
704
725
|
| **task_href** | **String** | | |
|
726
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
705
727
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
706
728
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
707
729
|
|
@@ -721,7 +743,7 @@ end
|
|
721
743
|
|
722
744
|
## remove_role
|
723
745
|
|
724
|
-
> <NestedRoleResponse> remove_role(task_href, nested_role)
|
746
|
+
> <NestedRoleResponse> remove_role(task_href, nested_role, opts)
|
725
747
|
|
726
748
|
Remove a role
|
727
749
|
|
@@ -742,10 +764,13 @@ end
|
|
742
764
|
api_instance = PulpcoreClient::TasksApi.new
|
743
765
|
task_href = 'task_href_example' # String |
|
744
766
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
767
|
+
opts = {
|
768
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
769
|
+
}
|
745
770
|
|
746
771
|
begin
|
747
772
|
# Remove a role
|
748
|
-
result = api_instance.remove_role(task_href, nested_role)
|
773
|
+
result = api_instance.remove_role(task_href, nested_role, opts)
|
749
774
|
p result
|
750
775
|
rescue PulpcoreClient::ApiError => e
|
751
776
|
puts "Error when calling TasksApi->remove_role: #{e}"
|
@@ -756,12 +781,12 @@ end
|
|
756
781
|
|
757
782
|
This returns an Array which contains the response data, status code and headers.
|
758
783
|
|
759
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(task_href, nested_role)
|
784
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(task_href, nested_role, opts)
|
760
785
|
|
761
786
|
```ruby
|
762
787
|
begin
|
763
788
|
# Remove a role
|
764
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(task_href, nested_role)
|
789
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(task_href, nested_role, opts)
|
765
790
|
p status_code # => 2xx
|
766
791
|
p headers # => { ... }
|
767
792
|
p data # => <NestedRoleResponse>
|
@@ -776,6 +801,7 @@ end
|
|
776
801
|
| ---- | ---- | ----------- | ----- |
|
777
802
|
| **task_href** | **String** | | |
|
778
803
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
804
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
779
805
|
|
780
806
|
### Return type
|
781
807
|
|
@@ -793,7 +819,7 @@ end
|
|
793
819
|
|
794
820
|
## tasks_cancel
|
795
821
|
|
796
|
-
> <TaskResponse> tasks_cancel(task_href, patched_task_cancel)
|
822
|
+
> <TaskResponse> tasks_cancel(task_href, patched_task_cancel, opts)
|
797
823
|
|
798
824
|
Cancel a task
|
799
825
|
|
@@ -814,10 +840,13 @@ end
|
|
814
840
|
api_instance = PulpcoreClient::TasksApi.new
|
815
841
|
task_href = 'task_href_example' # String |
|
816
842
|
patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
|
843
|
+
opts = {
|
844
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
845
|
+
}
|
817
846
|
|
818
847
|
begin
|
819
848
|
# Cancel a task
|
820
|
-
result = api_instance.tasks_cancel(task_href, patched_task_cancel)
|
849
|
+
result = api_instance.tasks_cancel(task_href, patched_task_cancel, opts)
|
821
850
|
p result
|
822
851
|
rescue PulpcoreClient::ApiError => e
|
823
852
|
puts "Error when calling TasksApi->tasks_cancel: #{e}"
|
@@ -828,12 +857,12 @@ end
|
|
828
857
|
|
829
858
|
This returns an Array which contains the response data, status code and headers.
|
830
859
|
|
831
|
-
> <Array(<TaskResponse>, Integer, Hash)> tasks_cancel_with_http_info(task_href, patched_task_cancel)
|
860
|
+
> <Array(<TaskResponse>, Integer, Hash)> tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
832
861
|
|
833
862
|
```ruby
|
834
863
|
begin
|
835
864
|
# Cancel a task
|
836
|
-
data, status_code, headers = api_instance.tasks_cancel_with_http_info(task_href, patched_task_cancel)
|
865
|
+
data, status_code, headers = api_instance.tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
837
866
|
p status_code # => 2xx
|
838
867
|
p headers # => { ... }
|
839
868
|
p data # => <TaskResponse>
|
@@ -848,6 +877,7 @@ end
|
|
848
877
|
| ---- | ---- | ----------- | ----- |
|
849
878
|
| **task_href** | **String** | | |
|
850
879
|
| **patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md) | | |
|
880
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
851
881
|
|
852
882
|
### Return type
|
853
883
|
|
data/docs/UploadsApi.md
CHANGED
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:24817*
|
|
18
18
|
|
19
19
|
## add_role
|
20
20
|
|
21
|
-
> <NestedRoleResponse> add_role(upload_href, upload)
|
21
|
+
> <NestedRoleResponse> add_role(upload_href, upload, opts)
|
22
22
|
|
23
23
|
Add a role
|
24
24
|
|
@@ -39,10 +39,13 @@ end
|
|
39
39
|
api_instance = PulpcoreClient::UploadsApi.new
|
40
40
|
upload_href = 'upload_href_example' # String |
|
41
41
|
upload = PulpcoreClient::Upload.new({size: 3.56}) # Upload |
|
42
|
+
opts = {
|
43
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
44
|
+
}
|
42
45
|
|
43
46
|
begin
|
44
47
|
# Add a role
|
45
|
-
result = api_instance.add_role(upload_href, upload)
|
48
|
+
result = api_instance.add_role(upload_href, upload, opts)
|
46
49
|
p result
|
47
50
|
rescue PulpcoreClient::ApiError => e
|
48
51
|
puts "Error when calling UploadsApi->add_role: #{e}"
|
@@ -53,12 +56,12 @@ end
|
|
53
56
|
|
54
57
|
This returns an Array which contains the response data, status code and headers.
|
55
58
|
|
56
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(upload_href, upload)
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(upload_href, upload, opts)
|
57
60
|
|
58
61
|
```ruby
|
59
62
|
begin
|
60
63
|
# Add a role
|
61
|
-
data, status_code, headers = api_instance.add_role_with_http_info(upload_href, upload)
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(upload_href, upload, opts)
|
62
65
|
p status_code # => 2xx
|
63
66
|
p headers # => { ... }
|
64
67
|
p data # => <NestedRoleResponse>
|
@@ -73,6 +76,7 @@ end
|
|
73
76
|
| ---- | ---- | ----------- | ----- |
|
74
77
|
| **upload_href** | **String** | | |
|
75
78
|
| **upload** | [**Upload**](Upload.md) | | |
|
79
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
76
80
|
|
77
81
|
### Return type
|
78
82
|
|
@@ -90,7 +94,7 @@ end
|
|
90
94
|
|
91
95
|
## commit
|
92
96
|
|
93
|
-
> <AsyncOperationResponse> commit(upload_href, upload_commit)
|
97
|
+
> <AsyncOperationResponse> commit(upload_href, upload_commit, opts)
|
94
98
|
|
95
99
|
Finish an Upload
|
96
100
|
|
@@ -111,10 +115,13 @@ end
|
|
111
115
|
api_instance = PulpcoreClient::UploadsApi.new
|
112
116
|
upload_href = 'upload_href_example' # String |
|
113
117
|
upload_commit = PulpcoreClient::UploadCommit.new({sha256: 'sha256_example'}) # UploadCommit |
|
118
|
+
opts = {
|
119
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
120
|
+
}
|
114
121
|
|
115
122
|
begin
|
116
123
|
# Finish an Upload
|
117
|
-
result = api_instance.commit(upload_href, upload_commit)
|
124
|
+
result = api_instance.commit(upload_href, upload_commit, opts)
|
118
125
|
p result
|
119
126
|
rescue PulpcoreClient::ApiError => e
|
120
127
|
puts "Error when calling UploadsApi->commit: #{e}"
|
@@ -125,12 +132,12 @@ end
|
|
125
132
|
|
126
133
|
This returns an Array which contains the response data, status code and headers.
|
127
134
|
|
128
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> commit_with_http_info(upload_href, upload_commit)
|
135
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> commit_with_http_info(upload_href, upload_commit, opts)
|
129
136
|
|
130
137
|
```ruby
|
131
138
|
begin
|
132
139
|
# Finish an Upload
|
133
|
-
data, status_code, headers = api_instance.commit_with_http_info(upload_href, upload_commit)
|
140
|
+
data, status_code, headers = api_instance.commit_with_http_info(upload_href, upload_commit, opts)
|
134
141
|
p status_code # => 2xx
|
135
142
|
p headers # => { ... }
|
136
143
|
p data # => <AsyncOperationResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| ---- | ---- | ----------- | ----- |
|
146
153
|
| **upload_href** | **String** | | |
|
147
154
|
| **upload_commit** | [**UploadCommit**](UploadCommit.md) | | |
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
148
156
|
|
149
157
|
### Return type
|
150
158
|
|
@@ -162,7 +170,7 @@ end
|
|
162
170
|
|
163
171
|
## create
|
164
172
|
|
165
|
-
> <UploadResponse> create(upload)
|
173
|
+
> <UploadResponse> create(upload, opts)
|
166
174
|
|
167
175
|
Create an upload
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpcoreClient::UploadsApi.new
|
184
192
|
upload = PulpcoreClient::Upload.new({size: 3.56}) # Upload |
|
193
|
+
opts = {
|
194
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
195
|
+
}
|
185
196
|
|
186
197
|
begin
|
187
198
|
# Create an upload
|
188
|
-
result = api_instance.create(upload)
|
199
|
+
result = api_instance.create(upload, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpcoreClient::ApiError => e
|
191
202
|
puts "Error when calling UploadsApi->create: #{e}"
|
@@ -196,12 +207,12 @@ end
|
|
196
207
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
198
209
|
|
199
|
-
> <Array(<UploadResponse>, Integer, Hash)> create_with_http_info(upload)
|
210
|
+
> <Array(<UploadResponse>, Integer, Hash)> create_with_http_info(upload, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Create an upload
|
204
|
-
data, status_code, headers = api_instance.create_with_http_info(upload)
|
215
|
+
data, status_code, headers = api_instance.create_with_http_info(upload, opts)
|
205
216
|
p status_code # => 2xx
|
206
217
|
p headers # => { ... }
|
207
218
|
p data # => <UploadResponse>
|
@@ -215,6 +226,7 @@ end
|
|
215
226
|
| Name | Type | Description | Notes |
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
217
228
|
| **upload** | [**Upload**](Upload.md) | | |
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
218
230
|
|
219
231
|
### Return type
|
220
232
|
|
@@ -232,7 +244,7 @@ end
|
|
232
244
|
|
233
245
|
## delete
|
234
246
|
|
235
|
-
> delete(upload_href)
|
247
|
+
> delete(upload_href, opts)
|
236
248
|
|
237
249
|
Delete an upload
|
238
250
|
|
@@ -252,10 +264,13 @@ end
|
|
252
264
|
|
253
265
|
api_instance = PulpcoreClient::UploadsApi.new
|
254
266
|
upload_href = 'upload_href_example' # String |
|
267
|
+
opts = {
|
268
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
269
|
+
}
|
255
270
|
|
256
271
|
begin
|
257
272
|
# Delete an upload
|
258
|
-
api_instance.delete(upload_href)
|
273
|
+
api_instance.delete(upload_href, opts)
|
259
274
|
rescue PulpcoreClient::ApiError => e
|
260
275
|
puts "Error when calling UploadsApi->delete: #{e}"
|
261
276
|
end
|
@@ -265,12 +280,12 @@ end
|
|
265
280
|
|
266
281
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
267
282
|
|
268
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(upload_href)
|
283
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(upload_href, opts)
|
269
284
|
|
270
285
|
```ruby
|
271
286
|
begin
|
272
287
|
# Delete an upload
|
273
|
-
data, status_code, headers = api_instance.delete_with_http_info(upload_href)
|
288
|
+
data, status_code, headers = api_instance.delete_with_http_info(upload_href, opts)
|
274
289
|
p status_code # => 2xx
|
275
290
|
p headers # => { ... }
|
276
291
|
p data # => nil
|
@@ -284,6 +299,7 @@ end
|
|
284
299
|
| Name | Type | Description | Notes |
|
285
300
|
| ---- | ---- | ----------- | ----- |
|
286
301
|
| **upload_href** | **String** | | |
|
302
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
287
303
|
|
288
304
|
### Return type
|
289
305
|
|
@@ -321,6 +337,7 @@ end
|
|
321
337
|
|
322
338
|
api_instance = PulpcoreClient::UploadsApi.new
|
323
339
|
opts = {
|
340
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
324
341
|
limit: 56, # Integer | Number of results to return per page.
|
325
342
|
offset: 56, # Integer | The initial index from which to return the results.
|
326
343
|
ordering: ['-pk'], # Array<String> | 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)
|
@@ -367,6 +384,7 @@ end
|
|
367
384
|
|
368
385
|
| Name | Type | Description | Notes |
|
369
386
|
| ---- | ---- | ----------- | ----- |
|
387
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
370
388
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
371
389
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
372
390
|
| **ordering** | [**Array<String>**](String.md) | 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) | [optional] |
|
@@ -418,6 +436,7 @@ end
|
|
418
436
|
api_instance = PulpcoreClient::UploadsApi.new
|
419
437
|
upload_href = 'upload_href_example' # String |
|
420
438
|
opts = {
|
439
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
421
440
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
422
441
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
423
442
|
}
|
@@ -454,6 +473,7 @@ end
|
|
454
473
|
| Name | Type | Description | Notes |
|
455
474
|
| ---- | ---- | ----------- | ----- |
|
456
475
|
| **upload_href** | **String** | | |
|
476
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
457
477
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
458
478
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
459
479
|
|
@@ -494,6 +514,7 @@ end
|
|
494
514
|
api_instance = PulpcoreClient::UploadsApi.new
|
495
515
|
upload_href = 'upload_href_example' # String |
|
496
516
|
opts = {
|
517
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
497
518
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
498
519
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
499
520
|
}
|
@@ -530,6 +551,7 @@ end
|
|
530
551
|
| Name | Type | Description | Notes |
|
531
552
|
| ---- | ---- | ----------- | ----- |
|
532
553
|
| **upload_href** | **String** | | |
|
554
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
533
555
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
534
556
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
535
557
|
|
@@ -570,6 +592,7 @@ end
|
|
570
592
|
api_instance = PulpcoreClient::UploadsApi.new
|
571
593
|
upload_href = 'upload_href_example' # String |
|
572
594
|
opts = {
|
595
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
573
596
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
574
597
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
575
598
|
}
|
@@ -606,6 +629,7 @@ end
|
|
606
629
|
| Name | Type | Description | Notes |
|
607
630
|
| ---- | ---- | ----------- | ----- |
|
608
631
|
| **upload_href** | **String** | | |
|
632
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
609
633
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
610
634
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
611
635
|
|
@@ -625,7 +649,7 @@ end
|
|
625
649
|
|
626
650
|
## remove_role
|
627
651
|
|
628
|
-
> <NestedRoleResponse> remove_role(upload_href, upload)
|
652
|
+
> <NestedRoleResponse> remove_role(upload_href, upload, opts)
|
629
653
|
|
630
654
|
Remove a role
|
631
655
|
|
@@ -646,10 +670,13 @@ end
|
|
646
670
|
api_instance = PulpcoreClient::UploadsApi.new
|
647
671
|
upload_href = 'upload_href_example' # String |
|
648
672
|
upload = PulpcoreClient::Upload.new({size: 3.56}) # Upload |
|
673
|
+
opts = {
|
674
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
675
|
+
}
|
649
676
|
|
650
677
|
begin
|
651
678
|
# Remove a role
|
652
|
-
result = api_instance.remove_role(upload_href, upload)
|
679
|
+
result = api_instance.remove_role(upload_href, upload, opts)
|
653
680
|
p result
|
654
681
|
rescue PulpcoreClient::ApiError => e
|
655
682
|
puts "Error when calling UploadsApi->remove_role: #{e}"
|
@@ -660,12 +687,12 @@ end
|
|
660
687
|
|
661
688
|
This returns an Array which contains the response data, status code and headers.
|
662
689
|
|
663
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(upload_href, upload)
|
690
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(upload_href, upload, opts)
|
664
691
|
|
665
692
|
```ruby
|
666
693
|
begin
|
667
694
|
# Remove a role
|
668
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(upload_href, upload)
|
695
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(upload_href, upload, opts)
|
669
696
|
p status_code # => 2xx
|
670
697
|
p headers # => { ... }
|
671
698
|
p data # => <NestedRoleResponse>
|
@@ -680,6 +707,7 @@ end
|
|
680
707
|
| ---- | ---- | ----------- | ----- |
|
681
708
|
| **upload_href** | **String** | | |
|
682
709
|
| **upload** | [**Upload**](Upload.md) | | |
|
710
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
683
711
|
|
684
712
|
### Return type
|
685
713
|
|
@@ -720,6 +748,7 @@ content_range = 'content_range_example' # String | The Content-Range header spec
|
|
720
748
|
upload_href = 'upload_href_example' # String |
|
721
749
|
file = File.new('/path/to/some/file') # File | A chunk of the uploaded file.
|
722
750
|
opts = {
|
751
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
723
752
|
sha256: 'sha256_example' # String | The SHA-256 checksum of the chunk if available.
|
724
753
|
}
|
725
754
|
|
@@ -757,6 +786,7 @@ end
|
|
757
786
|
| **content_range** | **String** | The Content-Range header specifies the location of the file chunk within the file. | |
|
758
787
|
| **upload_href** | **String** | | |
|
759
788
|
| **file** | **File** | A chunk of the uploaded file. | |
|
789
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
760
790
|
| **sha256** | **String** | The SHA-256 checksum of the chunk if available. | [optional] |
|
761
791
|
|
762
792
|
### Return type
|