pulpcore_client 3.14.19 → 3.15.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 +38 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +1 -1
- data/docs/ContentguardsApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +473 -0
- data/docs/ExportersFilesystemApi.md +362 -0
- data/docs/ExportersFilesystemExportsApi.md +243 -0
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/FilesystemExport.md +21 -0
- data/docs/FilesystemExportResponse.md +25 -0
- data/docs/FilesystemExporter.md +21 -0
- data/docs/FilesystemExporterResponse.md +25 -0
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsModelPermissionsApi.md +1 -1
- data/docs/GroupsObjectPermissionsApi.md +1 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/MethodEnum.md +16 -0
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanup.md +3 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PaginatedFilesystemExportResponseList.md +23 -0
- data/docs/PaginatedFilesystemExporterResponseList.md +23 -0
- data/docs/PaginatedRBACContentGuardResponseList.md +23 -0
- data/docs/PatchedFilesystemExporter.md +21 -0
- data/docs/PatchedRBACContentGuard.md +19 -0
- data/docs/PublicationsApi.md +1 -1
- data/docs/RBACContentGuard.md +19 -0
- data/docs/RBACContentGuardPermission.md +19 -0
- data/docs/RBACContentGuardResponse.md +27 -0
- data/docs/ReclaimSpace.md +19 -0
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +1 -1
- data/docs/RepositoriesReclaimSpaceApi.md +61 -0
- data/docs/RepositoryResponse.md +3 -3
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TasksApi.md +1 -1
- data/docs/UploadsApi.md +1 -1
- data/docs/UsersApi.md +1 -1
- data/docs/WorkersApi.md +1 -1
- data/git_push.sh +58 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +580 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +442 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +297 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +84 -0
- data/lib/pulpcore_client/api_client.rb +5 -2
- data/lib/pulpcore_client/configuration.rb +2 -3
- data/lib/pulpcore_client/models/filesystem_export.rb +229 -0
- data/lib/pulpcore_client/models/filesystem_export_response.rb +250 -0
- data/lib/pulpcore_client/models/filesystem_exporter.rb +238 -0
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +257 -0
- data/lib/pulpcore_client/models/method_enum.rb +37 -0
- data/lib/pulpcore_client/models/orphans_cleanup.rb +17 -4
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +228 -0
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +219 -0
- data/lib/pulpcore_client/models/rbac_content_guard.rb +224 -0
- data/lib/pulpcore_client/models/rbac_content_guard_permission.rb +219 -0
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +261 -0
- data/lib/pulpcore_client/models/reclaim_space.rb +227 -0
- data/lib/pulpcore_client/models/repository_response.rb +17 -16
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +18 -0
- data/pulpcore_client.gemspec +3 -3
- data/spec/api/contentguards_rbac_api_spec.rb +146 -0
- data/spec/api/exporters_filesystem_api_spec.rb +120 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +91 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/filesystem_export_response_spec.rb +65 -0
- data/spec/models/filesystem_export_spec.rb +53 -0
- data/spec/models/filesystem_exporter_response_spec.rb +65 -0
- data/spec/models/filesystem_exporter_spec.rb +53 -0
- data/spec/models/method_enum_spec.rb +35 -0
- data/spec/models/orphans_cleanup_spec.rb +6 -0
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +59 -0
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +59 -0
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +59 -0
- data/spec/models/patched_filesystem_exporter_spec.rb +53 -0
- data/spec/models/patched_rbac_content_guard_spec.rb +47 -0
- data/spec/models/rbac_content_guard_permission_spec.rb +47 -0
- data/spec/models/rbac_content_guard_response_spec.rb +71 -0
- data/spec/models/rbac_content_guard_spec.rb +47 -0
- data/spec/models/reclaim_space_spec.rb +47 -0
- data/spec/models/repository_response_spec.rb +1 -1
- metadata +158 -91
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '069392eb41ca90c85c384b403807349bb0bfe787910d504d563fc4e692c14ac2'
|
|
4
|
+
data.tar.gz: 65f0a1eb0a5559763c80e433615a72728ef7b97fca54e812e5ae4218e418c8cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3e31774b624aa57557c726f05c4e501611b553a5241d4b6d3d28d9ea9298af2cdb274cb9754b613be6d57cd2f26ea3c159b3e8942e15cdb635200e3bf7de00f
|
|
7
|
+
data.tar.gz: 8d567940e66efa34b6c73af66be1e4b76c49e04099489d4052340db4877b51a56ec3a84c5467d134905729890eb08f3d459ed3d82d720d812a96eb477af2de8d
|
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.
|
|
10
|
+
- Package version: 3.15.0
|
|
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.
|
|
27
|
+
gem install ./pulpcore_client-3.15.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.15.0.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.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.15.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -91,7 +91,7 @@ end
|
|
|
91
91
|
|
|
92
92
|
## Documentation for API Endpoints
|
|
93
93
|
|
|
94
|
-
All URIs are relative to *
|
|
94
|
+
All URIs are relative to *https://pulp*
|
|
95
95
|
|
|
96
96
|
Class | Method | HTTP request | Description
|
|
97
97
|
------------ | ------------- | ------------- | -------------
|
|
@@ -105,6 +105,24 @@ Class | Method | HTTP request | Description
|
|
|
105
105
|
*PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
|
106
106
|
*PulpcoreClient::ContentApi* | [**list**](docs/ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
|
107
107
|
*PulpcoreClient::ContentguardsApi* | [**list**](docs/ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
|
|
108
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**assign_permission**](docs/ContentguardsRbacApi.md#assign_permission) | **POST** {r_b_a_c_content_guard_href}assign_permission/ | Add download permission
|
|
109
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**create**](docs/ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard
|
|
110
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**delete**](docs/ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard
|
|
111
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**list**](docs/ContentguardsRbacApi.md#list) | **GET** /pulp/api/v3/contentguards/core/rbac/ | List rbac content guards
|
|
112
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**partial_update**](docs/ContentguardsRbacApi.md#partial_update) | **PATCH** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
|
113
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**read**](docs/ContentguardsRbacApi.md#read) | **GET** {r_b_a_c_content_guard_href} | Inspect a rbac content guard
|
|
114
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**remove_permission**](docs/ContentguardsRbacApi.md#remove_permission) | **POST** {r_b_a_c_content_guard_href}remove_permission/ | Remove download permission
|
|
115
|
+
*PulpcoreClient::ContentguardsRbacApi* | [**update**](docs/ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
|
116
|
+
*PulpcoreClient::ExportersFilesystemApi* | [**create**](docs/ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/core/filesystem/ | Create a filesystem exporter
|
|
117
|
+
*PulpcoreClient::ExportersFilesystemApi* | [**delete**](docs/ExportersFilesystemApi.md#delete) | **DELETE** {filesystem_exporter_href} | Delete a filesystem exporter
|
|
118
|
+
*PulpcoreClient::ExportersFilesystemApi* | [**list**](docs/ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/core/filesystem/ | List filesystem exporters
|
|
119
|
+
*PulpcoreClient::ExportersFilesystemApi* | [**partial_update**](docs/ExportersFilesystemApi.md#partial_update) | **PATCH** {filesystem_exporter_href} | Update a filesystem exporter
|
|
120
|
+
*PulpcoreClient::ExportersFilesystemApi* | [**read**](docs/ExportersFilesystemApi.md#read) | **GET** {filesystem_exporter_href} | Inspect a filesystem exporter
|
|
121
|
+
*PulpcoreClient::ExportersFilesystemApi* | [**update**](docs/ExportersFilesystemApi.md#update) | **PUT** {filesystem_exporter_href} | Update a filesystem exporter
|
|
122
|
+
*PulpcoreClient::ExportersFilesystemExportsApi* | [**create**](docs/ExportersFilesystemExportsApi.md#create) | **POST** {filesystem_exporter_href}exports/ | Create a filesystem export
|
|
123
|
+
*PulpcoreClient::ExportersFilesystemExportsApi* | [**delete**](docs/ExportersFilesystemExportsApi.md#delete) | **DELETE** {filesystem_filesystem_export_href} | Delete a filesystem export
|
|
124
|
+
*PulpcoreClient::ExportersFilesystemExportsApi* | [**list**](docs/ExportersFilesystemExportsApi.md#list) | **GET** {filesystem_exporter_href}exports/ | List filesystem exports
|
|
125
|
+
*PulpcoreClient::ExportersFilesystemExportsApi* | [**read**](docs/ExportersFilesystemExportsApi.md#read) | **GET** {filesystem_filesystem_export_href} | Inspect a filesystem export
|
|
108
126
|
*PulpcoreClient::ExportersPulpApi* | [**create**](docs/ExportersPulpApi.md#create) | **POST** /pulp/api/v3/exporters/core/pulp/ | Create a pulp exporter
|
|
109
127
|
*PulpcoreClient::ExportersPulpApi* | [**delete**](docs/ExportersPulpApi.md#delete) | **DELETE** {pulp_exporter_href} | Delete a pulp exporter
|
|
110
128
|
*PulpcoreClient::ExportersPulpApi* | [**list**](docs/ExportersPulpApi.md#list) | **GET** /pulp/api/v3/exporters/core/pulp/ | List pulp exporters
|
|
@@ -148,6 +166,7 @@ Class | Method | HTTP request | Description
|
|
|
148
166
|
*PulpcoreClient::PublicationsApi* | [**list**](docs/PublicationsApi.md#list) | **GET** /pulp/api/v3/publications/ | List publications
|
|
149
167
|
*PulpcoreClient::RepairApi* | [**post**](docs/RepairApi.md#post) | **POST** /pulp/api/v3/repair/ | Repair Artifact Storage
|
|
150
168
|
*PulpcoreClient::RepositoriesApi* | [**list**](docs/RepositoriesApi.md#list) | **GET** /pulp/api/v3/repositories/ | List repositories
|
|
169
|
+
*PulpcoreClient::RepositoriesReclaimSpaceApi* | [**reclaim**](docs/RepositoriesReclaimSpaceApi.md#reclaim) | **POST** /pulp/api/v3/repositories/reclaim_space/ |
|
|
151
170
|
*PulpcoreClient::RepositoryVersionsApi* | [**list**](docs/RepositoryVersionsApi.md#list) | **GET** /pulp/api/v3/repository_versions/ | List repository versions
|
|
152
171
|
*PulpcoreClient::SigningServicesApi* | [**list**](docs/SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
|
|
153
172
|
*PulpcoreClient::SigningServicesApi* | [**read**](docs/SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
|
|
@@ -183,18 +202,25 @@ Class | Method | HTTP request | Description
|
|
|
183
202
|
- [PulpcoreClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
184
203
|
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
|
185
204
|
- [PulpcoreClient::EvaluationResponse](docs/EvaluationResponse.md)
|
|
205
|
+
- [PulpcoreClient::FilesystemExport](docs/FilesystemExport.md)
|
|
206
|
+
- [PulpcoreClient::FilesystemExportResponse](docs/FilesystemExportResponse.md)
|
|
207
|
+
- [PulpcoreClient::FilesystemExporter](docs/FilesystemExporter.md)
|
|
208
|
+
- [PulpcoreClient::FilesystemExporterResponse](docs/FilesystemExporterResponse.md)
|
|
186
209
|
- [PulpcoreClient::Group](docs/Group.md)
|
|
187
210
|
- [PulpcoreClient::GroupProgressReportResponse](docs/GroupProgressReportResponse.md)
|
|
188
211
|
- [PulpcoreClient::GroupResponse](docs/GroupResponse.md)
|
|
189
212
|
- [PulpcoreClient::GroupUser](docs/GroupUser.md)
|
|
190
213
|
- [PulpcoreClient::GroupUserResponse](docs/GroupUserResponse.md)
|
|
191
214
|
- [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
|
|
215
|
+
- [PulpcoreClient::MethodEnum](docs/MethodEnum.md)
|
|
192
216
|
- [PulpcoreClient::MinimalTaskResponse](docs/MinimalTaskResponse.md)
|
|
193
217
|
- [PulpcoreClient::MultipleArtifactContentResponse](docs/MultipleArtifactContentResponse.md)
|
|
194
218
|
- [PulpcoreClient::OrphansCleanup](docs/OrphansCleanup.md)
|
|
195
219
|
- [PulpcoreClient::PaginatedAccessPolicyResponseList](docs/PaginatedAccessPolicyResponseList.md)
|
|
196
220
|
- [PulpcoreClient::PaginatedArtifactResponseList](docs/PaginatedArtifactResponseList.md)
|
|
197
221
|
- [PulpcoreClient::PaginatedContentGuardResponseList](docs/PaginatedContentGuardResponseList.md)
|
|
222
|
+
- [PulpcoreClient::PaginatedFilesystemExportResponseList](docs/PaginatedFilesystemExportResponseList.md)
|
|
223
|
+
- [PulpcoreClient::PaginatedFilesystemExporterResponseList](docs/PaginatedFilesystemExporterResponseList.md)
|
|
198
224
|
- [PulpcoreClient::PaginatedGroupResponseList](docs/PaginatedGroupResponseList.md)
|
|
199
225
|
- [PulpcoreClient::PaginatedGroupUserResponseList](docs/PaginatedGroupUserResponseList.md)
|
|
200
226
|
- [PulpcoreClient::PaginatedImportResponseList](docs/PaginatedImportResponseList.md)
|
|
@@ -204,6 +230,7 @@ Class | Method | HTTP request | Description
|
|
|
204
230
|
- [PulpcoreClient::PaginatedPulpExportResponseList](docs/PaginatedPulpExportResponseList.md)
|
|
205
231
|
- [PulpcoreClient::PaginatedPulpExporterResponseList](docs/PaginatedPulpExporterResponseList.md)
|
|
206
232
|
- [PulpcoreClient::PaginatedPulpImporterResponseList](docs/PaginatedPulpImporterResponseList.md)
|
|
233
|
+
- [PulpcoreClient::PaginatedRBACContentGuardResponseList](docs/PaginatedRBACContentGuardResponseList.md)
|
|
207
234
|
- [PulpcoreClient::PaginatedRepositoryResponseList](docs/PaginatedRepositoryResponseList.md)
|
|
208
235
|
- [PulpcoreClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
209
236
|
- [PulpcoreClient::PaginatedSigningServiceResponseList](docs/PaginatedSigningServiceResponseList.md)
|
|
@@ -213,9 +240,11 @@ Class | Method | HTTP request | Description
|
|
|
213
240
|
- [PulpcoreClient::PaginatedUserResponseList](docs/PaginatedUserResponseList.md)
|
|
214
241
|
- [PulpcoreClient::PaginatedWorkerResponseList](docs/PaginatedWorkerResponseList.md)
|
|
215
242
|
- [PulpcoreClient::PatchedAccessPolicy](docs/PatchedAccessPolicy.md)
|
|
243
|
+
- [PulpcoreClient::PatchedFilesystemExporter](docs/PatchedFilesystemExporter.md)
|
|
216
244
|
- [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
|
|
217
245
|
- [PulpcoreClient::PatchedPulpExporter](docs/PatchedPulpExporter.md)
|
|
218
246
|
- [PulpcoreClient::PatchedPulpImporter](docs/PatchedPulpImporter.md)
|
|
247
|
+
- [PulpcoreClient::PatchedRBACContentGuard](docs/PatchedRBACContentGuard.md)
|
|
219
248
|
- [PulpcoreClient::PatchedTaskCancel](docs/PatchedTaskCancel.md)
|
|
220
249
|
- [PulpcoreClient::PermissionResponse](docs/PermissionResponse.md)
|
|
221
250
|
- [PulpcoreClient::ProgressReportResponse](docs/ProgressReportResponse.md)
|
|
@@ -229,6 +258,10 @@ Class | Method | HTTP request | Description
|
|
|
229
258
|
- [PulpcoreClient::PulpImportCheckResponse](docs/PulpImportCheckResponse.md)
|
|
230
259
|
- [PulpcoreClient::PulpImporter](docs/PulpImporter.md)
|
|
231
260
|
- [PulpcoreClient::PulpImporterResponse](docs/PulpImporterResponse.md)
|
|
261
|
+
- [PulpcoreClient::RBACContentGuard](docs/RBACContentGuard.md)
|
|
262
|
+
- [PulpcoreClient::RBACContentGuardPermission](docs/RBACContentGuardPermission.md)
|
|
263
|
+
- [PulpcoreClient::RBACContentGuardResponse](docs/RBACContentGuardResponse.md)
|
|
264
|
+
- [PulpcoreClient::ReclaimSpace](docs/ReclaimSpace.md)
|
|
232
265
|
- [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
|
|
233
266
|
- [PulpcoreClient::Repair](docs/Repair.md)
|
|
234
267
|
- [PulpcoreClient::RepositoryResponse](docs/RepositoryResponse.md)
|
data/docs/AccessPoliciesApi.md
CHANGED
data/docs/ArtifactsApi.md
CHANGED
data/docs/ContentApi.md
CHANGED
data/docs/ContentguardsApi.md
CHANGED
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
# PulpcoreClient::ContentguardsRbacApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**assign_permission**](ContentguardsRbacApi.md#assign_permission) | **POST** {r_b_a_c_content_guard_href}assign_permission/ | Add download permission
|
|
8
|
+
[**create**](ContentguardsRbacApi.md#create) | **POST** /pulp/api/v3/contentguards/core/rbac/ | Create a rbac content guard
|
|
9
|
+
[**delete**](ContentguardsRbacApi.md#delete) | **DELETE** {r_b_a_c_content_guard_href} | Delete a rbac content guard
|
|
10
|
+
[**list**](ContentguardsRbacApi.md#list) | **GET** /pulp/api/v3/contentguards/core/rbac/ | List rbac content guards
|
|
11
|
+
[**partial_update**](ContentguardsRbacApi.md#partial_update) | **PATCH** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
|
12
|
+
[**read**](ContentguardsRbacApi.md#read) | **GET** {r_b_a_c_content_guard_href} | Inspect a rbac content guard
|
|
13
|
+
[**remove_permission**](ContentguardsRbacApi.md#remove_permission) | **POST** {r_b_a_c_content_guard_href}remove_permission/ | Remove download permission
|
|
14
|
+
[**update**](ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## assign_permission
|
|
19
|
+
|
|
20
|
+
> RBACContentGuardResponse assign_permission(r_b_a_c_content_guard_href, rbac_content_guard_permission)
|
|
21
|
+
|
|
22
|
+
Add download permission
|
|
23
|
+
|
|
24
|
+
Give users and groups the `download` permission
|
|
25
|
+
|
|
26
|
+
### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
# load the gem
|
|
30
|
+
require 'pulpcore_client'
|
|
31
|
+
# setup authorization
|
|
32
|
+
PulpcoreClient.configure do |config|
|
|
33
|
+
# Configure HTTP basic authorization: basicAuth
|
|
34
|
+
config.username = 'YOUR USERNAME'
|
|
35
|
+
config.password = 'YOUR PASSWORD'
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
39
|
+
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
40
|
+
rbac_content_guard_permission = PulpcoreClient::RBACContentGuardPermission.new # RBACContentGuardPermission |
|
|
41
|
+
|
|
42
|
+
begin
|
|
43
|
+
#Add download permission
|
|
44
|
+
result = api_instance.assign_permission(r_b_a_c_content_guard_href, rbac_content_guard_permission)
|
|
45
|
+
p result
|
|
46
|
+
rescue PulpcoreClient::ApiError => e
|
|
47
|
+
puts "Exception when calling ContentguardsRbacApi->assign_permission: #{e}"
|
|
48
|
+
end
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Parameters
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Name | Type | Description | Notes
|
|
55
|
+
------------- | ------------- | ------------- | -------------
|
|
56
|
+
**r_b_a_c_content_guard_href** | **String**| |
|
|
57
|
+
**rbac_content_guard_permission** | [**RBACContentGuardPermission**](RBACContentGuardPermission.md)| |
|
|
58
|
+
|
|
59
|
+
### Return type
|
|
60
|
+
|
|
61
|
+
[**RBACContentGuardResponse**](RBACContentGuardResponse.md)
|
|
62
|
+
|
|
63
|
+
### Authorization
|
|
64
|
+
|
|
65
|
+
[basicAuth](../README.md#basicAuth)
|
|
66
|
+
|
|
67
|
+
### HTTP request headers
|
|
68
|
+
|
|
69
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
70
|
+
- **Accept**: application/json
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## create
|
|
74
|
+
|
|
75
|
+
> RBACContentGuardResponse create(rbac_content_guard)
|
|
76
|
+
|
|
77
|
+
Create a rbac content guard
|
|
78
|
+
|
|
79
|
+
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
80
|
+
|
|
81
|
+
### Example
|
|
82
|
+
|
|
83
|
+
```ruby
|
|
84
|
+
# load the gem
|
|
85
|
+
require 'pulpcore_client'
|
|
86
|
+
# setup authorization
|
|
87
|
+
PulpcoreClient.configure do |config|
|
|
88
|
+
# Configure HTTP basic authorization: basicAuth
|
|
89
|
+
config.username = 'YOUR USERNAME'
|
|
90
|
+
config.password = 'YOUR PASSWORD'
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
94
|
+
rbac_content_guard = PulpcoreClient::RBACContentGuard.new # RBACContentGuard |
|
|
95
|
+
|
|
96
|
+
begin
|
|
97
|
+
#Create a rbac content guard
|
|
98
|
+
result = api_instance.create(rbac_content_guard)
|
|
99
|
+
p result
|
|
100
|
+
rescue PulpcoreClient::ApiError => e
|
|
101
|
+
puts "Exception when calling ContentguardsRbacApi->create: #{e}"
|
|
102
|
+
end
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Parameters
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
Name | Type | Description | Notes
|
|
109
|
+
------------- | ------------- | ------------- | -------------
|
|
110
|
+
**rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md)| |
|
|
111
|
+
|
|
112
|
+
### Return type
|
|
113
|
+
|
|
114
|
+
[**RBACContentGuardResponse**](RBACContentGuardResponse.md)
|
|
115
|
+
|
|
116
|
+
### Authorization
|
|
117
|
+
|
|
118
|
+
[basicAuth](../README.md#basicAuth)
|
|
119
|
+
|
|
120
|
+
### HTTP request headers
|
|
121
|
+
|
|
122
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
123
|
+
- **Accept**: application/json
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## delete
|
|
127
|
+
|
|
128
|
+
> delete(r_b_a_c_content_guard_href)
|
|
129
|
+
|
|
130
|
+
Delete a rbac content guard
|
|
131
|
+
|
|
132
|
+
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
133
|
+
|
|
134
|
+
### Example
|
|
135
|
+
|
|
136
|
+
```ruby
|
|
137
|
+
# load the gem
|
|
138
|
+
require 'pulpcore_client'
|
|
139
|
+
# setup authorization
|
|
140
|
+
PulpcoreClient.configure do |config|
|
|
141
|
+
# Configure HTTP basic authorization: basicAuth
|
|
142
|
+
config.username = 'YOUR USERNAME'
|
|
143
|
+
config.password = 'YOUR PASSWORD'
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
147
|
+
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
148
|
+
|
|
149
|
+
begin
|
|
150
|
+
#Delete a rbac content guard
|
|
151
|
+
api_instance.delete(r_b_a_c_content_guard_href)
|
|
152
|
+
rescue PulpcoreClient::ApiError => e
|
|
153
|
+
puts "Exception when calling ContentguardsRbacApi->delete: #{e}"
|
|
154
|
+
end
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Parameters
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
Name | Type | Description | Notes
|
|
161
|
+
------------- | ------------- | ------------- | -------------
|
|
162
|
+
**r_b_a_c_content_guard_href** | **String**| |
|
|
163
|
+
|
|
164
|
+
### Return type
|
|
165
|
+
|
|
166
|
+
nil (empty response body)
|
|
167
|
+
|
|
168
|
+
### Authorization
|
|
169
|
+
|
|
170
|
+
[basicAuth](../README.md#basicAuth)
|
|
171
|
+
|
|
172
|
+
### HTTP request headers
|
|
173
|
+
|
|
174
|
+
- **Content-Type**: Not defined
|
|
175
|
+
- **Accept**: Not defined
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
## list
|
|
179
|
+
|
|
180
|
+
> PaginatedRBACContentGuardResponseList list(opts)
|
|
181
|
+
|
|
182
|
+
List rbac content guards
|
|
183
|
+
|
|
184
|
+
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
185
|
+
|
|
186
|
+
### Example
|
|
187
|
+
|
|
188
|
+
```ruby
|
|
189
|
+
# load the gem
|
|
190
|
+
require 'pulpcore_client'
|
|
191
|
+
# setup authorization
|
|
192
|
+
PulpcoreClient.configure do |config|
|
|
193
|
+
# Configure HTTP basic authorization: basicAuth
|
|
194
|
+
config.username = 'YOUR USERNAME'
|
|
195
|
+
config.password = 'YOUR PASSWORD'
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
199
|
+
opts = {
|
|
200
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
201
|
+
name: 'name_example', # String |
|
|
202
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
203
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
|
204
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
205
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
206
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
207
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
208
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
209
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
begin
|
|
213
|
+
#List rbac content guards
|
|
214
|
+
result = api_instance.list(opts)
|
|
215
|
+
p result
|
|
216
|
+
rescue PulpcoreClient::ApiError => e
|
|
217
|
+
puts "Exception when calling ContentguardsRbacApi->list: #{e}"
|
|
218
|
+
end
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Parameters
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
Name | Type | Description | Notes
|
|
225
|
+
------------- | ------------- | ------------- | -------------
|
|
226
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
227
|
+
**name** | **String**| | [optional]
|
|
228
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
229
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
|
230
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
231
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
232
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
233
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
234
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
235
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
236
|
+
|
|
237
|
+
### Return type
|
|
238
|
+
|
|
239
|
+
[**PaginatedRBACContentGuardResponseList**](PaginatedRBACContentGuardResponseList.md)
|
|
240
|
+
|
|
241
|
+
### Authorization
|
|
242
|
+
|
|
243
|
+
[basicAuth](../README.md#basicAuth)
|
|
244
|
+
|
|
245
|
+
### HTTP request headers
|
|
246
|
+
|
|
247
|
+
- **Content-Type**: Not defined
|
|
248
|
+
- **Accept**: application/json
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
## partial_update
|
|
252
|
+
|
|
253
|
+
> RBACContentGuardResponse partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
|
254
|
+
|
|
255
|
+
Update a rbac content guard
|
|
256
|
+
|
|
257
|
+
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
258
|
+
|
|
259
|
+
### Example
|
|
260
|
+
|
|
261
|
+
```ruby
|
|
262
|
+
# load the gem
|
|
263
|
+
require 'pulpcore_client'
|
|
264
|
+
# setup authorization
|
|
265
|
+
PulpcoreClient.configure do |config|
|
|
266
|
+
# Configure HTTP basic authorization: basicAuth
|
|
267
|
+
config.username = 'YOUR USERNAME'
|
|
268
|
+
config.password = 'YOUR PASSWORD'
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
272
|
+
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
273
|
+
patched_rbac_content_guard = PulpcoreClient::PatchedRBACContentGuard.new # PatchedRBACContentGuard |
|
|
274
|
+
|
|
275
|
+
begin
|
|
276
|
+
#Update a rbac content guard
|
|
277
|
+
result = api_instance.partial_update(r_b_a_c_content_guard_href, patched_rbac_content_guard)
|
|
278
|
+
p result
|
|
279
|
+
rescue PulpcoreClient::ApiError => e
|
|
280
|
+
puts "Exception when calling ContentguardsRbacApi->partial_update: #{e}"
|
|
281
|
+
end
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Parameters
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
Name | Type | Description | Notes
|
|
288
|
+
------------- | ------------- | ------------- | -------------
|
|
289
|
+
**r_b_a_c_content_guard_href** | **String**| |
|
|
290
|
+
**patched_rbac_content_guard** | [**PatchedRBACContentGuard**](PatchedRBACContentGuard.md)| |
|
|
291
|
+
|
|
292
|
+
### Return type
|
|
293
|
+
|
|
294
|
+
[**RBACContentGuardResponse**](RBACContentGuardResponse.md)
|
|
295
|
+
|
|
296
|
+
### Authorization
|
|
297
|
+
|
|
298
|
+
[basicAuth](../README.md#basicAuth)
|
|
299
|
+
|
|
300
|
+
### HTTP request headers
|
|
301
|
+
|
|
302
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
303
|
+
- **Accept**: application/json
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## read
|
|
307
|
+
|
|
308
|
+
> RBACContentGuardResponse read(r_b_a_c_content_guard_href, opts)
|
|
309
|
+
|
|
310
|
+
Inspect a rbac content guard
|
|
311
|
+
|
|
312
|
+
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
313
|
+
|
|
314
|
+
### Example
|
|
315
|
+
|
|
316
|
+
```ruby
|
|
317
|
+
# load the gem
|
|
318
|
+
require 'pulpcore_client'
|
|
319
|
+
# setup authorization
|
|
320
|
+
PulpcoreClient.configure do |config|
|
|
321
|
+
# Configure HTTP basic authorization: basicAuth
|
|
322
|
+
config.username = 'YOUR USERNAME'
|
|
323
|
+
config.password = 'YOUR PASSWORD'
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
327
|
+
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
328
|
+
opts = {
|
|
329
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
330
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
begin
|
|
334
|
+
#Inspect a rbac content guard
|
|
335
|
+
result = api_instance.read(r_b_a_c_content_guard_href, opts)
|
|
336
|
+
p result
|
|
337
|
+
rescue PulpcoreClient::ApiError => e
|
|
338
|
+
puts "Exception when calling ContentguardsRbacApi->read: #{e}"
|
|
339
|
+
end
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### Parameters
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
Name | Type | Description | Notes
|
|
346
|
+
------------- | ------------- | ------------- | -------------
|
|
347
|
+
**r_b_a_c_content_guard_href** | **String**| |
|
|
348
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
349
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
350
|
+
|
|
351
|
+
### Return type
|
|
352
|
+
|
|
353
|
+
[**RBACContentGuardResponse**](RBACContentGuardResponse.md)
|
|
354
|
+
|
|
355
|
+
### Authorization
|
|
356
|
+
|
|
357
|
+
[basicAuth](../README.md#basicAuth)
|
|
358
|
+
|
|
359
|
+
### HTTP request headers
|
|
360
|
+
|
|
361
|
+
- **Content-Type**: Not defined
|
|
362
|
+
- **Accept**: application/json
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
## remove_permission
|
|
366
|
+
|
|
367
|
+
> RBACContentGuardResponse remove_permission(r_b_a_c_content_guard_href, rbac_content_guard_permission)
|
|
368
|
+
|
|
369
|
+
Remove download permission
|
|
370
|
+
|
|
371
|
+
Remove `download` permission from users and groups
|
|
372
|
+
|
|
373
|
+
### Example
|
|
374
|
+
|
|
375
|
+
```ruby
|
|
376
|
+
# load the gem
|
|
377
|
+
require 'pulpcore_client'
|
|
378
|
+
# setup authorization
|
|
379
|
+
PulpcoreClient.configure do |config|
|
|
380
|
+
# Configure HTTP basic authorization: basicAuth
|
|
381
|
+
config.username = 'YOUR USERNAME'
|
|
382
|
+
config.password = 'YOUR PASSWORD'
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
386
|
+
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
387
|
+
rbac_content_guard_permission = PulpcoreClient::RBACContentGuardPermission.new # RBACContentGuardPermission |
|
|
388
|
+
|
|
389
|
+
begin
|
|
390
|
+
#Remove download permission
|
|
391
|
+
result = api_instance.remove_permission(r_b_a_c_content_guard_href, rbac_content_guard_permission)
|
|
392
|
+
p result
|
|
393
|
+
rescue PulpcoreClient::ApiError => e
|
|
394
|
+
puts "Exception when calling ContentguardsRbacApi->remove_permission: #{e}"
|
|
395
|
+
end
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
### Parameters
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
Name | Type | Description | Notes
|
|
402
|
+
------------- | ------------- | ------------- | -------------
|
|
403
|
+
**r_b_a_c_content_guard_href** | **String**| |
|
|
404
|
+
**rbac_content_guard_permission** | [**RBACContentGuardPermission**](RBACContentGuardPermission.md)| |
|
|
405
|
+
|
|
406
|
+
### Return type
|
|
407
|
+
|
|
408
|
+
[**RBACContentGuardResponse**](RBACContentGuardResponse.md)
|
|
409
|
+
|
|
410
|
+
### Authorization
|
|
411
|
+
|
|
412
|
+
[basicAuth](../README.md#basicAuth)
|
|
413
|
+
|
|
414
|
+
### HTTP request headers
|
|
415
|
+
|
|
416
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
417
|
+
- **Accept**: application/json
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
## update
|
|
421
|
+
|
|
422
|
+
> RBACContentGuardResponse update(r_b_a_c_content_guard_href, rbac_content_guard)
|
|
423
|
+
|
|
424
|
+
Update a rbac content guard
|
|
425
|
+
|
|
426
|
+
Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
427
|
+
|
|
428
|
+
### Example
|
|
429
|
+
|
|
430
|
+
```ruby
|
|
431
|
+
# load the gem
|
|
432
|
+
require 'pulpcore_client'
|
|
433
|
+
# setup authorization
|
|
434
|
+
PulpcoreClient.configure do |config|
|
|
435
|
+
# Configure HTTP basic authorization: basicAuth
|
|
436
|
+
config.username = 'YOUR USERNAME'
|
|
437
|
+
config.password = 'YOUR PASSWORD'
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
api_instance = PulpcoreClient::ContentguardsRbacApi.new
|
|
441
|
+
r_b_a_c_content_guard_href = 'r_b_a_c_content_guard_href_example' # String |
|
|
442
|
+
rbac_content_guard = PulpcoreClient::RBACContentGuard.new # RBACContentGuard |
|
|
443
|
+
|
|
444
|
+
begin
|
|
445
|
+
#Update a rbac content guard
|
|
446
|
+
result = api_instance.update(r_b_a_c_content_guard_href, rbac_content_guard)
|
|
447
|
+
p result
|
|
448
|
+
rescue PulpcoreClient::ApiError => e
|
|
449
|
+
puts "Exception when calling ContentguardsRbacApi->update: #{e}"
|
|
450
|
+
end
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
### Parameters
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
Name | Type | Description | Notes
|
|
457
|
+
------------- | ------------- | ------------- | -------------
|
|
458
|
+
**r_b_a_c_content_guard_href** | **String**| |
|
|
459
|
+
**rbac_content_guard** | [**RBACContentGuard**](RBACContentGuard.md)| |
|
|
460
|
+
|
|
461
|
+
### Return type
|
|
462
|
+
|
|
463
|
+
[**RBACContentGuardResponse**](RBACContentGuardResponse.md)
|
|
464
|
+
|
|
465
|
+
### Authorization
|
|
466
|
+
|
|
467
|
+
[basicAuth](../README.md#basicAuth)
|
|
468
|
+
|
|
469
|
+
### HTTP request headers
|
|
470
|
+
|
|
471
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
472
|
+
- **Accept**: application/json
|
|
473
|
+
|