pulpcore_client 3.21.32 → 3.21.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +139 -141
- data/docs/AccessPoliciesApi.md +25 -25
- 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/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/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/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/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/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/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/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
- metadata +125 -133
- 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
|
|
@@ -170,10 +170,10 @@ opts = {
|
|
170
170
|
|
171
171
|
begin
|
172
172
|
#List artifacts
|
173
|
-
result = api_instance.
|
173
|
+
result = api_instance.list(opts)
|
174
174
|
p result
|
175
175
|
rescue PulpcoreClient::ApiError => e
|
176
|
-
puts "Exception when calling ArtifactsApi->
|
176
|
+
puts "Exception when calling ArtifactsApi->list: #{e}"
|
177
177
|
end
|
178
178
|
```
|
179
179
|
|
@@ -209,9 +209,9 @@ Name | Type | Description | Notes
|
|
209
209
|
- **Accept**: application/json
|
210
210
|
|
211
211
|
|
212
|
-
##
|
212
|
+
## read
|
213
213
|
|
214
|
-
> ArtifactResponse
|
214
|
+
> ArtifactResponse read(artifact_href, opts)
|
215
215
|
|
216
216
|
Inspect an artifact
|
217
217
|
|
@@ -238,10 +238,10 @@ opts = {
|
|
238
238
|
|
239
239
|
begin
|
240
240
|
#Inspect an artifact
|
241
|
-
result = api_instance.
|
241
|
+
result = api_instance.read(artifact_href, opts)
|
242
242
|
p result
|
243
243
|
rescue PulpcoreClient::ApiError => e
|
244
|
-
puts "Exception when calling ArtifactsApi->
|
244
|
+
puts "Exception when calling ArtifactsApi->read: #{e}"
|
245
245
|
end
|
246
246
|
```
|
247
247
|
|
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
|
|
@@ -42,10 +42,10 @@ opts = {
|
|
42
42
|
|
43
43
|
begin
|
44
44
|
#List content
|
45
|
-
result = api_instance.
|
45
|
+
result = api_instance.list(opts)
|
46
46
|
p result
|
47
47
|
rescue PulpcoreClient::ApiError => e
|
48
|
-
puts "Exception when calling ContentApi->
|
48
|
+
puts "Exception when calling ContentApi->list: #{e}"
|
49
49
|
end
|
50
50
|
```
|
51
51
|
|
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
|
|
@@ -44,10 +44,10 @@ opts = {
|
|
44
44
|
|
45
45
|
begin
|
46
46
|
#List content guards
|
47
|
-
result = api_instance.
|
47
|
+
result = api_instance.list(opts)
|
48
48
|
p result
|
49
49
|
rescue PulpcoreClient::ApiError => e
|
50
|
-
puts "Exception when calling ContentguardsApi->
|
50
|
+
puts "Exception when calling ContentguardsApi->list: #{e}"
|
51
51
|
end
|
52
52
|
```
|
53
53
|
|
@@ -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
|
|
@@ -212,10 +212,10 @@ opts = {
|
|
212
212
|
|
213
213
|
begin
|
214
214
|
#List content redirect content guards
|
215
|
-
result = api_instance.
|
215
|
+
result = api_instance.list(opts)
|
216
216
|
p result
|
217
217
|
rescue PulpcoreClient::ApiError => e
|
218
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
218
|
+
puts "Exception when calling ContentguardsContentRedirectApi->list: #{e}"
|
219
219
|
end
|
220
220
|
```
|
221
221
|
|
@@ -249,9 +249,9 @@ Name | Type | Description | Notes
|
|
249
249
|
- **Accept**: application/json
|
250
250
|
|
251
251
|
|
252
|
-
##
|
252
|
+
## list_roles
|
253
253
|
|
254
|
-
> ObjectRolesResponse
|
254
|
+
> ObjectRolesResponse list_roles(content_redirect_content_guard_href, opts)
|
255
255
|
|
256
256
|
|
257
257
|
|
@@ -277,10 +277,10 @@ opts = {
|
|
277
277
|
}
|
278
278
|
|
279
279
|
begin
|
280
|
-
result = api_instance.
|
280
|
+
result = api_instance.list_roles(content_redirect_content_guard_href, opts)
|
281
281
|
p result
|
282
282
|
rescue PulpcoreClient::ApiError => e
|
283
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
283
|
+
puts "Exception when calling ContentguardsContentRedirectApi->list_roles: #{e}"
|
284
284
|
end
|
285
285
|
```
|
286
286
|
|
@@ -307,9 +307,9 @@ Name | Type | Description | Notes
|
|
307
307
|
- **Accept**: application/json
|
308
308
|
|
309
309
|
|
310
|
-
##
|
310
|
+
## my_permissions
|
311
311
|
|
312
|
-
> MyPermissionsResponse
|
312
|
+
> MyPermissionsResponse my_permissions(content_redirect_content_guard_href, opts)
|
313
313
|
|
314
314
|
|
315
315
|
|
@@ -335,10 +335,10 @@ opts = {
|
|
335
335
|
}
|
336
336
|
|
337
337
|
begin
|
338
|
-
result = api_instance.
|
338
|
+
result = api_instance.my_permissions(content_redirect_content_guard_href, opts)
|
339
339
|
p result
|
340
340
|
rescue PulpcoreClient::ApiError => e
|
341
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
341
|
+
puts "Exception when calling ContentguardsContentRedirectApi->my_permissions: #{e}"
|
342
342
|
end
|
343
343
|
```
|
344
344
|
|
@@ -365,9 +365,9 @@ Name | Type | Description | Notes
|
|
365
365
|
- **Accept**: application/json
|
366
366
|
|
367
367
|
|
368
|
-
##
|
368
|
+
## partial_update
|
369
369
|
|
370
|
-
> ContentRedirectContentGuardResponse
|
370
|
+
> ContentRedirectContentGuardResponse partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
|
371
371
|
|
372
372
|
Update a content redirect content guard
|
373
373
|
|
@@ -391,10 +391,10 @@ patched_content_redirect_content_guard = PulpcoreClient::PatchedContentRedirectC
|
|
391
391
|
|
392
392
|
begin
|
393
393
|
#Update a content redirect content guard
|
394
|
-
result = api_instance.
|
394
|
+
result = api_instance.partial_update(content_redirect_content_guard_href, patched_content_redirect_content_guard)
|
395
395
|
p result
|
396
396
|
rescue PulpcoreClient::ApiError => e
|
397
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
397
|
+
puts "Exception when calling ContentguardsContentRedirectApi->partial_update: #{e}"
|
398
398
|
end
|
399
399
|
```
|
400
400
|
|
@@ -420,9 +420,9 @@ Name | Type | Description | Notes
|
|
420
420
|
- **Accept**: application/json
|
421
421
|
|
422
422
|
|
423
|
-
##
|
423
|
+
## read
|
424
424
|
|
425
|
-
> ContentRedirectContentGuardResponse
|
425
|
+
> ContentRedirectContentGuardResponse read(content_redirect_content_guard_href, opts)
|
426
426
|
|
427
427
|
Inspect a content redirect content guard
|
428
428
|
|
@@ -449,10 +449,10 @@ opts = {
|
|
449
449
|
|
450
450
|
begin
|
451
451
|
#Inspect a content redirect content guard
|
452
|
-
result = api_instance.
|
452
|
+
result = api_instance.read(content_redirect_content_guard_href, opts)
|
453
453
|
p result
|
454
454
|
rescue PulpcoreClient::ApiError => e
|
455
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
455
|
+
puts "Exception when calling ContentguardsContentRedirectApi->read: #{e}"
|
456
456
|
end
|
457
457
|
```
|
458
458
|
|
@@ -479,9 +479,9 @@ Name | Type | Description | Notes
|
|
479
479
|
- **Accept**: application/json
|
480
480
|
|
481
481
|
|
482
|
-
##
|
482
|
+
## remove_role
|
483
483
|
|
484
|
-
> NestedRoleResponse
|
484
|
+
> NestedRoleResponse remove_role(content_redirect_content_guard_href, nested_role)
|
485
485
|
|
486
486
|
|
487
487
|
|
@@ -504,10 +504,10 @@ content_redirect_content_guard_href = 'content_redirect_content_guard_href_examp
|
|
504
504
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
505
505
|
|
506
506
|
begin
|
507
|
-
result = api_instance.
|
507
|
+
result = api_instance.remove_role(content_redirect_content_guard_href, nested_role)
|
508
508
|
p result
|
509
509
|
rescue PulpcoreClient::ApiError => e
|
510
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
510
|
+
puts "Exception when calling ContentguardsContentRedirectApi->remove_role: #{e}"
|
511
511
|
end
|
512
512
|
```
|
513
513
|
|
@@ -533,9 +533,9 @@ Name | Type | Description | Notes
|
|
533
533
|
- **Accept**: application/json
|
534
534
|
|
535
535
|
|
536
|
-
##
|
536
|
+
## update
|
537
537
|
|
538
|
-
> ContentRedirectContentGuardResponse
|
538
|
+
> ContentRedirectContentGuardResponse update(content_redirect_content_guard_href, content_redirect_content_guard)
|
539
539
|
|
540
540
|
Update a content redirect content guard
|
541
541
|
|
@@ -559,10 +559,10 @@ content_redirect_content_guard = PulpcoreClient::ContentRedirectContentGuard.new
|
|
559
559
|
|
560
560
|
begin
|
561
561
|
#Update a content redirect content guard
|
562
|
-
result = api_instance.
|
562
|
+
result = api_instance.update(content_redirect_content_guard_href, content_redirect_content_guard)
|
563
563
|
p result
|
564
564
|
rescue PulpcoreClient::ApiError => e
|
565
|
-
puts "Exception when calling ContentguardsContentRedirectApi->
|
565
|
+
puts "Exception when calling ContentguardsContentRedirectApi->update: #{e}"
|
566
566
|
end
|
567
567
|
```
|
568
568
|
|