pulp_rpm_client 3.18.0.dev1651381596 → 3.18.0.dev1651552515
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +36 -8
- data/docs/AcsRpmApi.md +228 -0
- data/docs/DistributionsRpmApi.md +228 -0
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PublicationsRpmApi.md +228 -0
- data/docs/RemotesRpmApi.md +228 -0
- data/docs/RemotesUlnApi.md +228 -0
- data/docs/RepositoriesRpmApi.md +228 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +268 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +268 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +268 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +268 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +268 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +268 -0
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
- data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +50 -0
- data/spec/api/distributions_rpm_api_spec.rb +50 -0
- data/spec/api/publications_rpm_api_spec.rb +50 -0
- data/spec/api/remotes_rpm_api_spec.rb +50 -0
- data/spec/api/remotes_uln_api_spec.rb +50 -0
- data/spec/api/repositories_rpm_api_spec.rb +50 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- metadata +18 -2
data/docs/RemotesUlnApi.md
CHANGED
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ |
|
7
8
|
[**create**](RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
|
8
9
|
[**delete**](RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
|
9
10
|
[**list**](RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
|
11
|
+
[**list_roles**](RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ |
|
12
|
+
[**my_permissions**](RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ |
|
10
13
|
[**partial_update**](RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
|
11
14
|
[**read**](RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
|
15
|
+
[**remove_role**](RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ |
|
12
16
|
[**update**](RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
|
13
17
|
|
14
18
|
|
15
19
|
|
20
|
+
## add_role
|
21
|
+
|
22
|
+
> NestedRoleResponse add_role(rpm_uln_remote_href, nested_role)
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Add a role for this object to users/groups.
|
27
|
+
|
28
|
+
### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'pulp_rpm_client'
|
33
|
+
# setup authorization
|
34
|
+
PulpRpmClient.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: basicAuth
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
41
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
42
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
43
|
+
|
44
|
+
begin
|
45
|
+
result = api_instance.add_role(rpm_uln_remote_href, nested_role)
|
46
|
+
p result
|
47
|
+
rescue PulpRpmClient::ApiError => e
|
48
|
+
puts "Exception when calling RemotesUlnApi->add_role: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**rpm_uln_remote_href** | **String**| |
|
58
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
73
|
+
|
16
74
|
## create
|
17
75
|
|
18
76
|
> RpmUlnRemoteResponse create(rpm_uln_remote)
|
@@ -206,6 +264,122 @@ Name | Type | Description | Notes
|
|
206
264
|
- **Accept**: application/json
|
207
265
|
|
208
266
|
|
267
|
+
## list_roles
|
268
|
+
|
269
|
+
> ObjectRolesResponse list_roles(rpm_uln_remote_href, opts)
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
List roles assigned to this object.
|
274
|
+
|
275
|
+
### Example
|
276
|
+
|
277
|
+
```ruby
|
278
|
+
# load the gem
|
279
|
+
require 'pulp_rpm_client'
|
280
|
+
# setup authorization
|
281
|
+
PulpRpmClient.configure do |config|
|
282
|
+
# Configure HTTP basic authorization: basicAuth
|
283
|
+
config.username = 'YOUR USERNAME'
|
284
|
+
config.password = 'YOUR PASSWORD'
|
285
|
+
end
|
286
|
+
|
287
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
288
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
289
|
+
opts = {
|
290
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
291
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
292
|
+
}
|
293
|
+
|
294
|
+
begin
|
295
|
+
result = api_instance.list_roles(rpm_uln_remote_href, opts)
|
296
|
+
p result
|
297
|
+
rescue PulpRpmClient::ApiError => e
|
298
|
+
puts "Exception when calling RemotesUlnApi->list_roles: #{e}"
|
299
|
+
end
|
300
|
+
```
|
301
|
+
|
302
|
+
### Parameters
|
303
|
+
|
304
|
+
|
305
|
+
Name | Type | Description | Notes
|
306
|
+
------------- | ------------- | ------------- | -------------
|
307
|
+
**rpm_uln_remote_href** | **String**| |
|
308
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
309
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
310
|
+
|
311
|
+
### Return type
|
312
|
+
|
313
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
314
|
+
|
315
|
+
### Authorization
|
316
|
+
|
317
|
+
[basicAuth](../README.md#basicAuth)
|
318
|
+
|
319
|
+
### HTTP request headers
|
320
|
+
|
321
|
+
- **Content-Type**: Not defined
|
322
|
+
- **Accept**: application/json
|
323
|
+
|
324
|
+
|
325
|
+
## my_permissions
|
326
|
+
|
327
|
+
> MyPermissionsResponse my_permissions(rpm_uln_remote_href, opts)
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
List permissions available to the current user on this object.
|
332
|
+
|
333
|
+
### Example
|
334
|
+
|
335
|
+
```ruby
|
336
|
+
# load the gem
|
337
|
+
require 'pulp_rpm_client'
|
338
|
+
# setup authorization
|
339
|
+
PulpRpmClient.configure do |config|
|
340
|
+
# Configure HTTP basic authorization: basicAuth
|
341
|
+
config.username = 'YOUR USERNAME'
|
342
|
+
config.password = 'YOUR PASSWORD'
|
343
|
+
end
|
344
|
+
|
345
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
346
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
347
|
+
opts = {
|
348
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
349
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
350
|
+
}
|
351
|
+
|
352
|
+
begin
|
353
|
+
result = api_instance.my_permissions(rpm_uln_remote_href, opts)
|
354
|
+
p result
|
355
|
+
rescue PulpRpmClient::ApiError => e
|
356
|
+
puts "Exception when calling RemotesUlnApi->my_permissions: #{e}"
|
357
|
+
end
|
358
|
+
```
|
359
|
+
|
360
|
+
### Parameters
|
361
|
+
|
362
|
+
|
363
|
+
Name | Type | Description | Notes
|
364
|
+
------------- | ------------- | ------------- | -------------
|
365
|
+
**rpm_uln_remote_href** | **String**| |
|
366
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
367
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
368
|
+
|
369
|
+
### Return type
|
370
|
+
|
371
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
372
|
+
|
373
|
+
### Authorization
|
374
|
+
|
375
|
+
[basicAuth](../README.md#basicAuth)
|
376
|
+
|
377
|
+
### HTTP request headers
|
378
|
+
|
379
|
+
- **Content-Type**: Not defined
|
380
|
+
- **Accept**: application/json
|
381
|
+
|
382
|
+
|
209
383
|
## partial_update
|
210
384
|
|
211
385
|
> AsyncOperationResponse partial_update(rpm_uln_remote_href, patchedrpm_uln_remote)
|
@@ -320,6 +494,60 @@ Name | Type | Description | Notes
|
|
320
494
|
- **Accept**: application/json
|
321
495
|
|
322
496
|
|
497
|
+
## remove_role
|
498
|
+
|
499
|
+
> NestedRoleResponse remove_role(rpm_uln_remote_href, nested_role)
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
Remove a role for this object from users/groups.
|
504
|
+
|
505
|
+
### Example
|
506
|
+
|
507
|
+
```ruby
|
508
|
+
# load the gem
|
509
|
+
require 'pulp_rpm_client'
|
510
|
+
# setup authorization
|
511
|
+
PulpRpmClient.configure do |config|
|
512
|
+
# Configure HTTP basic authorization: basicAuth
|
513
|
+
config.username = 'YOUR USERNAME'
|
514
|
+
config.password = 'YOUR PASSWORD'
|
515
|
+
end
|
516
|
+
|
517
|
+
api_instance = PulpRpmClient::RemotesUlnApi.new
|
518
|
+
rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
|
519
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
520
|
+
|
521
|
+
begin
|
522
|
+
result = api_instance.remove_role(rpm_uln_remote_href, nested_role)
|
523
|
+
p result
|
524
|
+
rescue PulpRpmClient::ApiError => e
|
525
|
+
puts "Exception when calling RemotesUlnApi->remove_role: #{e}"
|
526
|
+
end
|
527
|
+
```
|
528
|
+
|
529
|
+
### Parameters
|
530
|
+
|
531
|
+
|
532
|
+
Name | Type | Description | Notes
|
533
|
+
------------- | ------------- | ------------- | -------------
|
534
|
+
**rpm_uln_remote_href** | **String**| |
|
535
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
536
|
+
|
537
|
+
### Return type
|
538
|
+
|
539
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
540
|
+
|
541
|
+
### Authorization
|
542
|
+
|
543
|
+
[basicAuth](../README.md#basicAuth)
|
544
|
+
|
545
|
+
### HTTP request headers
|
546
|
+
|
547
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
548
|
+
- **Accept**: application/json
|
549
|
+
|
550
|
+
|
323
551
|
## update
|
324
552
|
|
325
553
|
> AsyncOperationResponse update(rpm_uln_remote_href, rpm_uln_remote)
|
data/docs/RepositoriesRpmApi.md
CHANGED
@@ -4,17 +4,75 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ |
|
7
8
|
[**create**](RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
|
8
9
|
[**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
|
9
10
|
[**list**](RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
|
11
|
+
[**list_roles**](RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ |
|
10
12
|
[**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_rpm_repository_href}modify/ | Modify Repository Content
|
13
|
+
[**my_permissions**](RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ |
|
11
14
|
[**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
|
12
15
|
[**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_rpm_repository_href} | Inspect a rpm repository
|
16
|
+
[**remove_role**](RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ |
|
13
17
|
[**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
|
14
18
|
[**update**](RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
|
15
19
|
|
16
20
|
|
17
21
|
|
22
|
+
## add_role
|
23
|
+
|
24
|
+
> NestedRoleResponse add_role(rpm_rpm_repository_href, nested_role)
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
Add a role for this object to users/groups.
|
29
|
+
|
30
|
+
### Example
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
# load the gem
|
34
|
+
require 'pulp_rpm_client'
|
35
|
+
# setup authorization
|
36
|
+
PulpRpmClient.configure do |config|
|
37
|
+
# Configure HTTP basic authorization: basicAuth
|
38
|
+
config.username = 'YOUR USERNAME'
|
39
|
+
config.password = 'YOUR PASSWORD'
|
40
|
+
end
|
41
|
+
|
42
|
+
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
43
|
+
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
44
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
45
|
+
|
46
|
+
begin
|
47
|
+
result = api_instance.add_role(rpm_rpm_repository_href, nested_role)
|
48
|
+
p result
|
49
|
+
rescue PulpRpmClient::ApiError => e
|
50
|
+
puts "Exception when calling RepositoriesRpmApi->add_role: #{e}"
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
### Parameters
|
55
|
+
|
56
|
+
|
57
|
+
Name | Type | Description | Notes
|
58
|
+
------------- | ------------- | ------------- | -------------
|
59
|
+
**rpm_rpm_repository_href** | **String**| |
|
60
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
61
|
+
|
62
|
+
### Return type
|
63
|
+
|
64
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
65
|
+
|
66
|
+
### Authorization
|
67
|
+
|
68
|
+
[basicAuth](../README.md#basicAuth)
|
69
|
+
|
70
|
+
### HTTP request headers
|
71
|
+
|
72
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
73
|
+
- **Accept**: application/json
|
74
|
+
|
75
|
+
|
18
76
|
## create
|
19
77
|
|
20
78
|
> RpmRpmRepositoryResponse create(rpm_rpm_repository)
|
@@ -196,6 +254,64 @@ Name | Type | Description | Notes
|
|
196
254
|
- **Accept**: application/json
|
197
255
|
|
198
256
|
|
257
|
+
## list_roles
|
258
|
+
|
259
|
+
> ObjectRolesResponse list_roles(rpm_rpm_repository_href, opts)
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
List roles assigned to this object.
|
264
|
+
|
265
|
+
### Example
|
266
|
+
|
267
|
+
```ruby
|
268
|
+
# load the gem
|
269
|
+
require 'pulp_rpm_client'
|
270
|
+
# setup authorization
|
271
|
+
PulpRpmClient.configure do |config|
|
272
|
+
# Configure HTTP basic authorization: basicAuth
|
273
|
+
config.username = 'YOUR USERNAME'
|
274
|
+
config.password = 'YOUR PASSWORD'
|
275
|
+
end
|
276
|
+
|
277
|
+
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
278
|
+
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
279
|
+
opts = {
|
280
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
281
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
282
|
+
}
|
283
|
+
|
284
|
+
begin
|
285
|
+
result = api_instance.list_roles(rpm_rpm_repository_href, opts)
|
286
|
+
p result
|
287
|
+
rescue PulpRpmClient::ApiError => e
|
288
|
+
puts "Exception when calling RepositoriesRpmApi->list_roles: #{e}"
|
289
|
+
end
|
290
|
+
```
|
291
|
+
|
292
|
+
### Parameters
|
293
|
+
|
294
|
+
|
295
|
+
Name | Type | Description | Notes
|
296
|
+
------------- | ------------- | ------------- | -------------
|
297
|
+
**rpm_rpm_repository_href** | **String**| |
|
298
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
299
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
300
|
+
|
301
|
+
### Return type
|
302
|
+
|
303
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
304
|
+
|
305
|
+
### Authorization
|
306
|
+
|
307
|
+
[basicAuth](../README.md#basicAuth)
|
308
|
+
|
309
|
+
### HTTP request headers
|
310
|
+
|
311
|
+
- **Content-Type**: Not defined
|
312
|
+
- **Accept**: application/json
|
313
|
+
|
314
|
+
|
199
315
|
## modify
|
200
316
|
|
201
317
|
> AsyncOperationResponse modify(rpm_rpm_repository_href, repository_add_remove_content)
|
@@ -251,6 +367,64 @@ Name | Type | Description | Notes
|
|
251
367
|
- **Accept**: application/json
|
252
368
|
|
253
369
|
|
370
|
+
## my_permissions
|
371
|
+
|
372
|
+
> MyPermissionsResponse my_permissions(rpm_rpm_repository_href, opts)
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
List permissions available to the current user on this object.
|
377
|
+
|
378
|
+
### Example
|
379
|
+
|
380
|
+
```ruby
|
381
|
+
# load the gem
|
382
|
+
require 'pulp_rpm_client'
|
383
|
+
# setup authorization
|
384
|
+
PulpRpmClient.configure do |config|
|
385
|
+
# Configure HTTP basic authorization: basicAuth
|
386
|
+
config.username = 'YOUR USERNAME'
|
387
|
+
config.password = 'YOUR PASSWORD'
|
388
|
+
end
|
389
|
+
|
390
|
+
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
391
|
+
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
392
|
+
opts = {
|
393
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
394
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
395
|
+
}
|
396
|
+
|
397
|
+
begin
|
398
|
+
result = api_instance.my_permissions(rpm_rpm_repository_href, opts)
|
399
|
+
p result
|
400
|
+
rescue PulpRpmClient::ApiError => e
|
401
|
+
puts "Exception when calling RepositoriesRpmApi->my_permissions: #{e}"
|
402
|
+
end
|
403
|
+
```
|
404
|
+
|
405
|
+
### Parameters
|
406
|
+
|
407
|
+
|
408
|
+
Name | Type | Description | Notes
|
409
|
+
------------- | ------------- | ------------- | -------------
|
410
|
+
**rpm_rpm_repository_href** | **String**| |
|
411
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
412
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
413
|
+
|
414
|
+
### Return type
|
415
|
+
|
416
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
417
|
+
|
418
|
+
### Authorization
|
419
|
+
|
420
|
+
[basicAuth](../README.md#basicAuth)
|
421
|
+
|
422
|
+
### HTTP request headers
|
423
|
+
|
424
|
+
- **Content-Type**: Not defined
|
425
|
+
- **Accept**: application/json
|
426
|
+
|
427
|
+
|
254
428
|
## partial_update
|
255
429
|
|
256
430
|
> AsyncOperationResponse partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository)
|
@@ -365,6 +539,60 @@ Name | Type | Description | Notes
|
|
365
539
|
- **Accept**: application/json
|
366
540
|
|
367
541
|
|
542
|
+
## remove_role
|
543
|
+
|
544
|
+
> NestedRoleResponse remove_role(rpm_rpm_repository_href, nested_role)
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
Remove a role for this object from users/groups.
|
549
|
+
|
550
|
+
### Example
|
551
|
+
|
552
|
+
```ruby
|
553
|
+
# load the gem
|
554
|
+
require 'pulp_rpm_client'
|
555
|
+
# setup authorization
|
556
|
+
PulpRpmClient.configure do |config|
|
557
|
+
# Configure HTTP basic authorization: basicAuth
|
558
|
+
config.username = 'YOUR USERNAME'
|
559
|
+
config.password = 'YOUR PASSWORD'
|
560
|
+
end
|
561
|
+
|
562
|
+
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
563
|
+
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
564
|
+
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
565
|
+
|
566
|
+
begin
|
567
|
+
result = api_instance.remove_role(rpm_rpm_repository_href, nested_role)
|
568
|
+
p result
|
569
|
+
rescue PulpRpmClient::ApiError => e
|
570
|
+
puts "Exception when calling RepositoriesRpmApi->remove_role: #{e}"
|
571
|
+
end
|
572
|
+
```
|
573
|
+
|
574
|
+
### Parameters
|
575
|
+
|
576
|
+
|
577
|
+
Name | Type | Description | Notes
|
578
|
+
------------- | ------------- | ------------- | -------------
|
579
|
+
**rpm_rpm_repository_href** | **String**| |
|
580
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
581
|
+
|
582
|
+
### Return type
|
583
|
+
|
584
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
585
|
+
|
586
|
+
### Authorization
|
587
|
+
|
588
|
+
[basicAuth](../README.md#basicAuth)
|
589
|
+
|
590
|
+
### HTTP request headers
|
591
|
+
|
592
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
593
|
+
- **Accept**: application/json
|
594
|
+
|
595
|
+
|
368
596
|
## sync
|
369
597
|
|
370
598
|
> AsyncOperationResponse sync(rpm_rpm_repository_href, rpm_repository_sync_url)
|