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
@@ -27,6 +27,9 @@ module Akeyless
27
27
  # Telephone of the GlobalSign GCC account contact
28
28
  attr_accessor :contact_phone
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
 
@@ -73,6 +76,7 @@ module Akeyless
73
76
  :'contact_first_name' => :'contact-first-name',
74
77
  :'contact_last_name' => :'contact-last-name',
75
78
  :'contact_phone' => :'contact-phone',
79
+ :'delete_protection' => :'delete_protection',
76
80
  :'description' => :'description',
77
81
  :'json' => :'json',
78
82
  :'keep_prev_version' => :'keep-prev-version',
@@ -101,6 +105,7 @@ module Akeyless
101
105
  :'contact_first_name' => :'String',
102
106
  :'contact_last_name' => :'String',
103
107
  :'contact_phone' => :'String',
108
+ :'delete_protection' => :'String',
104
109
  :'description' => :'String',
105
110
  :'json' => :'Boolean',
106
111
  :'keep_prev_version' => :'String',
@@ -162,6 +167,10 @@ module Akeyless
162
167
  self.contact_phone = nil
163
168
  end
164
169
 
170
+ if attributes.key?(:'delete_protection')
171
+ self.delete_protection = attributes[:'delete_protection']
172
+ end
173
+
165
174
  if attributes.key?(:'description')
166
175
  self.description = attributes[:'description']
167
176
  end
@@ -291,6 +300,7 @@ module Akeyless
291
300
  contact_first_name == o.contact_first_name &&
292
301
  contact_last_name == o.contact_last_name &&
293
302
  contact_phone == o.contact_phone &&
303
+ delete_protection == o.delete_protection &&
294
304
  description == o.description &&
295
305
  json == o.json &&
296
306
  keep_prev_version == o.keep_prev_version &&
@@ -315,7 +325,7 @@ module Akeyless
315
325
  # Calculates hash code according to all attributes.
316
326
  # @return [Integer] Hash code
317
327
  def hash
318
- [contact_email, contact_first_name, contact_last_name, contact_phone, description, json, keep_prev_version, key, max_versions, name, new_name, password, profile_id, timeout, token, uid_token, username].hash
328
+ [contact_email, contact_first_name, contact_last_name, contact_phone, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password, profile_id, timeout, token, uid_token, username].hash
319
329
  end
320
330
 
321
331
  # Builds the object from hash
@@ -21,6 +21,9 @@ module Akeyless
21
21
  # API Secret of the GlobalSign Atlas account
22
22
  attr_accessor :api_secret
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
 
@@ -62,6 +65,7 @@ module Akeyless
62
65
  {
63
66
  :'api_key' => :'api-key',
64
67
  :'api_secret' => :'api-secret',
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'json' => :'json',
67
71
  :'keep_prev_version' => :'keep-prev-version',
@@ -87,6 +91,7 @@ module Akeyless
87
91
  {
88
92
  :'api_key' => :'String',
89
93
  :'api_secret' => :'String',
94
+ :'delete_protection' => :'String',
90
95
  :'description' => :'String',
91
96
  :'json' => :'Boolean',
92
97
  :'keep_prev_version' => :'String',
@@ -135,6 +140,10 @@ module Akeyless
135
140
  self.api_secret = nil
136
141
  end
137
142
 
143
+ if attributes.key?(:'delete_protection')
144
+ self.delete_protection = attributes[:'delete_protection']
145
+ end
146
+
138
147
  if attributes.key?(:'description')
139
148
  self.description = attributes[:'description']
140
149
  end
@@ -227,6 +236,7 @@ module Akeyless
227
236
  self.class == o.class &&
228
237
  api_key == o.api_key &&
229
238
  api_secret == o.api_secret &&
239
+ delete_protection == o.delete_protection &&
230
240
  description == o.description &&
231
241
  json == o.json &&
232
242
  keep_prev_version == o.keep_prev_version &&
@@ -250,7 +260,7 @@ module Akeyless
250
260
  # Calculates hash code according to all attributes.
251
261
  # @return [Integer] Hash code
252
262
  def hash
253
- [api_key, api_secret, description, json, keep_prev_version, key, max_versions, mtls_cert_data_base64, mtls_key_data_base64, name, new_name, timeout, token, uid_token].hash
263
+ [api_key, api_secret, delete_protection, description, json, keep_prev_version, key, max_versions, mtls_cert_data_base64, mtls_key_data_base64, name, new_name, timeout, token, uid_token].hash
254
264
  end
255
265
 
256
266
  # Builds the object from hash
@@ -21,6 +21,9 @@ module Akeyless
21
21
  # Customer ID (ShopperId) required for renewal of imported certificates
22
22
  attr_accessor :customer_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
 
@@ -71,6 +74,7 @@ module Akeyless
71
74
  {
72
75
  :'api_key' => :'api-key',
73
76
  :'customer_id' => :'customer_id',
77
+ :'delete_protection' => :'delete_protection',
74
78
  :'description' => :'description',
75
79
  :'imap_fqdn' => :'imap-fqdn',
76
80
  :'imap_password' => :'imap-password',
@@ -99,6 +103,7 @@ module Akeyless
99
103
  {
100
104
  :'api_key' => :'String',
101
105
  :'customer_id' => :'String',
106
+ :'delete_protection' => :'String',
102
107
  :'description' => :'String',
103
108
  :'imap_fqdn' => :'String',
104
109
  :'imap_password' => :'String',
@@ -148,6 +153,10 @@ module Akeyless
148
153
  self.customer_id = attributes[:'customer_id']
149
154
  end
150
155
 
156
+ if attributes.key?(:'delete_protection')
157
+ self.delete_protection = attributes[:'delete_protection']
158
+ end
159
+
151
160
  if attributes.key?(:'description')
152
161
  self.description = attributes[:'description']
153
162
  end
@@ -277,6 +286,7 @@ module Akeyless
277
286
  self.class == o.class &&
278
287
  api_key == o.api_key &&
279
288
  customer_id == o.customer_id &&
289
+ delete_protection == o.delete_protection &&
280
290
  description == o.description &&
281
291
  imap_fqdn == o.imap_fqdn &&
282
292
  imap_password == o.imap_password &&
@@ -303,7 +313,7 @@ module Akeyless
303
313
  # Calculates hash code according to all attributes.
304
314
  # @return [Integer] Hash code
305
315
  def hash
306
- [api_key, customer_id, description, imap_fqdn, imap_password, imap_port, imap_username, json, keep_prev_version, key, max_versions, name, new_name, secret, timeout, token, uid_token].hash
316
+ [api_key, customer_id, delete_protection, description, imap_fqdn, imap_password, imap_port, imap_username, json, keep_prev_version, key, max_versions, name, new_name, secret, timeout, token, uid_token].hash
307
317
  end
308
318
 
309
319
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # ACME challenge type. Options: [dns]
20
20
  attr_accessor :acme_challenge
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
 
@@ -77,6 +80,7 @@ module Akeyless
77
80
  def self.attribute_map
78
81
  {
79
82
  :'acme_challenge' => :'acme-challenge',
83
+ :'delete_protection' => :'delete_protection',
80
84
  :'description' => :'description',
81
85
  :'dns_target_creds' => :'dns-target-creds',
82
86
  :'eab_hmac_key' => :'eab-hmac-key',
@@ -107,6 +111,7 @@ module Akeyless
107
111
  def self.openapi_types
108
112
  {
109
113
  :'acme_challenge' => :'String',
114
+ :'delete_protection' => :'String',
110
115
  :'description' => :'String',
111
116
  :'dns_target_creds' => :'String',
112
117
  :'eab_hmac_key' => :'String',
@@ -155,6 +160,10 @@ module Akeyless
155
160
  self.acme_challenge = 'dns'
156
161
  end
157
162
 
163
+ if attributes.key?(:'delete_protection')
164
+ self.delete_protection = attributes[:'delete_protection']
165
+ end
166
+
158
167
  if attributes.key?(:'description')
159
168
  self.description = attributes[:'description']
160
169
  end
@@ -269,6 +278,7 @@ module Akeyless
269
278
  return true if self.equal?(o)
270
279
  self.class == o.class &&
271
280
  acme_challenge == o.acme_challenge &&
281
+ delete_protection == o.delete_protection &&
272
282
  description == o.description &&
273
283
  dns_target_creds == o.dns_target_creds &&
274
284
  eab_hmac_key == o.eab_hmac_key &&
@@ -298,7 +308,7 @@ module Akeyless
298
308
  # Calculates hash code according to all attributes.
299
309
  # @return [Integer] Hash code
300
310
  def hash
301
- [acme_challenge, description, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, keep_prev_version, key, max_versions, name, new_name, resource_group, timeout, token, uid_token].hash
311
+ [acme_challenge, delete_protection, description, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, keep_prev_version, key, max_versions, name, new_name, resource_group, timeout, token, uid_token].hash
302
312
  end
303
313
 
304
314
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetUpdateHashiVault
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
  :'hashi_url' => :'hashi-url',
59
63
  :'json' => :'json',
@@ -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
  :'hashi_url' => :'String',
82
87
  :'json' => :'Boolean',
@@ -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
  hashi_url == o.hashi_url &&
198
208
  json == o.json &&
@@ -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, hashi_url, json, keep_prev_version, key, max_versions, name, namespace, new_name, token, uid_token, vault_token].hash
229
+ [delete_protection, description, hashi_url, json, keep_prev_version, key, max_versions, name, namespace, new_name, token, uid_token, vault_token].hash
220
230
  end
221
231
 
222
232
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateK8s is a command that updates an existing k8s target
18
18
  class TargetUpdateK8s
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -70,6 +73,7 @@ module Akeyless
70
73
  # Attribute mapping from ruby-style variable name to JSON key.
71
74
  def self.attribute_map
72
75
  {
76
+ :'delete_protection' => :'delete_protection',
73
77
  :'description' => :'description',
74
78
  :'json' => :'json',
75
79
  :'k8s_auth_type' => :'k8s-auth-type',
@@ -98,6 +102,7 @@ module Akeyless
98
102
  # Attribute type mapping.
99
103
  def self.openapi_types
100
104
  {
105
+ :'delete_protection' => :'String',
101
106
  :'description' => :'String',
102
107
  :'json' => :'Boolean',
103
108
  :'k8s_auth_type' => :'String',
@@ -139,6 +144,10 @@ module Akeyless
139
144
  h[k.to_sym] = v
140
145
  }
141
146
 
147
+ if attributes.key?(:'delete_protection')
148
+ self.delete_protection = attributes[:'delete_protection']
149
+ end
150
+
142
151
  if attributes.key?(:'description')
143
152
  self.description = attributes[:'description']
144
153
  end
@@ -239,6 +248,7 @@ module Akeyless
239
248
  def ==(o)
240
249
  return true if self.equal?(o)
241
250
  self.class == o.class &&
251
+ delete_protection == o.delete_protection &&
242
252
  description == o.description &&
243
253
  json == o.json &&
244
254
  k8s_auth_type == o.k8s_auth_type &&
@@ -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
- [description, json, k8s_auth_type, k8s_client_certificate, k8s_client_key, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_service_account].hash
280
+ [delete_protection, description, json, k8s_auth_type, k8s_client_certificate, k8s_client_key, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_service_account].hash
271
281
  end
272
282
 
273
283
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Bind DN Password
23
23
  attr_accessor :bind_dn_password
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -66,6 +69,7 @@ module Akeyless
66
69
  {
67
70
  :'bind_dn' => :'bind-dn',
68
71
  :'bind_dn_password' => :'bind-dn-password',
72
+ :'delete_protection' => :'delete_protection',
69
73
  :'description' => :'description',
70
74
  :'json' => :'json',
71
75
  :'keep_prev_version' => :'keep-prev-version',
@@ -92,6 +96,7 @@ module Akeyless
92
96
  {
93
97
  :'bind_dn' => :'String',
94
98
  :'bind_dn_password' => :'String',
99
+ :'delete_protection' => :'String',
95
100
  :'description' => :'String',
96
101
  :'json' => :'Boolean',
97
102
  :'keep_prev_version' => :'String',
@@ -141,6 +146,10 @@ module Akeyless
141
146
  self.bind_dn_password = nil
142
147
  end
143
148
 
149
+ if attributes.key?(:'delete_protection')
150
+ self.delete_protection = attributes[:'delete_protection']
151
+ end
152
+
144
153
  if attributes.key?(:'description')
145
154
  self.description = attributes[:'description']
146
155
  end
@@ -242,6 +251,7 @@ module Akeyless
242
251
  self.class == o.class &&
243
252
  bind_dn == o.bind_dn &&
244
253
  bind_dn_password == o.bind_dn_password &&
254
+ delete_protection == o.delete_protection &&
245
255
  description == o.description &&
246
256
  json == o.json &&
247
257
  keep_prev_version == o.keep_prev_version &&
@@ -266,7 +276,7 @@ module Akeyless
266
276
  # Calculates hash code according to all attributes.
267
277
  # @return [Integer] Hash code
268
278
  def hash
269
- [bind_dn, bind_dn_password, description, json, keep_prev_version, key, ldap_ca_cert, ldap_url, max_versions, name, new_name, server_type, token, token_expiration, uid_token].hash
279
+ [bind_dn, bind_dn_password, delete_protection, description, json, keep_prev_version, key, ldap_ca_cert, ldap_url, max_versions, name, new_name, server_type, token, token_expiration, uid_token].hash
270
280
  end
271
281
 
272
282
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  class TargetUpdateLetsEncrypt
19
19
  attr_accessor :acme_challenge
20
20
 
21
+ # Protection from accidental deletion of this object [true/false]
22
+ attr_accessor :delete_protection
23
+
21
24
  # Description of the object
22
25
  attr_accessor :description
23
26
 
@@ -68,6 +71,7 @@ module Akeyless
68
71
  def self.attribute_map
69
72
  {
70
73
  :'acme_challenge' => :'acme-challenge',
74
+ :'delete_protection' => :'delete_protection',
71
75
  :'description' => :'description',
72
76
  :'dns_target_creds' => :'dns-target-creds',
73
77
  :'email' => :'email',
@@ -96,6 +100,7 @@ module Akeyless
96
100
  def self.openapi_types
97
101
  {
98
102
  :'acme_challenge' => :'String',
103
+ :'delete_protection' => :'String',
99
104
  :'description' => :'String',
100
105
  :'dns_target_creds' => :'String',
101
106
  :'email' => :'String',
@@ -142,6 +147,10 @@ module Akeyless
142
147
  self.acme_challenge = 'http'
143
148
  end
144
149
 
150
+ if attributes.key?(:'delete_protection')
151
+ self.delete_protection = attributes[:'delete_protection']
152
+ end
153
+
145
154
  if attributes.key?(:'description')
146
155
  self.description = attributes[:'description']
147
156
  end
@@ -248,6 +257,7 @@ module Akeyless
248
257
  return true if self.equal?(o)
249
258
  self.class == o.class &&
250
259
  acme_challenge == o.acme_challenge &&
260
+ delete_protection == o.delete_protection &&
251
261
  description == o.description &&
252
262
  dns_target_creds == o.dns_target_creds &&
253
263
  email == o.email &&
@@ -275,7 +285,7 @@ module Akeyless
275
285
  # Calculates hash code according to all attributes.
276
286
  # @return [Integer] Hash code
277
287
  def hash
278
- [acme_challenge, description, dns_target_creds, email, gcp_project, hosted_zone, json, keep_prev_version, key, lets_encrypt_url, max_versions, name, new_name, resource_group, timeout, token, uid_token].hash
288
+ [acme_challenge, delete_protection, description, dns_target_creds, email, gcp_project, hosted_zone, json, keep_prev_version, key, lets_encrypt_url, max_versions, name, new_name, resource_group, timeout, token, uid_token].hash
279
289
  end
280
290
 
281
291
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # API key ID
23
23
  attr_accessor :api_key_id
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -66,6 +69,7 @@ module Akeyless
66
69
  {
67
70
  :'api_key' => :'api-key',
68
71
  :'api_key_id' => :'api-key-id',
72
+ :'delete_protection' => :'delete_protection',
69
73
  :'description' => :'description',
70
74
  :'json' => :'json',
71
75
  :'keep_prev_version' => :'keep-prev-version',
@@ -92,6 +96,7 @@ module Akeyless
92
96
  {
93
97
  :'api_key' => :'String',
94
98
  :'api_key_id' => :'String',
99
+ :'delete_protection' => :'String',
95
100
  :'description' => :'String',
96
101
  :'json' => :'Boolean',
97
102
  :'keep_prev_version' => :'String',
@@ -137,6 +142,10 @@ module Akeyless
137
142
  self.api_key_id = attributes[:'api_key_id']
138
143
  end
139
144
 
145
+ if attributes.key?(:'delete_protection')
146
+ self.delete_protection = attributes[:'delete_protection']
147
+ end
148
+
140
149
  if attributes.key?(:'description')
141
150
  self.description = attributes[:'description']
142
151
  else
@@ -227,6 +236,7 @@ module Akeyless
227
236
  self.class == o.class &&
228
237
  api_key == o.api_key &&
229
238
  api_key_id == o.api_key_id &&
239
+ delete_protection == o.delete_protection &&
230
240
  description == o.description &&
231
241
  json == o.json &&
232
242
  keep_prev_version == o.keep_prev_version &&
@@ -251,7 +261,7 @@ module Akeyless
251
261
  # Calculates hash code according to all attributes.
252
262
  # @return [Integer] Hash code
253
263
  def hash
254
- [api_key, api_key_id, description, json, keep_prev_version, key, max_versions, model, name, new_comment, new_name, openai_url, organization_id, token, uid_token].hash
264
+ [api_key, api_key_id, delete_protection, description, json, keep_prev_version, key, max_versions, model, name, new_comment, new_name, openai_url, organization_id, token, uid_token].hash
255
265
  end
256
266
 
257
267
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Ping Federate authorization port
23
23
  attr_accessor :authorization_port
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -63,6 +66,7 @@ module Akeyless
63
66
  {
64
67
  :'administrative_port' => :'administrative-port',
65
68
  :'authorization_port' => :'authorization-port',
69
+ :'delete_protection' => :'delete_protection',
66
70
  :'description' => :'description',
67
71
  :'json' => :'json',
68
72
  :'keep_prev_version' => :'keep-prev-version',
@@ -88,6 +92,7 @@ module Akeyless
88
92
  {
89
93
  :'administrative_port' => :'String',
90
94
  :'authorization_port' => :'String',
95
+ :'delete_protection' => :'String',
91
96
  :'description' => :'String',
92
97
  :'json' => :'Boolean',
93
98
  :'keep_prev_version' => :'String',
@@ -136,6 +141,10 @@ module Akeyless
136
141
  self.authorization_port = '9031'
137
142
  end
138
143
 
144
+ if attributes.key?(:'delete_protection')
145
+ self.delete_protection = attributes[:'delete_protection']
146
+ end
147
+
139
148
  if attributes.key?(:'description')
140
149
  self.description = attributes[:'description']
141
150
  end
@@ -216,6 +225,7 @@ module Akeyless
216
225
  self.class == o.class &&
217
226
  administrative_port == o.administrative_port &&
218
227
  authorization_port == o.authorization_port &&
228
+ delete_protection == o.delete_protection &&
219
229
  description == o.description &&
220
230
  json == o.json &&
221
231
  keep_prev_version == o.keep_prev_version &&
@@ -239,7 +249,7 @@ module Akeyless
239
249
  # Calculates hash code according to all attributes.
240
250
  # @return [Integer] Hash code
241
251
  def hash
242
- [administrative_port, authorization_port, description, json, keep_prev_version, key, max_versions, name, new_name, password, ping_url, privileged_user, token, uid_token].hash
252
+ [administrative_port, authorization_port, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password, ping_url, privileged_user, token, uid_token].hash
243
253
  end
244
254
 
245
255
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateRabbitMq is a command that updates an existing rabbitmq target
18
18
  class TargetUpdateRabbitMq
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -52,6 +55,7 @@ module Akeyless
52
55
  # Attribute mapping from ruby-style variable name to JSON key.
53
56
  def self.attribute_map
54
57
  {
58
+ :'delete_protection' => :'delete_protection',
55
59
  :'description' => :'description',
56
60
  :'json' => :'json',
57
61
  :'keep_prev_version' => :'keep-prev-version',
@@ -75,6 +79,7 @@ module Akeyless
75
79
  # Attribute type mapping.
76
80
  def self.openapi_types
77
81
  {
82
+ :'delete_protection' => :'String',
78
83
  :'description' => :'String',
79
84
  :'json' => :'Boolean',
80
85
  :'keep_prev_version' => :'String',
@@ -111,6 +116,10 @@ module Akeyless
111
116
  h[k.to_sym] = v
112
117
  }
113
118
 
119
+ if attributes.key?(:'delete_protection')
120
+ self.delete_protection = attributes[:'delete_protection']
121
+ end
122
+
114
123
  if attributes.key?(:'description')
115
124
  self.description = attributes[:'description']
116
125
  end
@@ -189,6 +198,7 @@ module Akeyless
189
198
  def ==(o)
190
199
  return true if self.equal?(o)
191
200
  self.class == o.class &&
201
+ delete_protection == o.delete_protection &&
192
202
  description == o.description &&
193
203
  json == o.json &&
194
204
  keep_prev_version == o.keep_prev_version &&
@@ -212,7 +222,7 @@ module Akeyless
212
222
  # Calculates hash code according to all attributes.
213
223
  # @return [Integer] Hash code
214
224
  def hash
215
- [description, json, keep_prev_version, key, max_versions, name, new_name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
225
+ [delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
216
226
  end
217
227
 
218
228
  # Builds the object from hash
@@ -34,6 +34,9 @@ module Akeyless
34
34
  # Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow)
35
35
  attr_accessor :client_secret
36
36
 
37
+ # Protection from accidental deletion of this object [true/false]
38
+ attr_accessor :delete_protection
39
+
37
40
  # Description of the object
38
41
  attr_accessor :description
39
42
 
@@ -82,6 +85,7 @@ module Akeyless
82
85
  :'ca_cert_name' => :'ca-cert-name',
83
86
  :'client_id' => :'client-id',
84
87
  :'client_secret' => :'client-secret',
88
+ :'delete_protection' => :'delete_protection',
85
89
  :'description' => :'description',
86
90
  :'email' => :'email',
87
91
  :'json' => :'json',
@@ -112,6 +116,7 @@ module Akeyless
112
116
  :'ca_cert_name' => :'String',
113
117
  :'client_id' => :'String',
114
118
  :'client_secret' => :'String',
119
+ :'delete_protection' => :'String',
115
120
  :'description' => :'String',
116
121
  :'email' => :'String',
117
122
  :'json' => :'Boolean',
@@ -177,6 +182,10 @@ module Akeyless
177
182
  self.client_secret = attributes[:'client_secret']
178
183
  end
179
184
 
185
+ if attributes.key?(:'delete_protection')
186
+ self.delete_protection = attributes[:'delete_protection']
187
+ end
188
+
180
189
  if attributes.key?(:'description')
181
190
  self.description = attributes[:'description']
182
191
  end
@@ -289,6 +298,7 @@ module Akeyless
289
298
  ca_cert_name == o.ca_cert_name &&
290
299
  client_id == o.client_id &&
291
300
  client_secret == o.client_secret &&
301
+ delete_protection == o.delete_protection &&
292
302
  description == o.description &&
293
303
  email == o.email &&
294
304
  json == o.json &&
@@ -313,7 +323,7 @@ module Akeyless
313
323
  # Calculates hash code according to all attributes.
314
324
  # @return [Integer] Hash code
315
325
  def hash
316
- [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, description, email, json, keep_prev_version, key, max_versions, name, new_name, password, security_token, tenant_url, token, uid_token].hash
326
+ [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, delete_protection, description, email, json, keep_prev_version, key, max_versions, name, new_name, password, security_token, tenant_url, token, uid_token].hash
317
327
  end
318
328
 
319
329
  # Builds the object from hash