pulpcore_client 3.28.30 → 3.28.32
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 +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/ArtifactsApi.md
CHANGED
|
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
7
|
+
[**create**](ArtifactsApi.md#create) | **POST** /pulp/api/v3/artifacts/ | Create an artifact
|
|
8
|
+
[**delete**](ArtifactsApi.md#delete) | **DELETE** {artifact_href} | Delete an artifact
|
|
9
|
+
[**list**](ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
|
|
10
|
+
[**read**](ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## create
|
|
15
15
|
|
|
16
|
-
> ArtifactResponse
|
|
16
|
+
> ArtifactResponse create(file, opts)
|
|
17
17
|
|
|
18
18
|
Create an artifact
|
|
19
19
|
|
|
@@ -45,10 +45,10 @@ opts = {
|
|
|
45
45
|
|
|
46
46
|
begin
|
|
47
47
|
#Create an artifact
|
|
48
|
-
result = api_instance.
|
|
48
|
+
result = api_instance.create(file, opts)
|
|
49
49
|
p result
|
|
50
50
|
rescue PulpcoreClient::ApiError => e
|
|
51
|
-
puts "Exception when calling ArtifactsApi->
|
|
51
|
+
puts "Exception when calling ArtifactsApi->create: #{e}"
|
|
52
52
|
end
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -80,9 +80,9 @@ Name | Type | Description | Notes
|
|
|
80
80
|
- **Accept**: application/json
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
##
|
|
83
|
+
## delete
|
|
84
84
|
|
|
85
|
-
>
|
|
85
|
+
> delete(artifact_href)
|
|
86
86
|
|
|
87
87
|
Delete an artifact
|
|
88
88
|
|
|
@@ -105,9 +105,9 @@ artifact_href = 'artifact_href_example' # String |
|
|
|
105
105
|
|
|
106
106
|
begin
|
|
107
107
|
#Delete an artifact
|
|
108
|
-
api_instance.
|
|
108
|
+
api_instance.delete(artifact_href)
|
|
109
109
|
rescue PulpcoreClient::ApiError => e
|
|
110
|
-
puts "Exception when calling ArtifactsApi->
|
|
110
|
+
puts "Exception when calling ArtifactsApi->delete: #{e}"
|
|
111
111
|
end
|
|
112
112
|
```
|
|
113
113
|
|
|
@@ -132,9 +132,9 @@ nil (empty response body)
|
|
|
132
132
|
- **Accept**: Not defined
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
##
|
|
135
|
+
## list
|
|
136
136
|
|
|
137
|
-
> PaginatedArtifactResponseList
|
|
137
|
+
> PaginatedArtifactResponseList list(opts)
|
|
138
138
|
|
|
139
139
|
List artifacts
|
|
140
140
|
|
|
@@ -172,10 +172,10 @@ opts = {
|
|
|
172
172
|
|
|
173
173
|
begin
|
|
174
174
|
#List artifacts
|
|
175
|
-
result = api_instance.
|
|
175
|
+
result = api_instance.list(opts)
|
|
176
176
|
p result
|
|
177
177
|
rescue PulpcoreClient::ApiError => e
|
|
178
|
-
puts "Exception when calling ArtifactsApi->
|
|
178
|
+
puts "Exception when calling ArtifactsApi->list: #{e}"
|
|
179
179
|
end
|
|
180
180
|
```
|
|
181
181
|
|
|
@@ -213,9 +213,9 @@ Name | Type | Description | Notes
|
|
|
213
213
|
- **Accept**: application/json
|
|
214
214
|
|
|
215
215
|
|
|
216
|
-
##
|
|
216
|
+
## read
|
|
217
217
|
|
|
218
|
-
> ArtifactResponse
|
|
218
|
+
> ArtifactResponse read(artifact_href, opts)
|
|
219
219
|
|
|
220
220
|
Inspect an artifact
|
|
221
221
|
|
|
@@ -242,10 +242,10 @@ opts = {
|
|
|
242
242
|
|
|
243
243
|
begin
|
|
244
244
|
#Inspect an artifact
|
|
245
|
-
result = api_instance.
|
|
245
|
+
result = api_instance.read(artifact_href, opts)
|
|
246
246
|
p result
|
|
247
247
|
rescue PulpcoreClient::ApiError => e
|
|
248
|
-
puts "Exception when calling ArtifactsApi->
|
|
248
|
+
puts "Exception when calling ArtifactsApi->read: #{e}"
|
|
249
249
|
end
|
|
250
250
|
```
|
|
251
251
|
|
data/docs/ContentApi.md
CHANGED
|
@@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**list**](ContentApi.md#list) | **GET** /pulp/api/v3/content/ | List content
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## list
|
|
12
12
|
|
|
13
|
-
> PaginatedMultipleArtifactContentResponseList
|
|
13
|
+
> PaginatedMultipleArtifactContentResponseList list(opts)
|
|
14
14
|
|
|
15
15
|
List content
|
|
16
16
|
|
|
@@ -45,10 +45,10 @@ opts = {
|
|
|
45
45
|
|
|
46
46
|
begin
|
|
47
47
|
#List content
|
|
48
|
-
result = api_instance.
|
|
48
|
+
result = api_instance.list(opts)
|
|
49
49
|
p result
|
|
50
50
|
rescue PulpcoreClient::ApiError => e
|
|
51
|
-
puts "Exception when calling ContentApi->
|
|
51
|
+
puts "Exception when calling ContentApi->list: #{e}"
|
|
52
52
|
end
|
|
53
53
|
```
|
|
54
54
|
|
data/docs/ContentguardsApi.md
CHANGED
|
@@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
7
|
+
[**list**](ContentguardsApi.md#list) | **GET** /pulp/api/v3/contentguards/ | List content guards
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## list
|
|
12
12
|
|
|
13
|
-
> PaginatedContentGuardResponseList
|
|
13
|
+
> PaginatedContentGuardResponseList list(opts)
|
|
14
14
|
|
|
15
15
|
List content guards
|
|
16
16
|
|
|
@@ -47,10 +47,10 @@ opts = {
|
|
|
47
47
|
|
|
48
48
|
begin
|
|
49
49
|
#List content guards
|
|
50
|
-
result = api_instance.
|
|
50
|
+
result = api_instance.list(opts)
|
|
51
51
|
p result
|
|
52
52
|
rescue PulpcoreClient::ApiError => e
|
|
53
|
-
puts "Exception when calling ContentguardsApi->
|
|
53
|
+
puts "Exception when calling ContentguardsApi->list: #{e}"
|
|
54
54
|
end
|
|
55
55
|
```
|
|
56
56
|
|
|
@@ -4,22 +4,22 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
12
|
-
[**
|
|
13
|
-
[**
|
|
14
|
-
[**
|
|
15
|
-
[**
|
|
16
|
-
[**
|
|
7
|
+
[**add_role**](ContentguardsContentRedirectApi.md#add_role) | **POST** {content_redirect_content_guard_href}add_role/ |
|
|
8
|
+
[**create**](ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/core/content_redirect/ | Create a content redirect content guard
|
|
9
|
+
[**delete**](ContentguardsContentRedirectApi.md#delete) | **DELETE** {content_redirect_content_guard_href} | Delete a content redirect content guard
|
|
10
|
+
[**list**](ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/core/content_redirect/ | List content redirect content guards
|
|
11
|
+
[**list_roles**](ContentguardsContentRedirectApi.md#list_roles) | **GET** {content_redirect_content_guard_href}list_roles/ |
|
|
12
|
+
[**my_permissions**](ContentguardsContentRedirectApi.md#my_permissions) | **GET** {content_redirect_content_guard_href}my_permissions/ |
|
|
13
|
+
[**partial_update**](ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {content_redirect_content_guard_href} | Update a content redirect content guard
|
|
14
|
+
[**read**](ContentguardsContentRedirectApi.md#read) | **GET** {content_redirect_content_guard_href} | Inspect a content redirect content guard
|
|
15
|
+
[**remove_role**](ContentguardsContentRedirectApi.md#remove_role) | **POST** {content_redirect_content_guard_href}remove_role/ |
|
|
16
|
+
[**update**](ContentguardsContentRedirectApi.md#update) | **PUT** {content_redirect_content_guard_href} | Update a content redirect content guard
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## add_role
|
|
21
21
|
|
|
22
|
-
> NestedRoleResponse
|
|
22
|
+
> NestedRoleResponse add_role(content_redirect_content_guard_href, nested_role)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -42,10 +42,10 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
|
42
42
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
43
43
|
|
|
44
44
|
begin
|
|
45
|
-
result = api_instance.
|
|
45
|
+
result = api_instance.add_role(content_redirect_content_guard_href, nested_role)
|
|
46
46
|
p result
|
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
|
48
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
48
|
+
puts "Exception when calling ContentguardsContentRedirectApi->add_role: #{e}"
|
|
49
49
|
end
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -71,9 +71,9 @@ Name | Type | Description | Notes
|
|
|
71
71
|
- **Accept**: application/json
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
##
|
|
74
|
+
## create
|
|
75
75
|
|
|
76
|
-
> ContentRedirectContentGuardResponse
|
|
76
|
+
> ContentRedirectContentGuardResponse create(content_redirect_content_guard)
|
|
77
77
|
|
|
78
78
|
Create a content redirect content guard
|
|
79
79
|
|
|
@@ -96,10 +96,10 @@ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new
|
|
|
96
96
|
|
|
97
97
|
begin
|
|
98
98
|
#Create a content redirect content guard
|
|
99
|
-
result = api_instance.
|
|
99
|
+
result = api_instance.create(content_redirect_content_guard)
|
|
100
100
|
p result
|
|
101
101
|
rescue PulpcoreClient::ApiError => e
|
|
102
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
102
|
+
puts "Exception when calling ContentguardsContentRedirectApi->create: #{e}"
|
|
103
103
|
end
|
|
104
104
|
```
|
|
105
105
|
|
|
@@ -124,9 +124,9 @@ Name | Type | Description | Notes
|
|
|
124
124
|
- **Accept**: application/json
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
##
|
|
127
|
+
## delete
|
|
128
128
|
|
|
129
|
-
>
|
|
129
|
+
> delete(content_redirect_content_guard_href)
|
|
130
130
|
|
|
131
131
|
Delete a content redirect content guard
|
|
132
132
|
|
|
@@ -149,9 +149,9 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
|
149
149
|
|
|
150
150
|
begin
|
|
151
151
|
#Delete a content redirect content guard
|
|
152
|
-
api_instance.
|
|
152
|
+
api_instance.delete(content_redirect_content_guard_href)
|
|
153
153
|
rescue PulpcoreClient::ApiError => e
|
|
154
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
154
|
+
puts "Exception when calling ContentguardsContentRedirectApi->delete: #{e}"
|
|
155
155
|
end
|
|
156
156
|
```
|
|
157
157
|
|
|
@@ -176,9 +176,9 @@ nil (empty response body)
|
|
|
176
176
|
- **Accept**: Not defined
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
##
|
|
179
|
+
## list
|
|
180
180
|
|
|
181
|
-
> PaginatedContentRedirectContentGuardResponseList
|
|
181
|
+
> PaginatedContentRedirectContentGuardResponseList list(opts)
|
|
182
182
|
|
|
183
183
|
List content redirect content guards
|
|
184
184
|
|
|
@@ -214,10 +214,10 @@ opts = {
|
|
|
214
214
|
|
|
215
215
|
begin
|
|
216
216
|
#List content redirect content guards
|
|
217
|
-
result = api_instance.
|
|
217
|
+
result = api_instance.list(opts)
|
|
218
218
|
p result
|
|
219
219
|
rescue PulpcoreClient::ApiError => e
|
|
220
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
220
|
+
puts "Exception when calling ContentguardsContentRedirectApi->list: #{e}"
|
|
221
221
|
end
|
|
222
222
|
```
|
|
223
223
|
|
|
@@ -253,9 +253,9 @@ Name | Type | Description | Notes
|
|
|
253
253
|
- **Accept**: application/json
|
|
254
254
|
|
|
255
255
|
|
|
256
|
-
##
|
|
256
|
+
## list_roles
|
|
257
257
|
|
|
258
|
-
> ObjectRolesResponse
|
|
258
|
+
> ObjectRolesResponse list_roles(content_redirect_content_guard_href, opts)
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
|
|
@@ -281,10 +281,10 @@ opts = {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
begin
|
|
284
|
-
result = api_instance.
|
|
284
|
+
result = api_instance.list_roles(content_redirect_content_guard_href, opts)
|
|
285
285
|
p result
|
|
286
286
|
rescue PulpcoreClient::ApiError => e
|
|
287
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
287
|
+
puts "Exception when calling ContentguardsContentRedirectApi->list_roles: #{e}"
|
|
288
288
|
end
|
|
289
289
|
```
|
|
290
290
|
|
|
@@ -311,9 +311,9 @@ Name | Type | Description | Notes
|
|
|
311
311
|
- **Accept**: application/json
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
##
|
|
314
|
+
## my_permissions
|
|
315
315
|
|
|
316
|
-
> MyPermissionsResponse
|
|
316
|
+
> MyPermissionsResponse my_permissions(content_redirect_content_guard_href, opts)
|
|
317
317
|
|
|
318
318
|
|
|
319
319
|
|
|
@@ -339,10 +339,10 @@ opts = {
|
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
begin
|
|
342
|
-
result = api_instance.
|
|
342
|
+
result = api_instance.my_permissions(content_redirect_content_guard_href, opts)
|
|
343
343
|
p result
|
|
344
344
|
rescue PulpcoreClient::ApiError => e
|
|
345
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
345
|
+
puts "Exception when calling ContentguardsContentRedirectApi->my_permissions: #{e}"
|
|
346
346
|
end
|
|
347
347
|
```
|
|
348
348
|
|
|
@@ -369,9 +369,9 @@ Name | Type | Description | Notes
|
|
|
369
369
|
- **Accept**: application/json
|
|
370
370
|
|
|
371
371
|
|
|
372
|
-
##
|
|
372
|
+
## partial_update
|
|
373
373
|
|
|
374
|
-
> ContentRedirectContentGuardResponse
|
|
374
|
+
> ContentRedirectContentGuardResponse partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
|
|
375
375
|
|
|
376
376
|
Update a content redirect content guard
|
|
377
377
|
|
|
@@ -395,10 +395,10 @@ patched_content_redirect_content_guard = PulpcoreClient::PatchedContentRedirectC
|
|
|
395
395
|
|
|
396
396
|
begin
|
|
397
397
|
#Update a content redirect content guard
|
|
398
|
-
result = api_instance.
|
|
398
|
+
result = api_instance.partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
|
|
399
399
|
p result
|
|
400
400
|
rescue PulpcoreClient::ApiError => e
|
|
401
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
401
|
+
puts "Exception when calling ContentguardsContentRedirectApi->partial_update: #{e}"
|
|
402
402
|
end
|
|
403
403
|
```
|
|
404
404
|
|
|
@@ -424,9 +424,9 @@ Name | Type | Description | Notes
|
|
|
424
424
|
- **Accept**: application/json
|
|
425
425
|
|
|
426
426
|
|
|
427
|
-
##
|
|
427
|
+
## read
|
|
428
428
|
|
|
429
|
-
> ContentRedirectContentGuardResponse
|
|
429
|
+
> ContentRedirectContentGuardResponse read(content_redirect_content_guard_href, opts)
|
|
430
430
|
|
|
431
431
|
Inspect a content redirect content guard
|
|
432
432
|
|
|
@@ -453,10 +453,10 @@ opts = {
|
|
|
453
453
|
|
|
454
454
|
begin
|
|
455
455
|
#Inspect a content redirect content guard
|
|
456
|
-
result = api_instance.
|
|
456
|
+
result = api_instance.read(content_redirect_content_guard_href, opts)
|
|
457
457
|
p result
|
|
458
458
|
rescue PulpcoreClient::ApiError => e
|
|
459
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
459
|
+
puts "Exception when calling ContentguardsContentRedirectApi->read: #{e}"
|
|
460
460
|
end
|
|
461
461
|
```
|
|
462
462
|
|
|
@@ -483,9 +483,9 @@ Name | Type | Description | Notes
|
|
|
483
483
|
- **Accept**: application/json
|
|
484
484
|
|
|
485
485
|
|
|
486
|
-
##
|
|
486
|
+
## remove_role
|
|
487
487
|
|
|
488
|
-
> NestedRoleResponse
|
|
488
|
+
> NestedRoleResponse remove_role(content_redirect_content_guard_href, nested_role)
|
|
489
489
|
|
|
490
490
|
|
|
491
491
|
|
|
@@ -508,10 +508,10 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
|
508
508
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
509
509
|
|
|
510
510
|
begin
|
|
511
|
-
result = api_instance.
|
|
511
|
+
result = api_instance.remove_role(content_redirect_content_guard_href, nested_role)
|
|
512
512
|
p result
|
|
513
513
|
rescue PulpcoreClient::ApiError => e
|
|
514
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
514
|
+
puts "Exception when calling ContentguardsContentRedirectApi->remove_role: #{e}"
|
|
515
515
|
end
|
|
516
516
|
```
|
|
517
517
|
|
|
@@ -537,9 +537,9 @@ Name | Type | Description | Notes
|
|
|
537
537
|
- **Accept**: application/json
|
|
538
538
|
|
|
539
539
|
|
|
540
|
-
##
|
|
540
|
+
## update
|
|
541
541
|
|
|
542
|
-
> ContentRedirectContentGuardResponse
|
|
542
|
+
> ContentRedirectContentGuardResponse update(content_redirect_content_guard_href, content_redirect_content_guard)
|
|
543
543
|
|
|
544
544
|
Update a content redirect content guard
|
|
545
545
|
|
|
@@ -563,10 +563,10 @@ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new
|
|
|
563
563
|
|
|
564
564
|
begin
|
|
565
565
|
#Update a content redirect content guard
|
|
566
|
-
result = api_instance.
|
|
566
|
+
result = api_instance.update(content_redirect_content_guard_href, content_redirect_content_guard)
|
|
567
567
|
p result
|
|
568
568
|
rescue PulpcoreClient::ApiError => e
|
|
569
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
|
569
|
+
puts "Exception when calling ContentguardsContentRedirectApi->update: #{e}"
|
|
570
570
|
end
|
|
571
571
|
```
|
|
572
572
|
|