pulp_container_client 2.10.13 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -17
  3. data/docs/ContainerBlobResponse.md +1 -3
  4. data/docs/ContainerContainerDistribution.md +5 -5
  5. data/docs/ContainerContainerDistributionResponse.md +9 -9
  6. data/docs/ContainerContainerPushRepository.md +7 -5
  7. data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
  8. data/docs/ContainerContainerRemote.md +3 -1
  9. data/docs/ContainerContainerRemoteResponse.md +3 -1
  10. data/docs/ContainerContainerRepository.md +3 -1
  11. data/docs/ContainerContainerRepositoryResponse.md +3 -1
  12. data/docs/ContainerManifestSignatureResponse.md +33 -0
  13. data/docs/{RepositorySyncURL.md → ContainerRepositorySyncURL.md} +5 -3
  14. data/docs/ContentBlobsApi.md +0 -2
  15. data/docs/ContentSignaturesApi.md +158 -0
  16. data/docs/ContentSummary.md +21 -0
  17. data/docs/DistributionsContainerApi.md +228 -0
  18. data/docs/MyPermissionsResponse.md +17 -0
  19. data/docs/NestedRole.md +21 -0
  20. data/docs/NestedRoleResponse.md +21 -0
  21. data/docs/ObjectRolesResponse.md +17 -0
  22. data/docs/{PaginatedcontainerContentRedirectContentGuardResponseList.md → PaginatedcontainerManifestSignatureResponseList.md} +3 -3
  23. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  24. data/docs/PatchedcontainerContainerPushRepository.md +7 -5
  25. data/docs/PatchedcontainerContainerRemote.md +3 -1
  26. data/docs/PatchedcontainerContainerRepository.md +3 -1
  27. data/docs/PulpContainerNamespacesApi.md +228 -0
  28. data/docs/RemotesContainerApi.md +228 -0
  29. data/docs/RemoveSignatures.md +17 -0
  30. data/docs/RemoveSignaturesResponse.md +17 -0
  31. data/docs/RepositoriesContainerApi.md +288 -4
  32. data/docs/RepositoriesContainerPushApi.md +339 -0
  33. data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
  34. data/docs/RepositoriesContainerVersionsApi.md +4 -4
  35. data/docs/RepositorySign.md +21 -0
  36. data/docs/RepositoryVersion.md +17 -0
  37. data/git_push.sh +58 -0
  38. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -7
  39. data/lib/pulp_container_client/api/content_signatures_api.rb +200 -0
  40. data/lib/pulp_container_client/api/distributions_container_api.rb +268 -0
  41. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +268 -0
  42. data/lib/pulp_container_client/api/remotes_container_api.rb +268 -0
  43. data/lib/pulp_container_client/api/repositories_container_api.rb +347 -9
  44. data/lib/pulp_container_client/api/repositories_container_push_api.rb +406 -0
  45. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
  46. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
  47. data/lib/pulp_container_client/api_client.rb +5 -2
  48. data/lib/pulp_container_client/configuration.rb +0 -1
  49. data/lib/pulp_container_client/models/container_blob_response.rb +4 -19
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
  52. data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -33
  53. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -44
  54. data/lib/pulp_container_client/models/container_container_remote.rb +30 -5
  55. data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -5
  56. data/lib/pulp_container_client/models/container_container_repository.rb +16 -5
  57. data/lib/pulp_container_client/models/container_container_repository_response.rb +16 -5
  58. data/lib/pulp_container_client/models/{container_content_redirect_content_guard.rb → container_manifest_signature_response.rb} +108 -44
  59. data/lib/pulp_container_client/models/{repository_sync_url.rb → container_repository_sync_url.rb} +20 -8
  60. data/lib/pulp_container_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_container_client/models/my_permissions_response.rb +213 -0
  62. data/lib/pulp_container_client/models/{container_content_redirect_content_guard_response.rb → nested_role.rb} +30 -39
  63. data/lib/pulp_container_client/models/nested_role_response.rb +234 -0
  64. data/lib/pulp_container_client/models/{repair.rb → object_roles_response.rb} +17 -13
  65. data/lib/pulp_container_client/models/{paginatedcontainer_content_redirect_content_guard_response_list.rb → paginatedcontainer_manifest_signature_response_list.rb} +4 -4
  66. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
  67. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -33
  68. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +30 -5
  69. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +16 -5
  70. data/lib/pulp_container_client/models/remove_signatures.rb +232 -0
  71. data/lib/pulp_container_client/models/remove_signatures_response.rb +213 -0
  72. data/lib/pulp_container_client/models/{patchedcontainer_content_redirect_content_guard.rb → repository_sign.rb} +40 -43
  73. data/lib/pulp_container_client/models/repository_version.rb +208 -0
  74. data/lib/pulp_container_client/version.rb +1 -1
  75. data/lib/pulp_container_client.rb +13 -7
  76. data/pulp_container_client.gemspec +3 -3
  77. data/spec/api/content_blobs_api_spec.rb +0 -1
  78. data/spec/api/content_signatures_api_spec.rb +78 -0
  79. data/spec/api/distributions_container_api_spec.rb +50 -0
  80. data/spec/api/pulp_container_namespaces_api_spec.rb +50 -0
  81. data/spec/api/remotes_container_api_spec.rb +50 -0
  82. data/spec/api/repositories_container_api_spec.rb +64 -1
  83. data/spec/api/repositories_container_push_api_spec.rb +75 -0
  84. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
  85. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  86. data/spec/models/container_blob_response_spec.rb +0 -6
  87. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  88. data/spec/models/container_container_distribution_spec.rb +5 -5
  89. data/spec/models/container_container_push_repository_response_spec.rb +13 -7
  90. data/spec/models/container_container_push_repository_spec.rb +9 -3
  91. data/spec/models/container_container_remote_response_spec.rb +6 -0
  92. data/spec/models/container_container_remote_spec.rb +6 -0
  93. data/spec/models/container_container_repository_response_spec.rb +6 -0
  94. data/spec/models/container_container_repository_spec.rb +6 -0
  95. data/spec/models/container_manifest_signature_response_spec.rb +89 -0
  96. data/spec/models/{container_content_redirect_content_guard_response_spec.rb → container_repository_sync_url_spec.rb} +9 -15
  97. data/spec/models/{container_content_redirect_content_guard_spec.rb → content_summary_spec.rb} +14 -8
  98. data/spec/models/my_permissions_response_spec.rb +41 -0
  99. data/spec/models/nested_role_response_spec.rb +53 -0
  100. data/spec/models/{patchedcontainer_content_redirect_content_guard_spec.rb → nested_role_spec.rb} +14 -8
  101. data/spec/models/object_roles_response_spec.rb +41 -0
  102. data/spec/models/{paginatedcontainer_content_redirect_content_guard_response_list_spec.rb → paginatedcontainer_manifest_signature_response_list_spec.rb} +6 -6
  103. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  104. data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
  105. data/spec/models/patchedcontainer_container_remote_spec.rb +6 -0
  106. data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
  107. data/spec/models/remove_signatures_response_spec.rb +41 -0
  108. data/spec/models/{repair_spec.rb → remove_signatures_spec.rb} +7 -7
  109. data/spec/models/{repository_sync_url_spec.rb → repository_sign_spec.rb} +14 -8
  110. data/spec/models/repository_version_spec.rb +41 -0
  111. metadata +99 -74
  112. data/docs/ContainerContentRedirectContentGuard.md +0 -19
  113. data/docs/ContainerContentRedirectContentGuardResponse.md +0 -23
  114. data/docs/ContentguardsContentRedirectApi.md +0 -361
  115. data/docs/PatchedcontainerContentRedirectContentGuard.md +0 -19
  116. data/docs/Repair.md +0 -17
  117. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +0 -440
  118. data/spec/api/contentguards_content_redirect_api_spec.rb +0 -120
@@ -4,13 +4,71 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ |
7
8
  [**create**](PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
8
9
  [**delete**](PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
9
10
  [**list**](PulpContainerNamespacesApi.md#list) | **GET** /pulp/api/v3/pulp_container/namespaces/ | List container namespaces
11
+ [**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ |
12
+ [**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ |
10
13
  [**read**](PulpContainerNamespacesApi.md#read) | **GET** {container_container_namespace_href} | Inspect a container namespace
14
+ [**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ |
11
15
 
12
16
 
13
17
 
18
+ ## add_role
19
+
20
+ > NestedRoleResponse add_role(container_container_namespace_href, nested_role)
21
+
22
+
23
+
24
+ Add a role for this object to users/groups.
25
+
26
+ ### Example
27
+
28
+ ```ruby
29
+ # load the gem
30
+ require 'pulp_container_client'
31
+ # setup authorization
32
+ PulpContainerClient.configure do |config|
33
+ # Configure HTTP basic authorization: basicAuth
34
+ config.username = 'YOUR USERNAME'
35
+ config.password = 'YOUR PASSWORD'
36
+ end
37
+
38
+ api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
39
+ container_container_namespace_href = 'container_container_namespace_href_example' # String |
40
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
41
+
42
+ begin
43
+ result = api_instance.add_role(container_container_namespace_href, nested_role)
44
+ p result
45
+ rescue PulpContainerClient::ApiError => e
46
+ puts "Exception when calling PulpContainerNamespacesApi->add_role: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **container_container_namespace_href** | **String**| |
56
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
57
+
58
+ ### Return type
59
+
60
+ [**NestedRoleResponse**](NestedRoleResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
69
+ - **Accept**: application/json
70
+
71
+
14
72
  ## create
15
73
 
16
74
  > ContainerContainerNamespaceResponse create(container_container_namespace)
@@ -190,6 +248,122 @@ Name | Type | Description | Notes
190
248
  - **Accept**: application/json
191
249
 
192
250
 
251
+ ## list_roles
252
+
253
+ > ObjectRolesResponse list_roles(container_container_namespace_href, opts)
254
+
255
+
256
+
257
+ List roles assigned to this object.
258
+
259
+ ### Example
260
+
261
+ ```ruby
262
+ # load the gem
263
+ require 'pulp_container_client'
264
+ # setup authorization
265
+ PulpContainerClient.configure do |config|
266
+ # Configure HTTP basic authorization: basicAuth
267
+ config.username = 'YOUR USERNAME'
268
+ config.password = 'YOUR PASSWORD'
269
+ end
270
+
271
+ api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
272
+ container_container_namespace_href = 'container_container_namespace_href_example' # String |
273
+ opts = {
274
+ fields: 'fields_example', # String | A list of fields to include in the response.
275
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
276
+ }
277
+
278
+ begin
279
+ result = api_instance.list_roles(container_container_namespace_href, opts)
280
+ p result
281
+ rescue PulpContainerClient::ApiError => e
282
+ puts "Exception when calling PulpContainerNamespacesApi->list_roles: #{e}"
283
+ end
284
+ ```
285
+
286
+ ### Parameters
287
+
288
+
289
+ Name | Type | Description | Notes
290
+ ------------- | ------------- | ------------- | -------------
291
+ **container_container_namespace_href** | **String**| |
292
+ **fields** | **String**| A list of fields to include in the response. | [optional]
293
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
294
+
295
+ ### Return type
296
+
297
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
298
+
299
+ ### Authorization
300
+
301
+ [basicAuth](../README.md#basicAuth)
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: Not defined
306
+ - **Accept**: application/json
307
+
308
+
309
+ ## my_permissions
310
+
311
+ > MyPermissionsResponse my_permissions(container_container_namespace_href, opts)
312
+
313
+
314
+
315
+ List permissions available to the current user on this object.
316
+
317
+ ### Example
318
+
319
+ ```ruby
320
+ # load the gem
321
+ require 'pulp_container_client'
322
+ # setup authorization
323
+ PulpContainerClient.configure do |config|
324
+ # Configure HTTP basic authorization: basicAuth
325
+ config.username = 'YOUR USERNAME'
326
+ config.password = 'YOUR PASSWORD'
327
+ end
328
+
329
+ api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
330
+ container_container_namespace_href = 'container_container_namespace_href_example' # String |
331
+ opts = {
332
+ fields: 'fields_example', # String | A list of fields to include in the response.
333
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
334
+ }
335
+
336
+ begin
337
+ result = api_instance.my_permissions(container_container_namespace_href, opts)
338
+ p result
339
+ rescue PulpContainerClient::ApiError => e
340
+ puts "Exception when calling PulpContainerNamespacesApi->my_permissions: #{e}"
341
+ end
342
+ ```
343
+
344
+ ### Parameters
345
+
346
+
347
+ Name | Type | Description | Notes
348
+ ------------- | ------------- | ------------- | -------------
349
+ **container_container_namespace_href** | **String**| |
350
+ **fields** | **String**| A list of fields to include in the response. | [optional]
351
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
352
+
353
+ ### Return type
354
+
355
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
356
+
357
+ ### Authorization
358
+
359
+ [basicAuth](../README.md#basicAuth)
360
+
361
+ ### HTTP request headers
362
+
363
+ - **Content-Type**: Not defined
364
+ - **Accept**: application/json
365
+
366
+
193
367
  ## read
194
368
 
195
369
  > ContainerContainerNamespaceResponse read(container_container_namespace_href, opts)
@@ -248,3 +422,57 @@ Name | Type | Description | Notes
248
422
  - **Content-Type**: Not defined
249
423
  - **Accept**: application/json
250
424
 
425
+
426
+ ## remove_role
427
+
428
+ > NestedRoleResponse remove_role(container_container_namespace_href, nested_role)
429
+
430
+
431
+
432
+ Remove a role for this object from users/groups.
433
+
434
+ ### Example
435
+
436
+ ```ruby
437
+ # load the gem
438
+ require 'pulp_container_client'
439
+ # setup authorization
440
+ PulpContainerClient.configure do |config|
441
+ # Configure HTTP basic authorization: basicAuth
442
+ config.username = 'YOUR USERNAME'
443
+ config.password = 'YOUR PASSWORD'
444
+ end
445
+
446
+ api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
447
+ container_container_namespace_href = 'container_container_namespace_href_example' # String |
448
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
449
+
450
+ begin
451
+ result = api_instance.remove_role(container_container_namespace_href, nested_role)
452
+ p result
453
+ rescue PulpContainerClient::ApiError => e
454
+ puts "Exception when calling PulpContainerNamespacesApi->remove_role: #{e}"
455
+ end
456
+ ```
457
+
458
+ ### Parameters
459
+
460
+
461
+ Name | Type | Description | Notes
462
+ ------------- | ------------- | ------------- | -------------
463
+ **container_container_namespace_href** | **String**| |
464
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
465
+
466
+ ### Return type
467
+
468
+ [**NestedRoleResponse**](NestedRoleResponse.md)
469
+
470
+ ### Authorization
471
+
472
+ [basicAuth](../README.md#basicAuth)
473
+
474
+ ### HTTP request headers
475
+
476
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
477
+ - **Accept**: application/json
478
+
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](RemotesContainerApi.md#add_role) | **POST** {container_container_remote_href}add_role/ |
7
8
  [**create**](RemotesContainerApi.md#create) | **POST** /pulp/api/v3/remotes/container/container/ | Create a container remote
8
9
  [**delete**](RemotesContainerApi.md#delete) | **DELETE** {container_container_remote_href} | Delete a container remote
9
10
  [**list**](RemotesContainerApi.md#list) | **GET** /pulp/api/v3/remotes/container/container/ | List container remotes
11
+ [**list_roles**](RemotesContainerApi.md#list_roles) | **GET** {container_container_remote_href}list_roles/ |
12
+ [**my_permissions**](RemotesContainerApi.md#my_permissions) | **GET** {container_container_remote_href}my_permissions/ |
10
13
  [**partial_update**](RemotesContainerApi.md#partial_update) | **PATCH** {container_container_remote_href} | Update a container remote
11
14
  [**read**](RemotesContainerApi.md#read) | **GET** {container_container_remote_href} | Inspect a container remote
15
+ [**remove_role**](RemotesContainerApi.md#remove_role) | **POST** {container_container_remote_href}remove_role/ |
12
16
  [**update**](RemotesContainerApi.md#update) | **PUT** {container_container_remote_href} | Update a container remote
13
17
 
14
18
 
15
19
 
20
+ ## add_role
21
+
22
+ > NestedRoleResponse add_role(container_container_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_container_client'
33
+ # setup authorization
34
+ PulpContainerClient.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 = PulpContainerClient::RemotesContainerApi.new
41
+ container_container_remote_href = 'container_container_remote_href_example' # String |
42
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
43
+
44
+ begin
45
+ result = api_instance.add_role(container_container_remote_href, nested_role)
46
+ p result
47
+ rescue PulpContainerClient::ApiError => e
48
+ puts "Exception when calling RemotesContainerApi->add_role: #{e}"
49
+ end
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **container_container_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
  > ContainerContainerRemoteResponse create(container_container_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(container_container_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_container_client'
280
+ # setup authorization
281
+ PulpContainerClient.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 = PulpContainerClient::RemotesContainerApi.new
288
+ container_container_remote_href = 'container_container_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(container_container_remote_href, opts)
296
+ p result
297
+ rescue PulpContainerClient::ApiError => e
298
+ puts "Exception when calling RemotesContainerApi->list_roles: #{e}"
299
+ end
300
+ ```
301
+
302
+ ### Parameters
303
+
304
+
305
+ Name | Type | Description | Notes
306
+ ------------- | ------------- | ------------- | -------------
307
+ **container_container_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(container_container_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_container_client'
338
+ # setup authorization
339
+ PulpContainerClient.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 = PulpContainerClient::RemotesContainerApi.new
346
+ container_container_remote_href = 'container_container_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(container_container_remote_href, opts)
354
+ p result
355
+ rescue PulpContainerClient::ApiError => e
356
+ puts "Exception when calling RemotesContainerApi->my_permissions: #{e}"
357
+ end
358
+ ```
359
+
360
+ ### Parameters
361
+
362
+
363
+ Name | Type | Description | Notes
364
+ ------------- | ------------- | ------------- | -------------
365
+ **container_container_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(container_container_remote_href, patchedcontainer_container_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(container_container_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_container_client'
510
+ # setup authorization
511
+ PulpContainerClient.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 = PulpContainerClient::RemotesContainerApi.new
518
+ container_container_remote_href = 'container_container_remote_href_example' # String |
519
+ nested_role = PulpContainerClient::NestedRole.new # NestedRole |
520
+
521
+ begin
522
+ result = api_instance.remove_role(container_container_remote_href, nested_role)
523
+ p result
524
+ rescue PulpContainerClient::ApiError => e
525
+ puts "Exception when calling RemotesContainerApi->remove_role: #{e}"
526
+ end
527
+ ```
528
+
529
+ ### Parameters
530
+
531
+
532
+ Name | Type | Description | Notes
533
+ ------------- | ------------- | ------------- | -------------
534
+ **container_container_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(container_container_remote_href, container_container_remote)
@@ -0,0 +1,17 @@
1
+ # PulpContainerClient::RemoveSignatures
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **signed_with_key_id** | **String** | key_id of the key the signatures were produced with |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpContainerClient'
13
+
14
+ instance = PulpContainerClient::RemoveSignatures.new(signed_with_key_id: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # PulpContainerClient::RemoveSignaturesResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **signed_with_key_id** | **String** | key_id of the key the signatures were produced with |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpContainerClient'
13
+
14
+ instance = PulpContainerClient::RemoveSignaturesResponse.new(signed_with_key_id: null)
15
+ ```
16
+
17
+