akeyless 5.0.23 → 5.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -5
  3. data/docs/AgenticRule.md +20 -0
  4. data/docs/AgenticRules.md +20 -0
  5. data/docs/CreateRole.md +2 -0
  6. data/docs/CreateUSC.md +5 -1
  7. data/docs/DSProducerDetails.md +2 -0
  8. data/docs/DeleteRoleRule.md +1 -1
  9. data/docs/EsmListSecretsOutput.md +2 -0
  10. data/docs/GatewayMigrationCreateOutput.md +2 -0
  11. data/docs/ItemGeneralInfo.md +2 -0
  12. data/docs/ListItems.md +2 -0
  13. data/docs/RuntimeAuthorityCommand.md +28 -0
  14. data/docs/SetDefaultProfile.md +20 -0
  15. data/docs/SetDefaultProfileOutput.md +18 -0
  16. data/docs/SetRoleRule.md +1 -1
  17. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  18. data/docs/Target.md +2 -0
  19. data/docs/TargetCreateArtifactory.md +2 -0
  20. data/docs/TargetCreateAws.md +2 -0
  21. data/docs/TargetCreateAzure.md +2 -0
  22. data/docs/TargetCreateDB.md +2 -0
  23. data/docs/TargetCreateDigiCert.md +2 -0
  24. data/docs/TargetCreateDockerhub.md +2 -0
  25. data/docs/TargetCreateEks.md +2 -0
  26. data/docs/TargetCreateGcp.md +2 -0
  27. data/docs/TargetCreateGemini.md +2 -0
  28. data/docs/TargetCreateGithub.md +2 -0
  29. data/docs/TargetCreateGitlab.md +2 -0
  30. data/docs/TargetCreateGke.md +2 -0
  31. data/docs/TargetCreateGlobalSign.md +2 -0
  32. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  33. data/docs/TargetCreateGodaddy.md +2 -0
  34. data/docs/TargetCreateGoogleTrust.md +2 -0
  35. data/docs/TargetCreateHashiVault.md +2 -0
  36. data/docs/TargetCreateK8s.md +2 -0
  37. data/docs/TargetCreateLdap.md +2 -0
  38. data/docs/TargetCreateLetsEncrypt.md +2 -0
  39. data/docs/TargetCreateLinked.md +2 -0
  40. data/docs/TargetCreateOpenAI.md +2 -0
  41. data/docs/TargetCreatePing.md +2 -0
  42. data/docs/TargetCreateRabbitMq.md +2 -0
  43. data/docs/TargetCreateSalesforce.md +2 -0
  44. data/docs/TargetCreateSectigo.md +2 -0
  45. data/docs/TargetCreateSplunk.md +2 -0
  46. data/docs/TargetCreateSsh.md +2 -0
  47. data/docs/TargetCreateWeb.md +2 -0
  48. data/docs/TargetCreateWindows.md +2 -0
  49. data/docs/TargetCreateZeroSSL.md +2 -0
  50. data/docs/TargetUpdateArtifactory.md +2 -0
  51. data/docs/TargetUpdateAws.md +2 -0
  52. data/docs/TargetUpdateAzure.md +2 -0
  53. data/docs/TargetUpdateDB.md +2 -0
  54. data/docs/TargetUpdateDockerhub.md +2 -0
  55. data/docs/TargetUpdateEks.md +2 -0
  56. data/docs/TargetUpdateGcp.md +2 -0
  57. data/docs/TargetUpdateGemini.md +2 -0
  58. data/docs/TargetUpdateGithub.md +2 -0
  59. data/docs/TargetUpdateGitlab.md +2 -0
  60. data/docs/TargetUpdateGke.md +2 -0
  61. data/docs/TargetUpdateGlobalSign.md +2 -0
  62. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  63. data/docs/TargetUpdateGodaddy.md +2 -0
  64. data/docs/TargetUpdateGoogleTrust.md +2 -0
  65. data/docs/TargetUpdateHashiVault.md +2 -0
  66. data/docs/TargetUpdateK8s.md +2 -0
  67. data/docs/TargetUpdateLdap.md +2 -0
  68. data/docs/TargetUpdateLetsEncrypt.md +2 -0
  69. data/docs/TargetUpdateOpenAI.md +2 -0
  70. data/docs/TargetUpdatePing.md +2 -0
  71. data/docs/TargetUpdateRabbitMq.md +2 -0
  72. data/docs/TargetUpdateSalesforce.md +2 -0
  73. data/docs/TargetUpdateSectigo.md +2 -0
  74. data/docs/TargetUpdateSsh.md +2 -0
  75. data/docs/TargetUpdateWeb.md +2 -0
  76. data/docs/TargetUpdateWindows.md +2 -0
  77. data/docs/TargetUpdateZeroSSL.md +2 -0
  78. data/docs/UpdateItem.md +5 -1
  79. data/docs/UpdateRole.md +2 -0
  80. data/docs/UpdateTarget.md +2 -0
  81. data/docs/UscList.md +4 -0
  82. data/docs/UscListSecretsOutput.md +2 -0
  83. data/docs/V2Api.md +66 -4
  84. data/lib/akeyless/api/v2_api.rb +68 -4
  85. data/lib/akeyless/models/agentic_rule.rb +223 -0
  86. data/lib/akeyless/models/agentic_rules.rb +227 -0
  87. data/lib/akeyless/models/create_role.rb +11 -1
  88. data/lib/akeyless/models/create_usc.rb +24 -4
  89. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  90. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  91. data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
  92. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  93. data/lib/akeyless/models/item_general_info.rb +10 -1
  94. data/lib/akeyless/models/list_items.rb +13 -1
  95. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  96. data/lib/akeyless/models/set_default_profile.rb +234 -0
  97. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  98. data/lib/akeyless/models/set_role_rule.rb +1 -1
  99. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  100. data/lib/akeyless/models/target.rb +10 -1
  101. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  102. data/lib/akeyless/models/target_create_aws.rb +11 -1
  103. data/lib/akeyless/models/target_create_azure.rb +11 -1
  104. data/lib/akeyless/models/target_create_db.rb +11 -1
  105. data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
  106. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  107. data/lib/akeyless/models/target_create_eks.rb +11 -1
  108. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  109. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  110. data/lib/akeyless/models/target_create_github.rb +11 -1
  111. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  112. data/lib/akeyless/models/target_create_gke.rb +11 -1
  113. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  114. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  115. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  116. data/lib/akeyless/models/target_create_google_trust.rb +11 -1
  117. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  118. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  119. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  120. data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
  121. data/lib/akeyless/models/target_create_linked.rb +11 -1
  122. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  123. data/lib/akeyless/models/target_create_ping.rb +11 -1
  124. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  125. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  126. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  127. data/lib/akeyless/models/target_create_splunk.rb +11 -1
  128. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  129. data/lib/akeyless/models/target_create_web.rb +11 -1
  130. data/lib/akeyless/models/target_create_windows.rb +11 -1
  131. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  132. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  133. data/lib/akeyless/models/target_update_aws.rb +11 -1
  134. data/lib/akeyless/models/target_update_azure.rb +11 -1
  135. data/lib/akeyless/models/target_update_db.rb +11 -1
  136. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  137. data/lib/akeyless/models/target_update_eks.rb +11 -1
  138. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  139. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  140. data/lib/akeyless/models/target_update_github.rb +11 -1
  141. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  142. data/lib/akeyless/models/target_update_gke.rb +11 -1
  143. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  144. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  145. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  146. data/lib/akeyless/models/target_update_google_trust.rb +11 -1
  147. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  148. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  149. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  150. data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
  151. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  152. data/lib/akeyless/models/target_update_ping.rb +11 -1
  153. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  154. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  155. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  156. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  157. data/lib/akeyless/models/target_update_web.rb +11 -1
  158. data/lib/akeyless/models/target_update_windows.rb +11 -1
  159. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  160. data/lib/akeyless/models/update_item.rb +24 -4
  161. data/lib/akeyless/models/update_role.rb +11 -1
  162. data/lib/akeyless/models/update_target.rb +11 -1
  163. data/lib/akeyless/models/usc_list.rb +21 -1
  164. data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
  165. data/lib/akeyless/version.rb +1 -1
  166. data/lib/akeyless.rb +5 -0
  167. data/spec/models/agentic_rule_spec.rb +42 -0
  168. data/spec/models/agentic_rules_spec.rb +42 -0
  169. data/spec/models/runtime_authority_command_spec.rb +66 -0
  170. data/spec/models/set_default_profile_output_spec.rb +36 -0
  171. data/spec/models/set_default_profile_spec.rb +42 -0
  172. metadata +22 -2
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # API Key of the ZeroSSLTarget account
20
20
  attr_accessor :api_key
21
21
 
22
+ # Protection from accidental deletion of this object [true/false]
23
+ attr_accessor :delete_protection
24
+
22
25
  # Description of the object
23
26
  attr_accessor :description
24
27
 
@@ -62,6 +65,7 @@ module Akeyless
62
65
  def self.attribute_map
63
66
  {
64
67
  :'api_key' => :'api-key',
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'imap_fqdn' => :'imap-fqdn',
67
71
  :'imap_password' => :'imap-password',
@@ -87,6 +91,7 @@ module Akeyless
87
91
  def self.openapi_types
88
92
  {
89
93
  :'api_key' => :'String',
94
+ :'delete_protection' => :'String',
90
95
  :'description' => :'String',
91
96
  :'imap_fqdn' => :'String',
92
97
  :'imap_password' => :'String',
@@ -130,6 +135,10 @@ module Akeyless
130
135
  self.api_key = nil
131
136
  end
132
137
 
138
+ if attributes.key?(:'delete_protection')
139
+ self.delete_protection = attributes[:'delete_protection']
140
+ end
141
+
133
142
  if attributes.key?(:'description')
134
143
  self.description = attributes[:'description']
135
144
  end
@@ -243,6 +252,7 @@ module Akeyless
243
252
  return true if self.equal?(o)
244
253
  self.class == o.class &&
245
254
  api_key == o.api_key &&
255
+ delete_protection == o.delete_protection &&
246
256
  description == o.description &&
247
257
  imap_fqdn == o.imap_fqdn &&
248
258
  imap_password == o.imap_password &&
@@ -267,7 +277,7 @@ module Akeyless
267
277
  # Calculates hash code according to all attributes.
268
278
  # @return [Integer] Hash code
269
279
  def hash
270
- [api_key, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, key, max_versions, name, timeout, token, uid_token].hash
280
+ [api_key, delete_protection, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, key, max_versions, name, timeout, token, uid_token].hash
271
281
  end
272
282
 
273
283
  # Builds the object from hash
@@ -24,6 +24,9 @@ module Akeyless
24
24
  # Base URL
25
25
  attr_accessor :base_url
26
26
 
27
+ # Protection from accidental deletion of this object [true/false]
28
+ attr_accessor :delete_protection
29
+
27
30
  # Description of the object
28
31
  attr_accessor :description
29
32
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  :'artifactory_admin_name' => :'artifactory-admin-name',
58
61
  :'artifactory_admin_pwd' => :'artifactory-admin-pwd',
59
62
  :'base_url' => :'base-url',
63
+ :'delete_protection' => :'delete_protection',
60
64
  :'description' => :'description',
61
65
  :'json' => :'json',
62
66
  :'keep_prev_version' => :'keep-prev-version',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  :'artifactory_admin_name' => :'String',
81
85
  :'artifactory_admin_pwd' => :'String',
82
86
  :'base_url' => :'String',
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'json' => :'Boolean',
85
90
  :'keep_prev_version' => :'String',
@@ -131,6 +136,10 @@ module Akeyless
131
136
  self.base_url = nil
132
137
  end
133
138
 
139
+ if attributes.key?(:'delete_protection')
140
+ self.delete_protection = attributes[:'delete_protection']
141
+ end
142
+
134
143
  if attributes.key?(:'description')
135
144
  self.description = attributes[:'description']
136
145
  end
@@ -215,6 +224,7 @@ module Akeyless
215
224
  artifactory_admin_name == o.artifactory_admin_name &&
216
225
  artifactory_admin_pwd == o.artifactory_admin_pwd &&
217
226
  base_url == o.base_url &&
227
+ delete_protection == o.delete_protection &&
218
228
  description == o.description &&
219
229
  json == o.json &&
220
230
  keep_prev_version == o.keep_prev_version &&
@@ -235,7 +245,7 @@ module Akeyless
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [artifactory_admin_name, artifactory_admin_pwd, base_url, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
248
+ [artifactory_admin_name, artifactory_admin_pwd, base_url, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -21,6 +21,9 @@ module Akeyless
21
21
  # AWS access key ID
22
22
  attr_accessor :access_key_id
23
23
 
24
+ # Protection from accidental deletion of this object [true/false]
25
+ attr_accessor :delete_protection
26
+
24
27
  # Description of the object
25
28
  attr_accessor :description
26
29
 
@@ -68,6 +71,7 @@ module Akeyless
68
71
  {
69
72
  :'access_key' => :'access-key',
70
73
  :'access_key_id' => :'access-key-id',
74
+ :'delete_protection' => :'delete_protection',
71
75
  :'description' => :'description',
72
76
  :'generate_external_id' => :'generate-external-id',
73
77
  :'json' => :'json',
@@ -95,6 +99,7 @@ module Akeyless
95
99
  {
96
100
  :'access_key' => :'String',
97
101
  :'access_key_id' => :'String',
102
+ :'delete_protection' => :'String',
98
103
  :'description' => :'String',
99
104
  :'generate_external_id' => :'Boolean',
100
105
  :'json' => :'Boolean',
@@ -145,6 +150,10 @@ module Akeyless
145
150
  self.access_key_id = nil
146
151
  end
147
152
 
153
+ if attributes.key?(:'delete_protection')
154
+ self.delete_protection = attributes[:'delete_protection']
155
+ end
156
+
148
157
  if attributes.key?(:'description')
149
158
  self.description = attributes[:'description']
150
159
  end
@@ -245,6 +254,7 @@ module Akeyless
245
254
  self.class == o.class &&
246
255
  access_key == o.access_key &&
247
256
  access_key_id == o.access_key_id &&
257
+ delete_protection == o.delete_protection &&
248
258
  description == o.description &&
249
259
  generate_external_id == o.generate_external_id &&
250
260
  json == o.json &&
@@ -270,7 +280,7 @@ module Akeyless
270
280
  # Calculates hash code according to all attributes.
271
281
  # @return [Integer] Hash code
272
282
  def hash
273
- [access_key, access_key_id, description, generate_external_id, json, keep_prev_version, key, max_versions, name, new_name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
283
+ [access_key, access_key_id, delete_protection, description, generate_external_id, json, keep_prev_version, key, max_versions, name, new_name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
274
284
  end
275
285
 
276
286
  # Builds the object from hash
@@ -27,6 +27,9 @@ module Akeyless
27
27
  # Type of connection [credentials/cloud-identity]
28
28
  attr_accessor :connection_type
29
29
 
30
+ # Protection from accidental deletion of this object [true/false]
31
+ attr_accessor :delete_protection
32
+
30
33
  # Description of the object
31
34
  attr_accessor :description
32
35
 
@@ -76,6 +79,7 @@ module Akeyless
76
79
  :'client_id' => :'client-id',
77
80
  :'client_secret' => :'client-secret',
78
81
  :'connection_type' => :'connection-type',
82
+ :'delete_protection' => :'delete_protection',
79
83
  :'description' => :'description',
80
84
  :'json' => :'json',
81
85
  :'keep_prev_version' => :'keep-prev-version',
@@ -105,6 +109,7 @@ module Akeyless
105
109
  :'client_id' => :'String',
106
110
  :'client_secret' => :'String',
107
111
  :'connection_type' => :'String',
112
+ :'delete_protection' => :'String',
108
113
  :'description' => :'String',
109
114
  :'json' => :'Boolean',
110
115
  :'keep_prev_version' => :'String',
@@ -163,6 +168,10 @@ module Akeyless
163
168
  self.connection_type = 'credentials'
164
169
  end
165
170
 
171
+ if attributes.key?(:'delete_protection')
172
+ self.delete_protection = attributes[:'delete_protection']
173
+ end
174
+
166
175
  if attributes.key?(:'description')
167
176
  self.description = attributes[:'description']
168
177
  end
@@ -253,6 +262,7 @@ module Akeyless
253
262
  client_id == o.client_id &&
254
263
  client_secret == o.client_secret &&
255
264
  connection_type == o.connection_type &&
265
+ delete_protection == o.delete_protection &&
256
266
  description == o.description &&
257
267
  json == o.json &&
258
268
  keep_prev_version == o.keep_prev_version &&
@@ -278,7 +288,7 @@ module Akeyless
278
288
  # Calculates hash code according to all attributes.
279
289
  # @return [Integer] Hash code
280
290
  def hash
281
- [azure_cloud, client_id, client_secret, connection_type, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
291
+ [azure_cloud, client_id, client_secret, connection_type, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
282
292
  end
283
293
 
284
294
  # Builds the object from hash
@@ -46,6 +46,9 @@ module Akeyless
46
46
 
47
47
  attr_accessor :db_type
48
48
 
49
+ # Protection from accidental deletion of this object [true/false]
50
+ attr_accessor :delete_protection
51
+
49
52
  # Description of the object
50
53
  attr_accessor :description
51
54
 
@@ -141,6 +144,7 @@ module Akeyless
141
144
  :'db_server_certificates' => :'db-server-certificates',
142
145
  :'db_server_name' => :'db-server-name',
143
146
  :'db_type' => :'db-type',
147
+ :'delete_protection' => :'delete_protection',
144
148
  :'description' => :'description',
145
149
  :'host' => :'host',
146
150
  :'json' => :'json',
@@ -192,6 +196,7 @@ module Akeyless
192
196
  :'db_server_certificates' => :'String',
193
197
  :'db_server_name' => :'String',
194
198
  :'db_type' => :'String',
199
+ :'delete_protection' => :'String',
195
200
  :'description' => :'String',
196
201
  :'host' => :'String',
197
202
  :'json' => :'Boolean',
@@ -293,6 +298,10 @@ module Akeyless
293
298
  self.db_type = nil
294
299
  end
295
300
 
301
+ if attributes.key?(:'delete_protection')
302
+ self.delete_protection = attributes[:'delete_protection']
303
+ end
304
+
296
305
  if attributes.key?(:'description')
297
306
  self.description = attributes[:'description']
298
307
  end
@@ -462,6 +471,7 @@ module Akeyless
462
471
  db_server_certificates == o.db_server_certificates &&
463
472
  db_server_name == o.db_server_name &&
464
473
  db_type == o.db_type &&
474
+ delete_protection == o.delete_protection &&
465
475
  description == o.description &&
466
476
  host == o.host &&
467
477
  json == o.json &&
@@ -502,7 +512,7 @@ module Akeyless
502
512
  # Calculates hash code according to all attributes.
503
513
  # @return [Integer] Hash code
504
514
  def hash
505
- [azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, keep_prev_version, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
515
+ [azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, delete_protection, description, host, json, keep_prev_version, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
506
516
  end
507
517
 
508
518
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateDockerhub
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -51,6 +54,7 @@ module Akeyless
51
54
  # Attribute mapping from ruby-style variable name to JSON key.
52
55
  def self.attribute_map
53
56
  {
57
+ :'delete_protection' => :'delete_protection',
54
58
  :'description' => :'description',
55
59
  :'dockerhub_password' => :'dockerhub-password',
56
60
  :'dockerhub_username' => :'dockerhub-username',
@@ -73,6 +77,7 @@ module Akeyless
73
77
  # Attribute type mapping.
74
78
  def self.openapi_types
75
79
  {
80
+ :'delete_protection' => :'String',
76
81
  :'description' => :'String',
77
82
  :'dockerhub_password' => :'String',
78
83
  :'dockerhub_username' => :'String',
@@ -108,6 +113,10 @@ module Akeyless
108
113
  h[k.to_sym] = v
109
114
  }
110
115
 
116
+ if attributes.key?(:'delete_protection')
117
+ self.delete_protection = attributes[:'delete_protection']
118
+ end
119
+
111
120
  if attributes.key?(:'description')
112
121
  self.description = attributes[:'description']
113
122
  end
@@ -182,6 +191,7 @@ module Akeyless
182
191
  def ==(o)
183
192
  return true if self.equal?(o)
184
193
  self.class == o.class &&
194
+ delete_protection == o.delete_protection &&
185
195
  description == o.description &&
186
196
  dockerhub_password == o.dockerhub_password &&
187
197
  dockerhub_username == o.dockerhub_username &&
@@ -204,7 +214,7 @@ module Akeyless
204
214
  # Calculates hash code according to all attributes.
205
215
  # @return [Integer] Hash code
206
216
  def hash
207
- [description, dockerhub_password, dockerhub_username, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
217
+ [delete_protection, description, dockerhub_password, dockerhub_username, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
208
218
  end
209
219
 
210
220
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateEks
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -65,6 +68,7 @@ module Akeyless
65
68
  # Attribute mapping from ruby-style variable name to JSON key.
66
69
  def self.attribute_map
67
70
  {
71
+ :'delete_protection' => :'delete_protection',
68
72
  :'description' => :'description',
69
73
  :'eks_access_key_id' => :'eks-access-key-id',
70
74
  :'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
@@ -92,6 +96,7 @@ module Akeyless
92
96
  # Attribute type mapping.
93
97
  def self.openapi_types
94
98
  {
99
+ :'delete_protection' => :'String',
95
100
  :'description' => :'String',
96
101
  :'eks_access_key_id' => :'String',
97
102
  :'eks_cluster_ca_cert' => :'String',
@@ -132,6 +137,10 @@ module Akeyless
132
137
  h[k.to_sym] = v
133
138
  }
134
139
 
140
+ if attributes.key?(:'delete_protection')
141
+ self.delete_protection = attributes[:'delete_protection']
142
+ end
143
+
135
144
  if attributes.key?(:'description')
136
145
  self.description = attributes[:'description']
137
146
  end
@@ -263,6 +272,7 @@ module Akeyless
263
272
  def ==(o)
264
273
  return true if self.equal?(o)
265
274
  self.class == o.class &&
275
+ delete_protection == o.delete_protection &&
266
276
  description == o.description &&
267
277
  eks_access_key_id == o.eks_access_key_id &&
268
278
  eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
@@ -290,7 +300,7 @@ module Akeyless
290
300
  # Calculates hash code according to all attributes.
291
301
  # @return [Integer] Hash code
292
302
  def hash
293
- [description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
303
+ [delete_protection, description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
294
304
  end
295
305
 
296
306
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateGcp
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -50,6 +53,7 @@ module Akeyless
50
53
  # Attribute mapping from ruby-style variable name to JSON key.
51
54
  def self.attribute_map
52
55
  {
56
+ :'delete_protection' => :'delete_protection',
53
57
  :'description' => :'description',
54
58
  :'gcp_key' => :'gcp-key',
55
59
  :'json' => :'json',
@@ -72,6 +76,7 @@ module Akeyless
72
76
  # Attribute type mapping.
73
77
  def self.openapi_types
74
78
  {
79
+ :'delete_protection' => :'String',
75
80
  :'description' => :'String',
76
81
  :'gcp_key' => :'String',
77
82
  :'json' => :'Boolean',
@@ -107,6 +112,10 @@ module Akeyless
107
112
  h[k.to_sym] = v
108
113
  }
109
114
 
115
+ if attributes.key?(:'delete_protection')
116
+ self.delete_protection = attributes[:'delete_protection']
117
+ end
118
+
110
119
  if attributes.key?(:'description')
111
120
  self.description = attributes[:'description']
112
121
  end
@@ -181,6 +190,7 @@ module Akeyless
181
190
  def ==(o)
182
191
  return true if self.equal?(o)
183
192
  self.class == o.class &&
193
+ delete_protection == o.delete_protection &&
184
194
  description == o.description &&
185
195
  gcp_key == o.gcp_key &&
186
196
  json == o.json &&
@@ -203,7 +213,7 @@ module Akeyless
203
213
  # Calculates hash code according to all attributes.
204
214
  # @return [Integer] Hash code
205
215
  def hash
206
- [description, gcp_key, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
216
+ [delete_protection, description, gcp_key, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
207
217
  end
208
218
 
209
219
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # API key for Gemini
20
20
  attr_accessor :api_key
21
21
 
22
+ # Protection from accidental deletion of this object [true/false]
23
+ attr_accessor :delete_protection
24
+
22
25
  # Description of the object
23
26
  attr_accessor :description
24
27
 
@@ -56,6 +59,7 @@ module Akeyless
56
59
  def self.attribute_map
57
60
  {
58
61
  :'api_key' => :'api-key',
62
+ :'delete_protection' => :'delete_protection',
59
63
  :'description' => :'description',
60
64
  :'gemini_url' => :'gemini-url',
61
65
  :'json' => :'json',
@@ -79,6 +83,7 @@ module Akeyless
79
83
  def self.openapi_types
80
84
  {
81
85
  :'api_key' => :'String',
86
+ :'delete_protection' => :'String',
82
87
  :'description' => :'String',
83
88
  :'gemini_url' => :'String',
84
89
  :'json' => :'Boolean',
@@ -118,6 +123,10 @@ module Akeyless
118
123
  self.api_key = attributes[:'api_key']
119
124
  end
120
125
 
126
+ if attributes.key?(:'delete_protection')
127
+ self.delete_protection = attributes[:'delete_protection']
128
+ end
129
+
121
130
  if attributes.key?(:'description')
122
131
  self.description = attributes[:'description']
123
132
  else
@@ -199,6 +208,7 @@ module Akeyless
199
208
  return true if self.equal?(o)
200
209
  self.class == o.class &&
201
210
  api_key == o.api_key &&
211
+ delete_protection == o.delete_protection &&
202
212
  description == o.description &&
203
213
  gemini_url == o.gemini_url &&
204
214
  json == o.json &&
@@ -221,7 +231,7 @@ module Akeyless
221
231
  # Calculates hash code according to all attributes.
222
232
  # @return [Integer] Hash code
223
233
  def hash
224
- [api_key, description, gemini_url, json, keep_prev_version, key, max_versions, name, new_comment, new_name, token, uid_token].hash
234
+ [api_key, delete_protection, description, gemini_url, json, keep_prev_version, key, max_versions, name, new_comment, new_name, token, uid_token].hash
225
235
  end
226
236
 
227
237
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateGithub
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -54,6 +57,7 @@ module Akeyless
54
57
  # Attribute mapping from ruby-style variable name to JSON key.
55
58
  def self.attribute_map
56
59
  {
60
+ :'delete_protection' => :'delete_protection',
57
61
  :'description' => :'description',
58
62
  :'github_app_id' => :'github-app-id',
59
63
  :'github_app_private_key' => :'github-app-private-key',
@@ -77,6 +81,7 @@ module Akeyless
77
81
  # Attribute type mapping.
78
82
  def self.openapi_types
79
83
  {
84
+ :'delete_protection' => :'String',
80
85
  :'description' => :'String',
81
86
  :'github_app_id' => :'Integer',
82
87
  :'github_app_private_key' => :'String',
@@ -113,6 +118,10 @@ module Akeyless
113
118
  h[k.to_sym] = v
114
119
  }
115
120
 
121
+ if attributes.key?(:'delete_protection')
122
+ self.delete_protection = attributes[:'delete_protection']
123
+ end
124
+
116
125
  if attributes.key?(:'description')
117
126
  self.description = attributes[:'description']
118
127
  end
@@ -193,6 +202,7 @@ module Akeyless
193
202
  def ==(o)
194
203
  return true if self.equal?(o)
195
204
  self.class == o.class &&
205
+ delete_protection == o.delete_protection &&
196
206
  description == o.description &&
197
207
  github_app_id == o.github_app_id &&
198
208
  github_app_private_key == o.github_app_private_key &&
@@ -216,7 +226,7 @@ module Akeyless
216
226
  # Calculates hash code according to all attributes.
217
227
  # @return [Integer] Hash code
218
228
  def hash
219
- [description, github_app_id, github_app_private_key, github_base_url, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
229
+ [delete_protection, description, github_app_id, github_app_private_key, github_base_url, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
220
230
  end
221
231
 
222
232
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateGitlab
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -54,6 +57,7 @@ module Akeyless
54
57
  # Attribute mapping from ruby-style variable name to JSON key.
55
58
  def self.attribute_map
56
59
  {
60
+ :'delete_protection' => :'delete_protection',
57
61
  :'description' => :'description',
58
62
  :'gitlab_access_token' => :'gitlab-access-token',
59
63
  :'gitlab_certificate' => :'gitlab-certificate',
@@ -77,6 +81,7 @@ module Akeyless
77
81
  # Attribute type mapping.
78
82
  def self.openapi_types
79
83
  {
84
+ :'delete_protection' => :'String',
80
85
  :'description' => :'String',
81
86
  :'gitlab_access_token' => :'String',
82
87
  :'gitlab_certificate' => :'String',
@@ -113,6 +118,10 @@ module Akeyless
113
118
  h[k.to_sym] = v
114
119
  }
115
120
 
121
+ if attributes.key?(:'delete_protection')
122
+ self.delete_protection = attributes[:'delete_protection']
123
+ end
124
+
116
125
  if attributes.key?(:'description')
117
126
  self.description = attributes[:'description']
118
127
  end
@@ -193,6 +202,7 @@ module Akeyless
193
202
  def ==(o)
194
203
  return true if self.equal?(o)
195
204
  self.class == o.class &&
205
+ delete_protection == o.delete_protection &&
196
206
  description == o.description &&
197
207
  gitlab_access_token == o.gitlab_access_token &&
198
208
  gitlab_certificate == o.gitlab_certificate &&
@@ -216,7 +226,7 @@ module Akeyless
216
226
  # Calculates hash code according to all attributes.
217
227
  # @return [Integer] Hash code
218
228
  def hash
219
- [description, gitlab_access_token, gitlab_certificate, gitlab_url, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
229
+ [delete_protection, description, gitlab_access_token, gitlab_certificate, gitlab_url, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
220
230
  end
221
231
 
222
232
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateGke
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -62,6 +65,7 @@ module Akeyless
62
65
  # Attribute mapping from ruby-style variable name to JSON key.
63
66
  def self.attribute_map
64
67
  {
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'gke_account_key' => :'gke-account-key',
67
71
  :'gke_cluster_cert' => :'gke-cluster-cert',
@@ -88,6 +92,7 @@ module Akeyless
88
92
  # Attribute type mapping.
89
93
  def self.openapi_types
90
94
  {
95
+ :'delete_protection' => :'String',
91
96
  :'description' => :'String',
92
97
  :'gke_account_key' => :'String',
93
98
  :'gke_cluster_cert' => :'String',
@@ -127,6 +132,10 @@ module Akeyless
127
132
  h[k.to_sym] = v
128
133
  }
129
134
 
135
+ if attributes.key?(:'delete_protection')
136
+ self.delete_protection = attributes[:'delete_protection']
137
+ end
138
+
130
139
  if attributes.key?(:'description')
131
140
  self.description = attributes[:'description']
132
141
  end
@@ -217,6 +226,7 @@ module Akeyless
217
226
  def ==(o)
218
227
  return true if self.equal?(o)
219
228
  self.class == o.class &&
229
+ delete_protection == o.delete_protection &&
220
230
  description == o.description &&
221
231
  gke_account_key == o.gke_account_key &&
222
232
  gke_cluster_cert == o.gke_cluster_cert &&
@@ -243,7 +253,7 @@ module Akeyless
243
253
  # Calculates hash code according to all attributes.
244
254
  # @return [Integer] Hash code
245
255
  def hash
246
- [description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
256
+ [delete_protection, description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
247
257
  end
248
258
 
249
259
  # Builds the object from hash