pulpcore_client 3.49.53 → 3.49.54
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 +22 -6
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ArtifactsApi.md +12 -2
- data/docs/ContentApi.md +2 -0
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +44 -12
- data/docs/ContentguardsContentRedirectApi.md +44 -12
- data/docs/ContentguardsHeaderApi.md +44 -12
- data/docs/ContentguardsRbacApi.md +44 -12
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DomainsApi.md +28 -8
- data/docs/ExportersFilesystemApi.md +28 -8
- data/docs/ExportersFilesystemExportsApi.md +16 -4
- data/docs/ExportersPulpApi.md +28 -8
- data/docs/ExportersPulpExportsApi.md +16 -4
- data/docs/GroupsApi.md +44 -12
- data/docs/GroupsRolesApi.md +16 -4
- data/docs/GroupsUsersApi.md +14 -4
- data/docs/ImportersPulpApi.md +28 -8
- data/docs/ImportersPulpImportCheckApi.md +6 -2
- data/docs/ImportersPulpImportsApi.md +16 -4
- data/docs/OrphansApi.md +9 -3
- data/docs/OrphansCleanupApi.md +6 -2
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +6 -2
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesReclaimSpaceApi.md +6 -2
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +28 -8
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +13 -3
- data/docs/TaskGroupsApi.md +4 -0
- data/docs/TaskSchedulesApi.md +20 -4
- data/docs/TasksApi.md +38 -10
- data/docs/UploadsApi.md +40 -10
- data/docs/UpstreamPulpsApi.md +50 -14
- data/docs/UsersApi.md +28 -8
- data/docs/UsersRolesApi.md +16 -4
- 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/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/domains_api.rb +18 -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/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_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 +6 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +27 -0
- 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 +56 -56
- 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/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/domains_api_spec.rb +6 -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/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_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 +2 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +9 -0
- 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 +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2072b21074ed415d2e3355e40cef1425b5a4687b62d2ea949538a5e573f20194
|
|
4
|
+
data.tar.gz: 6f5a8d34390d514afd25cb1847f838dd6cfc1c2be23be27b4ac2ba31f877b9b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f2dd8461fcc8968385f1ecfbc5241cc9b2bdadcb288670993400a799206b1957baef2d309f6233ed45e2a632b30eab03161346c93fe0629199a83c6fe92518c
|
|
7
|
+
data.tar.gz: 9811b44a8de1ea5b45d870f2676b71cfab784ca3ac7d8676d843ddd0daa13ff0f48653a85c4bd44c55af9c821d182f719bc06c6fd2c2a7a3c76edc7c9676a0f0
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.49.
|
|
10
|
+
- Package version: 3.49.54
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.49.
|
|
27
|
+
gem install ./pulpcore_client-3.49.54.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.49.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.49.54.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulpcore_client', '~> 3.49.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.49.54'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -66,6 +66,7 @@ end
|
|
|
66
66
|
|
|
67
67
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
68
68
|
opts = {
|
|
69
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
69
70
|
customized: true, # Boolean | Filter results where customized matches value
|
|
70
71
|
limit: 56, # Integer | Number of results to return per page.
|
|
71
72
|
offset: 56, # Integer | The initial index from which to return the results.
|
data/docs/AccessPoliciesApi.md
CHANGED
|
@@ -34,6 +34,7 @@ end
|
|
|
34
34
|
|
|
35
35
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
36
36
|
opts = {
|
|
37
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
38
|
customized: true, # Boolean | Filter results where customized matches value
|
|
38
39
|
limit: 56, # Integer | Number of results to return per page.
|
|
39
40
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
@@ -68,6 +69,7 @@ end
|
|
|
68
69
|
|
|
69
70
|
Name | Type | Description | Notes
|
|
70
71
|
------------- | ------------- | ------------- | -------------
|
|
72
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
71
73
|
**customized** | **Boolean**| Filter results where customized matches value | [optional]
|
|
72
74
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
73
75
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
@@ -103,7 +105,7 @@ Name | Type | Description | Notes
|
|
|
103
105
|
|
|
104
106
|
## partial_update
|
|
105
107
|
|
|
106
|
-
> AccessPolicyResponse partial_update(access_policy_href, patched_access_policy)
|
|
108
|
+
> AccessPolicyResponse partial_update(access_policy_href, patched_access_policy, opts)
|
|
107
109
|
|
|
108
110
|
Update an access policy
|
|
109
111
|
|
|
@@ -124,10 +126,13 @@ end
|
|
|
124
126
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
125
127
|
access_policy_href = 'access_policy_href_example' # String |
|
|
126
128
|
patched_access_policy = PulpcoreClient::PatchedAccessPolicy.new # PatchedAccessPolicy |
|
|
129
|
+
opts = {
|
|
130
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
131
|
+
}
|
|
127
132
|
|
|
128
133
|
begin
|
|
129
134
|
#Update an access policy
|
|
130
|
-
result = api_instance.partial_update(access_policy_href, patched_access_policy)
|
|
135
|
+
result = api_instance.partial_update(access_policy_href, patched_access_policy, opts)
|
|
131
136
|
p result
|
|
132
137
|
rescue PulpcoreClient::ApiError => e
|
|
133
138
|
puts "Exception when calling AccessPoliciesApi->partial_update: #{e}"
|
|
@@ -141,6 +146,7 @@ Name | Type | Description | Notes
|
|
|
141
146
|
------------- | ------------- | ------------- | -------------
|
|
142
147
|
**access_policy_href** | **String**| |
|
|
143
148
|
**patched_access_policy** | [**PatchedAccessPolicy**](PatchedAccessPolicy.md)| |
|
|
149
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
144
150
|
|
|
145
151
|
### Return type
|
|
146
152
|
|
|
@@ -179,6 +185,7 @@ end
|
|
|
179
185
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
180
186
|
access_policy_href = 'access_policy_href_example' # String |
|
|
181
187
|
opts = {
|
|
188
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
182
189
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
183
190
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
184
191
|
}
|
|
@@ -198,6 +205,7 @@ end
|
|
|
198
205
|
Name | Type | Description | Notes
|
|
199
206
|
------------- | ------------- | ------------- | -------------
|
|
200
207
|
**access_policy_href** | **String**| |
|
|
208
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
201
209
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
202
210
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
203
211
|
|
|
@@ -217,7 +225,7 @@ Name | Type | Description | Notes
|
|
|
217
225
|
|
|
218
226
|
## reset
|
|
219
227
|
|
|
220
|
-
> AccessPolicyResponse reset(access_policy_href)
|
|
228
|
+
> AccessPolicyResponse reset(access_policy_href, opts)
|
|
221
229
|
|
|
222
230
|
|
|
223
231
|
|
|
@@ -237,9 +245,12 @@ end
|
|
|
237
245
|
|
|
238
246
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
239
247
|
access_policy_href = 'access_policy_href_example' # String |
|
|
248
|
+
opts = {
|
|
249
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
250
|
+
}
|
|
240
251
|
|
|
241
252
|
begin
|
|
242
|
-
result = api_instance.reset(access_policy_href)
|
|
253
|
+
result = api_instance.reset(access_policy_href, opts)
|
|
243
254
|
p result
|
|
244
255
|
rescue PulpcoreClient::ApiError => e
|
|
245
256
|
puts "Exception when calling AccessPoliciesApi->reset: #{e}"
|
|
@@ -252,6 +263,7 @@ end
|
|
|
252
263
|
Name | Type | Description | Notes
|
|
253
264
|
------------- | ------------- | ------------- | -------------
|
|
254
265
|
**access_policy_href** | **String**| |
|
|
266
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
255
267
|
|
|
256
268
|
### Return type
|
|
257
269
|
|
|
@@ -269,7 +281,7 @@ Name | Type | Description | Notes
|
|
|
269
281
|
|
|
270
282
|
## update
|
|
271
283
|
|
|
272
|
-
> AccessPolicyResponse update(access_policy_href, access_policy)
|
|
284
|
+
> AccessPolicyResponse update(access_policy_href, access_policy, opts)
|
|
273
285
|
|
|
274
286
|
Update an access policy
|
|
275
287
|
|
|
@@ -290,10 +302,13 @@ end
|
|
|
290
302
|
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
|
291
303
|
access_policy_href = 'access_policy_href_example' # String |
|
|
292
304
|
access_policy = PulpcoreClient::AccessPolicy.new # AccessPolicy |
|
|
305
|
+
opts = {
|
|
306
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
307
|
+
}
|
|
293
308
|
|
|
294
309
|
begin
|
|
295
310
|
#Update an access policy
|
|
296
|
-
result = api_instance.update(access_policy_href, access_policy)
|
|
311
|
+
result = api_instance.update(access_policy_href, access_policy, opts)
|
|
297
312
|
p result
|
|
298
313
|
rescue PulpcoreClient::ApiError => e
|
|
299
314
|
puts "Exception when calling AccessPoliciesApi->update: #{e}"
|
|
@@ -307,6 +322,7 @@ Name | Type | Description | Notes
|
|
|
307
322
|
------------- | ------------- | ------------- | -------------
|
|
308
323
|
**access_policy_href** | **String**| |
|
|
309
324
|
**access_policy** | [**AccessPolicy**](AccessPolicy.md)| |
|
|
325
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
310
326
|
|
|
311
327
|
### Return type
|
|
312
328
|
|
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
7
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
11
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
13
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
14
|
-
**
|
|
11
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
12
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
15
13
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
14
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
15
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
16
16
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpcoreClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
23
|
-
|
|
24
|
-
hidden: null,
|
|
25
|
-
content_guard: null,
|
|
22
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
|
|
23
|
+
pulp_created: null,
|
|
26
24
|
pulp_href: null,
|
|
27
|
-
pulp_last_updated: null,
|
|
28
25
|
base_url: null,
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
content_guard: null,
|
|
27
|
+
hidden: null,
|
|
28
|
+
base_path: null,
|
|
29
|
+
pulp_last_updated: null,
|
|
30
|
+
name: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
|
data/docs/ArtifactsApi.md
CHANGED
|
@@ -34,6 +34,7 @@ end
|
|
|
34
34
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
|
35
35
|
file = File.new('/path/to/file') # File | The stored file.
|
|
36
36
|
opts = {
|
|
37
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
38
|
size: 56, # Integer | The size of the file in bytes.
|
|
38
39
|
md5: 'md5_example', # String | The MD5 checksum of the file if available.
|
|
39
40
|
sha1: 'sha1_example', # String | The SHA-1 checksum of the file if available.
|
|
@@ -58,6 +59,7 @@ end
|
|
|
58
59
|
Name | Type | Description | Notes
|
|
59
60
|
------------- | ------------- | ------------- | -------------
|
|
60
61
|
**file** | **File**| The stored file. |
|
|
62
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
61
63
|
**size** | **Integer**| The size of the file in bytes. | [optional]
|
|
62
64
|
**md5** | **String**| The MD5 checksum of the file if available. | [optional]
|
|
63
65
|
**sha1** | **String**| The SHA-1 checksum of the file if available. | [optional]
|
|
@@ -82,7 +84,7 @@ Name | Type | Description | Notes
|
|
|
82
84
|
|
|
83
85
|
## delete
|
|
84
86
|
|
|
85
|
-
> delete(artifact_href)
|
|
87
|
+
> delete(artifact_href, opts)
|
|
86
88
|
|
|
87
89
|
Delete an artifact
|
|
88
90
|
|
|
@@ -102,10 +104,13 @@ end
|
|
|
102
104
|
|
|
103
105
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
|
104
106
|
artifact_href = 'artifact_href_example' # String |
|
|
107
|
+
opts = {
|
|
108
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
109
|
+
}
|
|
105
110
|
|
|
106
111
|
begin
|
|
107
112
|
#Delete an artifact
|
|
108
|
-
api_instance.delete(artifact_href)
|
|
113
|
+
api_instance.delete(artifact_href, opts)
|
|
109
114
|
rescue PulpcoreClient::ApiError => e
|
|
110
115
|
puts "Exception when calling ArtifactsApi->delete: #{e}"
|
|
111
116
|
end
|
|
@@ -117,6 +122,7 @@ end
|
|
|
117
122
|
Name | Type | Description | Notes
|
|
118
123
|
------------- | ------------- | ------------- | -------------
|
|
119
124
|
**artifact_href** | **String**| |
|
|
125
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
120
126
|
|
|
121
127
|
### Return type
|
|
122
128
|
|
|
@@ -154,6 +160,7 @@ end
|
|
|
154
160
|
|
|
155
161
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
|
156
162
|
opts = {
|
|
163
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
157
164
|
limit: 56, # Integer | Number of results to return per page.
|
|
158
165
|
md5: 'md5_example', # String | Filter results where md5 matches value
|
|
159
166
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
@@ -186,6 +193,7 @@ end
|
|
|
186
193
|
|
|
187
194
|
Name | Type | Description | Notes
|
|
188
195
|
------------- | ------------- | ------------- | -------------
|
|
196
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
189
197
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
190
198
|
**md5** | **String**| Filter results where md5 matches value | [optional]
|
|
191
199
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
@@ -240,6 +248,7 @@ end
|
|
|
240
248
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
|
241
249
|
artifact_href = 'artifact_href_example' # String |
|
|
242
250
|
opts = {
|
|
251
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
243
252
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
244
253
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
245
254
|
}
|
|
@@ -259,6 +268,7 @@ end
|
|
|
259
268
|
Name | Type | Description | Notes
|
|
260
269
|
------------- | ------------- | ------------- | -------------
|
|
261
270
|
**artifact_href** | **String**| |
|
|
271
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
262
272
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
263
273
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
264
274
|
|
data/docs/ContentApi.md
CHANGED
|
@@ -30,6 +30,7 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = PulpcoreClient::ContentApi.new
|
|
32
32
|
opts = {
|
|
33
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
33
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
35
36
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -60,6 +61,7 @@ end
|
|
|
60
61
|
|
|
61
62
|
Name | Type | Description | Notes
|
|
62
63
|
------------- | ------------- | ------------- | -------------
|
|
64
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
63
65
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
64
66
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
65
67
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
data/docs/ContentguardsApi.md
CHANGED
|
@@ -30,6 +30,7 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = PulpcoreClient::ContentguardsApi.new
|
|
32
32
|
opts = {
|
|
33
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
33
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
35
|
name: 'name_example', # String | Filter results where name matches value
|
|
35
36
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -65,6 +66,7 @@ end
|
|
|
65
66
|
|
|
66
67
|
Name | Type | Description | Notes
|
|
67
68
|
------------- | ------------- | ------------- | -------------
|
|
69
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
68
70
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
69
71
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
70
72
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
|
19
19
|
|
|
20
20
|
## add_role
|
|
21
21
|
|
|
22
|
-
> NestedRoleResponse add_role(composite_content_guard_href, nested_role)
|
|
22
|
+
> NestedRoleResponse add_role(composite_content_guard_href, nested_role, opts)
|
|
23
23
|
|
|
24
24
|
Add a role
|
|
25
25
|
|
|
@@ -40,10 +40,13 @@ end
|
|
|
40
40
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
41
41
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
42
42
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
43
|
+
opts = {
|
|
44
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
45
|
+
}
|
|
43
46
|
|
|
44
47
|
begin
|
|
45
48
|
#Add a role
|
|
46
|
-
result = api_instance.add_role(composite_content_guard_href, nested_role)
|
|
49
|
+
result = api_instance.add_role(composite_content_guard_href, nested_role, opts)
|
|
47
50
|
p result
|
|
48
51
|
rescue PulpcoreClient::ApiError => e
|
|
49
52
|
puts "Exception when calling ContentguardsCompositeApi->add_role: #{e}"
|
|
@@ -57,6 +60,7 @@ Name | Type | Description | Notes
|
|
|
57
60
|
------------- | ------------- | ------------- | -------------
|
|
58
61
|
**composite_content_guard_href** | **String**| |
|
|
59
62
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
63
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
60
64
|
|
|
61
65
|
### Return type
|
|
62
66
|
|
|
@@ -74,7 +78,7 @@ Name | Type | Description | Notes
|
|
|
74
78
|
|
|
75
79
|
## create
|
|
76
80
|
|
|
77
|
-
> CompositeContentGuardResponse create(composite_content_guard)
|
|
81
|
+
> CompositeContentGuardResponse create(composite_content_guard, opts)
|
|
78
82
|
|
|
79
83
|
Create a composite content guard
|
|
80
84
|
|
|
@@ -94,10 +98,13 @@ end
|
|
|
94
98
|
|
|
95
99
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
96
100
|
composite_content_guard = PulpcoreClient::CompositeContentGuard.new # CompositeContentGuard |
|
|
101
|
+
opts = {
|
|
102
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
103
|
+
}
|
|
97
104
|
|
|
98
105
|
begin
|
|
99
106
|
#Create a composite content guard
|
|
100
|
-
result = api_instance.create(composite_content_guard)
|
|
107
|
+
result = api_instance.create(composite_content_guard, opts)
|
|
101
108
|
p result
|
|
102
109
|
rescue PulpcoreClient::ApiError => e
|
|
103
110
|
puts "Exception when calling ContentguardsCompositeApi->create: #{e}"
|
|
@@ -110,6 +117,7 @@ end
|
|
|
110
117
|
Name | Type | Description | Notes
|
|
111
118
|
------------- | ------------- | ------------- | -------------
|
|
112
119
|
**composite_content_guard** | [**CompositeContentGuard**](CompositeContentGuard.md)| |
|
|
120
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
113
121
|
|
|
114
122
|
### Return type
|
|
115
123
|
|
|
@@ -127,7 +135,7 @@ Name | Type | Description | Notes
|
|
|
127
135
|
|
|
128
136
|
## delete
|
|
129
137
|
|
|
130
|
-
> delete(composite_content_guard_href)
|
|
138
|
+
> delete(composite_content_guard_href, opts)
|
|
131
139
|
|
|
132
140
|
Delete a composite content guard
|
|
133
141
|
|
|
@@ -147,10 +155,13 @@ end
|
|
|
147
155
|
|
|
148
156
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
149
157
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
158
|
+
opts = {
|
|
159
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
160
|
+
}
|
|
150
161
|
|
|
151
162
|
begin
|
|
152
163
|
#Delete a composite content guard
|
|
153
|
-
api_instance.delete(composite_content_guard_href)
|
|
164
|
+
api_instance.delete(composite_content_guard_href, opts)
|
|
154
165
|
rescue PulpcoreClient::ApiError => e
|
|
155
166
|
puts "Exception when calling ContentguardsCompositeApi->delete: #{e}"
|
|
156
167
|
end
|
|
@@ -162,6 +173,7 @@ end
|
|
|
162
173
|
Name | Type | Description | Notes
|
|
163
174
|
------------- | ------------- | ------------- | -------------
|
|
164
175
|
**composite_content_guard_href** | **String**| |
|
|
176
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
165
177
|
|
|
166
178
|
### Return type
|
|
167
179
|
|
|
@@ -199,6 +211,7 @@ end
|
|
|
199
211
|
|
|
200
212
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
201
213
|
opts = {
|
|
214
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
202
215
|
limit: 56, # Integer | Number of results to return per page.
|
|
203
216
|
name: 'name_example', # String | Filter results where name matches value
|
|
204
217
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -232,6 +245,7 @@ end
|
|
|
232
245
|
|
|
233
246
|
Name | Type | Description | Notes
|
|
234
247
|
------------- | ------------- | ------------- | -------------
|
|
248
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
235
249
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
236
250
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
237
251
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -287,6 +301,7 @@ end
|
|
|
287
301
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
288
302
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
289
303
|
opts = {
|
|
304
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
290
305
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
291
306
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
292
307
|
}
|
|
@@ -306,6 +321,7 @@ end
|
|
|
306
321
|
Name | Type | Description | Notes
|
|
307
322
|
------------- | ------------- | ------------- | -------------
|
|
308
323
|
**composite_content_guard_href** | **String**| |
|
|
324
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
309
325
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
310
326
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
311
327
|
|
|
@@ -346,6 +362,7 @@ end
|
|
|
346
362
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
347
363
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
348
364
|
opts = {
|
|
365
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
349
366
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
350
367
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
351
368
|
}
|
|
@@ -365,6 +382,7 @@ end
|
|
|
365
382
|
Name | Type | Description | Notes
|
|
366
383
|
------------- | ------------- | ------------- | -------------
|
|
367
384
|
**composite_content_guard_href** | **String**| |
|
|
385
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
368
386
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
369
387
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
370
388
|
|
|
@@ -384,7 +402,7 @@ Name | Type | Description | Notes
|
|
|
384
402
|
|
|
385
403
|
## partial_update
|
|
386
404
|
|
|
387
|
-
> CompositeContentGuardResponse partial_update(composite_content_guard_href, patched_composite_content_guard)
|
|
405
|
+
> CompositeContentGuardResponse partial_update(composite_content_guard_href, patched_composite_content_guard, opts)
|
|
388
406
|
|
|
389
407
|
Update a composite content guard
|
|
390
408
|
|
|
@@ -405,10 +423,13 @@ end
|
|
|
405
423
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
406
424
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
407
425
|
patched_composite_content_guard = PulpcoreClient::PatchedCompositeContentGuard.new # PatchedCompositeContentGuard |
|
|
426
|
+
opts = {
|
|
427
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
428
|
+
}
|
|
408
429
|
|
|
409
430
|
begin
|
|
410
431
|
#Update a composite content guard
|
|
411
|
-
result = api_instance.partial_update(composite_content_guard_href, patched_composite_content_guard)
|
|
432
|
+
result = api_instance.partial_update(composite_content_guard_href, patched_composite_content_guard, opts)
|
|
412
433
|
p result
|
|
413
434
|
rescue PulpcoreClient::ApiError => e
|
|
414
435
|
puts "Exception when calling ContentguardsCompositeApi->partial_update: #{e}"
|
|
@@ -422,6 +443,7 @@ Name | Type | Description | Notes
|
|
|
422
443
|
------------- | ------------- | ------------- | -------------
|
|
423
444
|
**composite_content_guard_href** | **String**| |
|
|
424
445
|
**patched_composite_content_guard** | [**PatchedCompositeContentGuard**](PatchedCompositeContentGuard.md)| |
|
|
446
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
425
447
|
|
|
426
448
|
### Return type
|
|
427
449
|
|
|
@@ -460,6 +482,7 @@ end
|
|
|
460
482
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
461
483
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
462
484
|
opts = {
|
|
485
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
463
486
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
464
487
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
465
488
|
}
|
|
@@ -479,6 +502,7 @@ end
|
|
|
479
502
|
Name | Type | Description | Notes
|
|
480
503
|
------------- | ------------- | ------------- | -------------
|
|
481
504
|
**composite_content_guard_href** | **String**| |
|
|
505
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
482
506
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
483
507
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
484
508
|
|
|
@@ -498,7 +522,7 @@ Name | Type | Description | Notes
|
|
|
498
522
|
|
|
499
523
|
## remove_role
|
|
500
524
|
|
|
501
|
-
> NestedRoleResponse remove_role(composite_content_guard_href, nested_role)
|
|
525
|
+
> NestedRoleResponse remove_role(composite_content_guard_href, nested_role, opts)
|
|
502
526
|
|
|
503
527
|
Remove a role
|
|
504
528
|
|
|
@@ -519,10 +543,13 @@ end
|
|
|
519
543
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
520
544
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
521
545
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
546
|
+
opts = {
|
|
547
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
548
|
+
}
|
|
522
549
|
|
|
523
550
|
begin
|
|
524
551
|
#Remove a role
|
|
525
|
-
result = api_instance.remove_role(composite_content_guard_href, nested_role)
|
|
552
|
+
result = api_instance.remove_role(composite_content_guard_href, nested_role, opts)
|
|
526
553
|
p result
|
|
527
554
|
rescue PulpcoreClient::ApiError => e
|
|
528
555
|
puts "Exception when calling ContentguardsCompositeApi->remove_role: #{e}"
|
|
@@ -536,6 +563,7 @@ Name | Type | Description | Notes
|
|
|
536
563
|
------------- | ------------- | ------------- | -------------
|
|
537
564
|
**composite_content_guard_href** | **String**| |
|
|
538
565
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
566
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
539
567
|
|
|
540
568
|
### Return type
|
|
541
569
|
|
|
@@ -553,7 +581,7 @@ Name | Type | Description | Notes
|
|
|
553
581
|
|
|
554
582
|
## update
|
|
555
583
|
|
|
556
|
-
> CompositeContentGuardResponse update(composite_content_guard_href, composite_content_guard)
|
|
584
|
+
> CompositeContentGuardResponse update(composite_content_guard_href, composite_content_guard, opts)
|
|
557
585
|
|
|
558
586
|
Update a composite content guard
|
|
559
587
|
|
|
@@ -574,10 +602,13 @@ end
|
|
|
574
602
|
api_instance = PulpcoreClient::ContentguardsCompositeApi.new
|
|
575
603
|
composite_content_guard_href = 'composite_content_guard_href_example' # String |
|
|
576
604
|
composite_content_guard = PulpcoreClient::CompositeContentGuard.new # CompositeContentGuard |
|
|
605
|
+
opts = {
|
|
606
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
607
|
+
}
|
|
577
608
|
|
|
578
609
|
begin
|
|
579
610
|
#Update a composite content guard
|
|
580
|
-
result = api_instance.update(composite_content_guard_href, composite_content_guard)
|
|
611
|
+
result = api_instance.update(composite_content_guard_href, composite_content_guard, opts)
|
|
581
612
|
p result
|
|
582
613
|
rescue PulpcoreClient::ApiError => e
|
|
583
614
|
puts "Exception when calling ContentguardsCompositeApi->update: #{e}"
|
|
@@ -591,6 +622,7 @@ Name | Type | Description | Notes
|
|
|
591
622
|
------------- | ------------- | ------------- | -------------
|
|
592
623
|
**composite_content_guard_href** | **String**| |
|
|
593
624
|
**composite_content_guard** | [**CompositeContentGuard**](CompositeContentGuard.md)| |
|
|
625
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
594
626
|
|
|
595
627
|
### Return type
|
|
596
628
|
|