pulpcore_client 3.65.0 → 3.66.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +68 -4
  3. data/docs/AccessPoliciesApi.md +4 -4
  4. data/docs/ArtifactDistributionResponse.md +15 -15
  5. data/docs/ContentApi.md +4 -4
  6. data/docs/ContentOpenpgpPublickeyApi.md +212 -0
  7. data/docs/ContentOpenpgpPublicsubkeyApi.md +150 -0
  8. data/docs/ContentOpenpgpSignatureApi.md +150 -0
  9. data/docs/ContentOpenpgpUserattributeApi.md +150 -0
  10. data/docs/ContentOpenpgpUseridApi.md +166 -0
  11. data/docs/DistributionsApi.md +4 -4
  12. data/docs/DistributionsOpenpgpApi.md +478 -0
  13. data/docs/NestedOpenPGPPublicSubkey.md +19 -0
  14. data/docs/NestedOpenPGPPublicSubkeyResponse.md +21 -0
  15. data/docs/NestedOpenPGPSignature.md +27 -0
  16. data/docs/NestedOpenPGPSignatureResponse.md +29 -0
  17. data/docs/NestedOpenPGPUserAttribute.md +17 -0
  18. data/docs/NestedOpenPGPUserAttributeResponse.md +19 -0
  19. data/docs/NestedOpenPGPUserID.md +17 -0
  20. data/docs/NestedOpenPGPUserIDResponse.md +19 -0
  21. data/docs/OpenPGPDistribution.md +29 -0
  22. data/docs/OpenPGPDistributionResponse.md +41 -0
  23. data/docs/OpenPGPKeyring.md +25 -0
  24. data/docs/OpenPGPKeyringResponse.md +37 -0
  25. data/docs/OpenPGPPublicKey.md +23 -0
  26. data/docs/OpenPGPPublicKeyResponse.md +33 -0
  27. data/docs/OpenPGPPublicSubkeyResponse.md +31 -0
  28. data/docs/OpenPGPSignatureResponse.md +39 -0
  29. data/docs/OpenPGPUserAttributeResponse.md +29 -0
  30. data/docs/OpenPGPUserIDResponse.md +29 -0
  31. data/docs/PaginatedOpenPGPDistributionResponseList.md +23 -0
  32. data/docs/PaginatedOpenPGPKeyringResponseList.md +23 -0
  33. data/docs/PaginatedOpenPGPPublicKeyResponseList.md +23 -0
  34. data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +23 -0
  35. data/docs/PaginatedOpenPGPSignatureResponseList.md +23 -0
  36. data/docs/PaginatedOpenPGPUserAttributeResponseList.md +23 -0
  37. data/docs/PaginatedOpenPGPUserIDResponseList.md +23 -0
  38. data/docs/PatchedOpenPGPDistribution.md +29 -0
  39. data/docs/PatchedOpenPGPKeyring.md +25 -0
  40. data/docs/RepositoriesApi.md +4 -4
  41. data/docs/RepositoriesOpenpgpKeyringApi.md +802 -0
  42. data/docs/RepositoryAddRemoveContent.md +21 -0
  43. data/docs/SetLabel.md +19 -0
  44. data/docs/SetLabelResponse.md +19 -0
  45. data/docs/TasksApi.md +2 -2
  46. data/docs/UnsetLabel.md +17 -0
  47. data/docs/UnsetLabelResponse.md +19 -0
  48. data/lib/pulpcore_client/api/access_policies_api.rb +8 -8
  49. data/lib/pulpcore_client/api/content_api.rb +6 -6
  50. data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +266 -0
  51. data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +192 -0
  52. data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +192 -0
  53. data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +192 -0
  54. data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +216 -0
  55. data/lib/pulpcore_client/api/distributions_api.rb +6 -6
  56. data/lib/pulpcore_client/api/distributions_openpgp_api.rb +592 -0
  57. data/lib/pulpcore_client/api/repositories_api.rb +6 -6
  58. data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +992 -0
  59. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  60. data/lib/pulpcore_client/models/artifact_distribution_response.rb +69 -69
  61. data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +254 -0
  62. data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +256 -0
  63. data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +305 -0
  64. data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +290 -0
  65. data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +240 -0
  66. data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +242 -0
  67. data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +231 -0
  68. data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +223 -0
  69. data/lib/pulpcore_client/models/open_pgp_distribution.rb +322 -0
  70. data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +343 -0
  71. data/lib/pulpcore_client/models/open_pgp_keyring.rb +306 -0
  72. data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +329 -0
  73. data/lib/pulpcore_client/models/open_pgp_public_key.rb +253 -0
  74. data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +303 -0
  75. data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +304 -0
  76. data/lib/pulpcore_client/models/open_pgp_signature_response.rb +338 -0
  77. data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +290 -0
  78. data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +271 -0
  79. data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +247 -0
  80. data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +247 -0
  81. data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +247 -0
  82. data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +247 -0
  83. data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +247 -0
  84. data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +247 -0
  85. data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +247 -0
  86. data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +304 -0
  87. data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +297 -0
  88. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  89. data/lib/pulpcore_client/models/repository_add_remove_content.rb +232 -0
  90. data/lib/pulpcore_client/models/set_label.rb +252 -0
  91. data/lib/pulpcore_client/models/set_label_response.rb +243 -0
  92. data/lib/pulpcore_client/models/unset_label.rb +242 -0
  93. data/lib/pulpcore_client/models/unset_label_response.rb +242 -0
  94. data/lib/pulpcore_client/version.rb +1 -1
  95. data/lib/pulpcore_client.rb +39 -0
  96. data/spec/api/access_policies_api_spec.rb +4 -4
  97. data/spec/api/content_api_spec.rb +2 -2
  98. data/spec/api/content_openpgp_publickey_api_spec.rb +89 -0
  99. data/spec/api/content_openpgp_publicsubkey_api_spec.rb +74 -0
  100. data/spec/api/content_openpgp_signature_api_spec.rb +74 -0
  101. data/spec/api/content_openpgp_userattribute_api_spec.rb +74 -0
  102. data/spec/api/content_openpgp_userid_api_spec.rb +82 -0
  103. data/spec/api/distributions_api_spec.rb +2 -2
  104. data/spec/api/distributions_openpgp_api_spec.rb +148 -0
  105. data/spec/api/repositories_api_spec.rb +2 -2
  106. data/spec/api/repositories_openpgp_keyring_api_spec.rb +233 -0
  107. data/spec/api/tasks_api_spec.rb +1 -1
  108. data/spec/models/artifact_distribution_response_spec.rb +10 -10
  109. data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +53 -0
  110. data/spec/models/nested_open_pgp_public_subkey_spec.rb +47 -0
  111. data/spec/models/nested_open_pgp_signature_response_spec.rb +77 -0
  112. data/spec/models/nested_open_pgp_signature_spec.rb +71 -0
  113. data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +47 -0
  114. data/spec/models/nested_open_pgp_user_attribute_spec.rb +41 -0
  115. data/spec/models/nested_open_pgp_user_id_response_spec.rb +47 -0
  116. data/spec/models/nested_open_pgp_user_id_spec.rb +41 -0
  117. data/spec/models/open_pgp_distribution_response_spec.rb +113 -0
  118. data/spec/models/open_pgp_distribution_spec.rb +77 -0
  119. data/spec/models/open_pgp_keyring_response_spec.rb +101 -0
  120. data/spec/models/open_pgp_keyring_spec.rb +65 -0
  121. data/spec/models/open_pgp_public_key_response_spec.rb +89 -0
  122. data/spec/models/open_pgp_public_key_spec.rb +59 -0
  123. data/spec/models/open_pgp_public_subkey_response_spec.rb +83 -0
  124. data/spec/models/open_pgp_signature_response_spec.rb +107 -0
  125. data/spec/models/open_pgp_user_attribute_response_spec.rb +77 -0
  126. data/spec/models/open_pgp_user_id_response_spec.rb +77 -0
  127. data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +59 -0
  128. data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +59 -0
  129. data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +59 -0
  130. data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +59 -0
  131. data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +59 -0
  132. data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +59 -0
  133. data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +59 -0
  134. data/spec/models/patched_open_pgp_distribution_spec.rb +77 -0
  135. data/spec/models/patched_open_pgp_keyring_spec.rb +65 -0
  136. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  137. data/spec/models/set_label_response_spec.rb +47 -0
  138. data/spec/models/set_label_spec.rb +47 -0
  139. data/spec/models/unset_label_response_spec.rb +47 -0
  140. data/spec/models/unset_label_spec.rb +41 -0
  141. metadata +314 -158
@@ -0,0 +1,802 @@
1
+ # PulpcoreClient::RepositoriesOpenpgpKeyringApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**add_role**](RepositoriesOpenpgpKeyringApi.md#add_role) | **POST** {open_p_g_p_keyring_href}add_role/ | Add a role
8
+ [**create**](RepositoriesOpenpgpKeyringApi.md#create) | **POST** /pulp/api/v3/repositories/core/openpgp_keyring/ | Create an open pgp keyring
9
+ [**delete**](RepositoriesOpenpgpKeyringApi.md#delete) | **DELETE** {open_p_g_p_keyring_href} | Delete an open pgp keyring
10
+ [**list**](RepositoriesOpenpgpKeyringApi.md#list) | **GET** /pulp/api/v3/repositories/core/openpgp_keyring/ | List open pgp keyrings
11
+ [**list_roles**](RepositoriesOpenpgpKeyringApi.md#list_roles) | **GET** {open_p_g_p_keyring_href}list_roles/ | List roles
12
+ [**modify**](RepositoriesOpenpgpKeyringApi.md#modify) | **POST** {open_p_g_p_keyring_href}modify/ | Modify Repository Content
13
+ [**my_permissions**](RepositoriesOpenpgpKeyringApi.md#my_permissions) | **GET** {open_p_g_p_keyring_href}my_permissions/ | List user permissions
14
+ [**partial_update**](RepositoriesOpenpgpKeyringApi.md#partial_update) | **PATCH** {open_p_g_p_keyring_href} | Update an open pgp keyring
15
+ [**read**](RepositoriesOpenpgpKeyringApi.md#read) | **GET** {open_p_g_p_keyring_href} | Inspect an open pgp keyring
16
+ [**remove_role**](RepositoriesOpenpgpKeyringApi.md#remove_role) | **POST** {open_p_g_p_keyring_href}remove_role/ | Remove a role
17
+ [**set_label**](RepositoriesOpenpgpKeyringApi.md#set_label) | **POST** {open_p_g_p_keyring_href}set_label/ | Set a label
18
+ [**unset_label**](RepositoriesOpenpgpKeyringApi.md#unset_label) | **POST** {open_p_g_p_keyring_href}unset_label/ | Unset a label
19
+ [**update**](RepositoriesOpenpgpKeyringApi.md#update) | **PUT** {open_p_g_p_keyring_href} | Update an open pgp keyring
20
+
21
+
22
+
23
+ ## add_role
24
+
25
+ > NestedRoleResponse add_role(open_p_g_p_keyring_href, nested_role)
26
+
27
+ Add a role
28
+
29
+ Add a role for this object to users/groups.
30
+
31
+ ### Example
32
+
33
+ ```ruby
34
+ # load the gem
35
+ require 'pulpcore_client'
36
+ # setup authorization
37
+ PulpcoreClient.configure do |config|
38
+ # Configure HTTP basic authorization: basicAuth
39
+ config.username = 'YOUR USERNAME'
40
+ config.password = 'YOUR PASSWORD'
41
+ end
42
+
43
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
44
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
45
+ nested_role = PulpcoreClient::NestedRole.new # NestedRole |
46
+
47
+ begin
48
+ #Add a role
49
+ result = api_instance.add_role(open_p_g_p_keyring_href, nested_role)
50
+ p result
51
+ rescue PulpcoreClient::ApiError => e
52
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->add_role: #{e}"
53
+ end
54
+ ```
55
+
56
+ ### Parameters
57
+
58
+
59
+ Name | Type | Description | Notes
60
+ ------------- | ------------- | ------------- | -------------
61
+ **open_p_g_p_keyring_href** | **String**| |
62
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
63
+
64
+ ### Return type
65
+
66
+ [**NestedRoleResponse**](NestedRoleResponse.md)
67
+
68
+ ### Authorization
69
+
70
+ [basicAuth](../README.md#basicAuth)
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
75
+ - **Accept**: application/json
76
+
77
+
78
+ ## create
79
+
80
+ > OpenPGPKeyringResponse create(open_pgp_keyring)
81
+
82
+ Create an open pgp keyring
83
+
84
+ A ViewSet for an ordinary repository.
85
+
86
+ ### Example
87
+
88
+ ```ruby
89
+ # load the gem
90
+ require 'pulpcore_client'
91
+ # setup authorization
92
+ PulpcoreClient.configure do |config|
93
+ # Configure HTTP basic authorization: basicAuth
94
+ config.username = 'YOUR USERNAME'
95
+ config.password = 'YOUR PASSWORD'
96
+ end
97
+
98
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
99
+ open_pgp_keyring = PulpcoreClient::OpenPGPKeyring.new # OpenPGPKeyring |
100
+
101
+ begin
102
+ #Create an open pgp keyring
103
+ result = api_instance.create(open_pgp_keyring)
104
+ p result
105
+ rescue PulpcoreClient::ApiError => e
106
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->create: #{e}"
107
+ end
108
+ ```
109
+
110
+ ### Parameters
111
+
112
+
113
+ Name | Type | Description | Notes
114
+ ------------- | ------------- | ------------- | -------------
115
+ **open_pgp_keyring** | [**OpenPGPKeyring**](OpenPGPKeyring.md)| |
116
+
117
+ ### Return type
118
+
119
+ [**OpenPGPKeyringResponse**](OpenPGPKeyringResponse.md)
120
+
121
+ ### Authorization
122
+
123
+ [basicAuth](../README.md#basicAuth)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
128
+ - **Accept**: application/json
129
+
130
+
131
+ ## delete
132
+
133
+ > AsyncOperationResponse delete(open_p_g_p_keyring_href)
134
+
135
+ Delete an open pgp keyring
136
+
137
+ Trigger an asynchronous delete task
138
+
139
+ ### Example
140
+
141
+ ```ruby
142
+ # load the gem
143
+ require 'pulpcore_client'
144
+ # setup authorization
145
+ PulpcoreClient.configure do |config|
146
+ # Configure HTTP basic authorization: basicAuth
147
+ config.username = 'YOUR USERNAME'
148
+ config.password = 'YOUR PASSWORD'
149
+ end
150
+
151
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
152
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
153
+
154
+ begin
155
+ #Delete an open pgp keyring
156
+ result = api_instance.delete(open_p_g_p_keyring_href)
157
+ p result
158
+ rescue PulpcoreClient::ApiError => e
159
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->delete: #{e}"
160
+ end
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+
166
+ Name | Type | Description | Notes
167
+ ------------- | ------------- | ------------- | -------------
168
+ **open_p_g_p_keyring_href** | **String**| |
169
+
170
+ ### Return type
171
+
172
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
173
+
174
+ ### Authorization
175
+
176
+ [basicAuth](../README.md#basicAuth)
177
+
178
+ ### HTTP request headers
179
+
180
+ - **Content-Type**: Not defined
181
+ - **Accept**: application/json
182
+
183
+
184
+ ## list
185
+
186
+ > PaginatedOpenPGPKeyringResponseList list(opts)
187
+
188
+ List open pgp keyrings
189
+
190
+ A ViewSet for an ordinary repository.
191
+
192
+ ### Example
193
+
194
+ ```ruby
195
+ # load the gem
196
+ require 'pulpcore_client'
197
+ # setup authorization
198
+ PulpcoreClient.configure do |config|
199
+ # Configure HTTP basic authorization: basicAuth
200
+ config.username = 'YOUR USERNAME'
201
+ config.password = 'YOUR PASSWORD'
202
+ end
203
+
204
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
205
+ opts = {
206
+ latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
207
+ limit: 56, # Integer | Number of results to return per page.
208
+ name: 'name_example', # String | Filter results where name matches value
209
+ name__contains: 'name__contains_example', # String | Filter results where name contains value
210
+ name__icontains: 'name__icontains_example', # String | Filter results where name contains value
211
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
212
+ name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
213
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
214
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
215
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
216
+ name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
217
+ offset: 56, # Integer | The initial index from which to return the results.
218
+ 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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
219
+ prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
220
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
221
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
222
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
223
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
224
+ remote: 'remote_example', # String | Foreign Key referenced by HREF
225
+ retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
226
+ retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
227
+ retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
228
+ retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
229
+ retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
230
+ retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
231
+ retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
232
+ retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
233
+ with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
234
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
235
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
236
+ }
237
+
238
+ begin
239
+ #List open pgp keyrings
240
+ result = api_instance.list(opts)
241
+ p result
242
+ rescue PulpcoreClient::ApiError => e
243
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->list: #{e}"
244
+ end
245
+ ```
246
+
247
+ ### Parameters
248
+
249
+
250
+ Name | Type | Description | Notes
251
+ ------------- | ------------- | ------------- | -------------
252
+ **latest_with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
253
+ **limit** | **Integer**| Number of results to return per page. | [optional]
254
+ **name** | **String**| Filter results where name matches value | [optional]
255
+ **name__contains** | **String**| Filter results where name contains value | [optional]
256
+ **name__icontains** | **String**| Filter results where name contains value | [optional]
257
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
258
+ **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
259
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
260
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
261
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
262
+ **name__startswith** | **String**| Filter results where name starts with value | [optional]
263
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
264
+ **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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
265
+ **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
266
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
267
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
268
+ **pulp_label_select** | **String**| Filter labels by search string | [optional]
269
+ **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
270
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
271
+ **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
272
+ **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
273
+ **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
274
+ **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
275
+ **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
276
+ **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
277
+ **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
278
+ **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
279
+ **with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
280
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
281
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
282
+
283
+ ### Return type
284
+
285
+ [**PaginatedOpenPGPKeyringResponseList**](PaginatedOpenPGPKeyringResponseList.md)
286
+
287
+ ### Authorization
288
+
289
+ [basicAuth](../README.md#basicAuth)
290
+
291
+ ### HTTP request headers
292
+
293
+ - **Content-Type**: Not defined
294
+ - **Accept**: application/json
295
+
296
+
297
+ ## list_roles
298
+
299
+ > ObjectRolesResponse list_roles(open_p_g_p_keyring_href, opts)
300
+
301
+ List roles
302
+
303
+ List roles assigned to this object.
304
+
305
+ ### Example
306
+
307
+ ```ruby
308
+ # load the gem
309
+ require 'pulpcore_client'
310
+ # setup authorization
311
+ PulpcoreClient.configure do |config|
312
+ # Configure HTTP basic authorization: basicAuth
313
+ config.username = 'YOUR USERNAME'
314
+ config.password = 'YOUR PASSWORD'
315
+ end
316
+
317
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
318
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
319
+ opts = {
320
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
321
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
322
+ }
323
+
324
+ begin
325
+ #List roles
326
+ result = api_instance.list_roles(open_p_g_p_keyring_href, opts)
327
+ p result
328
+ rescue PulpcoreClient::ApiError => e
329
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->list_roles: #{e}"
330
+ end
331
+ ```
332
+
333
+ ### Parameters
334
+
335
+
336
+ Name | Type | Description | Notes
337
+ ------------- | ------------- | ------------- | -------------
338
+ **open_p_g_p_keyring_href** | **String**| |
339
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
340
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
341
+
342
+ ### Return type
343
+
344
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
345
+
346
+ ### Authorization
347
+
348
+ [basicAuth](../README.md#basicAuth)
349
+
350
+ ### HTTP request headers
351
+
352
+ - **Content-Type**: Not defined
353
+ - **Accept**: application/json
354
+
355
+
356
+ ## modify
357
+
358
+ > AsyncOperationResponse modify(open_p_g_p_keyring_href, repository_add_remove_content)
359
+
360
+ Modify Repository Content
361
+
362
+ Trigger an asynchronous task to create a new repository version.
363
+
364
+ ### Example
365
+
366
+ ```ruby
367
+ # load the gem
368
+ require 'pulpcore_client'
369
+ # setup authorization
370
+ PulpcoreClient.configure do |config|
371
+ # Configure HTTP basic authorization: basicAuth
372
+ config.username = 'YOUR USERNAME'
373
+ config.password = 'YOUR PASSWORD'
374
+ end
375
+
376
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
377
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
378
+ repository_add_remove_content = PulpcoreClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
379
+
380
+ begin
381
+ #Modify Repository Content
382
+ result = api_instance.modify(open_p_g_p_keyring_href, repository_add_remove_content)
383
+ p result
384
+ rescue PulpcoreClient::ApiError => e
385
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->modify: #{e}"
386
+ end
387
+ ```
388
+
389
+ ### Parameters
390
+
391
+
392
+ Name | Type | Description | Notes
393
+ ------------- | ------------- | ------------- | -------------
394
+ **open_p_g_p_keyring_href** | **String**| |
395
+ **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
396
+
397
+ ### Return type
398
+
399
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
400
+
401
+ ### Authorization
402
+
403
+ [basicAuth](../README.md#basicAuth)
404
+
405
+ ### HTTP request headers
406
+
407
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
408
+ - **Accept**: application/json
409
+
410
+
411
+ ## my_permissions
412
+
413
+ > MyPermissionsResponse my_permissions(open_p_g_p_keyring_href, opts)
414
+
415
+ List user permissions
416
+
417
+ List permissions available to the current user on this object.
418
+
419
+ ### Example
420
+
421
+ ```ruby
422
+ # load the gem
423
+ require 'pulpcore_client'
424
+ # setup authorization
425
+ PulpcoreClient.configure do |config|
426
+ # Configure HTTP basic authorization: basicAuth
427
+ config.username = 'YOUR USERNAME'
428
+ config.password = 'YOUR PASSWORD'
429
+ end
430
+
431
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
432
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
433
+ opts = {
434
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
435
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
436
+ }
437
+
438
+ begin
439
+ #List user permissions
440
+ result = api_instance.my_permissions(open_p_g_p_keyring_href, opts)
441
+ p result
442
+ rescue PulpcoreClient::ApiError => e
443
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->my_permissions: #{e}"
444
+ end
445
+ ```
446
+
447
+ ### Parameters
448
+
449
+
450
+ Name | Type | Description | Notes
451
+ ------------- | ------------- | ------------- | -------------
452
+ **open_p_g_p_keyring_href** | **String**| |
453
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
454
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
455
+
456
+ ### Return type
457
+
458
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
459
+
460
+ ### Authorization
461
+
462
+ [basicAuth](../README.md#basicAuth)
463
+
464
+ ### HTTP request headers
465
+
466
+ - **Content-Type**: Not defined
467
+ - **Accept**: application/json
468
+
469
+
470
+ ## partial_update
471
+
472
+ > AsyncOperationResponse partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring)
473
+
474
+ Update an open pgp keyring
475
+
476
+ Trigger an asynchronous partial update task
477
+
478
+ ### Example
479
+
480
+ ```ruby
481
+ # load the gem
482
+ require 'pulpcore_client'
483
+ # setup authorization
484
+ PulpcoreClient.configure do |config|
485
+ # Configure HTTP basic authorization: basicAuth
486
+ config.username = 'YOUR USERNAME'
487
+ config.password = 'YOUR PASSWORD'
488
+ end
489
+
490
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
491
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
492
+ patched_open_pgp_keyring = PulpcoreClient::PatchedOpenPGPKeyring.new # PatchedOpenPGPKeyring |
493
+
494
+ begin
495
+ #Update an open pgp keyring
496
+ result = api_instance.partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring)
497
+ p result
498
+ rescue PulpcoreClient::ApiError => e
499
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->partial_update: #{e}"
500
+ end
501
+ ```
502
+
503
+ ### Parameters
504
+
505
+
506
+ Name | Type | Description | Notes
507
+ ------------- | ------------- | ------------- | -------------
508
+ **open_p_g_p_keyring_href** | **String**| |
509
+ **patched_open_pgp_keyring** | [**PatchedOpenPGPKeyring**](PatchedOpenPGPKeyring.md)| |
510
+
511
+ ### Return type
512
+
513
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
514
+
515
+ ### Authorization
516
+
517
+ [basicAuth](../README.md#basicAuth)
518
+
519
+ ### HTTP request headers
520
+
521
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
522
+ - **Accept**: application/json
523
+
524
+
525
+ ## read
526
+
527
+ > OpenPGPKeyringResponse read(open_p_g_p_keyring_href, opts)
528
+
529
+ Inspect an open pgp keyring
530
+
531
+ A ViewSet for an ordinary repository.
532
+
533
+ ### Example
534
+
535
+ ```ruby
536
+ # load the gem
537
+ require 'pulpcore_client'
538
+ # setup authorization
539
+ PulpcoreClient.configure do |config|
540
+ # Configure HTTP basic authorization: basicAuth
541
+ config.username = 'YOUR USERNAME'
542
+ config.password = 'YOUR PASSWORD'
543
+ end
544
+
545
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
546
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
547
+ opts = {
548
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
549
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
550
+ }
551
+
552
+ begin
553
+ #Inspect an open pgp keyring
554
+ result = api_instance.read(open_p_g_p_keyring_href, opts)
555
+ p result
556
+ rescue PulpcoreClient::ApiError => e
557
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->read: #{e}"
558
+ end
559
+ ```
560
+
561
+ ### Parameters
562
+
563
+
564
+ Name | Type | Description | Notes
565
+ ------------- | ------------- | ------------- | -------------
566
+ **open_p_g_p_keyring_href** | **String**| |
567
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
568
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
569
+
570
+ ### Return type
571
+
572
+ [**OpenPGPKeyringResponse**](OpenPGPKeyringResponse.md)
573
+
574
+ ### Authorization
575
+
576
+ [basicAuth](../README.md#basicAuth)
577
+
578
+ ### HTTP request headers
579
+
580
+ - **Content-Type**: Not defined
581
+ - **Accept**: application/json
582
+
583
+
584
+ ## remove_role
585
+
586
+ > NestedRoleResponse remove_role(open_p_g_p_keyring_href, nested_role)
587
+
588
+ Remove a role
589
+
590
+ Remove a role for this object from users/groups.
591
+
592
+ ### Example
593
+
594
+ ```ruby
595
+ # load the gem
596
+ require 'pulpcore_client'
597
+ # setup authorization
598
+ PulpcoreClient.configure do |config|
599
+ # Configure HTTP basic authorization: basicAuth
600
+ config.username = 'YOUR USERNAME'
601
+ config.password = 'YOUR PASSWORD'
602
+ end
603
+
604
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
605
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
606
+ nested_role = PulpcoreClient::NestedRole.new # NestedRole |
607
+
608
+ begin
609
+ #Remove a role
610
+ result = api_instance.remove_role(open_p_g_p_keyring_href, nested_role)
611
+ p result
612
+ rescue PulpcoreClient::ApiError => e
613
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->remove_role: #{e}"
614
+ end
615
+ ```
616
+
617
+ ### Parameters
618
+
619
+
620
+ Name | Type | Description | Notes
621
+ ------------- | ------------- | ------------- | -------------
622
+ **open_p_g_p_keyring_href** | **String**| |
623
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
624
+
625
+ ### Return type
626
+
627
+ [**NestedRoleResponse**](NestedRoleResponse.md)
628
+
629
+ ### Authorization
630
+
631
+ [basicAuth](../README.md#basicAuth)
632
+
633
+ ### HTTP request headers
634
+
635
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
636
+ - **Accept**: application/json
637
+
638
+
639
+ ## set_label
640
+
641
+ > SetLabelResponse set_label(open_p_g_p_keyring_href, set_label)
642
+
643
+ Set a label
644
+
645
+ Set a single pulp_label on the object to a specific value or null.
646
+
647
+ ### Example
648
+
649
+ ```ruby
650
+ # load the gem
651
+ require 'pulpcore_client'
652
+ # setup authorization
653
+ PulpcoreClient.configure do |config|
654
+ # Configure HTTP basic authorization: basicAuth
655
+ config.username = 'YOUR USERNAME'
656
+ config.password = 'YOUR PASSWORD'
657
+ end
658
+
659
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
660
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
661
+ set_label = PulpcoreClient::SetLabel.new # SetLabel |
662
+
663
+ begin
664
+ #Set a label
665
+ result = api_instance.set_label(open_p_g_p_keyring_href, set_label)
666
+ p result
667
+ rescue PulpcoreClient::ApiError => e
668
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->set_label: #{e}"
669
+ end
670
+ ```
671
+
672
+ ### Parameters
673
+
674
+
675
+ Name | Type | Description | Notes
676
+ ------------- | ------------- | ------------- | -------------
677
+ **open_p_g_p_keyring_href** | **String**| |
678
+ **set_label** | [**SetLabel**](SetLabel.md)| |
679
+
680
+ ### Return type
681
+
682
+ [**SetLabelResponse**](SetLabelResponse.md)
683
+
684
+ ### Authorization
685
+
686
+ [basicAuth](../README.md#basicAuth)
687
+
688
+ ### HTTP request headers
689
+
690
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
691
+ - **Accept**: application/json
692
+
693
+
694
+ ## unset_label
695
+
696
+ > UnsetLabelResponse unset_label(open_p_g_p_keyring_href, unset_label)
697
+
698
+ Unset a label
699
+
700
+ Unset a single pulp_label on the object.
701
+
702
+ ### Example
703
+
704
+ ```ruby
705
+ # load the gem
706
+ require 'pulpcore_client'
707
+ # setup authorization
708
+ PulpcoreClient.configure do |config|
709
+ # Configure HTTP basic authorization: basicAuth
710
+ config.username = 'YOUR USERNAME'
711
+ config.password = 'YOUR PASSWORD'
712
+ end
713
+
714
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
715
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
716
+ unset_label = PulpcoreClient::UnsetLabel.new # UnsetLabel |
717
+
718
+ begin
719
+ #Unset a label
720
+ result = api_instance.unset_label(open_p_g_p_keyring_href, unset_label)
721
+ p result
722
+ rescue PulpcoreClient::ApiError => e
723
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->unset_label: #{e}"
724
+ end
725
+ ```
726
+
727
+ ### Parameters
728
+
729
+
730
+ Name | Type | Description | Notes
731
+ ------------- | ------------- | ------------- | -------------
732
+ **open_p_g_p_keyring_href** | **String**| |
733
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
734
+
735
+ ### Return type
736
+
737
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
738
+
739
+ ### Authorization
740
+
741
+ [basicAuth](../README.md#basicAuth)
742
+
743
+ ### HTTP request headers
744
+
745
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
746
+ - **Accept**: application/json
747
+
748
+
749
+ ## update
750
+
751
+ > AsyncOperationResponse update(open_p_g_p_keyring_href, open_pgp_keyring)
752
+
753
+ Update an open pgp keyring
754
+
755
+ Trigger an asynchronous update task
756
+
757
+ ### Example
758
+
759
+ ```ruby
760
+ # load the gem
761
+ require 'pulpcore_client'
762
+ # setup authorization
763
+ PulpcoreClient.configure do |config|
764
+ # Configure HTTP basic authorization: basicAuth
765
+ config.username = 'YOUR USERNAME'
766
+ config.password = 'YOUR PASSWORD'
767
+ end
768
+
769
+ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
770
+ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
771
+ open_pgp_keyring = PulpcoreClient::OpenPGPKeyring.new # OpenPGPKeyring |
772
+
773
+ begin
774
+ #Update an open pgp keyring
775
+ result = api_instance.update(open_p_g_p_keyring_href, open_pgp_keyring)
776
+ p result
777
+ rescue PulpcoreClient::ApiError => e
778
+ puts "Exception when calling RepositoriesOpenpgpKeyringApi->update: #{e}"
779
+ end
780
+ ```
781
+
782
+ ### Parameters
783
+
784
+
785
+ Name | Type | Description | Notes
786
+ ------------- | ------------- | ------------- | -------------
787
+ **open_p_g_p_keyring_href** | **String**| |
788
+ **open_pgp_keyring** | [**OpenPGPKeyring**](OpenPGPKeyring.md)| |
789
+
790
+ ### Return type
791
+
792
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
793
+
794
+ ### Authorization
795
+
796
+ [basicAuth](../README.md#basicAuth)
797
+
798
+ ### HTTP request headers
799
+
800
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
801
+ - **Accept**: application/json
802
+