pulpcore_client 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -44
- data/docs/AccessPoliciesApi.md +244 -0
- data/docs/AccessPolicy.md +21 -0
- data/docs/AccessPolicyResponse.md +25 -0
- data/docs/Artifact.md +2 -6
- data/docs/ArtifactResponse.md +35 -0
- data/docs/ArtifactsApi.md +40 -34
- data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
- data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
- data/docs/ExportersCoreExportsApi.md +33 -33
- data/docs/ExportersPulpApi.md +51 -51
- data/docs/Group.md +17 -0
- data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
- data/docs/GroupResponse.md +21 -0
- data/docs/GroupUser.md +17 -0
- data/docs/GroupUserResponse.md +19 -0
- data/docs/GroupsApi.md +351 -0
- data/docs/GroupsModelPermissionsApi.md +128 -0
- data/docs/GroupsObjectPermissionsApi.md +247 -0
- data/docs/GroupsUsersApi.md +183 -0
- data/docs/{Import.md → ImportResponse.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +33 -33
- data/docs/ImportersPulpApi.md +51 -51
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/OrphansApi.md +2 -2
- data/docs/PatchedAccessPolicy.md +21 -0
- data/docs/PatchedGroup.md +17 -0
- data/docs/PatchedPulpExporter.md +23 -0
- data/docs/PatchedPulpImporter.md +19 -0
- data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
- data/docs/PermissionResponse.md +23 -0
- data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
- data/docs/PulpExport.md +11 -11
- data/docs/PulpExportResponse.md +27 -0
- data/docs/PulpExporter.md +1 -5
- data/docs/PulpExporterResponse.md +27 -0
- data/docs/PulpImport.md +4 -2
- data/docs/PulpImporter.md +2 -6
- data/docs/PulpImporterResponse.md +23 -0
- data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
- data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
- data/docs/SigningServicesApi.md +14 -14
- data/docs/StatusApi.md +8 -22
- data/docs/StatusResponse.md +27 -0
- data/docs/{Storage.md → StorageResponse.md} +2 -2
- data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
- data/docs/TaskGroupsApi.md +16 -12
- data/docs/{Task.md → TaskResponse.md} +5 -7
- data/docs/TasksApi.md +144 -88
- data/docs/Upload.md +1 -7
- data/docs/UploadChunk.md +2 -6
- data/docs/UploadChunkResponse.md +19 -0
- data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
- data/docs/UploadResponse.md +23 -0
- data/docs/UploadsApi.md +42 -40
- data/docs/UserGroupResponse.md +19 -0
- data/docs/UserResponse.md +35 -0
- data/docs/UsersApi.md +191 -0
- data/docs/{Version.md → VersionResponse.md} +2 -2
- data/docs/{Worker.md → WorkerResponse.md} +2 -2
- data/docs/WorkersApi.md +36 -32
- data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/groups_api.rb +425 -0
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
- data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/orphans_api.rb +3 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
- data/lib/pulpcore_client/api/status_api.rb +11 -17
- data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
- data/lib/pulpcore_client/api/tasks_api.rb +203 -125
- data/lib/pulpcore_client/api/uploads_api.rb +60 -66
- data/lib/pulpcore_client/api/users_api.rb +227 -0
- data/lib/pulpcore_client/api/workers_api.rb +46 -42
- data/lib/pulpcore_client/api_client.rb +2 -2
- data/lib/pulpcore_client/api_error.rb +2 -2
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/access_policy.rb +247 -0
- data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
- data/lib/pulpcore_client/models/artifact.rb +8 -111
- data/lib/pulpcore_client/models/artifact_response.rb +308 -0
- data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
- data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
- data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/group.rb +232 -0
- data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
- data/lib/pulpcore_client/models/group_response.rb +250 -0
- data/lib/pulpcore_client/models/group_user.rb +232 -0
- data/lib/pulpcore_client/models/group_user_response.rb +241 -0
- data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
- data/lib/pulpcore_client/models/inline_response200.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
- data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
- data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
- data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
- data/lib/pulpcore_client/models/patched_group.rb +223 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
- data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
- data/lib/pulpcore_client/models/permission_response.rb +235 -0
- data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
- data/lib/pulpcore_client/models/pulp_export.rb +50 -42
- data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
- data/lib/pulpcore_client/models/pulp_import.rb +17 -30
- data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
- data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
- data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
- data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
- data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
- data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
- data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
- data/lib/pulpcore_client/models/upload.rb +7 -35
- data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
- data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
- data/lib/pulpcore_client/models/upload_commit.rb +2 -21
- data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
- data/lib/pulpcore_client/models/upload_response.rb +242 -0
- data/lib/pulpcore_client/models/user_group_response.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +378 -0
- data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
- data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
- data/lib/pulpcore_client/version.rb +3 -3
- data/lib/pulpcore_client.rb +47 -17
- data/pulpcore_client.gemspec +4 -4
- data/spec/api/access_policies_api_spec.rb +91 -0
- data/spec/api/artifacts_api_spec.rb +18 -15
- data/spec/api/exporters_core_exports_api_spec.rb +10 -10
- data/spec/api/exporters_pulp_api_spec.rb +18 -18
- data/spec/api/groups_api_spec.rb +115 -0
- data/spec/api/groups_model_permissions_api_spec.rb +64 -0
- data/spec/api/groups_object_permissions_api_spec.rb +92 -0
- data/spec/api/groups_users_api_spec.rb +77 -0
- data/spec/api/importers_core_imports_api_spec.rb +10 -10
- data/spec/api/importers_pulp_api_spec.rb +18 -18
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +7 -7
- data/spec/api/status_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +8 -6
- data/spec/api/tasks_api_spec.rb +69 -42
- data/spec/api/uploads_api_spec.rb +14 -13
- data/spec/api/users_api_spec.rb +78 -0
- data/spec/api/workers_api_spec.rb +18 -16
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_policy_response_spec.rb +65 -0
- data/spec/models/access_policy_spec.rb +53 -0
- data/spec/models/artifact_response_spec.rb +95 -0
- data/spec/models/artifact_spec.rb +2 -14
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
- data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
- data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
- data/spec/models/group_response_spec.rb +53 -0
- data/spec/models/group_spec.rb +41 -0
- data/spec/models/group_user_response_spec.rb +47 -0
- data/spec/models/group_user_spec.rb +41 -0
- data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patched_access_policy_spec.rb +53 -0
- data/spec/models/patched_group_spec.rb +41 -0
- data/spec/models/patched_pulp_exporter_spec.rb +59 -0
- data/spec/models/patched_pulp_importer_spec.rb +47 -0
- data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
- data/spec/models/permission_response_spec.rb +59 -0
- data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
- data/spec/models/pulp_export_response_spec.rb +71 -0
- data/spec/models/pulp_export_spec.rb +8 -8
- data/spec/models/pulp_exporter_response_spec.rb +71 -0
- data/spec/models/pulp_exporter_spec.rb +2 -14
- data/spec/models/pulp_import_spec.rb +8 -2
- data/spec/models/pulp_importer_response_spec.rb +59 -0
- data/spec/models/pulp_importer_spec.rb +2 -14
- data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
- data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
- data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
- data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
- data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
- data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
- data/spec/models/upload_chunk_response_spec.rb +47 -0
- data/spec/models/upload_chunk_spec.rb +2 -14
- data/spec/models/upload_commit_spec.rb +2 -2
- data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
- data/spec/models/upload_response_spec.rb +59 -0
- data/spec/models/upload_spec.rb +2 -20
- data/spec/models/user_group_response_spec.rb +47 -0
- data/spec/models/user_response_spec.rb +95 -0
- data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
- data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +204 -84
- data/docs/Status.md +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f91ed9a552672861dc2a9c454bbe2fed84e6d0836c5e2400f598e661f1dc8ecb
|
4
|
+
data.tar.gz: 68edb6b044f54841cf327530a6749577c269e24e07fc0167241c3f188d2cb2be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff42389e74bb24a70dfade2758d86af52736b40409efda70683a3b67202dbb83834e948d05b9d9153fc9b5fb0d10aa0065d24d87c7ab0fc89bf24f9325762d8
|
7
|
+
data.tar.gz: 234a02d7bec199079ca38bf409d2a39a1ecc6ba935325bd25fa82552f23beab029bc57582d56576fafc3d42aa710e48905119e1584fa93a0ae54449476ec4e32
|
data/README.md
CHANGED
@@ -2,13 +2,14 @@
|
|
2
2
|
|
3
3
|
PulpcoreClient - the Ruby gem for the Pulp 3 API
|
4
4
|
|
5
|
-
|
5
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
6
6
|
|
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.6.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
12
13
|
|
13
14
|
## Installation
|
14
15
|
|
@@ -23,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
23
24
|
Then either install the gem locally:
|
24
25
|
|
25
26
|
```shell
|
26
|
-
gem install ./pulpcore_client-3.
|
27
|
+
gem install ./pulpcore_client-3.6.0.gem
|
27
28
|
```
|
28
29
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.6.0.gem` to install the development dependencies)
|
30
31
|
|
31
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
33
|
|
33
34
|
Finally add this to the Gemfile:
|
34
35
|
|
35
|
-
gem 'pulpcore_client', '~> 3.
|
36
|
+
gem 'pulpcore_client', '~> 3.6.0'
|
36
37
|
|
37
38
|
### Install from Git
|
38
39
|
|
@@ -58,29 +59,26 @@ require 'pulpcore_client'
|
|
58
59
|
|
59
60
|
# Setup authorization
|
60
61
|
PulpcoreClient.configure do |config|
|
61
|
-
# Configure HTTP basic authorization:
|
62
|
+
# Configure HTTP basic authorization: basicAuth
|
62
63
|
config.username = 'YOUR_USERNAME'
|
63
64
|
config.password = 'YOUR_PASSWORD'
|
64
65
|
end
|
65
66
|
|
66
|
-
api_instance = PulpcoreClient::
|
67
|
-
file = File.new('/path/to/file') # File | The stored file.
|
67
|
+
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
68
68
|
opts = {
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
sha384: 'sha384_example', # String | The SHA-384 checksum of the file if available.
|
75
|
-
sha512: 'sha512_example' # String | The SHA-512 checksum of the file if available.
|
69
|
+
limit: 56, # Integer | Number of results to return per page.
|
70
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
71
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
72
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
73
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
76
74
|
}
|
77
75
|
|
78
76
|
begin
|
79
|
-
#
|
80
|
-
result = api_instance.
|
77
|
+
#List access policys
|
78
|
+
result = api_instance.list(opts)
|
81
79
|
p result
|
82
80
|
rescue PulpcoreClient::ApiError => e
|
83
|
-
puts "Exception when calling
|
81
|
+
puts "Exception when calling AccessPoliciesApi->list: #{e}"
|
84
82
|
end
|
85
83
|
|
86
84
|
```
|
@@ -91,60 +89,94 @@ All URIs are relative to *http://pulp*
|
|
91
89
|
|
92
90
|
Class | Method | HTTP request | Description
|
93
91
|
------------ | ------------- | ------------- | -------------
|
92
|
+
*PulpcoreClient::AccessPoliciesApi* | [**list**](docs/AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys
|
93
|
+
*PulpcoreClient::AccessPoliciesApi* | [**partial_update**](docs/AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy
|
94
|
+
*PulpcoreClient::AccessPoliciesApi* | [**read**](docs/AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy
|
95
|
+
*PulpcoreClient::AccessPoliciesApi* | [**update**](docs/AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy
|
94
96
|
*PulpcoreClient::ArtifactsApi* | [**create**](docs/ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
|
95
97
|
*PulpcoreClient::ArtifactsApi* | [**delete**](docs/ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
|
96
98
|
*PulpcoreClient::ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
97
99
|
*PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
98
|
-
*PulpcoreClient::ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {
|
99
|
-
*PulpcoreClient::ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {
|
100
|
+
*PulpcoreClient::ExportersCoreExportsApi* | [**create**](docs/ExportersCoreExportsApi.md#create) | **POST** {core_pulp_pulp_export_href}exports/ | Create a pulp export
|
101
|
+
*PulpcoreClient::ExportersCoreExportsApi* | [**delete**](docs/ExportersCoreExportsApi.md#delete) | **DELETE** {core_pulp_pulp_export_href} | Delete a pulp export
|
100
102
|
*PulpcoreClient::ExportersCoreExportsApi* | [**list**](docs/ExportersCoreExportsApi.md#list) | **GET** {pulp_exporter_href}exports/ | List pulp exports
|
101
|
-
*PulpcoreClient::ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {
|
103
|
+
*PulpcoreClient::ExportersCoreExportsApi* | [**read**](docs/ExportersCoreExportsApi.md#read) | **GET** {core_pulp_pulp_export_href} | Inspect a pulp export
|
102
104
|
*PulpcoreClient::ExportersPulpApi* | [**create**](docs/ExportersPulpApi.md#create) | **POST** /pulp/api/v3/exporters/core/pulp/ | Create a pulp exporter
|
103
105
|
*PulpcoreClient::ExportersPulpApi* | [**delete**](docs/ExportersPulpApi.md#delete) | **DELETE** {pulp_exporter_href} | Delete a pulp exporter
|
104
106
|
*PulpcoreClient::ExportersPulpApi* | [**list**](docs/ExportersPulpApi.md#list) | **GET** /pulp/api/v3/exporters/core/pulp/ | List pulp exporters
|
105
|
-
*PulpcoreClient::ExportersPulpApi* | [**partial_update**](docs/ExportersPulpApi.md#partial_update) | **PATCH** {pulp_exporter_href} |
|
107
|
+
*PulpcoreClient::ExportersPulpApi* | [**partial_update**](docs/ExportersPulpApi.md#partial_update) | **PATCH** {pulp_exporter_href} | Update a pulp exporter
|
106
108
|
*PulpcoreClient::ExportersPulpApi* | [**read**](docs/ExportersPulpApi.md#read) | **GET** {pulp_exporter_href} | Inspect a pulp exporter
|
107
109
|
*PulpcoreClient::ExportersPulpApi* | [**update**](docs/ExportersPulpApi.md#update) | **PUT** {pulp_exporter_href} | Update a pulp exporter
|
108
|
-
*PulpcoreClient::
|
109
|
-
*PulpcoreClient::
|
110
|
+
*PulpcoreClient::GroupsApi* | [**create**](docs/GroupsApi.md#create) | **POST** /pulp/api/v3/groups/ | Create a group
|
111
|
+
*PulpcoreClient::GroupsApi* | [**delete**](docs/GroupsApi.md#delete) | **DELETE** {auth_group_href} | Delete a group
|
112
|
+
*PulpcoreClient::GroupsApi* | [**list**](docs/GroupsApi.md#list) | **GET** /pulp/api/v3/groups/ | List groups
|
113
|
+
*PulpcoreClient::GroupsApi* | [**partial_update**](docs/GroupsApi.md#partial_update) | **PATCH** {auth_group_href} | Update a group
|
114
|
+
*PulpcoreClient::GroupsApi* | [**read**](docs/GroupsApi.md#read) | **GET** {auth_group_href} | Inspect a group
|
115
|
+
*PulpcoreClient::GroupsApi* | [**update**](docs/GroupsApi.md#update) | **PUT** {auth_group_href} | Update a group
|
116
|
+
*PulpcoreClient::GroupsModelPermissionsApi* | [**create**](docs/GroupsModelPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}model_permissions/ | Create a permission
|
117
|
+
*PulpcoreClient::GroupsModelPermissionsApi* | [**list**](docs/GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
|
118
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**create**](docs/GroupsObjectPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}object_permissions/ | Create a permission
|
119
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**delete**](docs/GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_auth_groups_permission_href} | Delete a permission
|
120
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**list**](docs/GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
|
121
|
+
*PulpcoreClient::GroupsObjectPermissionsApi* | [**read**](docs/GroupsObjectPermissionsApi.md#read) | **GET** {auth_auth_groups_permission_href} | Inspect a permission
|
122
|
+
*PulpcoreClient::GroupsUsersApi* | [**create**](docs/GroupsUsersApi.md#create) | **POST** {auth_auth_groups_user_href}users/ | Create an user
|
123
|
+
*PulpcoreClient::GroupsUsersApi* | [**delete**](docs/GroupsUsersApi.md#delete) | **DELETE** {auth_auth_groups_user_href} | Delete an user
|
124
|
+
*PulpcoreClient::GroupsUsersApi* | [**list**](docs/GroupsUsersApi.md#list) | **GET** {auth_group_href}users/ | List users
|
125
|
+
*PulpcoreClient::ImportersCoreImportsApi* | [**create**](docs/ImportersCoreImportsApi.md#create) | **POST** {core_pulp_pulp_import_href}imports/ | Create a pulp import
|
126
|
+
*PulpcoreClient::ImportersCoreImportsApi* | [**delete**](docs/ImportersCoreImportsApi.md#delete) | **DELETE** {core_pulp_pulp_import_href} | Delete a pulp import
|
110
127
|
*PulpcoreClient::ImportersCoreImportsApi* | [**list**](docs/ImportersCoreImportsApi.md#list) | **GET** {pulp_importer_href}imports/ | List pulp imports
|
111
|
-
*PulpcoreClient::ImportersCoreImportsApi* | [**read**](docs/ImportersCoreImportsApi.md#read) | **GET** {
|
128
|
+
*PulpcoreClient::ImportersCoreImportsApi* | [**read**](docs/ImportersCoreImportsApi.md#read) | **GET** {core_pulp_pulp_import_href} | Inspect a pulp import
|
112
129
|
*PulpcoreClient::ImportersPulpApi* | [**create**](docs/ImportersPulpApi.md#create) | **POST** /pulp/api/v3/importers/core/pulp/ | Create a pulp importer
|
113
130
|
*PulpcoreClient::ImportersPulpApi* | [**delete**](docs/ImportersPulpApi.md#delete) | **DELETE** {pulp_importer_href} | Delete a pulp importer
|
114
131
|
*PulpcoreClient::ImportersPulpApi* | [**list**](docs/ImportersPulpApi.md#list) | **GET** /pulp/api/v3/importers/core/pulp/ | List pulp importers
|
115
|
-
*PulpcoreClient::ImportersPulpApi* | [**partial_update**](docs/ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} |
|
132
|
+
*PulpcoreClient::ImportersPulpApi* | [**partial_update**](docs/ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} | Update a pulp importer
|
116
133
|
*PulpcoreClient::ImportersPulpApi* | [**read**](docs/ImportersPulpApi.md#read) | **GET** {pulp_importer_href} | Inspect a pulp importer
|
117
134
|
*PulpcoreClient::ImportersPulpApi* | [**update**](docs/ImportersPulpApi.md#update) | **PUT** {pulp_importer_href} | Update a pulp importer
|
118
135
|
*PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
119
136
|
*PulpcoreClient::SigningServicesApi* | [**list**](docs/SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
|
120
137
|
*PulpcoreClient::SigningServicesApi* | [**read**](docs/SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
|
121
|
-
*PulpcoreClient::StatusApi* | [**
|
138
|
+
*PulpcoreClient::StatusApi* | [**read**](docs/StatusApi.md#read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
|
122
139
|
*PulpcoreClient::TaskGroupsApi* | [**list**](docs/TaskGroupsApi.md#list) | **GET** /pulp/api/v3/task-groups/ | List task groups
|
123
140
|
*PulpcoreClient::TaskGroupsApi* | [**read**](docs/TaskGroupsApi.md#read) | **GET** {task_group_href} | Inspect a task group
|
124
141
|
*PulpcoreClient::TasksApi* | [**delete**](docs/TasksApi.md#delete) | **DELETE** {task_href} | Delete a task
|
125
142
|
*PulpcoreClient::TasksApi* | [**list**](docs/TasksApi.md#list) | **GET** /pulp/api/v3/tasks/ | List tasks
|
143
|
+
*PulpcoreClient::TasksApi* | [**partial_update**](docs/TasksApi.md#partial_update) | **PATCH** {task_href} | Cancel a task
|
126
144
|
*PulpcoreClient::TasksApi* | [**read**](docs/TasksApi.md#read) | **GET** {task_href} | Inspect a task
|
127
|
-
*PulpcoreClient::TasksApi* | [**tasks_cancel**](docs/TasksApi.md#tasks_cancel) | **PATCH** {task_href} | Cancel a task
|
128
145
|
*PulpcoreClient::UploadsApi* | [**commit**](docs/UploadsApi.md#commit) | **POST** {upload_href}commit/ | Finish an Upload
|
129
146
|
*PulpcoreClient::UploadsApi* | [**create**](docs/UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload
|
130
147
|
*PulpcoreClient::UploadsApi* | [**delete**](docs/UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload
|
131
148
|
*PulpcoreClient::UploadsApi* | [**list**](docs/UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads
|
132
149
|
*PulpcoreClient::UploadsApi* | [**read**](docs/UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload
|
133
150
|
*PulpcoreClient::UploadsApi* | [**update**](docs/UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk
|
151
|
+
*PulpcoreClient::UsersApi* | [**list**](docs/UsersApi.md#list) | **GET** /pulp/api/v3/users/ | List users
|
152
|
+
*PulpcoreClient::UsersApi* | [**permissions**](docs/UsersApi.md#permissions) | **GET** {auth_user_href}permissions/ |
|
153
|
+
*PulpcoreClient::UsersApi* | [**read**](docs/UsersApi.md#read) | **GET** {auth_user_href} | Inspect an user
|
134
154
|
*PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List workers
|
135
155
|
*PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect a worker
|
136
156
|
|
137
157
|
|
138
158
|
## Documentation for Models
|
139
159
|
|
160
|
+
- [PulpcoreClient::AccessPolicy](docs/AccessPolicy.md)
|
161
|
+
- [PulpcoreClient::AccessPolicyResponse](docs/AccessPolicyResponse.md)
|
140
162
|
- [PulpcoreClient::Artifact](docs/Artifact.md)
|
163
|
+
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
141
164
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
142
|
-
- [PulpcoreClient::
|
143
|
-
- [PulpcoreClient::
|
144
|
-
- [PulpcoreClient::
|
145
|
-
- [PulpcoreClient::
|
165
|
+
- [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
166
|
+
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
167
|
+
- [PulpcoreClient::Group](docs/Group.md)
|
168
|
+
- [PulpcoreClient::GroupProgressReportResponse](docs/GroupProgressReportResponse.md)
|
169
|
+
- [PulpcoreClient::GroupResponse](docs/GroupResponse.md)
|
170
|
+
- [PulpcoreClient::GroupUser](docs/GroupUser.md)
|
171
|
+
- [PulpcoreClient::GroupUserResponse](docs/GroupUserResponse.md)
|
172
|
+
- [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
|
146
173
|
- [PulpcoreClient::InlineResponse200](docs/InlineResponse200.md)
|
147
174
|
- [PulpcoreClient::InlineResponse2001](docs/InlineResponse2001.md)
|
175
|
+
- [PulpcoreClient::InlineResponse20010](docs/InlineResponse20010.md)
|
176
|
+
- [PulpcoreClient::InlineResponse20011](docs/InlineResponse20011.md)
|
177
|
+
- [PulpcoreClient::InlineResponse20012](docs/InlineResponse20012.md)
|
178
|
+
- [PulpcoreClient::InlineResponse20013](docs/InlineResponse20013.md)
|
179
|
+
- [PulpcoreClient::InlineResponse20014](docs/InlineResponse20014.md)
|
148
180
|
- [PulpcoreClient::InlineResponse2002](docs/InlineResponse2002.md)
|
149
181
|
- [PulpcoreClient::InlineResponse2003](docs/InlineResponse2003.md)
|
150
182
|
- [PulpcoreClient::InlineResponse2004](docs/InlineResponse2004.md)
|
@@ -153,30 +185,42 @@ Class | Method | HTTP request | Description
|
|
153
185
|
- [PulpcoreClient::InlineResponse2007](docs/InlineResponse2007.md)
|
154
186
|
- [PulpcoreClient::InlineResponse2008](docs/InlineResponse2008.md)
|
155
187
|
- [PulpcoreClient::InlineResponse2009](docs/InlineResponse2009.md)
|
156
|
-
- [PulpcoreClient::
|
188
|
+
- [PulpcoreClient::PatchedAccessPolicy](docs/PatchedAccessPolicy.md)
|
189
|
+
- [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
|
190
|
+
- [PulpcoreClient::PatchedPulpExporter](docs/PatchedPulpExporter.md)
|
191
|
+
- [PulpcoreClient::PatchedPulpImporter](docs/PatchedPulpImporter.md)
|
192
|
+
- [PulpcoreClient::PatchedTaskCancel](docs/PatchedTaskCancel.md)
|
193
|
+
- [PulpcoreClient::PermissionResponse](docs/PermissionResponse.md)
|
194
|
+
- [PulpcoreClient::ProgressReportResponse](docs/ProgressReportResponse.md)
|
157
195
|
- [PulpcoreClient::PulpExport](docs/PulpExport.md)
|
196
|
+
- [PulpcoreClient::PulpExportResponse](docs/PulpExportResponse.md)
|
158
197
|
- [PulpcoreClient::PulpExporter](docs/PulpExporter.md)
|
198
|
+
- [PulpcoreClient::PulpExporterResponse](docs/PulpExporterResponse.md)
|
159
199
|
- [PulpcoreClient::PulpImport](docs/PulpImport.md)
|
160
200
|
- [PulpcoreClient::PulpImporter](docs/PulpImporter.md)
|
161
|
-
- [PulpcoreClient::
|
162
|
-
- [PulpcoreClient::
|
163
|
-
- [PulpcoreClient::
|
164
|
-
- [PulpcoreClient::
|
165
|
-
- [PulpcoreClient::
|
166
|
-
- [PulpcoreClient::
|
167
|
-
- [PulpcoreClient::
|
201
|
+
- [PulpcoreClient::PulpImporterResponse](docs/PulpImporterResponse.md)
|
202
|
+
- [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
|
203
|
+
- [PulpcoreClient::SigningServiceResponse](docs/SigningServiceResponse.md)
|
204
|
+
- [PulpcoreClient::StatusResponse](docs/StatusResponse.md)
|
205
|
+
- [PulpcoreClient::StorageResponse](docs/StorageResponse.md)
|
206
|
+
- [PulpcoreClient::TaskGroupResponse](docs/TaskGroupResponse.md)
|
207
|
+
- [PulpcoreClient::TaskResponse](docs/TaskResponse.md)
|
168
208
|
- [PulpcoreClient::Upload](docs/Upload.md)
|
169
209
|
- [PulpcoreClient::UploadChunk](docs/UploadChunk.md)
|
210
|
+
- [PulpcoreClient::UploadChunkResponse](docs/UploadChunkResponse.md)
|
170
211
|
- [PulpcoreClient::UploadCommit](docs/UploadCommit.md)
|
171
|
-
- [PulpcoreClient::
|
172
|
-
- [PulpcoreClient::
|
173
|
-
- [PulpcoreClient::
|
212
|
+
- [PulpcoreClient::UploadDetailResponse](docs/UploadDetailResponse.md)
|
213
|
+
- [PulpcoreClient::UploadResponse](docs/UploadResponse.md)
|
214
|
+
- [PulpcoreClient::UserGroupResponse](docs/UserGroupResponse.md)
|
215
|
+
- [PulpcoreClient::UserResponse](docs/UserResponse.md)
|
216
|
+
- [PulpcoreClient::VersionResponse](docs/VersionResponse.md)
|
217
|
+
- [PulpcoreClient::WorkerResponse](docs/WorkerResponse.md)
|
174
218
|
|
175
219
|
|
176
220
|
## Documentation for Authorization
|
177
221
|
|
178
222
|
|
179
|
-
###
|
223
|
+
### basicAuth
|
180
224
|
|
181
225
|
- **Type**: HTTP basic authentication
|
182
226
|
|
@@ -0,0 +1,244 @@
|
|
1
|
+
# PulpcoreClient::AccessPoliciesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](AccessPoliciesApi.md#list) | **GET** /pulp/api/v3/access_policies/ | List access policys
|
8
|
+
[**partial_update**](AccessPoliciesApi.md#partial_update) | **PATCH** {access_policy_href} | Update an access policy
|
9
|
+
[**read**](AccessPoliciesApi.md#read) | **GET** {access_policy_href} | Inspect an access policy
|
10
|
+
[**update**](AccessPoliciesApi.md#update) | **PUT** {access_policy_href} | Update an access policy
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## list
|
15
|
+
|
16
|
+
> InlineResponse200 list(opts)
|
17
|
+
|
18
|
+
List access policys
|
19
|
+
|
20
|
+
ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
21
|
+
|
22
|
+
### Example
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# load the gem
|
26
|
+
require 'pulpcore_client'
|
27
|
+
# setup authorization
|
28
|
+
PulpcoreClient.configure do |config|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
30
|
+
config.username = 'YOUR USERNAME'
|
31
|
+
config.password = 'YOUR PASSWORD'
|
32
|
+
end
|
33
|
+
|
34
|
+
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
35
|
+
opts = {
|
36
|
+
limit: 56, # Integer | Number of results to return per page.
|
37
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
38
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
39
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
40
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
41
|
+
}
|
42
|
+
|
43
|
+
begin
|
44
|
+
#List access policys
|
45
|
+
result = api_instance.list(opts)
|
46
|
+
p result
|
47
|
+
rescue PulpcoreClient::ApiError => e
|
48
|
+
puts "Exception when calling AccessPoliciesApi->list: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
58
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
59
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
60
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
61
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
[**InlineResponse200**](InlineResponse200.md)
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[basicAuth](../README.md#basicAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: Not defined
|
74
|
+
- **Accept**: application/json
|
75
|
+
|
76
|
+
|
77
|
+
## partial_update
|
78
|
+
|
79
|
+
> AccessPolicyResponse partial_update(access_policy_href, patched_access_policy)
|
80
|
+
|
81
|
+
Update an access policy
|
82
|
+
|
83
|
+
ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
84
|
+
|
85
|
+
### Example
|
86
|
+
|
87
|
+
```ruby
|
88
|
+
# load the gem
|
89
|
+
require 'pulpcore_client'
|
90
|
+
# setup authorization
|
91
|
+
PulpcoreClient.configure do |config|
|
92
|
+
# Configure HTTP basic authorization: basicAuth
|
93
|
+
config.username = 'YOUR USERNAME'
|
94
|
+
config.password = 'YOUR PASSWORD'
|
95
|
+
end
|
96
|
+
|
97
|
+
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
98
|
+
access_policy_href = 'access_policy_href_example' # String |
|
99
|
+
patched_access_policy = PulpcoreClient::PatchedAccessPolicy.new # PatchedAccessPolicy |
|
100
|
+
|
101
|
+
begin
|
102
|
+
#Update an access policy
|
103
|
+
result = api_instance.partial_update(access_policy_href, patched_access_policy)
|
104
|
+
p result
|
105
|
+
rescue PulpcoreClient::ApiError => e
|
106
|
+
puts "Exception when calling AccessPoliciesApi->partial_update: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
### Parameters
|
111
|
+
|
112
|
+
|
113
|
+
Name | Type | Description | Notes
|
114
|
+
------------- | ------------- | ------------- | -------------
|
115
|
+
**access_policy_href** | **String**| |
|
116
|
+
**patched_access_policy** | [**PatchedAccessPolicy**](PatchedAccessPolicy.md)| |
|
117
|
+
|
118
|
+
### Return type
|
119
|
+
|
120
|
+
[**AccessPolicyResponse**](AccessPolicyResponse.md)
|
121
|
+
|
122
|
+
### Authorization
|
123
|
+
|
124
|
+
[basicAuth](../README.md#basicAuth)
|
125
|
+
|
126
|
+
### HTTP request headers
|
127
|
+
|
128
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
129
|
+
- **Accept**: application/json
|
130
|
+
|
131
|
+
|
132
|
+
## read
|
133
|
+
|
134
|
+
> AccessPolicyResponse read(access_policy_href, opts)
|
135
|
+
|
136
|
+
Inspect an access policy
|
137
|
+
|
138
|
+
ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
139
|
+
|
140
|
+
### Example
|
141
|
+
|
142
|
+
```ruby
|
143
|
+
# load the gem
|
144
|
+
require 'pulpcore_client'
|
145
|
+
# setup authorization
|
146
|
+
PulpcoreClient.configure do |config|
|
147
|
+
# Configure HTTP basic authorization: basicAuth
|
148
|
+
config.username = 'YOUR USERNAME'
|
149
|
+
config.password = 'YOUR PASSWORD'
|
150
|
+
end
|
151
|
+
|
152
|
+
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
153
|
+
access_policy_href = 'access_policy_href_example' # String |
|
154
|
+
opts = {
|
155
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
157
|
+
}
|
158
|
+
|
159
|
+
begin
|
160
|
+
#Inspect an access policy
|
161
|
+
result = api_instance.read(access_policy_href, opts)
|
162
|
+
p result
|
163
|
+
rescue PulpcoreClient::ApiError => e
|
164
|
+
puts "Exception when calling AccessPoliciesApi->read: #{e}"
|
165
|
+
end
|
166
|
+
```
|
167
|
+
|
168
|
+
### Parameters
|
169
|
+
|
170
|
+
|
171
|
+
Name | Type | Description | Notes
|
172
|
+
------------- | ------------- | ------------- | -------------
|
173
|
+
**access_policy_href** | **String**| |
|
174
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
175
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
176
|
+
|
177
|
+
### Return type
|
178
|
+
|
179
|
+
[**AccessPolicyResponse**](AccessPolicyResponse.md)
|
180
|
+
|
181
|
+
### Authorization
|
182
|
+
|
183
|
+
[basicAuth](../README.md#basicAuth)
|
184
|
+
|
185
|
+
### HTTP request headers
|
186
|
+
|
187
|
+
- **Content-Type**: Not defined
|
188
|
+
- **Accept**: application/json
|
189
|
+
|
190
|
+
|
191
|
+
## update
|
192
|
+
|
193
|
+
> AccessPolicyResponse update(access_policy_href, access_policy)
|
194
|
+
|
195
|
+
Update an access policy
|
196
|
+
|
197
|
+
ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
198
|
+
|
199
|
+
### Example
|
200
|
+
|
201
|
+
```ruby
|
202
|
+
# load the gem
|
203
|
+
require 'pulpcore_client'
|
204
|
+
# setup authorization
|
205
|
+
PulpcoreClient.configure do |config|
|
206
|
+
# Configure HTTP basic authorization: basicAuth
|
207
|
+
config.username = 'YOUR USERNAME'
|
208
|
+
config.password = 'YOUR PASSWORD'
|
209
|
+
end
|
210
|
+
|
211
|
+
api_instance = PulpcoreClient::AccessPoliciesApi.new
|
212
|
+
access_policy_href = 'access_policy_href_example' # String |
|
213
|
+
access_policy = PulpcoreClient::AccessPolicy.new # AccessPolicy |
|
214
|
+
|
215
|
+
begin
|
216
|
+
#Update an access policy
|
217
|
+
result = api_instance.update(access_policy_href, access_policy)
|
218
|
+
p result
|
219
|
+
rescue PulpcoreClient::ApiError => e
|
220
|
+
puts "Exception when calling AccessPoliciesApi->update: #{e}"
|
221
|
+
end
|
222
|
+
```
|
223
|
+
|
224
|
+
### Parameters
|
225
|
+
|
226
|
+
|
227
|
+
Name | Type | Description | Notes
|
228
|
+
------------- | ------------- | ------------- | -------------
|
229
|
+
**access_policy_href** | **String**| |
|
230
|
+
**access_policy** | [**AccessPolicy**](AccessPolicy.md)| |
|
231
|
+
|
232
|
+
### Return type
|
233
|
+
|
234
|
+
[**AccessPolicyResponse**](AccessPolicyResponse.md)
|
235
|
+
|
236
|
+
### Authorization
|
237
|
+
|
238
|
+
[basicAuth](../README.md#basicAuth)
|
239
|
+
|
240
|
+
### HTTP request headers
|
241
|
+
|
242
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
243
|
+
- **Accept**: application/json
|
244
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::AccessPolicy
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. |
|
8
|
+
**statements** | **Array<Object>** | List of policy statements defining the policy. |
|
9
|
+
**viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::AccessPolicy.new(permissions_assignment: null,
|
17
|
+
statements: null,
|
18
|
+
viewset_name: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpcoreClient::AccessPolicyResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. |
|
10
|
+
**statements** | **Array<Object>** | List of policy statements defining the policy. |
|
11
|
+
**viewset_name** | **String** | The name of ViewSet this AccessPolicy authorizes. |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpcoreClient'
|
17
|
+
|
18
|
+
instance = PulpcoreClient::AccessPolicyResponse.new(pulp_href: null,
|
19
|
+
pulp_created: null,
|
20
|
+
permissions_assignment: null,
|
21
|
+
statements: null,
|
22
|
+
viewset_name: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/Artifact.md
CHANGED
@@ -4,9 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**file** | **String** | The stored file. | [optional] [readonly]
|
7
|
+
**file** | **File** | The stored file. |
|
10
8
|
**size** | **Integer** | The size of the file in bytes. | [optional]
|
11
9
|
**md5** | **String** | The MD5 checksum of the file if available. | [optional]
|
12
10
|
**sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
|
@@ -20,9 +18,7 @@ Name | Type | Description | Notes
|
|
20
18
|
```ruby
|
21
19
|
require 'PulpcoreClient'
|
22
20
|
|
23
|
-
instance = PulpcoreClient::Artifact.new(
|
24
|
-
pulp_created: null,
|
25
|
-
file: null,
|
21
|
+
instance = PulpcoreClient::Artifact.new(file: null,
|
26
22
|
size: null,
|
27
23
|
md5: null,
|
28
24
|
sha1: null,
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# PulpcoreClient::ArtifactResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**file** | **String** | The stored file. |
|
10
|
+
**size** | **Integer** | The size of the file in bytes. | [optional]
|
11
|
+
**md5** | **String** | The MD5 checksum of the file if available. | [optional]
|
12
|
+
**sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
|
13
|
+
**sha224** | **String** | The SHA-224 checksum of the file if available. | [optional]
|
14
|
+
**sha256** | **String** | The SHA-256 checksum of the file if available. | [optional]
|
15
|
+
**sha384** | **String** | The SHA-384 checksum of the file if available. | [optional]
|
16
|
+
**sha512** | **String** | The SHA-512 checksum of the file if available. | [optional]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'PulpcoreClient'
|
22
|
+
|
23
|
+
instance = PulpcoreClient::ArtifactResponse.new(pulp_href: null,
|
24
|
+
pulp_created: null,
|
25
|
+
file: null,
|
26
|
+
size: null,
|
27
|
+
md5: null,
|
28
|
+
sha1: null,
|
29
|
+
sha224: null,
|
30
|
+
sha256: null,
|
31
|
+
sha384: null,
|
32
|
+
sha512: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|