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
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:24817*
|
|
18
18
|
|
19
19
|
## add_role
|
20
20
|
|
21
|
-
> <NestedRoleResponse> add_role(header_content_guard_href, nested_role)
|
21
|
+
> <NestedRoleResponse> add_role(header_content_guard_href, nested_role, opts)
|
22
22
|
|
23
23
|
Add a role
|
24
24
|
|
@@ -39,10 +39,13 @@ end
|
|
39
39
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
40
40
|
header_content_guard_href = 'header_content_guard_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(header_content_guard_href, nested_role)
|
48
|
+
result = api_instance.add_role(header_content_guard_href, nested_role, opts)
|
46
49
|
p result
|
47
50
|
rescue PulpcoreClient::ApiError => e
|
48
51
|
puts "Error when calling ContentguardsHeaderApi->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(header_content_guard_href, nested_role)
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(header_content_guard_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(header_content_guard_href, nested_role)
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(header_content_guard_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
|
| **header_content_guard_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
|
## create
|
92
96
|
|
93
|
-
> <HeaderContentGuardResponse> create(header_content_guard)
|
97
|
+
> <HeaderContentGuardResponse> create(header_content_guard, opts)
|
94
98
|
|
95
99
|
Create a header content guard
|
96
100
|
|
@@ -110,10 +114,13 @@ end
|
|
110
114
|
|
111
115
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
112
116
|
header_content_guard = PulpcoreClient::HeaderContentGuard.new({name: 'name_example', header_name: 'header_name_example', header_value: 'header_value_example'}) # HeaderContentGuard |
|
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
|
# Create a header content guard
|
116
|
-
result = api_instance.create(header_content_guard)
|
123
|
+
result = api_instance.create(header_content_guard, opts)
|
117
124
|
p result
|
118
125
|
rescue PulpcoreClient::ApiError => e
|
119
126
|
puts "Error when calling ContentguardsHeaderApi->create: #{e}"
|
@@ -124,12 +131,12 @@ end
|
|
124
131
|
|
125
132
|
This returns an Array which contains the response data, status code and headers.
|
126
133
|
|
127
|
-
> <Array(<HeaderContentGuardResponse>, Integer, Hash)> create_with_http_info(header_content_guard)
|
134
|
+
> <Array(<HeaderContentGuardResponse>, Integer, Hash)> create_with_http_info(header_content_guard, opts)
|
128
135
|
|
129
136
|
```ruby
|
130
137
|
begin
|
131
138
|
# Create a header content guard
|
132
|
-
data, status_code, headers = api_instance.create_with_http_info(header_content_guard)
|
139
|
+
data, status_code, headers = api_instance.create_with_http_info(header_content_guard, opts)
|
133
140
|
p status_code # => 2xx
|
134
141
|
p headers # => { ... }
|
135
142
|
p data # => <HeaderContentGuardResponse>
|
@@ -143,6 +150,7 @@ end
|
|
143
150
|
| Name | Type | Description | Notes |
|
144
151
|
| ---- | ---- | ----------- | ----- |
|
145
152
|
| **header_content_guard** | [**HeaderContentGuard**](HeaderContentGuard.md) | | |
|
153
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
146
154
|
|
147
155
|
### Return type
|
148
156
|
|
@@ -160,7 +168,7 @@ end
|
|
160
168
|
|
161
169
|
## delete
|
162
170
|
|
163
|
-
> delete(header_content_guard_href)
|
171
|
+
> delete(header_content_guard_href, opts)
|
164
172
|
|
165
173
|
Delete a header content guard
|
166
174
|
|
@@ -180,10 +188,13 @@ end
|
|
180
188
|
|
181
189
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
182
190
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
191
|
+
opts = {
|
192
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
193
|
+
}
|
183
194
|
|
184
195
|
begin
|
185
196
|
# Delete a header content guard
|
186
|
-
api_instance.delete(header_content_guard_href)
|
197
|
+
api_instance.delete(header_content_guard_href, opts)
|
187
198
|
rescue PulpcoreClient::ApiError => e
|
188
199
|
puts "Error when calling ContentguardsHeaderApi->delete: #{e}"
|
189
200
|
end
|
@@ -193,12 +204,12 @@ end
|
|
193
204
|
|
194
205
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
195
206
|
|
196
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(header_content_guard_href)
|
207
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(header_content_guard_href, opts)
|
197
208
|
|
198
209
|
```ruby
|
199
210
|
begin
|
200
211
|
# Delete a header content guard
|
201
|
-
data, status_code, headers = api_instance.delete_with_http_info(header_content_guard_href)
|
212
|
+
data, status_code, headers = api_instance.delete_with_http_info(header_content_guard_href, opts)
|
202
213
|
p status_code # => 2xx
|
203
214
|
p headers # => { ... }
|
204
215
|
p data # => nil
|
@@ -212,6 +223,7 @@ end
|
|
212
223
|
| Name | Type | Description | Notes |
|
213
224
|
| ---- | ---- | ----------- | ----- |
|
214
225
|
| **header_content_guard_href** | **String** | | |
|
226
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
215
227
|
|
216
228
|
### Return type
|
217
229
|
|
@@ -249,6 +261,7 @@ end
|
|
249
261
|
|
250
262
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
251
263
|
opts = {
|
264
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
252
265
|
limit: 56, # Integer | Number of results to return per page.
|
253
266
|
name: 'name_example', # String | Filter results where name matches value
|
254
267
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -300,6 +313,7 @@ end
|
|
300
313
|
|
301
314
|
| Name | Type | Description | Notes |
|
302
315
|
| ---- | ---- | ----------- | ----- |
|
316
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
303
317
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
304
318
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
305
319
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -356,6 +370,7 @@ end
|
|
356
370
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
357
371
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
358
372
|
opts = {
|
373
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
359
374
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
360
375
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
361
376
|
}
|
@@ -392,6 +407,7 @@ end
|
|
392
407
|
| Name | Type | Description | Notes |
|
393
408
|
| ---- | ---- | ----------- | ----- |
|
394
409
|
| **header_content_guard_href** | **String** | | |
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
395
411
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
396
412
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
397
413
|
|
@@ -432,6 +448,7 @@ end
|
|
432
448
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
433
449
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
434
450
|
opts = {
|
451
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
435
452
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
436
453
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
437
454
|
}
|
@@ -468,6 +485,7 @@ end
|
|
468
485
|
| Name | Type | Description | Notes |
|
469
486
|
| ---- | ---- | ----------- | ----- |
|
470
487
|
| **header_content_guard_href** | **String** | | |
|
488
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
471
489
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
472
490
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
473
491
|
|
@@ -487,7 +505,7 @@ end
|
|
487
505
|
|
488
506
|
## partial_update
|
489
507
|
|
490
|
-
> <HeaderContentGuardResponse> partial_update(header_content_guard_href, patched_header_content_guard)
|
508
|
+
> <HeaderContentGuardResponse> partial_update(header_content_guard_href, patched_header_content_guard, opts)
|
491
509
|
|
492
510
|
Update a header content guard
|
493
511
|
|
@@ -508,10 +526,13 @@ end
|
|
508
526
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
509
527
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
510
528
|
patched_header_content_guard = PulpcoreClient::PatchedHeaderContentGuard.new # PatchedHeaderContentGuard |
|
529
|
+
opts = {
|
530
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
531
|
+
}
|
511
532
|
|
512
533
|
begin
|
513
534
|
# Update a header content guard
|
514
|
-
result = api_instance.partial_update(header_content_guard_href, patched_header_content_guard)
|
535
|
+
result = api_instance.partial_update(header_content_guard_href, patched_header_content_guard, opts)
|
515
536
|
p result
|
516
537
|
rescue PulpcoreClient::ApiError => e
|
517
538
|
puts "Error when calling ContentguardsHeaderApi->partial_update: #{e}"
|
@@ -522,12 +543,12 @@ end
|
|
522
543
|
|
523
544
|
This returns an Array which contains the response data, status code and headers.
|
524
545
|
|
525
|
-
> <Array(<HeaderContentGuardResponse>, Integer, Hash)> partial_update_with_http_info(header_content_guard_href, patched_header_content_guard)
|
546
|
+
> <Array(<HeaderContentGuardResponse>, Integer, Hash)> partial_update_with_http_info(header_content_guard_href, patched_header_content_guard, opts)
|
526
547
|
|
527
548
|
```ruby
|
528
549
|
begin
|
529
550
|
# Update a header content guard
|
530
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(header_content_guard_href, patched_header_content_guard)
|
551
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(header_content_guard_href, patched_header_content_guard, opts)
|
531
552
|
p status_code # => 2xx
|
532
553
|
p headers # => { ... }
|
533
554
|
p data # => <HeaderContentGuardResponse>
|
@@ -542,6 +563,7 @@ end
|
|
542
563
|
| ---- | ---- | ----------- | ----- |
|
543
564
|
| **header_content_guard_href** | **String** | | |
|
544
565
|
| **patched_header_content_guard** | [**PatchedHeaderContentGuard**](PatchedHeaderContentGuard.md) | | |
|
566
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
545
567
|
|
546
568
|
### Return type
|
547
569
|
|
@@ -580,6 +602,7 @@ end
|
|
580
602
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
581
603
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
582
604
|
opts = {
|
605
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
583
606
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
584
607
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
585
608
|
}
|
@@ -616,6 +639,7 @@ end
|
|
616
639
|
| Name | Type | Description | Notes |
|
617
640
|
| ---- | ---- | ----------- | ----- |
|
618
641
|
| **header_content_guard_href** | **String** | | |
|
642
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
619
643
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
620
644
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
621
645
|
|
@@ -635,7 +659,7 @@ end
|
|
635
659
|
|
636
660
|
## remove_role
|
637
661
|
|
638
|
-
> <NestedRoleResponse> remove_role(header_content_guard_href, nested_role)
|
662
|
+
> <NestedRoleResponse> remove_role(header_content_guard_href, nested_role, opts)
|
639
663
|
|
640
664
|
Remove a role
|
641
665
|
|
@@ -656,10 +680,13 @@ end
|
|
656
680
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
657
681
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
658
682
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
683
|
+
opts = {
|
684
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
685
|
+
}
|
659
686
|
|
660
687
|
begin
|
661
688
|
# Remove a role
|
662
|
-
result = api_instance.remove_role(header_content_guard_href, nested_role)
|
689
|
+
result = api_instance.remove_role(header_content_guard_href, nested_role, opts)
|
663
690
|
p result
|
664
691
|
rescue PulpcoreClient::ApiError => e
|
665
692
|
puts "Error when calling ContentguardsHeaderApi->remove_role: #{e}"
|
@@ -670,12 +697,12 @@ end
|
|
670
697
|
|
671
698
|
This returns an Array which contains the response data, status code and headers.
|
672
699
|
|
673
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(header_content_guard_href, nested_role)
|
700
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(header_content_guard_href, nested_role, opts)
|
674
701
|
|
675
702
|
```ruby
|
676
703
|
begin
|
677
704
|
# Remove a role
|
678
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(header_content_guard_href, nested_role)
|
705
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(header_content_guard_href, nested_role, opts)
|
679
706
|
p status_code # => 2xx
|
680
707
|
p headers # => { ... }
|
681
708
|
p data # => <NestedRoleResponse>
|
@@ -690,6 +717,7 @@ end
|
|
690
717
|
| ---- | ---- | ----------- | ----- |
|
691
718
|
| **header_content_guard_href** | **String** | | |
|
692
719
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
720
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
693
721
|
|
694
722
|
### Return type
|
695
723
|
|
@@ -707,7 +735,7 @@ end
|
|
707
735
|
|
708
736
|
## update
|
709
737
|
|
710
|
-
> <HeaderContentGuardResponse> update(header_content_guard_href, header_content_guard)
|
738
|
+
> <HeaderContentGuardResponse> update(header_content_guard_href, header_content_guard, opts)
|
711
739
|
|
712
740
|
Update a header content guard
|
713
741
|
|
@@ -728,10 +756,13 @@ end
|
|
728
756
|
api_instance = PulpcoreClient::ContentguardsHeaderApi.new
|
729
757
|
header_content_guard_href = 'header_content_guard_href_example' # String |
|
730
758
|
header_content_guard = PulpcoreClient::HeaderContentGuard.new({name: 'name_example', header_name: 'header_name_example', header_value: 'header_value_example'}) # HeaderContentGuard |
|
759
|
+
opts = {
|
760
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
761
|
+
}
|
731
762
|
|
732
763
|
begin
|
733
764
|
# Update a header content guard
|
734
|
-
result = api_instance.update(header_content_guard_href, header_content_guard)
|
765
|
+
result = api_instance.update(header_content_guard_href, header_content_guard, opts)
|
735
766
|
p result
|
736
767
|
rescue PulpcoreClient::ApiError => e
|
737
768
|
puts "Error when calling ContentguardsHeaderApi->update: #{e}"
|
@@ -742,12 +773,12 @@ end
|
|
742
773
|
|
743
774
|
This returns an Array which contains the response data, status code and headers.
|
744
775
|
|
745
|
-
> <Array(<HeaderContentGuardResponse>, Integer, Hash)> update_with_http_info(header_content_guard_href, header_content_guard)
|
776
|
+
> <Array(<HeaderContentGuardResponse>, Integer, Hash)> update_with_http_info(header_content_guard_href, header_content_guard, opts)
|
746
777
|
|
747
778
|
```ruby
|
748
779
|
begin
|
749
780
|
# Update a header content guard
|
750
|
-
data, status_code, headers = api_instance.update_with_http_info(header_content_guard_href, header_content_guard)
|
781
|
+
data, status_code, headers = api_instance.update_with_http_info(header_content_guard_href, header_content_guard, opts)
|
751
782
|
p status_code # => 2xx
|
752
783
|
p headers # => { ... }
|
753
784
|
p data # => <HeaderContentGuardResponse>
|
@@ -762,6 +793,7 @@ end
|
|
762
793
|
| ---- | ---- | ----------- | ----- |
|
763
794
|
| **header_content_guard_href** | **String** | | |
|
764
795
|
| **header_content_guard** | [**HeaderContentGuard**](HeaderContentGuard.md) | | |
|
796
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
765
797
|
|
766
798
|
### Return type
|
767
799
|
|
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:24817*
|
|
18
18
|
|
19
19
|
## add_role
|
20
20
|
|
21
|
-
> <NestedRoleResponse> add_role(r_b_a_c_content_guard_href, nested_role)
|
21
|
+
> <NestedRoleResponse> add_role(r_b_a_c_content_guard_href, nested_role, opts)
|
22
22
|
|
23
23
|
Add a role
|
24
24
|
|
@@ -39,10 +39,13 @@ end
|
|
39
39
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
40
40
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_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(r_b_a_c_content_guard_href, nested_role)
|
48
|
+
result = api_instance.add_role(r_b_a_c_content_guard_href, nested_role, opts)
|
46
49
|
p result
|
47
50
|
rescue PulpcoreClient::ApiError => e
|
48
51
|
puts "Error when calling ContentguardsRbacApi->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(r_b_a_c_content_guard_href, nested_role)
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(r_b_a_c_content_guard_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(r_b_a_c_content_guard_href, nested_role)
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(r_b_a_c_content_guard_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
|
| **r_b_a_c_content_guard_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
|
## create
|
92
96
|
|
93
|
-
> <RBACContentGuardResponse> create(rbac_content_guard)
|
97
|
+
> <RBACContentGuardResponse> create(rbac_content_guard, opts)
|
94
98
|
|
95
99
|
Create a rbac content guard
|
96
100
|
|
@@ -110,10 +114,13 @@ end
|
|
110
114
|
|
111
115
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
112
116
|
rbac_content_guard = PulpcoreClient::RBACContentGuard.new({name: 'name_example'}) # RBACContentGuard |
|
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
|
# Create a rbac content guard
|
116
|
-
result = api_instance.create(rbac_content_guard)
|
123
|
+
result = api_instance.create(rbac_content_guard, opts)
|
117
124
|
p result
|
118
125
|
rescue PulpcoreClient::ApiError => e
|
119
126
|
puts "Error when calling ContentguardsRbacApi->create: #{e}"
|
@@ -124,12 +131,12 @@ end
|
|
124
131
|
|
125
132
|
This returns an Array which contains the response data, status code and headers.
|
126
133
|
|
127
|
-
> <Array(<RBACContentGuardResponse>, Integer, Hash)> create_with_http_info(rbac_content_guard)
|
134
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> create_with_http_info(rbac_content_guard, opts)
|
128
135
|
|
129
136
|
```ruby
|
130
137
|
begin
|
131
138
|
# Create a rbac content guard
|
132
|
-
data, status_code, headers = api_instance.create_with_http_info(rbac_content_guard)
|
139
|
+
data, status_code, headers = api_instance.create_with_http_info(rbac_content_guard, opts)
|
133
140
|
p status_code # => 2xx
|
134
141
|
p headers # => { ... }
|
135
142
|
p data # => <RBACContentGuardResponse>
|
@@ -143,6 +150,7 @@ end
|
|
143
150
|
| Name | Type | Description | Notes |
|
144
151
|
| ---- | ---- | ----------- | ----- |
|
145
152
|
| **rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md) | | |
|
153
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
146
154
|
|
147
155
|
### Return type
|
148
156
|
|
@@ -160,7 +168,7 @@ end
|
|
160
168
|
|
161
169
|
## delete
|
162
170
|
|
163
|
-
> delete(r_b_a_c_content_guard_href)
|
171
|
+
> delete(r_b_a_c_content_guard_href, opts)
|
164
172
|
|
165
173
|
Delete a rbac content guard
|
166
174
|
|
@@ -180,10 +188,13 @@ end
|
|
180
188
|
|
181
189
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
182
190
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
191
|
+
opts = {
|
192
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
193
|
+
}
|
183
194
|
|
184
195
|
begin
|
185
196
|
# Delete a rbac content guard
|
186
|
-
api_instance.delete(r_b_a_c_content_guard_href)
|
197
|
+
api_instance.delete(r_b_a_c_content_guard_href, opts)
|
187
198
|
rescue PulpcoreClient::ApiError => e
|
188
199
|
puts "Error when calling ContentguardsRbacApi->delete: #{e}"
|
189
200
|
end
|
@@ -193,12 +204,12 @@ end
|
|
193
204
|
|
194
205
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
195
206
|
|
196
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(r_b_a_c_content_guard_href)
|
207
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(r_b_a_c_content_guard_href, opts)
|
197
208
|
|
198
209
|
```ruby
|
199
210
|
begin
|
200
211
|
# Delete a rbac content guard
|
201
|
-
data, status_code, headers = api_instance.delete_with_http_info(r_b_a_c_content_guard_href)
|
212
|
+
data, status_code, headers = api_instance.delete_with_http_info(r_b_a_c_content_guard_href, opts)
|
202
213
|
p status_code # => 2xx
|
203
214
|
p headers # => { ... }
|
204
215
|
p data # => nil
|
@@ -212,6 +223,7 @@ end
|
|
212
223
|
| Name | Type | Description | Notes |
|
213
224
|
| ---- | ---- | ----------- | ----- |
|
214
225
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
226
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
215
227
|
|
216
228
|
### Return type
|
217
229
|
|
@@ -249,6 +261,7 @@ end
|
|
249
261
|
|
250
262
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
251
263
|
opts = {
|
264
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
252
265
|
limit: 56, # Integer | Number of results to return per page.
|
253
266
|
name: 'name_example', # String | Filter results where name matches value
|
254
267
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -300,6 +313,7 @@ end
|
|
300
313
|
|
301
314
|
| Name | Type | Description | Notes |
|
302
315
|
| ---- | ---- | ----------- | ----- |
|
316
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
303
317
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
304
318
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
305
319
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -356,6 +370,7 @@ end
|
|
356
370
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
357
371
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
358
372
|
opts = {
|
373
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
359
374
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
360
375
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
361
376
|
}
|
@@ -392,6 +407,7 @@ end
|
|
392
407
|
| Name | Type | Description | Notes |
|
393
408
|
| ---- | ---- | ----------- | ----- |
|
394
409
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
395
411
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
396
412
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
397
413
|
|
@@ -432,6 +448,7 @@ end
|
|
432
448
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
433
449
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
434
450
|
opts = {
|
451
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
435
452
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
436
453
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
437
454
|
}
|
@@ -468,6 +485,7 @@ end
|
|
468
485
|
| Name | Type | Description | Notes |
|
469
486
|
| ---- | ---- | ----------- | ----- |
|
470
487
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
488
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
471
489
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
472
490
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
473
491
|
|
@@ -487,7 +505,7 @@ end
|
|
487
505
|
|
488
506
|
## partial_update
|
489
507
|
|
490
|
-
> <RBACContentGuardResponse> partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
508
|
+
> <RBACContentGuardResponse> partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
|
491
509
|
|
492
510
|
Update a rbac content guard
|
493
511
|
|
@@ -508,10 +526,13 @@ end
|
|
508
526
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
509
527
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
510
528
|
patched_rbac_content_guard = PulpcoreClient::PatchedRBACContentGuard.new # PatchedRBACContentGuard |
|
529
|
+
opts = {
|
530
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
531
|
+
}
|
511
532
|
|
512
533
|
begin
|
513
534
|
# Update a rbac content guard
|
514
|
-
result = api_instance.partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
535
|
+
result = api_instance.partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
|
515
536
|
p result
|
516
537
|
rescue PulpcoreClient::ApiError => e
|
517
538
|
puts "Error when calling ContentguardsRbacApi->partial_update: #{e}"
|
@@ -522,12 +543,12 @@ end
|
|
522
543
|
|
523
544
|
This returns an Array which contains the response data, status code and headers.
|
524
545
|
|
525
|
-
> <Array(<RBACContentGuardResponse>, Integer, Hash)> partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
546
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
|
526
547
|
|
527
548
|
```ruby
|
528
549
|
begin
|
529
550
|
# Update a rbac content guard
|
530
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
551
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(r_b_a_c_content_guard_href, patched_rbac_content_guard, opts)
|
531
552
|
p status_code # => 2xx
|
532
553
|
p headers # => { ... }
|
533
554
|
p data # => <RBACContentGuardResponse>
|
@@ -542,6 +563,7 @@ end
|
|
542
563
|
| ---- | ---- | ----------- | ----- |
|
543
564
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
544
565
|
| **patched_rbac_content_guard** | [**PatchedRBACContentGuard**](PatchedRBACContentGuard.md) | | |
|
566
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
545
567
|
|
546
568
|
### Return type
|
547
569
|
|
@@ -580,6 +602,7 @@ end
|
|
580
602
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
581
603
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
582
604
|
opts = {
|
605
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
583
606
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
584
607
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
585
608
|
}
|
@@ -616,6 +639,7 @@ end
|
|
616
639
|
| Name | Type | Description | Notes |
|
617
640
|
| ---- | ---- | ----------- | ----- |
|
618
641
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
642
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
619
643
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
620
644
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
621
645
|
|
@@ -635,7 +659,7 @@ end
|
|
635
659
|
|
636
660
|
## remove_role
|
637
661
|
|
638
|
-
> <NestedRoleResponse> remove_role(r_b_a_c_content_guard_href, nested_role)
|
662
|
+
> <NestedRoleResponse> remove_role(r_b_a_c_content_guard_href, nested_role, opts)
|
639
663
|
|
640
664
|
Remove a role
|
641
665
|
|
@@ -656,10 +680,13 @@ end
|
|
656
680
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
657
681
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
658
682
|
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
683
|
+
opts = {
|
684
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
685
|
+
}
|
659
686
|
|
660
687
|
begin
|
661
688
|
# Remove a role
|
662
|
-
result = api_instance.remove_role(r_b_a_c_content_guard_href, nested_role)
|
689
|
+
result = api_instance.remove_role(r_b_a_c_content_guard_href, nested_role, opts)
|
663
690
|
p result
|
664
691
|
rescue PulpcoreClient::ApiError => e
|
665
692
|
puts "Error when calling ContentguardsRbacApi->remove_role: #{e}"
|
@@ -670,12 +697,12 @@ end
|
|
670
697
|
|
671
698
|
This returns an Array which contains the response data, status code and headers.
|
672
699
|
|
673
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role)
|
700
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
|
674
701
|
|
675
702
|
```ruby
|
676
703
|
begin
|
677
704
|
# Remove a role
|
678
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role)
|
705
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(r_b_a_c_content_guard_href, nested_role, opts)
|
679
706
|
p status_code # => 2xx
|
680
707
|
p headers # => { ... }
|
681
708
|
p data # => <NestedRoleResponse>
|
@@ -690,6 +717,7 @@ end
|
|
690
717
|
| ---- | ---- | ----------- | ----- |
|
691
718
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
692
719
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
720
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
693
721
|
|
694
722
|
### Return type
|
695
723
|
|
@@ -707,7 +735,7 @@ end
|
|
707
735
|
|
708
736
|
## update
|
709
737
|
|
710
|
-
> <RBACContentGuardResponse> update(r_b_a_c_content_guard_href, rbac_content_guard)
|
738
|
+
> <RBACContentGuardResponse> update(r_b_a_c_content_guard_href, rbac_content_guard, opts)
|
711
739
|
|
712
740
|
Update a rbac content guard
|
713
741
|
|
@@ -728,10 +756,13 @@ end
|
|
728
756
|
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
729
757
|
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
730
758
|
rbac_content_guard = PulpcoreClient::RBACContentGuard.new({name: 'name_example'}) # RBACContentGuard |
|
759
|
+
opts = {
|
760
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
761
|
+
}
|
731
762
|
|
732
763
|
begin
|
733
764
|
# Update a rbac content guard
|
734
|
-
result = api_instance.update(r_b_a_c_content_guard_href, rbac_content_guard)
|
765
|
+
result = api_instance.update(r_b_a_c_content_guard_href, rbac_content_guard, opts)
|
735
766
|
p result
|
736
767
|
rescue PulpcoreClient::ApiError => e
|
737
768
|
puts "Error when calling ContentguardsRbacApi->update: #{e}"
|
@@ -742,12 +773,12 @@ end
|
|
742
773
|
|
743
774
|
This returns an Array which contains the response data, status code and headers.
|
744
775
|
|
745
|
-
> <Array(<RBACContentGuardResponse>, Integer, Hash)> update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard)
|
776
|
+
> <Array(<RBACContentGuardResponse>, Integer, Hash)> update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts)
|
746
777
|
|
747
778
|
```ruby
|
748
779
|
begin
|
749
780
|
# Update a rbac content guard
|
750
|
-
data, status_code, headers = api_instance.update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard)
|
781
|
+
data, status_code, headers = api_instance.update_with_http_info(r_b_a_c_content_guard_href, rbac_content_guard, opts)
|
751
782
|
p status_code # => 2xx
|
752
783
|
p headers # => { ... }
|
753
784
|
p data # => <RBACContentGuardResponse>
|
@@ -762,6 +793,7 @@ end
|
|
762
793
|
| ---- | ---- | ----------- | ----- |
|
763
794
|
| **r_b_a_c_content_guard_href** | **String** | | |
|
764
795
|
| **rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md) | | |
|
796
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
765
797
|
|
766
798
|
### Return type
|
767
799
|
|