pulpcore_client 3.16.24 → 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +70 -22
- data/docs/AccessPoliciesApi.md +53 -0
- data/docs/AccessPolicy.md +3 -1
- data/docs/AccessPolicyResponse.md +3 -1
- data/docs/ContentguardsRbacApi.md +138 -22
- data/docs/GroupRole.md +19 -0
- data/docs/GroupRoleResponse.md +23 -0
- data/docs/GroupsApi.md +248 -20
- data/docs/GroupsModelPermissionsApi.md +20 -20
- data/docs/GroupsObjectPermissionsApi.md +20 -20
- data/docs/GroupsRolesApi.md +255 -0
- data/docs/GroupsUsersApi.md +15 -15
- 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/PaginatedGroupRoleResponseList.md +23 -0
- data/docs/PaginatedRoleResponseList.md +23 -0
- data/docs/PaginatedUserRoleResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +3 -1
- data/docs/PatchedRole.md +21 -0
- data/docs/PatchedUser.md +29 -0
- data/docs/PermissionResponse.md +1 -1
- data/docs/Purge.md +19 -0
- data/docs/Role.md +21 -0
- data/docs/RoleResponse.md +27 -0
- data/docs/RolesApi.md +363 -0
- data/docs/StatesEnum.md +16 -0
- data/docs/TasksApi.md +282 -0
- data/docs/User.md +29 -0
- data/docs/UserGroup.md +17 -0
- data/docs/UserResponse.md +3 -3
- data/docs/UserRole.md +19 -0
- data/docs/UserRoleResponse.md +23 -0
- data/docs/UsersApi.md +219 -0
- data/docs/UsersRolesApi.md +255 -0
- data/docs/WorkerResponse.md +3 -3
- data/git_push.sh +58 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +60 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +24 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +168 -40
- data/lib/pulpcore_client/api/groups_api.rb +304 -36
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +36 -36
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +36 -36
- data/lib/pulpcore_client/api/groups_roles_api.rb +315 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +27 -27
- data/lib/pulpcore_client/api/roles_api.rb +443 -0
- data/lib/pulpcore_client/api/tasks_api.rb +332 -0
- data/lib/pulpcore_client/api/uploads_api.rb +4 -0
- data/lib/pulpcore_client/api/users_api.rb +264 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +315 -0
- data/lib/pulpcore_client/api_client.rb +5 -2
- data/lib/pulpcore_client/configuration.rb +0 -1
- data/lib/pulpcore_client/models/access_policy.rb +19 -2
- data/lib/pulpcore_client/models/access_policy_response.rb +19 -2
- data/lib/pulpcore_client/models/artifact.rb +90 -0
- data/lib/pulpcore_client/models/filesystem_exporter.rb +38 -0
- data/lib/pulpcore_client/models/group.rb +9 -0
- data/lib/pulpcore_client/models/group_role.rb +238 -0
- data/lib/pulpcore_client/models/group_role_response.rb +242 -0
- data/lib/pulpcore_client/models/group_user.rb +9 -0
- data/lib/pulpcore_client/models/{rbac_content_guard_permission.rb → my_permissions_response.rb} +16 -22
- data/lib/pulpcore_client/models/nested_role.rb +234 -0
- data/lib/pulpcore_client/models/nested_role_response.rb +234 -0
- data/lib/pulpcore_client/models/object_roles_response.rb +213 -0
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +14 -2
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +30 -0
- data/lib/pulpcore_client/models/patched_group.rb +9 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +30 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +15 -0
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +30 -0
- data/lib/pulpcore_client/models/patched_role.rb +261 -0
- data/lib/pulpcore_client/models/patched_task_cancel.rb +15 -0
- data/lib/pulpcore_client/models/patched_user.rb +342 -0
- data/lib/pulpcore_client/models/permission_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +15 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +38 -0
- data/lib/pulpcore_client/models/pulp_import.rb +30 -0
- data/lib/pulpcore_client/models/pulp_import_check.rb +45 -0
- data/lib/pulpcore_client/models/pulp_importer.rb +19 -0
- data/lib/pulpcore_client/models/purge.rb +219 -0
- data/lib/pulpcore_client/models/rbac_content_guard.rb +34 -0
- data/lib/pulpcore_client/models/role.rb +275 -0
- data/lib/pulpcore_client/models/role_response.rb +270 -0
- data/lib/pulpcore_client/models/states_enum.rb +38 -0
- data/lib/pulpcore_client/models/upload_chunk.rb +15 -0
- data/lib/pulpcore_client/models/upload_commit.rb +19 -0
- data/lib/pulpcore_client/models/user.rb +351 -0
- data/lib/pulpcore_client/models/user_group.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +6 -29
- data/lib/pulpcore_client/models/user_role.rb +238 -0
- data/lib/pulpcore_client/models/user_role_response.rb +242 -0
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +22 -1
- data/pulpcore_client.gemspec +3 -3
- data/spec/api/access_policies_api_spec.rb +11 -0
- data/spec/api/contentguards_rbac_api_spec.rb +36 -12
- data/spec/api/groups_api_spec.rb +54 -4
- data/spec/api/groups_model_permissions_api_spec.rb +4 -4
- data/spec/api/groups_object_permissions_api_spec.rb +4 -4
- data/spec/api/groups_roles_api_spec.rb +97 -0
- data/spec/api/groups_users_api_spec.rb +3 -3
- data/spec/api/roles_api_spec.rb +121 -0
- data/spec/api/tasks_api_spec.rb +62 -0
- data/spec/api/users_api_spec.rb +50 -0
- data/spec/api/users_roles_api_spec.rb +97 -0
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +6 -0
- data/spec/models/group_role_response_spec.rb +59 -0
- data/spec/models/{rbac_content_guard_permission_spec.rb → group_role_spec.rb} +8 -8
- 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
- data/spec/models/paginated_group_role_response_list_spec.rb +59 -0
- data/spec/models/paginated_role_response_list_spec.rb +59 -0
- data/spec/models/paginated_user_role_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +6 -0
- data/spec/models/patched_role_spec.rb +53 -0
- data/spec/models/patched_user_spec.rb +77 -0
- data/spec/models/purge_spec.rb +47 -0
- data/spec/models/role_response_spec.rb +71 -0
- data/spec/models/role_spec.rb +53 -0
- data/spec/models/states_enum_spec.rb +35 -0
- data/spec/models/user_group_spec.rb +41 -0
- data/spec/models/user_role_response_spec.rb +59 -0
- data/spec/models/user_role_spec.rb +47 -0
- data/spec/models/user_spec.rb +77 -0
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +190 -111
- data/docs/RBACContentGuardPermission.md +0 -19
@@ -0,0 +1,255 @@
|
|
1
|
+
# PulpcoreClient::GroupsRolesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](GroupsRolesApi.md#create) | **POST** {group_href}roles/ | Create a group role
|
8
|
+
[**delete**](GroupsRolesApi.md#delete) | **DELETE** {groups_group_role_href} | Delete a group role
|
9
|
+
[**list**](GroupsRolesApi.md#list) | **GET** {group_href}roles/ | List group roles
|
10
|
+
[**read**](GroupsRolesApi.md#read) | **GET** {groups_group_role_href} | Inspect a group role
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## create
|
15
|
+
|
16
|
+
> GroupRoleResponse create(group_href, group_role)
|
17
|
+
|
18
|
+
Create a group role
|
19
|
+
|
20
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
21
|
+
|
22
|
+
### Example
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# load the gem
|
26
|
+
require 'pulpcore_client'
|
27
|
+
# setup authorization
|
28
|
+
PulpcoreClient.configure do |config|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
30
|
+
config.username = 'YOUR USERNAME'
|
31
|
+
config.password = 'YOUR PASSWORD'
|
32
|
+
end
|
33
|
+
|
34
|
+
api_instance = PulpcoreClient::GroupsRolesApi.new
|
35
|
+
group_href = 'group_href_example' # String |
|
36
|
+
group_role = PulpcoreClient::GroupRole.new # GroupRole |
|
37
|
+
|
38
|
+
begin
|
39
|
+
#Create a group role
|
40
|
+
result = api_instance.create(group_href, group_role)
|
41
|
+
p result
|
42
|
+
rescue PulpcoreClient::ApiError => e
|
43
|
+
puts "Exception when calling GroupsRolesApi->create: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
|
50
|
+
Name | Type | Description | Notes
|
51
|
+
------------- | ------------- | ------------- | -------------
|
52
|
+
**group_href** | **String**| |
|
53
|
+
**group_role** | [**GroupRole**](GroupRole.md)| |
|
54
|
+
|
55
|
+
### Return type
|
56
|
+
|
57
|
+
[**GroupRoleResponse**](GroupRoleResponse.md)
|
58
|
+
|
59
|
+
### Authorization
|
60
|
+
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
62
|
+
|
63
|
+
### HTTP request headers
|
64
|
+
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
66
|
+
- **Accept**: application/json
|
67
|
+
|
68
|
+
|
69
|
+
## delete
|
70
|
+
|
71
|
+
> delete(groups_group_role_href)
|
72
|
+
|
73
|
+
Delete a group role
|
74
|
+
|
75
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
76
|
+
|
77
|
+
### Example
|
78
|
+
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'pulpcore_client'
|
82
|
+
# setup authorization
|
83
|
+
PulpcoreClient.configure do |config|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
85
|
+
config.username = 'YOUR USERNAME'
|
86
|
+
config.password = 'YOUR PASSWORD'
|
87
|
+
end
|
88
|
+
|
89
|
+
api_instance = PulpcoreClient::GroupsRolesApi.new
|
90
|
+
groups_group_role_href = 'groups_group_role_href_example' # String |
|
91
|
+
|
92
|
+
begin
|
93
|
+
#Delete a group role
|
94
|
+
api_instance.delete(groups_group_role_href)
|
95
|
+
rescue PulpcoreClient::ApiError => e
|
96
|
+
puts "Exception when calling GroupsRolesApi->delete: #{e}"
|
97
|
+
end
|
98
|
+
```
|
99
|
+
|
100
|
+
### Parameters
|
101
|
+
|
102
|
+
|
103
|
+
Name | Type | Description | Notes
|
104
|
+
------------- | ------------- | ------------- | -------------
|
105
|
+
**groups_group_role_href** | **String**| |
|
106
|
+
|
107
|
+
### Return type
|
108
|
+
|
109
|
+
nil (empty response body)
|
110
|
+
|
111
|
+
### Authorization
|
112
|
+
|
113
|
+
[basicAuth](../README.md#basicAuth)
|
114
|
+
|
115
|
+
### HTTP request headers
|
116
|
+
|
117
|
+
- **Content-Type**: Not defined
|
118
|
+
- **Accept**: Not defined
|
119
|
+
|
120
|
+
|
121
|
+
## list
|
122
|
+
|
123
|
+
> PaginatedGroupRoleResponseList list(group_href, opts)
|
124
|
+
|
125
|
+
List group roles
|
126
|
+
|
127
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
128
|
+
|
129
|
+
### Example
|
130
|
+
|
131
|
+
```ruby
|
132
|
+
# load the gem
|
133
|
+
require 'pulpcore_client'
|
134
|
+
# setup authorization
|
135
|
+
PulpcoreClient.configure do |config|
|
136
|
+
# Configure HTTP basic authorization: basicAuth
|
137
|
+
config.username = 'YOUR USERNAME'
|
138
|
+
config.password = 'YOUR PASSWORD'
|
139
|
+
end
|
140
|
+
|
141
|
+
api_instance = PulpcoreClient::GroupsRolesApi.new
|
142
|
+
group_href = 'group_href_example' # String |
|
143
|
+
opts = {
|
144
|
+
content_object: 'content_object_example', # String | content_object
|
145
|
+
limit: 56, # Integer | Number of results to return per page.
|
146
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
147
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
148
|
+
role: 'role_example', # String |
|
149
|
+
role__contains: 'role__contains_example', # String |
|
150
|
+
role__icontains: 'role__icontains_example', # String |
|
151
|
+
role__in: ['role__in_example'], # Array<String> | Multiple values may be separated by commas.
|
152
|
+
role__startswith: 'role__startswith_example', # String |
|
153
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
155
|
+
}
|
156
|
+
|
157
|
+
begin
|
158
|
+
#List group roles
|
159
|
+
result = api_instance.list(group_href, opts)
|
160
|
+
p result
|
161
|
+
rescue PulpcoreClient::ApiError => e
|
162
|
+
puts "Exception when calling GroupsRolesApi->list: #{e}"
|
163
|
+
end
|
164
|
+
```
|
165
|
+
|
166
|
+
### Parameters
|
167
|
+
|
168
|
+
|
169
|
+
Name | Type | Description | Notes
|
170
|
+
------------- | ------------- | ------------- | -------------
|
171
|
+
**group_href** | **String**| |
|
172
|
+
**content_object** | **String**| content_object | [optional]
|
173
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
176
|
+
**role** | **String**| | [optional]
|
177
|
+
**role__contains** | **String**| | [optional]
|
178
|
+
**role__icontains** | **String**| | [optional]
|
179
|
+
**role__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
180
|
+
**role__startswith** | **String**| | [optional]
|
181
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
182
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
183
|
+
|
184
|
+
### Return type
|
185
|
+
|
186
|
+
[**PaginatedGroupRoleResponseList**](PaginatedGroupRoleResponseList.md)
|
187
|
+
|
188
|
+
### Authorization
|
189
|
+
|
190
|
+
[basicAuth](../README.md#basicAuth)
|
191
|
+
|
192
|
+
### HTTP request headers
|
193
|
+
|
194
|
+
- **Content-Type**: Not defined
|
195
|
+
- **Accept**: application/json
|
196
|
+
|
197
|
+
|
198
|
+
## read
|
199
|
+
|
200
|
+
> GroupRoleResponse read(groups_group_role_href, opts)
|
201
|
+
|
202
|
+
Inspect a group role
|
203
|
+
|
204
|
+
ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
205
|
+
|
206
|
+
### Example
|
207
|
+
|
208
|
+
```ruby
|
209
|
+
# load the gem
|
210
|
+
require 'pulpcore_client'
|
211
|
+
# setup authorization
|
212
|
+
PulpcoreClient.configure do |config|
|
213
|
+
# Configure HTTP basic authorization: basicAuth
|
214
|
+
config.username = 'YOUR USERNAME'
|
215
|
+
config.password = 'YOUR PASSWORD'
|
216
|
+
end
|
217
|
+
|
218
|
+
api_instance = PulpcoreClient::GroupsRolesApi.new
|
219
|
+
groups_group_role_href = 'groups_group_role_href_example' # String |
|
220
|
+
opts = {
|
221
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
222
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
223
|
+
}
|
224
|
+
|
225
|
+
begin
|
226
|
+
#Inspect a group role
|
227
|
+
result = api_instance.read(groups_group_role_href, opts)
|
228
|
+
p result
|
229
|
+
rescue PulpcoreClient::ApiError => e
|
230
|
+
puts "Exception when calling GroupsRolesApi->read: #{e}"
|
231
|
+
end
|
232
|
+
```
|
233
|
+
|
234
|
+
### Parameters
|
235
|
+
|
236
|
+
|
237
|
+
Name | Type | Description | Notes
|
238
|
+
------------- | ------------- | ------------- | -------------
|
239
|
+
**groups_group_role_href** | **String**| |
|
240
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
241
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
242
|
+
|
243
|
+
### Return type
|
244
|
+
|
245
|
+
[**GroupRoleResponse**](GroupRoleResponse.md)
|
246
|
+
|
247
|
+
### Authorization
|
248
|
+
|
249
|
+
[basicAuth](../README.md#basicAuth)
|
250
|
+
|
251
|
+
### HTTP request headers
|
252
|
+
|
253
|
+
- **Content-Type**: Not defined
|
254
|
+
- **Accept**: application/json
|
255
|
+
|
data/docs/GroupsUsersApi.md
CHANGED
@@ -4,15 +4,15 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](GroupsUsersApi.md#create) | **POST** {
|
8
|
-
[**delete**](GroupsUsersApi.md#delete) | **DELETE** {
|
9
|
-
[**list**](GroupsUsersApi.md#list) | **GET** {
|
7
|
+
[**create**](GroupsUsersApi.md#create) | **POST** {group_href}users/ | Create an user
|
8
|
+
[**delete**](GroupsUsersApi.md#delete) | **DELETE** {groups_user_href} | Delete an user
|
9
|
+
[**list**](GroupsUsersApi.md#list) | **GET** {group_href}users/ | List users
|
10
10
|
|
11
11
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
> GroupUserResponse create(
|
15
|
+
> GroupUserResponse create(group_href, group_user)
|
16
16
|
|
17
17
|
Create an user
|
18
18
|
|
@@ -31,12 +31,12 @@ PulpcoreClient.configure do |config|
|
|
31
31
|
end
|
32
32
|
|
33
33
|
api_instance = PulpcoreClient::GroupsUsersApi.new
|
34
|
-
|
34
|
+
group_href = 'group_href_example' # String |
|
35
35
|
group_user = PulpcoreClient::GroupUser.new # GroupUser |
|
36
36
|
|
37
37
|
begin
|
38
38
|
#Create an user
|
39
|
-
result = api_instance.create(
|
39
|
+
result = api_instance.create(group_href, group_user)
|
40
40
|
p result
|
41
41
|
rescue PulpcoreClient::ApiError => e
|
42
42
|
puts "Exception when calling GroupsUsersApi->create: #{e}"
|
@@ -48,7 +48,7 @@ end
|
|
48
48
|
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**
|
51
|
+
**group_href** | **String**| |
|
52
52
|
**group_user** | [**GroupUser**](GroupUser.md)| |
|
53
53
|
|
54
54
|
### Return type
|
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
|
|
67
67
|
|
68
68
|
## delete
|
69
69
|
|
70
|
-
> delete(
|
70
|
+
> delete(groups_user_href)
|
71
71
|
|
72
72
|
Delete an user
|
73
73
|
|
@@ -86,11 +86,11 @@ PulpcoreClient.configure do |config|
|
|
86
86
|
end
|
87
87
|
|
88
88
|
api_instance = PulpcoreClient::GroupsUsersApi.new
|
89
|
-
|
89
|
+
groups_user_href = 'groups_user_href_example' # String |
|
90
90
|
|
91
91
|
begin
|
92
92
|
#Delete an user
|
93
|
-
api_instance.delete(
|
93
|
+
api_instance.delete(groups_user_href)
|
94
94
|
rescue PulpcoreClient::ApiError => e
|
95
95
|
puts "Exception when calling GroupsUsersApi->delete: #{e}"
|
96
96
|
end
|
@@ -101,7 +101,7 @@ end
|
|
101
101
|
|
102
102
|
Name | Type | Description | Notes
|
103
103
|
------------- | ------------- | ------------- | -------------
|
104
|
-
**
|
104
|
+
**groups_user_href** | **String**| |
|
105
105
|
|
106
106
|
### Return type
|
107
107
|
|
@@ -119,7 +119,7 @@ nil (empty response body)
|
|
119
119
|
|
120
120
|
## list
|
121
121
|
|
122
|
-
> PaginatedGroupUserResponseList list(
|
122
|
+
> PaginatedGroupUserResponseList list(group_href, opts)
|
123
123
|
|
124
124
|
List users
|
125
125
|
|
@@ -138,7 +138,7 @@ PulpcoreClient.configure do |config|
|
|
138
138
|
end
|
139
139
|
|
140
140
|
api_instance = PulpcoreClient::GroupsUsersApi.new
|
141
|
-
|
141
|
+
group_href = 'group_href_example' # String |
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -149,7 +149,7 @@ opts = {
|
|
149
149
|
|
150
150
|
begin
|
151
151
|
#List users
|
152
|
-
result = api_instance.list(
|
152
|
+
result = api_instance.list(group_href, opts)
|
153
153
|
p result
|
154
154
|
rescue PulpcoreClient::ApiError => e
|
155
155
|
puts "Exception when calling GroupsUsersApi->list: #{e}"
|
@@ -161,7 +161,7 @@ end
|
|
161
161
|
|
162
162
|
Name | Type | Description | Notes
|
163
163
|
------------- | ------------- | ------------- | -------------
|
164
|
-
**
|
164
|
+
**group_href** | **String**| |
|
165
165
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
166
166
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
167
167
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::MyPermissionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**permissions** | **Array<String>** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::MyPermissionsResponse.new(permissions: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/NestedRole.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::NestedRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::NestedRole.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::NestedRoleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::NestedRoleResponse.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpcoreClient::ObjectRolesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**roles** | [**Array<NestedRoleResponse>**](NestedRoleResponse.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpcoreClient'
|
13
|
+
|
14
|
+
instance = PulpcoreClient::ObjectRolesResponse.new(roles: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedGroupRoleResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<GroupRoleResponse>**](GroupRoleResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedGroupRoleResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedRoleResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<RoleResponse>**](RoleResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedRoleResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::PaginatedUserRoleResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<UserRoleResponse>**](UserRoleResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::PaginatedUserRoleResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PatchedAccessPolicy.md
CHANGED
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects. | [optional]
|
7
|
+
**permissions_assignment** | **Array<Object>** | List of callables that define the new permissions to be created for new objects.This is deprecated. Use `creation_hooks` instead. | [optional]
|
8
|
+
**creation_hooks** | **Array<Object>** | List of callables that may associate user roles for new objects. | [optional]
|
8
9
|
**statements** | **Array<Object>** | List of policy statements defining the policy. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
@@ -13,6 +14,7 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpcoreClient'
|
14
15
|
|
15
16
|
instance = PulpcoreClient::PatchedAccessPolicy.new(permissions_assignment: null,
|
17
|
+
creation_hooks: null,
|
16
18
|
statements: null)
|
17
19
|
```
|
18
20
|
|
data/docs/PatchedRole.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::PatchedRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of this role. | [optional]
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**permissions** | **Array<String>** | List of permissions defining the role. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::PatchedRole.new(name: null,
|
17
|
+
description: null,
|
18
|
+
permissions: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/PatchedUser.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpcoreClient::PatchedUser
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**username** | **String** | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | [optional]
|
8
|
+
**password** | **String** | Users password. Set to ``null`` to disable password authentication. | [optional]
|
9
|
+
**first_name** | **String** | First name | [optional]
|
10
|
+
**last_name** | **String** | Last name | [optional]
|
11
|
+
**email** | **String** | Email address | [optional]
|
12
|
+
**is_staff** | **Boolean** | Designates whether the user can log into this admin site. | [optional] [default to false]
|
13
|
+
**is_active** | **Boolean** | Designates whether this user should be treated as active. | [optional] [default to true]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpcoreClient'
|
19
|
+
|
20
|
+
instance = PulpcoreClient::PatchedUser.new(username: null,
|
21
|
+
password: null,
|
22
|
+
first_name: null,
|
23
|
+
last_name: null,
|
24
|
+
email: null,
|
25
|
+
is_staff: null,
|
26
|
+
is_active: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/PermissionResponse.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**id** | **Integer** | | [optional] [readonly]
|
9
9
|
**permission** | **String** | | [optional] [readonly]
|
10
|
-
**obj** | **String** |
|
10
|
+
**obj** | **String** | pulp_href of the object the permission is to be asserted on. | [optional] [readonly]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/Purge.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpcoreClient::Purge
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**finished_before** | **DateTime** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional]
|
8
|
+
**states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpcoreClient'
|
14
|
+
|
15
|
+
instance = PulpcoreClient::Purge.new(finished_before: null,
|
16
|
+
states: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Role.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpcoreClient::Role
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of this role. |
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
9
|
+
**permissions** | **Array<String>** | List of permissions defining the role. |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpcoreClient'
|
15
|
+
|
16
|
+
instance = PulpcoreClient::Role.new(name: null,
|
17
|
+
description: null,
|
18
|
+
permissions: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# PulpcoreClient::RoleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**name** | **String** | The name of this role. |
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
11
|
+
**permissions** | **Array<String>** | List of permissions defining the role. |
|
12
|
+
**locked** | **Boolean** | True if the role is system managed. | [optional] [readonly]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'PulpcoreClient'
|
18
|
+
|
19
|
+
instance = PulpcoreClient::RoleResponse.new(pulp_href: null,
|
20
|
+
pulp_created: null,
|
21
|
+
name: null,
|
22
|
+
description: null,
|
23
|
+
permissions: null,
|
24
|
+
locked: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|