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/DistributionsApi.md
CHANGED
@@ -29,6 +29,7 @@ end
|
|
29
29
|
|
30
30
|
api_instance = PulpcoreClient::DistributionsApi.new
|
31
31
|
opts = {
|
32
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
32
33
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
33
34
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
34
35
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
@@ -91,6 +92,7 @@ end
|
|
91
92
|
|
92
93
|
| Name | Type | Description | Notes |
|
93
94
|
| ---- | ---- | ----------- | ----- |
|
95
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
94
96
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
95
97
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
96
98
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
@@ -30,6 +30,7 @@ end
|
|
30
30
|
|
31
31
|
api_instance = PulpcoreClient::DistributionsArtifactsApi.new
|
32
32
|
opts = {
|
33
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
33
34
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
34
35
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
35
36
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
@@ -90,6 +91,7 @@ end
|
|
90
91
|
|
91
92
|
| Name | Type | Description | Notes |
|
92
93
|
| ---- | ---- | ----------- | ----- |
|
94
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
93
95
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
94
96
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
95
97
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
@@ -155,6 +157,7 @@ end
|
|
155
157
|
api_instance = PulpcoreClient::DistributionsArtifactsApi.new
|
156
158
|
artifact_distribution_href = 'artifact_distribution_href_example' # String |
|
157
159
|
opts = {
|
160
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
158
161
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
159
162
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
160
163
|
}
|
@@ -191,6 +194,7 @@ end
|
|
191
194
|
| Name | Type | Description | Notes |
|
192
195
|
| ---- | ---- | ----------- | ----- |
|
193
196
|
| **artifact_distribution_href** | **String** | | |
|
197
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
194
198
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
195
199
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
196
200
|
|
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
|
|
16
16
|
|
17
17
|
## create
|
18
18
|
|
19
|
-
> <AsyncOperationResponse> create(open_pgp_distribution)
|
19
|
+
> <AsyncOperationResponse> create(open_pgp_distribution, opts)
|
20
20
|
|
21
21
|
Create an open pgp distribution
|
22
22
|
|
@@ -36,10 +36,13 @@ end
|
|
36
36
|
|
37
37
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
38
38
|
open_pgp_distribution = PulpcoreClient::OpenPGPDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # OpenPGPDistribution |
|
39
|
+
opts = {
|
40
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
41
|
+
}
|
39
42
|
|
40
43
|
begin
|
41
44
|
# Create an open pgp distribution
|
42
|
-
result = api_instance.create(open_pgp_distribution)
|
45
|
+
result = api_instance.create(open_pgp_distribution, opts)
|
43
46
|
p result
|
44
47
|
rescue PulpcoreClient::ApiError => e
|
45
48
|
puts "Error when calling DistributionsOpenpgpApi->create: #{e}"
|
@@ -50,12 +53,12 @@ end
|
|
50
53
|
|
51
54
|
This returns an Array which contains the response data, status code and headers.
|
52
55
|
|
53
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(open_pgp_distribution)
|
56
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(open_pgp_distribution, opts)
|
54
57
|
|
55
58
|
```ruby
|
56
59
|
begin
|
57
60
|
# Create an open pgp distribution
|
58
|
-
data, status_code, headers = api_instance.create_with_http_info(open_pgp_distribution)
|
61
|
+
data, status_code, headers = api_instance.create_with_http_info(open_pgp_distribution, opts)
|
59
62
|
p status_code # => 2xx
|
60
63
|
p headers # => { ... }
|
61
64
|
p data # => <AsyncOperationResponse>
|
@@ -69,6 +72,7 @@ end
|
|
69
72
|
| Name | Type | Description | Notes |
|
70
73
|
| ---- | ---- | ----------- | ----- |
|
71
74
|
| **open_pgp_distribution** | [**OpenPGPDistribution**](OpenPGPDistribution.md) | | |
|
75
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
72
76
|
|
73
77
|
### Return type
|
74
78
|
|
@@ -86,7 +90,7 @@ end
|
|
86
90
|
|
87
91
|
## delete
|
88
92
|
|
89
|
-
> <AsyncOperationResponse> delete(open_p_g_p_distribution_href)
|
93
|
+
> <AsyncOperationResponse> delete(open_p_g_p_distribution_href, opts)
|
90
94
|
|
91
95
|
Delete an open pgp distribution
|
92
96
|
|
@@ -106,10 +110,13 @@ end
|
|
106
110
|
|
107
111
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
108
112
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
113
|
+
opts = {
|
114
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
115
|
+
}
|
109
116
|
|
110
117
|
begin
|
111
118
|
# Delete an open pgp distribution
|
112
|
-
result = api_instance.delete(open_p_g_p_distribution_href)
|
119
|
+
result = api_instance.delete(open_p_g_p_distribution_href, opts)
|
113
120
|
p result
|
114
121
|
rescue PulpcoreClient::ApiError => e
|
115
122
|
puts "Error when calling DistributionsOpenpgpApi->delete: #{e}"
|
@@ -120,12 +127,12 @@ end
|
|
120
127
|
|
121
128
|
This returns an Array which contains the response data, status code and headers.
|
122
129
|
|
123
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(open_p_g_p_distribution_href)
|
130
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(open_p_g_p_distribution_href, opts)
|
124
131
|
|
125
132
|
```ruby
|
126
133
|
begin
|
127
134
|
# Delete an open pgp distribution
|
128
|
-
data, status_code, headers = api_instance.delete_with_http_info(open_p_g_p_distribution_href)
|
135
|
+
data, status_code, headers = api_instance.delete_with_http_info(open_p_g_p_distribution_href, opts)
|
129
136
|
p status_code # => 2xx
|
130
137
|
p headers # => { ... }
|
131
138
|
p data # => <AsyncOperationResponse>
|
@@ -139,6 +146,7 @@ end
|
|
139
146
|
| Name | Type | Description | Notes |
|
140
147
|
| ---- | ---- | ----------- | ----- |
|
141
148
|
| **open_p_g_p_distribution_href** | **String** | | |
|
149
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
142
150
|
|
143
151
|
### Return type
|
144
152
|
|
@@ -176,6 +184,7 @@ end
|
|
176
184
|
|
177
185
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
178
186
|
opts = {
|
187
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
179
188
|
limit: 56, # Integer | Number of results to return per page.
|
180
189
|
offset: 56, # Integer | The initial index from which to return the results.
|
181
190
|
ordering: ['-base_path'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -221,6 +230,7 @@ end
|
|
221
230
|
|
222
231
|
| Name | Type | Description | Notes |
|
223
232
|
| ---- | ---- | ----------- | ----- |
|
233
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
224
234
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
225
235
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
226
236
|
| **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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -250,7 +260,7 @@ end
|
|
250
260
|
|
251
261
|
## partial_update
|
252
262
|
|
253
|
-
> <AsyncOperationResponse> partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
263
|
+
> <AsyncOperationResponse> partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts)
|
254
264
|
|
255
265
|
Update an open pgp distribution
|
256
266
|
|
@@ -271,10 +281,13 @@ end
|
|
271
281
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
272
282
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
273
283
|
patched_open_pgp_distribution = PulpcoreClient::PatchedOpenPGPDistribution.new # PatchedOpenPGPDistribution |
|
284
|
+
opts = {
|
285
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
286
|
+
}
|
274
287
|
|
275
288
|
begin
|
276
289
|
# Update an open pgp distribution
|
277
|
-
result = api_instance.partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
290
|
+
result = api_instance.partial_update(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts)
|
278
291
|
p result
|
279
292
|
rescue PulpcoreClient::ApiError => e
|
280
293
|
puts "Error when calling DistributionsOpenpgpApi->partial_update: #{e}"
|
@@ -285,12 +298,12 @@ end
|
|
285
298
|
|
286
299
|
This returns an Array which contains the response data, status code and headers.
|
287
300
|
|
288
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
301
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts)
|
289
302
|
|
290
303
|
```ruby
|
291
304
|
begin
|
292
305
|
# Update an open pgp distribution
|
293
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution)
|
306
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(open_p_g_p_distribution_href, patched_open_pgp_distribution, opts)
|
294
307
|
p status_code # => 2xx
|
295
308
|
p headers # => { ... }
|
296
309
|
p data # => <AsyncOperationResponse>
|
@@ -305,6 +318,7 @@ end
|
|
305
318
|
| ---- | ---- | ----------- | ----- |
|
306
319
|
| **open_p_g_p_distribution_href** | **String** | | |
|
307
320
|
| **patched_open_pgp_distribution** | [**PatchedOpenPGPDistribution**](PatchedOpenPGPDistribution.md) | | |
|
321
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
308
322
|
|
309
323
|
### Return type
|
310
324
|
|
@@ -343,6 +357,7 @@ end
|
|
343
357
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
344
358
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
345
359
|
opts = {
|
360
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
346
361
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
347
362
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
348
363
|
}
|
@@ -379,6 +394,7 @@ end
|
|
379
394
|
| Name | Type | Description | Notes |
|
380
395
|
| ---- | ---- | ----------- | ----- |
|
381
396
|
| **open_p_g_p_distribution_href** | **String** | | |
|
397
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
382
398
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
383
399
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
384
400
|
|
@@ -398,7 +414,7 @@ end
|
|
398
414
|
|
399
415
|
## set_label
|
400
416
|
|
401
|
-
> <SetLabelResponse> set_label(open_p_g_p_distribution_href, set_label)
|
417
|
+
> <SetLabelResponse> set_label(open_p_g_p_distribution_href, set_label, opts)
|
402
418
|
|
403
419
|
Set a label
|
404
420
|
|
@@ -419,10 +435,13 @@ end
|
|
419
435
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
420
436
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
421
437
|
set_label = PulpcoreClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
438
|
+
opts = {
|
439
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
440
|
+
}
|
422
441
|
|
423
442
|
begin
|
424
443
|
# Set a label
|
425
|
-
result = api_instance.set_label(open_p_g_p_distribution_href, set_label)
|
444
|
+
result = api_instance.set_label(open_p_g_p_distribution_href, set_label, opts)
|
426
445
|
p result
|
427
446
|
rescue PulpcoreClient::ApiError => e
|
428
447
|
puts "Error when calling DistributionsOpenpgpApi->set_label: #{e}"
|
@@ -433,12 +452,12 @@ end
|
|
433
452
|
|
434
453
|
This returns an Array which contains the response data, status code and headers.
|
435
454
|
|
436
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_distribution_href, set_label)
|
455
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_distribution_href, set_label, opts)
|
437
456
|
|
438
457
|
```ruby
|
439
458
|
begin
|
440
459
|
# Set a label
|
441
|
-
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_distribution_href, set_label)
|
460
|
+
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_distribution_href, set_label, opts)
|
442
461
|
p status_code # => 2xx
|
443
462
|
p headers # => { ... }
|
444
463
|
p data # => <SetLabelResponse>
|
@@ -453,6 +472,7 @@ end
|
|
453
472
|
| ---- | ---- | ----------- | ----- |
|
454
473
|
| **open_p_g_p_distribution_href** | **String** | | |
|
455
474
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
475
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
456
476
|
|
457
477
|
### Return type
|
458
478
|
|
@@ -470,7 +490,7 @@ end
|
|
470
490
|
|
471
491
|
## unset_label
|
472
492
|
|
473
|
-
> <UnsetLabelResponse> unset_label(open_p_g_p_distribution_href, unset_label)
|
493
|
+
> <UnsetLabelResponse> unset_label(open_p_g_p_distribution_href, unset_label, opts)
|
474
494
|
|
475
495
|
Unset a label
|
476
496
|
|
@@ -491,10 +511,13 @@ end
|
|
491
511
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
492
512
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
493
513
|
unset_label = PulpcoreClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
514
|
+
opts = {
|
515
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
516
|
+
}
|
494
517
|
|
495
518
|
begin
|
496
519
|
# Unset a label
|
497
|
-
result = api_instance.unset_label(open_p_g_p_distribution_href, unset_label)
|
520
|
+
result = api_instance.unset_label(open_p_g_p_distribution_href, unset_label, opts)
|
498
521
|
p result
|
499
522
|
rescue PulpcoreClient::ApiError => e
|
500
523
|
puts "Error when calling DistributionsOpenpgpApi->unset_label: #{e}"
|
@@ -505,12 +528,12 @@ end
|
|
505
528
|
|
506
529
|
This returns an Array which contains the response data, status code and headers.
|
507
530
|
|
508
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_distribution_href, unset_label)
|
531
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_distribution_href, unset_label, opts)
|
509
532
|
|
510
533
|
```ruby
|
511
534
|
begin
|
512
535
|
# Unset a label
|
513
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_distribution_href, unset_label)
|
536
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_distribution_href, unset_label, opts)
|
514
537
|
p status_code # => 2xx
|
515
538
|
p headers # => { ... }
|
516
539
|
p data # => <UnsetLabelResponse>
|
@@ -525,6 +548,7 @@ end
|
|
525
548
|
| ---- | ---- | ----------- | ----- |
|
526
549
|
| **open_p_g_p_distribution_href** | **String** | | |
|
527
550
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
551
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
528
552
|
|
529
553
|
### Return type
|
530
554
|
|
@@ -542,7 +566,7 @@ end
|
|
542
566
|
|
543
567
|
## update
|
544
568
|
|
545
|
-
> <AsyncOperationResponse> update(open_p_g_p_distribution_href, open_pgp_distribution)
|
569
|
+
> <AsyncOperationResponse> update(open_p_g_p_distribution_href, open_pgp_distribution, opts)
|
546
570
|
|
547
571
|
Update an open pgp distribution
|
548
572
|
|
@@ -563,10 +587,13 @@ end
|
|
563
587
|
api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
|
564
588
|
open_p_g_p_distribution_href = 'open_p_g_p_distribution_href_example' # String |
|
565
589
|
open_pgp_distribution = PulpcoreClient::OpenPGPDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # OpenPGPDistribution |
|
590
|
+
opts = {
|
591
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
592
|
+
}
|
566
593
|
|
567
594
|
begin
|
568
595
|
# Update an open pgp distribution
|
569
|
-
result = api_instance.update(open_p_g_p_distribution_href, open_pgp_distribution)
|
596
|
+
result = api_instance.update(open_p_g_p_distribution_href, open_pgp_distribution, opts)
|
570
597
|
p result
|
571
598
|
rescue PulpcoreClient::ApiError => e
|
572
599
|
puts "Error when calling DistributionsOpenpgpApi->update: #{e}"
|
@@ -577,12 +604,12 @@ end
|
|
577
604
|
|
578
605
|
This returns an Array which contains the response data, status code and headers.
|
579
606
|
|
580
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution)
|
607
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution, opts)
|
581
608
|
|
582
609
|
```ruby
|
583
610
|
begin
|
584
611
|
# Update an open pgp distribution
|
585
|
-
data, status_code, headers = api_instance.update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution)
|
612
|
+
data, status_code, headers = api_instance.update_with_http_info(open_p_g_p_distribution_href, open_pgp_distribution, opts)
|
586
613
|
p status_code # => 2xx
|
587
614
|
p headers # => { ... }
|
588
615
|
p data # => <AsyncOperationResponse>
|
@@ -597,6 +624,7 @@ end
|
|
597
624
|
| ---- | ---- | ----------- | ----- |
|
598
625
|
| **open_p_g_p_distribution_href** | **String** | | |
|
599
626
|
| **open_pgp_distribution** | [**OpenPGPDistribution**](OpenPGPDistribution.md) | | |
|
627
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
600
628
|
|
601
629
|
### Return type
|
602
630
|
|