pulpcore_client 3.16.24 → 3.17.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 (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +70 -22
  3. data/docs/AccessPoliciesApi.md +53 -0
  4. data/docs/AccessPolicy.md +3 -1
  5. data/docs/AccessPolicyResponse.md +3 -1
  6. data/docs/ContentguardsRbacApi.md +138 -22
  7. data/docs/GroupRole.md +19 -0
  8. data/docs/GroupRoleResponse.md +23 -0
  9. data/docs/GroupsApi.md +248 -20
  10. data/docs/GroupsModelPermissionsApi.md +20 -20
  11. data/docs/GroupsObjectPermissionsApi.md +20 -20
  12. data/docs/GroupsRolesApi.md +255 -0
  13. data/docs/GroupsUsersApi.md +15 -15
  14. data/docs/MyPermissionsResponse.md +17 -0
  15. data/docs/NestedRole.md +21 -0
  16. data/docs/NestedRoleResponse.md +21 -0
  17. data/docs/ObjectRolesResponse.md +17 -0
  18. data/docs/PaginatedGroupRoleResponseList.md +23 -0
  19. data/docs/PaginatedRoleResponseList.md +23 -0
  20. data/docs/PaginatedUserRoleResponseList.md +23 -0
  21. data/docs/PatchedAccessPolicy.md +3 -1
  22. data/docs/PatchedRole.md +21 -0
  23. data/docs/PatchedUser.md +29 -0
  24. data/docs/PermissionResponse.md +1 -1
  25. data/docs/Purge.md +19 -0
  26. data/docs/Role.md +21 -0
  27. data/docs/RoleResponse.md +27 -0
  28. data/docs/RolesApi.md +363 -0
  29. data/docs/StatesEnum.md +16 -0
  30. data/docs/TasksApi.md +282 -0
  31. data/docs/User.md +29 -0
  32. data/docs/UserGroup.md +17 -0
  33. data/docs/UserResponse.md +3 -3
  34. data/docs/UserRole.md +19 -0
  35. data/docs/UserRoleResponse.md +23 -0
  36. data/docs/UsersApi.md +219 -0
  37. data/docs/UsersRolesApi.md +255 -0
  38. data/docs/WorkerResponse.md +3 -3
  39. data/git_push.sh +58 -0
  40. data/lib/pulpcore_client/api/access_policies_api.rb +60 -0
  41. data/lib/pulpcore_client/api/artifacts_api.rb +24 -0
  42. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +168 -40
  43. data/lib/pulpcore_client/api/groups_api.rb +304 -36
  44. data/lib/pulpcore_client/api/groups_model_permissions_api.rb +36 -36
  45. data/lib/pulpcore_client/api/groups_object_permissions_api.rb +36 -36
  46. data/lib/pulpcore_client/api/groups_roles_api.rb +315 -0
  47. data/lib/pulpcore_client/api/groups_users_api.rb +27 -27
  48. data/lib/pulpcore_client/api/roles_api.rb +443 -0
  49. data/lib/pulpcore_client/api/tasks_api.rb +332 -0
  50. data/lib/pulpcore_client/api/uploads_api.rb +4 -0
  51. data/lib/pulpcore_client/api/users_api.rb +264 -0
  52. data/lib/pulpcore_client/api/users_roles_api.rb +315 -0
  53. data/lib/pulpcore_client/api_client.rb +5 -2
  54. data/lib/pulpcore_client/configuration.rb +0 -1
  55. data/lib/pulpcore_client/models/access_policy.rb +19 -2
  56. data/lib/pulpcore_client/models/access_policy_response.rb +19 -2
  57. data/lib/pulpcore_client/models/artifact.rb +90 -0
  58. data/lib/pulpcore_client/models/filesystem_exporter.rb +38 -0
  59. data/lib/pulpcore_client/models/group.rb +9 -0
  60. data/lib/pulpcore_client/models/group_role.rb +238 -0
  61. data/lib/pulpcore_client/models/group_role_response.rb +242 -0
  62. data/lib/pulpcore_client/models/group_user.rb +9 -0
  63. data/lib/pulpcore_client/models/{rbac_content_guard_permission.rb → my_permissions_response.rb} +16 -22
  64. data/lib/pulpcore_client/models/nested_role.rb +234 -0
  65. data/lib/pulpcore_client/models/nested_role_response.rb +234 -0
  66. data/lib/pulpcore_client/models/object_roles_response.rb +213 -0
  67. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +237 -0
  68. data/lib/pulpcore_client/models/paginated_role_response_list.rb +237 -0
  69. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +237 -0
  70. data/lib/pulpcore_client/models/patched_access_policy.rb +14 -2
  71. data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +30 -0
  72. data/lib/pulpcore_client/models/patched_group.rb +9 -0
  73. data/lib/pulpcore_client/models/patched_pulp_exporter.rb +30 -0
  74. data/lib/pulpcore_client/models/patched_pulp_importer.rb +15 -0
  75. data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +30 -0
  76. data/lib/pulpcore_client/models/patched_role.rb +261 -0
  77. data/lib/pulpcore_client/models/patched_task_cancel.rb +15 -0
  78. data/lib/pulpcore_client/models/patched_user.rb +342 -0
  79. data/lib/pulpcore_client/models/permission_response.rb +1 -1
  80. data/lib/pulpcore_client/models/pulp_export.rb +15 -0
  81. data/lib/pulpcore_client/models/pulp_exporter.rb +38 -0
  82. data/lib/pulpcore_client/models/pulp_import.rb +30 -0
  83. data/lib/pulpcore_client/models/pulp_import_check.rb +45 -0
  84. data/lib/pulpcore_client/models/pulp_importer.rb +19 -0
  85. data/lib/pulpcore_client/models/purge.rb +219 -0
  86. data/lib/pulpcore_client/models/rbac_content_guard.rb +34 -0
  87. data/lib/pulpcore_client/models/role.rb +275 -0
  88. data/lib/pulpcore_client/models/role_response.rb +270 -0
  89. data/lib/pulpcore_client/models/states_enum.rb +38 -0
  90. data/lib/pulpcore_client/models/upload_chunk.rb +15 -0
  91. data/lib/pulpcore_client/models/upload_commit.rb +19 -0
  92. data/lib/pulpcore_client/models/user.rb +351 -0
  93. data/lib/pulpcore_client/models/user_group.rb +241 -0
  94. data/lib/pulpcore_client/models/user_response.rb +6 -29
  95. data/lib/pulpcore_client/models/user_role.rb +238 -0
  96. data/lib/pulpcore_client/models/user_role_response.rb +242 -0
  97. data/lib/pulpcore_client/models/worker_response.rb +10 -10
  98. data/lib/pulpcore_client/version.rb +1 -1
  99. data/lib/pulpcore_client.rb +22 -1
  100. data/pulpcore_client.gemspec +3 -3
  101. data/spec/api/access_policies_api_spec.rb +11 -0
  102. data/spec/api/contentguards_rbac_api_spec.rb +36 -12
  103. data/spec/api/groups_api_spec.rb +54 -4
  104. data/spec/api/groups_model_permissions_api_spec.rb +4 -4
  105. data/spec/api/groups_object_permissions_api_spec.rb +4 -4
  106. data/spec/api/groups_roles_api_spec.rb +97 -0
  107. data/spec/api/groups_users_api_spec.rb +3 -3
  108. data/spec/api/roles_api_spec.rb +121 -0
  109. data/spec/api/tasks_api_spec.rb +62 -0
  110. data/spec/api/users_api_spec.rb +50 -0
  111. data/spec/api/users_roles_api_spec.rb +97 -0
  112. data/spec/models/access_policy_response_spec.rb +6 -0
  113. data/spec/models/access_policy_spec.rb +6 -0
  114. data/spec/models/group_role_response_spec.rb +59 -0
  115. data/spec/models/{rbac_content_guard_permission_spec.rb → group_role_spec.rb} +8 -8
  116. data/spec/models/my_permissions_response_spec.rb +41 -0
  117. data/spec/models/nested_role_response_spec.rb +53 -0
  118. data/spec/models/nested_role_spec.rb +53 -0
  119. data/spec/models/object_roles_response_spec.rb +41 -0
  120. data/spec/models/paginated_group_role_response_list_spec.rb +59 -0
  121. data/spec/models/paginated_role_response_list_spec.rb +59 -0
  122. data/spec/models/paginated_user_role_response_list_spec.rb +59 -0
  123. data/spec/models/patched_access_policy_spec.rb +6 -0
  124. data/spec/models/patched_role_spec.rb +53 -0
  125. data/spec/models/patched_user_spec.rb +77 -0
  126. data/spec/models/purge_spec.rb +47 -0
  127. data/spec/models/role_response_spec.rb +71 -0
  128. data/spec/models/role_spec.rb +53 -0
  129. data/spec/models/states_enum_spec.rb +35 -0
  130. data/spec/models/user_group_spec.rb +41 -0
  131. data/spec/models/user_role_response_spec.rb +59 -0
  132. data/spec/models/user_role_spec.rb +47 -0
  133. data/spec/models/user_spec.rb +77 -0
  134. data/spec/models/worker_response_spec.rb +2 -2
  135. metadata +190 -111
  136. data/docs/RBACContentGuardPermission.md +0 -19
data/docs/GroupsApi.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**](GroupsApi.md#add_role) | **POST** {group_href}add_role/ |
7
8
  [**create**](GroupsApi.md#create) | **POST** /pulp/api/v3/groups/ | Create a group
8
- [**delete**](GroupsApi.md#delete) | **DELETE** {auth_group_href} | Delete a group
9
+ [**delete**](GroupsApi.md#delete) | **DELETE** {group_href} | Delete a group
9
10
  [**list**](GroupsApi.md#list) | **GET** /pulp/api/v3/groups/ | List groups
10
- [**partial_update**](GroupsApi.md#partial_update) | **PATCH** {auth_group_href} | Update a group
11
- [**read**](GroupsApi.md#read) | **GET** {auth_group_href} | Inspect a group
12
- [**update**](GroupsApi.md#update) | **PUT** {auth_group_href} | Update a group
11
+ [**list_roles**](GroupsApi.md#list_roles) | **GET** {group_href}list_roles/ |
12
+ [**my_permissions**](GroupsApi.md#my_permissions) | **GET** {group_href}my_permissions/ |
13
+ [**partial_update**](GroupsApi.md#partial_update) | **PATCH** {group_href} | Update a group
14
+ [**read**](GroupsApi.md#read) | **GET** {group_href} | Inspect a group
15
+ [**remove_role**](GroupsApi.md#remove_role) | **POST** {group_href}remove_role/ |
16
+ [**update**](GroupsApi.md#update) | **PUT** {group_href} | Update a group
13
17
 
14
18
 
15
19
 
20
+ ## add_role
21
+
22
+ > NestedRoleResponse add_role(group_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 'pulpcore_client'
33
+ # setup authorization
34
+ PulpcoreClient.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 = PulpcoreClient::GroupsApi.new
41
+ group_href = 'group_href_example' # String |
42
+ nested_role = PulpcoreClient::NestedRole.new # NestedRole |
43
+
44
+ begin
45
+ result = api_instance.add_role(group_href, nested_role)
46
+ p result
47
+ rescue PulpcoreClient::ApiError => e
48
+ puts "Exception when calling GroupsApi->add_role: #{e}"
49
+ end
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **group_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
  > GroupResponse create(group)
@@ -68,7 +126,7 @@ Name | Type | Description | Notes
68
126
 
69
127
  ## delete
70
128
 
71
- > delete(auth_group_href)
129
+ > delete(group_href)
72
130
 
73
131
  Delete a group
74
132
 
@@ -87,11 +145,11 @@ PulpcoreClient.configure do |config|
87
145
  end
88
146
 
89
147
  api_instance = PulpcoreClient::GroupsApi.new
90
- auth_group_href = 'auth_group_href_example' # String |
148
+ group_href = 'group_href_example' # String |
91
149
 
92
150
  begin
93
151
  #Delete a group
94
- api_instance.delete(auth_group_href)
152
+ api_instance.delete(group_href)
95
153
  rescue PulpcoreClient::ApiError => e
96
154
  puts "Exception when calling GroupsApi->delete: #{e}"
97
155
  end
@@ -102,7 +160,7 @@ end
102
160
 
103
161
  Name | Type | Description | Notes
104
162
  ------------- | ------------- | ------------- | -------------
105
- **auth_group_href** | **String**| |
163
+ **group_href** | **String**| |
106
164
 
107
165
  ### Return type
108
166
 
@@ -195,9 +253,125 @@ Name | Type | Description | Notes
195
253
  - **Accept**: application/json
196
254
 
197
255
 
256
+ ## list_roles
257
+
258
+ > ObjectRolesResponse list_roles(group_href, opts)
259
+
260
+
261
+
262
+ List roles assigned to this object.
263
+
264
+ ### Example
265
+
266
+ ```ruby
267
+ # load the gem
268
+ require 'pulpcore_client'
269
+ # setup authorization
270
+ PulpcoreClient.configure do |config|
271
+ # Configure HTTP basic authorization: basicAuth
272
+ config.username = 'YOUR USERNAME'
273
+ config.password = 'YOUR PASSWORD'
274
+ end
275
+
276
+ api_instance = PulpcoreClient::GroupsApi.new
277
+ group_href = 'group_href_example' # String |
278
+ opts = {
279
+ fields: 'fields_example', # String | A list of fields to include in the response.
280
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
281
+ }
282
+
283
+ begin
284
+ result = api_instance.list_roles(group_href, opts)
285
+ p result
286
+ rescue PulpcoreClient::ApiError => e
287
+ puts "Exception when calling GroupsApi->list_roles: #{e}"
288
+ end
289
+ ```
290
+
291
+ ### Parameters
292
+
293
+
294
+ Name | Type | Description | Notes
295
+ ------------- | ------------- | ------------- | -------------
296
+ **group_href** | **String**| |
297
+ **fields** | **String**| A list of fields to include in the response. | [optional]
298
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
299
+
300
+ ### Return type
301
+
302
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
303
+
304
+ ### Authorization
305
+
306
+ [basicAuth](../README.md#basicAuth)
307
+
308
+ ### HTTP request headers
309
+
310
+ - **Content-Type**: Not defined
311
+ - **Accept**: application/json
312
+
313
+
314
+ ## my_permissions
315
+
316
+ > MyPermissionsResponse my_permissions(group_href, opts)
317
+
318
+
319
+
320
+ List permissions available to the current user on this object.
321
+
322
+ ### Example
323
+
324
+ ```ruby
325
+ # load the gem
326
+ require 'pulpcore_client'
327
+ # setup authorization
328
+ PulpcoreClient.configure do |config|
329
+ # Configure HTTP basic authorization: basicAuth
330
+ config.username = 'YOUR USERNAME'
331
+ config.password = 'YOUR PASSWORD'
332
+ end
333
+
334
+ api_instance = PulpcoreClient::GroupsApi.new
335
+ group_href = 'group_href_example' # String |
336
+ opts = {
337
+ fields: 'fields_example', # String | A list of fields to include in the response.
338
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
339
+ }
340
+
341
+ begin
342
+ result = api_instance.my_permissions(group_href, opts)
343
+ p result
344
+ rescue PulpcoreClient::ApiError => e
345
+ puts "Exception when calling GroupsApi->my_permissions: #{e}"
346
+ end
347
+ ```
348
+
349
+ ### Parameters
350
+
351
+
352
+ Name | Type | Description | Notes
353
+ ------------- | ------------- | ------------- | -------------
354
+ **group_href** | **String**| |
355
+ **fields** | **String**| A list of fields to include in the response. | [optional]
356
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
357
+
358
+ ### Return type
359
+
360
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
361
+
362
+ ### Authorization
363
+
364
+ [basicAuth](../README.md#basicAuth)
365
+
366
+ ### HTTP request headers
367
+
368
+ - **Content-Type**: Not defined
369
+ - **Accept**: application/json
370
+
371
+
198
372
  ## partial_update
199
373
 
200
- > GroupResponse partial_update(auth_group_href, patched_group)
374
+ > GroupResponse partial_update(group_href, patched_group)
201
375
 
202
376
  Update a group
203
377
 
@@ -216,12 +390,12 @@ PulpcoreClient.configure do |config|
216
390
  end
217
391
 
218
392
  api_instance = PulpcoreClient::GroupsApi.new
219
- auth_group_href = 'auth_group_href_example' # String |
393
+ group_href = 'group_href_example' # String |
220
394
  patched_group = PulpcoreClient::PatchedGroup.new # PatchedGroup |
221
395
 
222
396
  begin
223
397
  #Update a group
224
- result = api_instance.partial_update(auth_group_href, patched_group)
398
+ result = api_instance.partial_update(group_href, patched_group)
225
399
  p result
226
400
  rescue PulpcoreClient::ApiError => e
227
401
  puts "Exception when calling GroupsApi->partial_update: #{e}"
@@ -233,7 +407,7 @@ end
233
407
 
234
408
  Name | Type | Description | Notes
235
409
  ------------- | ------------- | ------------- | -------------
236
- **auth_group_href** | **String**| |
410
+ **group_href** | **String**| |
237
411
  **patched_group** | [**PatchedGroup**](PatchedGroup.md)| |
238
412
 
239
413
  ### Return type
@@ -252,7 +426,7 @@ Name | Type | Description | Notes
252
426
 
253
427
  ## read
254
428
 
255
- > GroupResponse read(auth_group_href, opts)
429
+ > GroupResponse read(group_href, opts)
256
430
 
257
431
  Inspect a group
258
432
 
@@ -271,7 +445,7 @@ PulpcoreClient.configure do |config|
271
445
  end
272
446
 
273
447
  api_instance = PulpcoreClient::GroupsApi.new
274
- auth_group_href = 'auth_group_href_example' # String |
448
+ group_href = 'group_href_example' # String |
275
449
  opts = {
276
450
  fields: 'fields_example', # String | A list of fields to include in the response.
277
451
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -279,7 +453,7 @@ opts = {
279
453
 
280
454
  begin
281
455
  #Inspect a group
282
- result = api_instance.read(auth_group_href, opts)
456
+ result = api_instance.read(group_href, opts)
283
457
  p result
284
458
  rescue PulpcoreClient::ApiError => e
285
459
  puts "Exception when calling GroupsApi->read: #{e}"
@@ -291,7 +465,7 @@ end
291
465
 
292
466
  Name | Type | Description | Notes
293
467
  ------------- | ------------- | ------------- | -------------
294
- **auth_group_href** | **String**| |
468
+ **group_href** | **String**| |
295
469
  **fields** | **String**| A list of fields to include in the response. | [optional]
296
470
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
297
471
 
@@ -309,9 +483,63 @@ Name | Type | Description | Notes
309
483
  - **Accept**: application/json
310
484
 
311
485
 
486
+ ## remove_role
487
+
488
+ > NestedRoleResponse remove_role(group_href, nested_role)
489
+
490
+
491
+
492
+ Remove a role for this object from users/groups.
493
+
494
+ ### Example
495
+
496
+ ```ruby
497
+ # load the gem
498
+ require 'pulpcore_client'
499
+ # setup authorization
500
+ PulpcoreClient.configure do |config|
501
+ # Configure HTTP basic authorization: basicAuth
502
+ config.username = 'YOUR USERNAME'
503
+ config.password = 'YOUR PASSWORD'
504
+ end
505
+
506
+ api_instance = PulpcoreClient::GroupsApi.new
507
+ group_href = 'group_href_example' # String |
508
+ nested_role = PulpcoreClient::NestedRole.new # NestedRole |
509
+
510
+ begin
511
+ result = api_instance.remove_role(group_href, nested_role)
512
+ p result
513
+ rescue PulpcoreClient::ApiError => e
514
+ puts "Exception when calling GroupsApi->remove_role: #{e}"
515
+ end
516
+ ```
517
+
518
+ ### Parameters
519
+
520
+
521
+ Name | Type | Description | Notes
522
+ ------------- | ------------- | ------------- | -------------
523
+ **group_href** | **String**| |
524
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
525
+
526
+ ### Return type
527
+
528
+ [**NestedRoleResponse**](NestedRoleResponse.md)
529
+
530
+ ### Authorization
531
+
532
+ [basicAuth](../README.md#basicAuth)
533
+
534
+ ### HTTP request headers
535
+
536
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
537
+ - **Accept**: application/json
538
+
539
+
312
540
  ## update
313
541
 
314
- > GroupResponse update(auth_group_href, group)
542
+ > GroupResponse update(group_href, group)
315
543
 
316
544
  Update a group
317
545
 
@@ -330,12 +558,12 @@ PulpcoreClient.configure do |config|
330
558
  end
331
559
 
332
560
  api_instance = PulpcoreClient::GroupsApi.new
333
- auth_group_href = 'auth_group_href_example' # String |
561
+ group_href = 'group_href_example' # String |
334
562
  group = PulpcoreClient::Group.new # Group |
335
563
 
336
564
  begin
337
565
  #Update a group
338
- result = api_instance.update(auth_group_href, group)
566
+ result = api_instance.update(group_href, group)
339
567
  p result
340
568
  rescue PulpcoreClient::ApiError => e
341
569
  puts "Exception when calling GroupsApi->update: #{e}"
@@ -347,7 +575,7 @@ end
347
575
 
348
576
  Name | Type | Description | Notes
349
577
  ------------- | ------------- | ------------- | -------------
350
- **auth_group_href** | **String**| |
578
+ **group_href** | **String**| |
351
579
  **group** | [**Group**](Group.md)| |
352
580
 
353
581
  ### Return type
@@ -4,16 +4,16 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsModelPermissionsApi.md#create) | **POST** {auth_group_href}model_permissions/ | Create a permission
8
- [**delete**](GroupsModelPermissionsApi.md#delete) | **DELETE** {auth_groups_model_permission_href} | Delete a permission
9
- [**list**](GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
10
- [**read**](GroupsModelPermissionsApi.md#read) | **GET** {auth_groups_model_permission_href} | Inspect a permission
7
+ [**create**](GroupsModelPermissionsApi.md#create) | **POST** {group_href}model_permissions/ | Create a permission
8
+ [**delete**](GroupsModelPermissionsApi.md#delete) | **DELETE** {groups_model_permission_href} | Delete a permission
9
+ [**list**](GroupsModelPermissionsApi.md#list) | **GET** {group_href}model_permissions/ | List permissions
10
+ [**read**](GroupsModelPermissionsApi.md#read) | **GET** {groups_model_permission_href} | Inspect a permission
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > PermissionResponse create(auth_group_href, body)
16
+ > PermissionResponse create(group_href, body)
17
17
 
18
18
  Create a permission
19
19
 
@@ -32,12 +32,12 @@ PulpcoreClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
35
- auth_group_href = 'auth_group_href_example' # String |
35
+ group_href = 'group_href_example' # String |
36
36
  body = nil # Object |
37
37
 
38
38
  begin
39
39
  #Create a permission
40
- result = api_instance.create(auth_group_href, body)
40
+ result = api_instance.create(group_href, body)
41
41
  p result
42
42
  rescue PulpcoreClient::ApiError => e
43
43
  puts "Exception when calling GroupsModelPermissionsApi->create: #{e}"
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **auth_group_href** | **String**| |
52
+ **group_href** | **String**| |
53
53
  **body** | **Object**| |
54
54
 
55
55
  ### Return type
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(auth_groups_model_permission_href)
71
+ > delete(groups_model_permission_href)
72
72
 
73
73
  Delete a permission
74
74
 
@@ -87,11 +87,11 @@ PulpcoreClient.configure do |config|
87
87
  end
88
88
 
89
89
  api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
90
- auth_groups_model_permission_href = 'auth_groups_model_permission_href_example' # String |
90
+ groups_model_permission_href = 'groups_model_permission_href_example' # String |
91
91
 
92
92
  begin
93
93
  #Delete a permission
94
- api_instance.delete(auth_groups_model_permission_href)
94
+ api_instance.delete(groups_model_permission_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
96
  puts "Exception when calling GroupsModelPermissionsApi->delete: #{e}"
97
97
  end
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **auth_groups_model_permission_href** | **String**| |
105
+ **groups_model_permission_href** | **String**| |
106
106
 
107
107
  ### Return type
108
108
 
@@ -120,7 +120,7 @@ nil (empty response body)
120
120
 
121
121
  ## list
122
122
 
123
- > PaginatedPermissionResponseList list(auth_group_href, opts)
123
+ > PaginatedPermissionResponseList list(group_href, opts)
124
124
 
125
125
  List permissions
126
126
 
@@ -139,7 +139,7 @@ PulpcoreClient.configure do |config|
139
139
  end
140
140
 
141
141
  api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
142
- auth_group_href = 'auth_group_href_example' # String |
142
+ group_href = 'group_href_example' # String |
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
145
  offset: 56, # Integer | The initial index from which to return the results.
@@ -150,7 +150,7 @@ opts = {
150
150
 
151
151
  begin
152
152
  #List permissions
153
- result = api_instance.list(auth_group_href, opts)
153
+ result = api_instance.list(group_href, opts)
154
154
  p result
155
155
  rescue PulpcoreClient::ApiError => e
156
156
  puts "Exception when calling GroupsModelPermissionsApi->list: #{e}"
@@ -162,7 +162,7 @@ end
162
162
 
163
163
  Name | Type | Description | Notes
164
164
  ------------- | ------------- | ------------- | -------------
165
- **auth_group_href** | **String**| |
165
+ **group_href** | **String**| |
166
166
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
168
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
185
185
 
186
186
  ## read
187
187
 
188
- > PermissionResponse read(auth_groups_model_permission_href, opts)
188
+ > PermissionResponse read(groups_model_permission_href, opts)
189
189
 
190
190
  Inspect a permission
191
191
 
@@ -204,7 +204,7 @@ PulpcoreClient.configure do |config|
204
204
  end
205
205
 
206
206
  api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
207
- auth_groups_model_permission_href = 'auth_groups_model_permission_href_example' # String |
207
+ groups_model_permission_href = 'groups_model_permission_href_example' # String |
208
208
  opts = {
209
209
  fields: 'fields_example', # String | A list of fields to include in the response.
210
210
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -212,7 +212,7 @@ opts = {
212
212
 
213
213
  begin
214
214
  #Inspect a permission
215
- result = api_instance.read(auth_groups_model_permission_href, opts)
215
+ result = api_instance.read(groups_model_permission_href, opts)
216
216
  p result
217
217
  rescue PulpcoreClient::ApiError => e
218
218
  puts "Exception when calling GroupsModelPermissionsApi->read: #{e}"
@@ -224,7 +224,7 @@ end
224
224
 
225
225
  Name | Type | Description | Notes
226
226
  ------------- | ------------- | ------------- | -------------
227
- **auth_groups_model_permission_href** | **String**| |
227
+ **groups_model_permission_href** | **String**| |
228
228
  **fields** | **String**| A list of fields to include in the response. | [optional]
229
229
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
230
 
@@ -4,16 +4,16 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](GroupsObjectPermissionsApi.md#create) | **POST** {auth_group_href}object_permissions/ | Create a permission
8
- [**delete**](GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_groups_object_permission_href} | Delete a permission
9
- [**list**](GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
10
- [**read**](GroupsObjectPermissionsApi.md#read) | **GET** {auth_groups_object_permission_href} | Inspect a permission
7
+ [**create**](GroupsObjectPermissionsApi.md#create) | **POST** {group_href}object_permissions/ | Create a permission
8
+ [**delete**](GroupsObjectPermissionsApi.md#delete) | **DELETE** {groups_object_permission_href} | Delete a permission
9
+ [**list**](GroupsObjectPermissionsApi.md#list) | **GET** {group_href}object_permissions/ | List permissions
10
+ [**read**](GroupsObjectPermissionsApi.md#read) | **GET** {groups_object_permission_href} | Inspect a permission
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > PermissionResponse create(auth_group_href, body)
16
+ > PermissionResponse create(group_href, body)
17
17
 
18
18
  Create a permission
19
19
 
@@ -32,12 +32,12 @@ PulpcoreClient.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
35
- auth_group_href = 'auth_group_href_example' # String |
35
+ group_href = 'group_href_example' # String |
36
36
  body = nil # Object |
37
37
 
38
38
  begin
39
39
  #Create a permission
40
- result = api_instance.create(auth_group_href, body)
40
+ result = api_instance.create(group_href, body)
41
41
  p result
42
42
  rescue PulpcoreClient::ApiError => e
43
43
  puts "Exception when calling GroupsObjectPermissionsApi->create: #{e}"
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **auth_group_href** | **String**| |
52
+ **group_href** | **String**| |
53
53
  **body** | **Object**| |
54
54
 
55
55
  ### Return type
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
68
68
 
69
69
  ## delete
70
70
 
71
- > delete(auth_groups_object_permission_href)
71
+ > delete(groups_object_permission_href)
72
72
 
73
73
  Delete a permission
74
74
 
@@ -87,11 +87,11 @@ PulpcoreClient.configure do |config|
87
87
  end
88
88
 
89
89
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
90
- auth_groups_object_permission_href = 'auth_groups_object_permission_href_example' # String |
90
+ groups_object_permission_href = 'groups_object_permission_href_example' # String |
91
91
 
92
92
  begin
93
93
  #Delete a permission
94
- api_instance.delete(auth_groups_object_permission_href)
94
+ api_instance.delete(groups_object_permission_href)
95
95
  rescue PulpcoreClient::ApiError => e
96
96
  puts "Exception when calling GroupsObjectPermissionsApi->delete: #{e}"
97
97
  end
@@ -102,7 +102,7 @@ end
102
102
 
103
103
  Name | Type | Description | Notes
104
104
  ------------- | ------------- | ------------- | -------------
105
- **auth_groups_object_permission_href** | **String**| |
105
+ **groups_object_permission_href** | **String**| |
106
106
 
107
107
  ### Return type
108
108
 
@@ -120,7 +120,7 @@ nil (empty response body)
120
120
 
121
121
  ## list
122
122
 
123
- > PaginatedPermissionResponseList list(auth_group_href, opts)
123
+ > PaginatedPermissionResponseList list(group_href, opts)
124
124
 
125
125
  List permissions
126
126
 
@@ -139,7 +139,7 @@ PulpcoreClient.configure do |config|
139
139
  end
140
140
 
141
141
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
142
- auth_group_href = 'auth_group_href_example' # String |
142
+ group_href = 'group_href_example' # String |
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
145
  offset: 56, # Integer | The initial index from which to return the results.
@@ -150,7 +150,7 @@ opts = {
150
150
 
151
151
  begin
152
152
  #List permissions
153
- result = api_instance.list(auth_group_href, opts)
153
+ result = api_instance.list(group_href, opts)
154
154
  p result
155
155
  rescue PulpcoreClient::ApiError => e
156
156
  puts "Exception when calling GroupsObjectPermissionsApi->list: #{e}"
@@ -162,7 +162,7 @@ end
162
162
 
163
163
  Name | Type | Description | Notes
164
164
  ------------- | ------------- | ------------- | -------------
165
- **auth_group_href** | **String**| |
165
+ **group_href** | **String**| |
166
166
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
168
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
185
185
 
186
186
  ## read
187
187
 
188
- > PermissionResponse read(auth_groups_object_permission_href, opts)
188
+ > PermissionResponse read(groups_object_permission_href, opts)
189
189
 
190
190
  Inspect a permission
191
191
 
@@ -204,7 +204,7 @@ PulpcoreClient.configure do |config|
204
204
  end
205
205
 
206
206
  api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
207
- auth_groups_object_permission_href = 'auth_groups_object_permission_href_example' # String |
207
+ groups_object_permission_href = 'groups_object_permission_href_example' # String |
208
208
  opts = {
209
209
  fields: 'fields_example', # String | A list of fields to include in the response.
210
210
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -212,7 +212,7 @@ opts = {
212
212
 
213
213
  begin
214
214
  #Inspect a permission
215
- result = api_instance.read(auth_groups_object_permission_href, opts)
215
+ result = api_instance.read(groups_object_permission_href, opts)
216
216
  p result
217
217
  rescue PulpcoreClient::ApiError => e
218
218
  puts "Exception when calling GroupsObjectPermissionsApi->read: #{e}"
@@ -224,7 +224,7 @@ end
224
224
 
225
225
  Name | Type | Description | Notes
226
226
  ------------- | ------------- | ------------- | -------------
227
- **auth_groups_object_permission_href** | **String**| |
227
+ **groups_object_permission_href** | **String**| |
228
228
  **fields** | **String**| A list of fields to include in the response. | [optional]
229
229
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
230
230