pulp_gem_client 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae30e9322ed0093cbd9754fa1c74e13d9f7ef911c440ce486f340398812ee1e
4
- data.tar.gz: f78f5d9d98623c3f7a76d65455599dbc2d1921fa1502e09a11c450cdcbfb1dba
3
+ metadata.gz: 845f25834ee8b1cd98fb60410377ba4be556aab50e3050f1f1872352efe56fa3
4
+ data.tar.gz: ae14bd9210bb15a4efd0deae2cb175723c132f2a7a4d932afed2e0989b865cb5
5
5
  SHA512:
6
- metadata.gz: 5f681c58c03dd069e8d6b1bf4d95fa90b4405f5ba47543ac85f844fbdc0d40507a8ce62afdccee1f80dc1066ec4e5beaddd387a5580270db7df9e5bb201c6ca2
7
- data.tar.gz: eb96b55fc72807f68678702eb855453049556dc1fac722ac665e6aeb3193596d21beea1b1ca614f6234826146499a2ae50cf35680811e75da2ec7cd4a72999a7
6
+ metadata.gz: 4877d88f25dc70f92da3fc9a734cf1018b8e83fe78ecfc84225122f0deaa26565dcc65b1a98d22a20f758a567832d41ea6f830a0b79fe615eba350583c6f5d02
7
+ data.tar.gz: 65f4ec12b7cb87a97fc72fadf97eb340c930ed911fd020b45c7cb9d9ab9548e1efd05f8da60e8f1da7a84b1c54ca9bf06a404b5dd137a6c72d0ebd08d9273f90
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.3.0
10
+ - Package version: 0.4.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_gem_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_gem_client-0.3.0.gem
27
+ gem install ./pulp_gem_client-0.4.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_gem_client-0.3.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_gem_client-0.4.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_gem_client', '~> 0.3.0'
36
+ gem 'pulp_gem_client', '~> 0.4.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -90,32 +90,48 @@ Class | Method | HTTP request | Description
90
90
  *PulpGemClient::ContentGemApi* | [**create**](docs/ContentGemApi.md#create) | **POST** /pulp/api/v3/content/gem/gem/ | Create a gem content
91
91
  *PulpGemClient::ContentGemApi* | [**list**](docs/ContentGemApi.md#list) | **GET** /pulp/api/v3/content/gem/gem/ | List gem contents
92
92
  *PulpGemClient::ContentGemApi* | [**read**](docs/ContentGemApi.md#read) | **GET** {gem_gem_content_href} | Inspect a gem content
93
+ *PulpGemClient::DistributionsGemApi* | [**add_role**](docs/DistributionsGemApi.md#add_role) | **POST** {gem_gem_distribution_href}add_role/ | Add a role
93
94
  *PulpGemClient::DistributionsGemApi* | [**create**](docs/DistributionsGemApi.md#create) | **POST** /pulp/api/v3/distributions/gem/gem/ | Create a gem distribution
94
95
  *PulpGemClient::DistributionsGemApi* | [**delete**](docs/DistributionsGemApi.md#delete) | **DELETE** {gem_gem_distribution_href} | Delete a gem distribution
95
96
  *PulpGemClient::DistributionsGemApi* | [**list**](docs/DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
97
+ *PulpGemClient::DistributionsGemApi* | [**list_roles**](docs/DistributionsGemApi.md#list_roles) | **GET** {gem_gem_distribution_href}list_roles/ | List roles
98
+ *PulpGemClient::DistributionsGemApi* | [**my_permissions**](docs/DistributionsGemApi.md#my_permissions) | **GET** {gem_gem_distribution_href}my_permissions/ | List user permissions
96
99
  *PulpGemClient::DistributionsGemApi* | [**partial_update**](docs/DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
97
100
  *PulpGemClient::DistributionsGemApi* | [**read**](docs/DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
101
+ *PulpGemClient::DistributionsGemApi* | [**remove_role**](docs/DistributionsGemApi.md#remove_role) | **POST** {gem_gem_distribution_href}remove_role/ | Remove a role
98
102
  *PulpGemClient::DistributionsGemApi* | [**set_label**](docs/DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
99
103
  *PulpGemClient::DistributionsGemApi* | [**unset_label**](docs/DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
100
104
  *PulpGemClient::DistributionsGemApi* | [**update**](docs/DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
105
+ *PulpGemClient::PublicationsGemApi* | [**add_role**](docs/PublicationsGemApi.md#add_role) | **POST** {gem_gem_publication_href}add_role/ | Add a role
101
106
  *PulpGemClient::PublicationsGemApi* | [**create**](docs/PublicationsGemApi.md#create) | **POST** /pulp/api/v3/publications/gem/gem/ | Create a gem publication
102
107
  *PulpGemClient::PublicationsGemApi* | [**delete**](docs/PublicationsGemApi.md#delete) | **DELETE** {gem_gem_publication_href} | Delete a gem publication
103
108
  *PulpGemClient::PublicationsGemApi* | [**list**](docs/PublicationsGemApi.md#list) | **GET** /pulp/api/v3/publications/gem/gem/ | List gem publications
109
+ *PulpGemClient::PublicationsGemApi* | [**list_roles**](docs/PublicationsGemApi.md#list_roles) | **GET** {gem_gem_publication_href}list_roles/ | List roles
110
+ *PulpGemClient::PublicationsGemApi* | [**my_permissions**](docs/PublicationsGemApi.md#my_permissions) | **GET** {gem_gem_publication_href}my_permissions/ | List user permissions
104
111
  *PulpGemClient::PublicationsGemApi* | [**read**](docs/PublicationsGemApi.md#read) | **GET** {gem_gem_publication_href} | Inspect a gem publication
112
+ *PulpGemClient::PublicationsGemApi* | [**remove_role**](docs/PublicationsGemApi.md#remove_role) | **POST** {gem_gem_publication_href}remove_role/ | Remove a role
113
+ *PulpGemClient::RemotesGemApi* | [**add_role**](docs/RemotesGemApi.md#add_role) | **POST** {gem_gem_remote_href}add_role/ | Add a role
105
114
  *PulpGemClient::RemotesGemApi* | [**create**](docs/RemotesGemApi.md#create) | **POST** /pulp/api/v3/remotes/gem/gem/ | Create a gem remote
106
115
  *PulpGemClient::RemotesGemApi* | [**delete**](docs/RemotesGemApi.md#delete) | **DELETE** {gem_gem_remote_href} | Delete a gem remote
107
116
  *PulpGemClient::RemotesGemApi* | [**list**](docs/RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
117
+ *PulpGemClient::RemotesGemApi* | [**list_roles**](docs/RemotesGemApi.md#list_roles) | **GET** {gem_gem_remote_href}list_roles/ | List roles
118
+ *PulpGemClient::RemotesGemApi* | [**my_permissions**](docs/RemotesGemApi.md#my_permissions) | **GET** {gem_gem_remote_href}my_permissions/ | List user permissions
108
119
  *PulpGemClient::RemotesGemApi* | [**partial_update**](docs/RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
109
120
  *PulpGemClient::RemotesGemApi* | [**read**](docs/RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
121
+ *PulpGemClient::RemotesGemApi* | [**remove_role**](docs/RemotesGemApi.md#remove_role) | **POST** {gem_gem_remote_href}remove_role/ | Remove a role
110
122
  *PulpGemClient::RemotesGemApi* | [**set_label**](docs/RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
111
123
  *PulpGemClient::RemotesGemApi* | [**unset_label**](docs/RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
112
124
  *PulpGemClient::RemotesGemApi* | [**update**](docs/RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
125
+ *PulpGemClient::RepositoriesGemApi* | [**add_role**](docs/RepositoriesGemApi.md#add_role) | **POST** {gem_gem_repository_href}add_role/ | Add a role
113
126
  *PulpGemClient::RepositoriesGemApi* | [**create**](docs/RepositoriesGemApi.md#create) | **POST** /pulp/api/v3/repositories/gem/gem/ | Create a gem repository
114
127
  *PulpGemClient::RepositoriesGemApi* | [**delete**](docs/RepositoriesGemApi.md#delete) | **DELETE** {gem_gem_repository_href} | Delete a gem repository
115
128
  *PulpGemClient::RepositoriesGemApi* | [**list**](docs/RepositoriesGemApi.md#list) | **GET** /pulp/api/v3/repositories/gem/gem/ | List gem repositorys
129
+ *PulpGemClient::RepositoriesGemApi* | [**list_roles**](docs/RepositoriesGemApi.md#list_roles) | **GET** {gem_gem_repository_href}list_roles/ | List roles
116
130
  *PulpGemClient::RepositoriesGemApi* | [**modify**](docs/RepositoriesGemApi.md#modify) | **POST** {gem_gem_repository_href}modify/ | Modify Repository Content
131
+ *PulpGemClient::RepositoriesGemApi* | [**my_permissions**](docs/RepositoriesGemApi.md#my_permissions) | **GET** {gem_gem_repository_href}my_permissions/ | List user permissions
117
132
  *PulpGemClient::RepositoriesGemApi* | [**partial_update**](docs/RepositoriesGemApi.md#partial_update) | **PATCH** {gem_gem_repository_href} | Update a gem repository
118
133
  *PulpGemClient::RepositoriesGemApi* | [**read**](docs/RepositoriesGemApi.md#read) | **GET** {gem_gem_repository_href} | Inspect a gem repository
134
+ *PulpGemClient::RepositoriesGemApi* | [**remove_role**](docs/RepositoriesGemApi.md#remove_role) | **POST** {gem_gem_repository_href}remove_role/ | Remove a role
119
135
  *PulpGemClient::RepositoriesGemApi* | [**set_label**](docs/RepositoriesGemApi.md#set_label) | **POST** {gem_gem_repository_href}set_label/ | Set a label
120
136
  *PulpGemClient::RepositoriesGemApi* | [**sync**](docs/RepositoriesGemApi.md#sync) | **POST** {gem_gem_repository_href}sync/ | Sync from a remote
121
137
  *PulpGemClient::RepositoriesGemApi* | [**unset_label**](docs/RepositoriesGemApi.md#unset_label) | **POST** {gem_gem_repository_href}unset_label/ | Unset a label
@@ -141,6 +157,10 @@ Class | Method | HTTP request | Description
141
157
  - [PulpGemClient::GemGemRemoteResponseHiddenFields](docs/GemGemRemoteResponseHiddenFields.md)
142
158
  - [PulpGemClient::GemGemRepository](docs/GemGemRepository.md)
143
159
  - [PulpGemClient::GemGemRepositoryResponse](docs/GemGemRepositoryResponse.md)
160
+ - [PulpGemClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
161
+ - [PulpGemClient::NestedRole](docs/NestedRole.md)
162
+ - [PulpGemClient::NestedRoleResponse](docs/NestedRoleResponse.md)
163
+ - [PulpGemClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
144
164
  - [PulpGemClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
145
165
  - [PulpGemClient::PaginatedgemGemContentResponseList](docs/PaginatedgemGemContentResponseList.md)
146
166
  - [PulpGemClient::PaginatedgemGemDistributionResponseList](docs/PaginatedgemGemDistributionResponseList.md)
@@ -4,17 +4,76 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](DistributionsGemApi.md#add_role) | **POST** {gem_gem_distribution_href}add_role/ | Add a role
7
8
  [**create**](DistributionsGemApi.md#create) | **POST** /pulp/api/v3/distributions/gem/gem/ | Create a gem distribution
8
9
  [**delete**](DistributionsGemApi.md#delete) | **DELETE** {gem_gem_distribution_href} | Delete a gem distribution
9
10
  [**list**](DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
11
+ [**list_roles**](DistributionsGemApi.md#list_roles) | **GET** {gem_gem_distribution_href}list_roles/ | List roles
12
+ [**my_permissions**](DistributionsGemApi.md#my_permissions) | **GET** {gem_gem_distribution_href}my_permissions/ | List user permissions
10
13
  [**partial_update**](DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
11
14
  [**read**](DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
15
+ [**remove_role**](DistributionsGemApi.md#remove_role) | **POST** {gem_gem_distribution_href}remove_role/ | Remove a role
12
16
  [**set_label**](DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
13
17
  [**unset_label**](DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
14
18
  [**update**](DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
15
19
 
16
20
 
17
21
 
22
+ ## add_role
23
+
24
+ > NestedRoleResponse add_role(gem_gem_distribution_href, nested_role)
25
+
26
+ Add a role
27
+
28
+ Add a role for this object to users/groups.
29
+
30
+ ### Example
31
+
32
+ ```ruby
33
+ # load the gem
34
+ require 'pulp_gem_client'
35
+ # setup authorization
36
+ PulpGemClient.configure do |config|
37
+ # Configure HTTP basic authorization: basicAuth
38
+ config.username = 'YOUR USERNAME'
39
+ config.password = 'YOUR PASSWORD'
40
+ end
41
+
42
+ api_instance = PulpGemClient::DistributionsGemApi.new
43
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
44
+ nested_role = PulpGemClient::NestedRole.new # NestedRole |
45
+
46
+ begin
47
+ #Add a role
48
+ result = api_instance.add_role(gem_gem_distribution_href, nested_role)
49
+ p result
50
+ rescue PulpGemClient::ApiError => e
51
+ puts "Exception when calling DistributionsGemApi->add_role: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+
58
+ Name | Type | Description | Notes
59
+ ------------- | ------------- | ------------- | -------------
60
+ **gem_gem_distribution_href** | **String**| |
61
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
62
+
63
+ ### Return type
64
+
65
+ [**NestedRoleResponse**](NestedRoleResponse.md)
66
+
67
+ ### Authorization
68
+
69
+ [basicAuth](../README.md#basicAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
74
+ - **Accept**: application/json
75
+
76
+
18
77
  ## create
19
78
 
20
79
  > AsyncOperationResponse create(gem_gem_distribution)
@@ -153,7 +212,9 @@ opts = {
153
212
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
154
213
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
155
214
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
215
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
156
216
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
217
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
157
218
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
158
219
  offset: 56, # Integer | The initial index from which to return the results.
159
220
  ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
@@ -192,7 +253,9 @@ Name | Type | Description | Notes
192
253
  **name__icontains** | **String**| Filter results where name contains value | [optional]
193
254
  **name__iexact** | **String**| Filter results where name matches value | [optional]
194
255
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
256
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
195
257
  **name__istartswith** | **String**| Filter results where name starts with value | [optional]
258
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
196
259
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
197
260
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
198
261
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
@@ -220,6 +283,124 @@ Name | Type | Description | Notes
220
283
  - **Accept**: application/json
221
284
 
222
285
 
286
+ ## list_roles
287
+
288
+ > ObjectRolesResponse list_roles(gem_gem_distribution_href, opts)
289
+
290
+ List roles
291
+
292
+ List roles assigned to this object.
293
+
294
+ ### Example
295
+
296
+ ```ruby
297
+ # load the gem
298
+ require 'pulp_gem_client'
299
+ # setup authorization
300
+ PulpGemClient.configure do |config|
301
+ # Configure HTTP basic authorization: basicAuth
302
+ config.username = 'YOUR USERNAME'
303
+ config.password = 'YOUR PASSWORD'
304
+ end
305
+
306
+ api_instance = PulpGemClient::DistributionsGemApi.new
307
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
308
+ opts = {
309
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
310
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
311
+ }
312
+
313
+ begin
314
+ #List roles
315
+ result = api_instance.list_roles(gem_gem_distribution_href, opts)
316
+ p result
317
+ rescue PulpGemClient::ApiError => e
318
+ puts "Exception when calling DistributionsGemApi->list_roles: #{e}"
319
+ end
320
+ ```
321
+
322
+ ### Parameters
323
+
324
+
325
+ Name | Type | Description | Notes
326
+ ------------- | ------------- | ------------- | -------------
327
+ **gem_gem_distribution_href** | **String**| |
328
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
329
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
330
+
331
+ ### Return type
332
+
333
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
334
+
335
+ ### Authorization
336
+
337
+ [basicAuth](../README.md#basicAuth)
338
+
339
+ ### HTTP request headers
340
+
341
+ - **Content-Type**: Not defined
342
+ - **Accept**: application/json
343
+
344
+
345
+ ## my_permissions
346
+
347
+ > MyPermissionsResponse my_permissions(gem_gem_distribution_href, opts)
348
+
349
+ List user permissions
350
+
351
+ List permissions available to the current user on this object.
352
+
353
+ ### Example
354
+
355
+ ```ruby
356
+ # load the gem
357
+ require 'pulp_gem_client'
358
+ # setup authorization
359
+ PulpGemClient.configure do |config|
360
+ # Configure HTTP basic authorization: basicAuth
361
+ config.username = 'YOUR USERNAME'
362
+ config.password = 'YOUR PASSWORD'
363
+ end
364
+
365
+ api_instance = PulpGemClient::DistributionsGemApi.new
366
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
367
+ opts = {
368
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
369
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
370
+ }
371
+
372
+ begin
373
+ #List user permissions
374
+ result = api_instance.my_permissions(gem_gem_distribution_href, opts)
375
+ p result
376
+ rescue PulpGemClient::ApiError => e
377
+ puts "Exception when calling DistributionsGemApi->my_permissions: #{e}"
378
+ end
379
+ ```
380
+
381
+ ### Parameters
382
+
383
+
384
+ Name | Type | Description | Notes
385
+ ------------- | ------------- | ------------- | -------------
386
+ **gem_gem_distribution_href** | **String**| |
387
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
388
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
389
+
390
+ ### Return type
391
+
392
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
393
+
394
+ ### Authorization
395
+
396
+ [basicAuth](../README.md#basicAuth)
397
+
398
+ ### HTTP request headers
399
+
400
+ - **Content-Type**: Not defined
401
+ - **Accept**: application/json
402
+
403
+
223
404
  ## partial_update
224
405
 
225
406
  > AsyncOperationResponse partial_update(gem_gem_distribution_href, patchedgem_gem_distribution)
@@ -334,6 +515,61 @@ Name | Type | Description | Notes
334
515
  - **Accept**: application/json
335
516
 
336
517
 
518
+ ## remove_role
519
+
520
+ > NestedRoleResponse remove_role(gem_gem_distribution_href, nested_role)
521
+
522
+ Remove a role
523
+
524
+ Remove a role for this object from users/groups.
525
+
526
+ ### Example
527
+
528
+ ```ruby
529
+ # load the gem
530
+ require 'pulp_gem_client'
531
+ # setup authorization
532
+ PulpGemClient.configure do |config|
533
+ # Configure HTTP basic authorization: basicAuth
534
+ config.username = 'YOUR USERNAME'
535
+ config.password = 'YOUR PASSWORD'
536
+ end
537
+
538
+ api_instance = PulpGemClient::DistributionsGemApi.new
539
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
540
+ nested_role = PulpGemClient::NestedRole.new # NestedRole |
541
+
542
+ begin
543
+ #Remove a role
544
+ result = api_instance.remove_role(gem_gem_distribution_href, nested_role)
545
+ p result
546
+ rescue PulpGemClient::ApiError => e
547
+ puts "Exception when calling DistributionsGemApi->remove_role: #{e}"
548
+ end
549
+ ```
550
+
551
+ ### Parameters
552
+
553
+
554
+ Name | Type | Description | Notes
555
+ ------------- | ------------- | ------------- | -------------
556
+ **gem_gem_distribution_href** | **String**| |
557
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
558
+
559
+ ### Return type
560
+
561
+ [**NestedRoleResponse**](NestedRoleResponse.md)
562
+
563
+ ### Authorization
564
+
565
+ [basicAuth](../README.md#basicAuth)
566
+
567
+ ### HTTP request headers
568
+
569
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
570
+ - **Accept**: application/json
571
+
572
+
337
573
  ## set_label
338
574
 
339
575
  > SetLabelResponse set_label(gem_gem_distribution_href, set_label)
@@ -0,0 +1,17 @@
1
+ # PulpGemClient::MyPermissionsResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **permissions** | **Array&lt;String&gt;** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpGemClient'
13
+
14
+ instance = PulpGemClient::MyPermissionsResponse.new(permissions: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # PulpGemClient::NestedRole
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpGemClient'
15
+
16
+ instance = PulpGemClient::NestedRole.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # PulpGemClient::NestedRoleResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpGemClient'
15
+
16
+ instance = PulpGemClient::NestedRoleResponse.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,17 @@
1
+ # PulpGemClient::ObjectRolesResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **roles** | [**Array&lt;NestedRoleResponse&gt;**](NestedRoleResponse.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpGemClient'
13
+
14
+ instance = PulpGemClient::ObjectRolesResponse.new(roles: null)
15
+ ```
16
+
17
+