akeyless 5.0.23 → 5.0.25

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 (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -6
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/AgenticRule.md +20 -0
  5. data/docs/AgenticRules.md +20 -0
  6. data/docs/CreateDBTarget.md +8 -0
  7. data/docs/CreateRole.md +2 -0
  8. data/docs/CreateUSC.md +5 -1
  9. data/docs/DSProducerDetails.md +10 -0
  10. data/docs/DbTargetDetails.md +8 -0
  11. data/docs/DeleteRoleRule.md +1 -1
  12. data/docs/EsmListSecretsOutput.md +2 -0
  13. data/docs/GatewayMigrationCreateOutput.md +2 -0
  14. data/docs/ItemGeneralInfo.md +2 -0
  15. data/docs/ListItems.md +2 -0
  16. data/docs/RuntimeAuthorityCommand.md +28 -0
  17. data/docs/SetDefaultProfile.md +20 -0
  18. data/docs/SetDefaultProfileOutput.md +18 -0
  19. data/docs/SetRoleRule.md +1 -1
  20. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  21. data/docs/Target.md +2 -0
  22. data/docs/TargetCreateArtifactory.md +2 -0
  23. data/docs/TargetCreateAws.md +2 -0
  24. data/docs/TargetCreateAzure.md +2 -0
  25. data/docs/TargetCreateDB.md +10 -0
  26. data/docs/TargetCreateDigiCert.md +2 -0
  27. data/docs/TargetCreateDockerhub.md +2 -0
  28. data/docs/TargetCreateEks.md +2 -0
  29. data/docs/TargetCreateGcp.md +2 -0
  30. data/docs/TargetCreateGemini.md +2 -0
  31. data/docs/TargetCreateGithub.md +2 -0
  32. data/docs/TargetCreateGitlab.md +2 -0
  33. data/docs/TargetCreateGke.md +2 -0
  34. data/docs/TargetCreateGlobalSign.md +2 -0
  35. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  36. data/docs/TargetCreateGodaddy.md +2 -0
  37. data/docs/TargetCreateGoogleTrust.md +2 -0
  38. data/docs/TargetCreateHashiVault.md +2 -0
  39. data/docs/TargetCreateK8s.md +2 -0
  40. data/docs/TargetCreateLdap.md +2 -0
  41. data/docs/TargetCreateLetsEncrypt.md +2 -0
  42. data/docs/TargetCreateLinked.md +2 -0
  43. data/docs/TargetCreateOpenAI.md +2 -0
  44. data/docs/TargetCreatePing.md +2 -0
  45. data/docs/TargetCreateRabbitMq.md +2 -0
  46. data/docs/TargetCreateSalesforce.md +2 -0
  47. data/docs/TargetCreateSectigo.md +2 -0
  48. data/docs/TargetCreateSplunk.md +2 -0
  49. data/docs/TargetCreateSsh.md +2 -0
  50. data/docs/TargetCreateWeb.md +2 -0
  51. data/docs/TargetCreateWindows.md +2 -0
  52. data/docs/TargetCreateZeroSSL.md +2 -0
  53. data/docs/TargetUpdateArtifactory.md +2 -0
  54. data/docs/TargetUpdateAws.md +2 -0
  55. data/docs/TargetUpdateAzure.md +2 -0
  56. data/docs/TargetUpdateDB.md +10 -0
  57. data/docs/TargetUpdateDockerhub.md +2 -0
  58. data/docs/TargetUpdateEks.md +2 -0
  59. data/docs/TargetUpdateGcp.md +2 -0
  60. data/docs/TargetUpdateGemini.md +2 -0
  61. data/docs/TargetUpdateGithub.md +2 -0
  62. data/docs/TargetUpdateGitlab.md +2 -0
  63. data/docs/TargetUpdateGke.md +2 -0
  64. data/docs/TargetUpdateGlobalSign.md +2 -0
  65. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  66. data/docs/TargetUpdateGodaddy.md +2 -0
  67. data/docs/TargetUpdateGoogleTrust.md +2 -0
  68. data/docs/TargetUpdateHashiVault.md +2 -0
  69. data/docs/TargetUpdateK8s.md +2 -0
  70. data/docs/TargetUpdateLdap.md +2 -0
  71. data/docs/TargetUpdateLetsEncrypt.md +2 -0
  72. data/docs/TargetUpdateOpenAI.md +2 -0
  73. data/docs/TargetUpdatePing.md +2 -0
  74. data/docs/TargetUpdateRabbitMq.md +2 -0
  75. data/docs/TargetUpdateSalesforce.md +2 -0
  76. data/docs/TargetUpdateSectigo.md +2 -0
  77. data/docs/TargetUpdateSsh.md +2 -0
  78. data/docs/TargetUpdateWeb.md +2 -0
  79. data/docs/TargetUpdateWindows.md +2 -0
  80. data/docs/TargetUpdateZeroSSL.md +2 -0
  81. data/docs/UpdateDBTarget.md +8 -0
  82. data/docs/UpdateItem.md +5 -1
  83. data/docs/UpdateRole.md +2 -0
  84. data/docs/UpdateTarget.md +2 -0
  85. data/docs/UscList.md +4 -0
  86. data/docs/UscListSecretsOutput.md +2 -0
  87. data/docs/V2Api.md +67 -5
  88. data/lib/akeyless/api/v2_api.rb +69 -5
  89. data/lib/akeyless/models/account_general_settings.rb +10 -1
  90. data/lib/akeyless/models/agentic_rule.rb +223 -0
  91. data/lib/akeyless/models/agentic_rules.rb +227 -0
  92. data/lib/akeyless/models/create_db_target.rb +41 -1
  93. data/lib/akeyless/models/create_role.rb +11 -1
  94. data/lib/akeyless/models/create_usc.rb +24 -4
  95. data/lib/akeyless/models/db_target_details.rb +41 -1
  96. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  97. data/lib/akeyless/models/ds_producer_details.rb +50 -1
  98. data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
  99. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  100. data/lib/akeyless/models/item_general_info.rb +10 -1
  101. data/lib/akeyless/models/list_items.rb +13 -1
  102. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  103. data/lib/akeyless/models/set_default_profile.rb +234 -0
  104. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  105. data/lib/akeyless/models/set_role_rule.rb +1 -1
  106. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  107. data/lib/akeyless/models/target.rb +10 -1
  108. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  109. data/lib/akeyless/models/target_create_aws.rb +11 -1
  110. data/lib/akeyless/models/target_create_azure.rb +11 -1
  111. data/lib/akeyless/models/target_create_db.rb +51 -1
  112. data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
  113. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  114. data/lib/akeyless/models/target_create_eks.rb +11 -1
  115. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  116. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  117. data/lib/akeyless/models/target_create_github.rb +11 -1
  118. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  119. data/lib/akeyless/models/target_create_gke.rb +11 -1
  120. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  121. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  122. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  123. data/lib/akeyless/models/target_create_google_trust.rb +11 -1
  124. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  125. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  126. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  127. data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
  128. data/lib/akeyless/models/target_create_linked.rb +11 -1
  129. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  130. data/lib/akeyless/models/target_create_ping.rb +11 -1
  131. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  132. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  133. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  134. data/lib/akeyless/models/target_create_splunk.rb +11 -1
  135. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  136. data/lib/akeyless/models/target_create_web.rb +11 -1
  137. data/lib/akeyless/models/target_create_windows.rb +11 -1
  138. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  139. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  140. data/lib/akeyless/models/target_update_aws.rb +11 -1
  141. data/lib/akeyless/models/target_update_azure.rb +11 -1
  142. data/lib/akeyless/models/target_update_db.rb +51 -1
  143. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  144. data/lib/akeyless/models/target_update_eks.rb +11 -1
  145. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  146. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  147. data/lib/akeyless/models/target_update_github.rb +11 -1
  148. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  149. data/lib/akeyless/models/target_update_gke.rb +11 -1
  150. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  151. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  152. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  153. data/lib/akeyless/models/target_update_google_trust.rb +11 -1
  154. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  155. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  156. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  157. data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
  158. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  159. data/lib/akeyless/models/target_update_ping.rb +11 -1
  160. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  161. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  162. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  163. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  164. data/lib/akeyless/models/target_update_web.rb +11 -1
  165. data/lib/akeyless/models/target_update_windows.rb +11 -1
  166. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  167. data/lib/akeyless/models/update_db_target.rb +41 -1
  168. data/lib/akeyless/models/update_item.rb +24 -4
  169. data/lib/akeyless/models/update_role.rb +11 -1
  170. data/lib/akeyless/models/update_target.rb +11 -1
  171. data/lib/akeyless/models/usc_list.rb +21 -1
  172. data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
  173. data/lib/akeyless/version.rb +1 -1
  174. data/lib/akeyless.rb +5 -0
  175. data/spec/models/agentic_rule_spec.rb +42 -0
  176. data/spec/models/agentic_rules_spec.rb +42 -0
  177. data/spec/models/runtime_authority_command_spec.rb +66 -0
  178. data/spec/models/set_default_profile_output_spec.rb +36 -0
  179. data/spec/models/set_default_profile_spec.rb +42 -0
  180. metadata +22 -2
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateK8s is a command that creates a new k8s target
18
18
  class TargetCreateK8s
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
 
@@ -64,6 +67,7 @@ module Akeyless
64
67
  # Attribute mapping from ruby-style variable name to JSON key.
65
68
  def self.attribute_map
66
69
  {
70
+ :'delete_protection' => :'delete_protection',
67
71
  :'description' => :'description',
68
72
  :'json' => :'json',
69
73
  :'k8s_auth_type' => :'k8s-auth-type',
@@ -90,6 +94,7 @@ module Akeyless
90
94
  # Attribute type mapping.
91
95
  def self.openapi_types
92
96
  {
97
+ :'delete_protection' => :'String',
93
98
  :'description' => :'String',
94
99
  :'json' => :'Boolean',
95
100
  :'k8s_auth_type' => :'String',
@@ -129,6 +134,10 @@ module Akeyless
129
134
  h[k.to_sym] = v
130
135
  }
131
136
 
137
+ if attributes.key?(:'delete_protection')
138
+ self.delete_protection = attributes[:'delete_protection']
139
+ end
140
+
132
141
  if attributes.key?(:'description')
133
142
  self.description = attributes[:'description']
134
143
  end
@@ -221,6 +230,7 @@ module Akeyless
221
230
  def ==(o)
222
231
  return true if self.equal?(o)
223
232
  self.class == o.class &&
233
+ delete_protection == o.delete_protection &&
224
234
  description == o.description &&
225
235
  json == o.json &&
226
236
  k8s_auth_type == o.k8s_auth_type &&
@@ -247,7 +257,7 @@ module Akeyless
247
257
  # Calculates hash code according to all attributes.
248
258
  # @return [Integer] Hash code
249
259
  def hash
250
- [description, json, k8s_auth_type, k8s_client_certificate, k8s_client_key, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, key, max_versions, name, token, uid_token, use_gw_service_account].hash
260
+ [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, key, max_versions, name, token, uid_token, use_gw_service_account].hash
251
261
  end
252
262
 
253
263
  # 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
 
@@ -60,6 +63,7 @@ module Akeyless
60
63
  {
61
64
  :'bind_dn' => :'bind-dn',
62
65
  :'bind_dn_password' => :'bind-dn-password',
66
+ :'delete_protection' => :'delete_protection',
63
67
  :'description' => :'description',
64
68
  :'json' => :'json',
65
69
  :'key' => :'key',
@@ -84,6 +88,7 @@ module Akeyless
84
88
  {
85
89
  :'bind_dn' => :'String',
86
90
  :'bind_dn_password' => :'String',
91
+ :'delete_protection' => :'String',
87
92
  :'description' => :'String',
88
93
  :'json' => :'Boolean',
89
94
  :'key' => :'String',
@@ -131,6 +136,10 @@ module Akeyless
131
136
  self.bind_dn_password = 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
@@ -226,6 +235,7 @@ module Akeyless
226
235
  self.class == o.class &&
227
236
  bind_dn == o.bind_dn &&
228
237
  bind_dn_password == o.bind_dn_password &&
238
+ delete_protection == o.delete_protection &&
229
239
  description == o.description &&
230
240
  json == o.json &&
231
241
  key == o.key &&
@@ -248,7 +258,7 @@ module Akeyless
248
258
  # Calculates hash code according to all attributes.
249
259
  # @return [Integer] Hash code
250
260
  def hash
251
- [bind_dn, bind_dn_password, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
261
+ [bind_dn, bind_dn_password, delete_protection, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
252
262
  end
253
263
 
254
264
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  class TargetCreateLetsEncrypt
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
 
@@ -62,6 +65,7 @@ module Akeyless
62
65
  def self.attribute_map
63
66
  {
64
67
  :'acme_challenge' => :'acme-challenge',
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'dns_target_creds' => :'dns-target-creds',
67
71
  :'email' => :'email',
@@ -88,6 +92,7 @@ module Akeyless
88
92
  def self.openapi_types
89
93
  {
90
94
  :'acme_challenge' => :'String',
95
+ :'delete_protection' => :'String',
91
96
  :'description' => :'String',
92
97
  :'dns_target_creds' => :'String',
93
98
  :'email' => :'String',
@@ -132,6 +137,10 @@ module Akeyless
132
137
  self.acme_challenge = 'http'
133
138
  end
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
@@ -230,6 +239,7 @@ module Akeyless
230
239
  return true if self.equal?(o)
231
240
  self.class == o.class &&
232
241
  acme_challenge == o.acme_challenge &&
242
+ delete_protection == o.delete_protection &&
233
243
  description == o.description &&
234
244
  dns_target_creds == o.dns_target_creds &&
235
245
  email == o.email &&
@@ -255,7 +265,7 @@ module Akeyless
255
265
  # Calculates hash code according to all attributes.
256
266
  # @return [Integer] Hash code
257
267
  def hash
258
- [acme_challenge, description, dns_target_creds, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, max_versions, name, resource_group, timeout, token, uid_token].hash
268
+ [acme_challenge, delete_protection, description, dns_target_creds, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, max_versions, name, resource_group, timeout, token, uid_token].hash
259
269
  end
260
270
 
261
271
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateLinked
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
 
@@ -42,6 +45,7 @@ module Akeyless
42
45
  # Attribute mapping from ruby-style variable name to JSON key.
43
46
  def self.attribute_map
44
47
  {
48
+ :'delete_protection' => :'delete_protection',
45
49
  :'description' => :'description',
46
50
  :'hosts' => :'hosts',
47
51
  :'json' => :'json',
@@ -61,6 +65,7 @@ module Akeyless
61
65
  # Attribute type mapping.
62
66
  def self.openapi_types
63
67
  {
68
+ :'delete_protection' => :'String',
64
69
  :'description' => :'String',
65
70
  :'hosts' => :'String',
66
71
  :'json' => :'Boolean',
@@ -93,6 +98,10 @@ module Akeyless
93
98
  h[k.to_sym] = v
94
99
  }
95
100
 
101
+ if attributes.key?(:'delete_protection')
102
+ self.delete_protection = attributes[:'delete_protection']
103
+ end
104
+
96
105
  if attributes.key?(:'description')
97
106
  self.description = attributes[:'description']
98
107
  end
@@ -155,6 +164,7 @@ module Akeyless
155
164
  def ==(o)
156
165
  return true if self.equal?(o)
157
166
  self.class == o.class &&
167
+ delete_protection == o.delete_protection &&
158
168
  description == o.description &&
159
169
  hosts == o.hosts &&
160
170
  json == o.json &&
@@ -174,7 +184,7 @@ module Akeyless
174
184
  # Calculates hash code according to all attributes.
175
185
  # @return [Integer] Hash code
176
186
  def hash
177
- [description, hosts, json, name, parent_target_name, token, type, uid_token].hash
187
+ [delete_protection, description, hosts, json, name, parent_target_name, token, type, uid_token].hash
178
188
  end
179
189
 
180
190
  # 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
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  {
58
61
  :'api_key' => :'api-key',
59
62
  :'api_key_id' => :'api-key-id',
63
+ :'delete_protection' => :'delete_protection',
60
64
  :'description' => :'description',
61
65
  :'json' => :'json',
62
66
  :'key' => :'key',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  {
81
85
  :'api_key' => :'String',
82
86
  :'api_key_id' => :'String',
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'json' => :'Boolean',
85
90
  :'key' => :'String',
@@ -122,6 +127,10 @@ module Akeyless
122
127
  self.api_key_id = attributes[:'api_key_id']
123
128
  end
124
129
 
130
+ if attributes.key?(:'delete_protection')
131
+ self.delete_protection = attributes[:'delete_protection']
132
+ end
133
+
125
134
  if attributes.key?(:'description')
126
135
  self.description = attributes[:'description']
127
136
  end
@@ -196,6 +205,7 @@ module Akeyless
196
205
  self.class == o.class &&
197
206
  api_key == o.api_key &&
198
207
  api_key_id == o.api_key_id &&
208
+ delete_protection == o.delete_protection &&
199
209
  description == o.description &&
200
210
  json == o.json &&
201
211
  key == o.key &&
@@ -217,7 +227,7 @@ module Akeyless
217
227
  # Calculates hash code according to all attributes.
218
228
  # @return [Integer] Hash code
219
229
  def hash
220
- [api_key, api_key_id, description, json, key, max_versions, model, name, openai_url, organization_id, token, uid_token].hash
230
+ [api_key, api_key_id, delete_protection, description, json, key, max_versions, model, name, openai_url, organization_id, token, uid_token].hash
221
231
  end
222
232
 
223
233
  # 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
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  {
58
61
  :'administrative_port' => :'administrative-port',
59
62
  :'authorization_port' => :'authorization-port',
63
+ :'delete_protection' => :'delete_protection',
60
64
  :'description' => :'description',
61
65
  :'json' => :'json',
62
66
  :'key' => :'key',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  {
81
85
  :'administrative_port' => :'String',
82
86
  :'authorization_port' => :'String',
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'json' => :'Boolean',
85
90
  :'key' => :'String',
@@ -126,6 +131,10 @@ module Akeyless
126
131
  self.authorization_port = '9031'
127
132
  end
128
133
 
134
+ if attributes.key?(:'delete_protection')
135
+ self.delete_protection = attributes[:'delete_protection']
136
+ end
137
+
129
138
  if attributes.key?(:'description')
130
139
  self.description = attributes[:'description']
131
140
  end
@@ -198,6 +207,7 @@ module Akeyless
198
207
  self.class == o.class &&
199
208
  administrative_port == o.administrative_port &&
200
209
  authorization_port == o.authorization_port &&
210
+ delete_protection == o.delete_protection &&
201
211
  description == o.description &&
202
212
  json == o.json &&
203
213
  key == o.key &&
@@ -219,7 +229,7 @@ module Akeyless
219
229
  # Calculates hash code according to all attributes.
220
230
  # @return [Integer] Hash code
221
231
  def hash
222
- [administrative_port, authorization_port, description, json, key, max_versions, name, password, ping_url, privileged_user, token, uid_token].hash
232
+ [administrative_port, authorization_port, delete_protection, description, json, key, max_versions, name, password, ping_url, privileged_user, token, uid_token].hash
223
233
  end
224
234
 
225
235
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateRabbitMq is a command that creates a new rabbitmq target
18
18
  class TargetCreateRabbitMq
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
 
@@ -46,6 +49,7 @@ module Akeyless
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
52
+ :'delete_protection' => :'delete_protection',
49
53
  :'description' => :'description',
50
54
  :'json' => :'json',
51
55
  :'key' => :'key',
@@ -67,6 +71,7 @@ module Akeyless
67
71
  # Attribute type mapping.
68
72
  def self.openapi_types
69
73
  {
74
+ :'delete_protection' => :'String',
70
75
  :'description' => :'String',
71
76
  :'json' => :'Boolean',
72
77
  :'key' => :'String',
@@ -101,6 +106,10 @@ module Akeyless
101
106
  h[k.to_sym] = v
102
107
  }
103
108
 
109
+ if attributes.key?(:'delete_protection')
110
+ self.delete_protection = attributes[:'delete_protection']
111
+ end
112
+
104
113
  if attributes.key?(:'description')
105
114
  self.description = attributes[:'description']
106
115
  end
@@ -171,6 +180,7 @@ module Akeyless
171
180
  def ==(o)
172
181
  return true if self.equal?(o)
173
182
  self.class == o.class &&
183
+ delete_protection == o.delete_protection &&
174
184
  description == o.description &&
175
185
  json == o.json &&
176
186
  key == o.key &&
@@ -192,7 +202,7 @@ module Akeyless
192
202
  # Calculates hash code according to all attributes.
193
203
  # @return [Integer] Hash code
194
204
  def hash
195
- [description, json, key, max_versions, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
205
+ [delete_protection, description, json, key, max_versions, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
196
206
  end
197
207
 
198
208
  # 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
 
@@ -76,6 +79,7 @@ module Akeyless
76
79
  :'ca_cert_name' => :'ca-cert-name',
77
80
  :'client_id' => :'client-id',
78
81
  :'client_secret' => :'client-secret',
82
+ :'delete_protection' => :'delete_protection',
79
83
  :'description' => :'description',
80
84
  :'email' => :'email',
81
85
  :'json' => :'json',
@@ -104,6 +108,7 @@ module Akeyless
104
108
  :'ca_cert_name' => :'String',
105
109
  :'client_id' => :'String',
106
110
  :'client_secret' => :'String',
111
+ :'delete_protection' => :'String',
107
112
  :'description' => :'String',
108
113
  :'email' => :'String',
109
114
  :'json' => :'Boolean',
@@ -167,6 +172,10 @@ module Akeyless
167
172
  self.client_secret = attributes[:'client_secret']
168
173
  end
169
174
 
175
+ if attributes.key?(:'delete_protection')
176
+ self.delete_protection = attributes[:'delete_protection']
177
+ end
178
+
170
179
  if attributes.key?(:'description')
171
180
  self.description = attributes[:'description']
172
181
  end
@@ -271,6 +280,7 @@ module Akeyless
271
280
  ca_cert_name == o.ca_cert_name &&
272
281
  client_id == o.client_id &&
273
282
  client_secret == o.client_secret &&
283
+ delete_protection == o.delete_protection &&
274
284
  description == o.description &&
275
285
  email == o.email &&
276
286
  json == o.json &&
@@ -293,7 +303,7 @@ module Akeyless
293
303
  # Calculates hash code according to all attributes.
294
304
  # @return [Integer] Hash code
295
305
  def hash
296
- [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, description, email, json, key, max_versions, name, password, security_token, tenant_url, token, uid_token].hash
306
+ [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, delete_protection, description, email, json, key, max_versions, name, password, security_token, tenant_url, token, uid_token].hash
297
307
  end
298
308
 
299
309
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Customer Uri of the Sectigo account
23
23
  attr_accessor :customer_uri
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
  :'certificate_profile_id' => :'certificate-profile-id',
65
68
  :'customer_uri' => :'customer-uri',
69
+ :'delete_protection' => :'delete_protection',
66
70
  :'description' => :'description',
67
71
  :'external_requester' => :'external-requester',
68
72
  :'json' => :'json',
@@ -88,6 +92,7 @@ module Akeyless
88
92
  {
89
93
  :'certificate_profile_id' => :'Integer',
90
94
  :'customer_uri' => :'String',
95
+ :'delete_protection' => :'String',
91
96
  :'description' => :'String',
92
97
  :'external_requester' => :'String',
93
98
  :'json' => :'Boolean',
@@ -136,6 +141,10 @@ module Akeyless
136
141
  self.customer_uri = nil
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
@@ -256,6 +265,7 @@ module Akeyless
256
265
  self.class == o.class &&
257
266
  certificate_profile_id == o.certificate_profile_id &&
258
267
  customer_uri == o.customer_uri &&
268
+ delete_protection == o.delete_protection &&
259
269
  description == o.description &&
260
270
  external_requester == o.external_requester &&
261
271
  json == o.json &&
@@ -279,7 +289,7 @@ module Akeyless
279
289
  # Calculates hash code according to all attributes.
280
290
  # @return [Integer] Hash code
281
291
  def hash
282
- [certificate_profile_id, customer_uri, description, external_requester, json, key, max_versions, name, organization_id, password, timeout, token, uid_token, username].hash
292
+ [certificate_profile_id, customer_uri, delete_protection, description, external_requester, json, key, max_versions, name, organization_id, password, timeout, token, uid_token, username].hash
283
293
  end
284
294
 
285
295
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Splunk token audience (required when using token authentication for rotation)
20
20
  attr_accessor :audience
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
  :'audience' => :'audience',
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'json' => :'json',
67
71
  :'key' => :'key',
@@ -87,6 +91,7 @@ module Akeyless
87
91
  def self.openapi_types
88
92
  {
89
93
  :'audience' => :'String',
94
+ :'delete_protection' => :'String',
90
95
  :'description' => :'String',
91
96
  :'json' => :'Boolean',
92
97
  :'key' => :'String',
@@ -128,6 +133,10 @@ module Akeyless
128
133
  self.audience = attributes[:'audience']
129
134
  end
130
135
 
136
+ if attributes.key?(:'delete_protection')
137
+ self.delete_protection = attributes[:'delete_protection']
138
+ end
139
+
131
140
  if attributes.key?(:'description')
132
141
  self.description = attributes[:'description']
133
142
  end
@@ -220,6 +229,7 @@ module Akeyless
220
229
  return true if self.equal?(o)
221
230
  self.class == o.class &&
222
231
  audience == o.audience &&
232
+ delete_protection == o.delete_protection &&
223
233
  description == o.description &&
224
234
  json == o.json &&
225
235
  key == o.key &&
@@ -244,7 +254,7 @@ module Akeyless
244
254
  # Calculates hash code according to all attributes.
245
255
  # @return [Integer] Hash code
246
256
  def hash
247
- [audience, description, json, key, max_versions, name, password, splunk_token, token, token_owner, uid_token, url, use_tls, username].hash
257
+ [audience, delete_protection, description, json, key, max_versions, name, password, splunk_token, token, token_owner, uid_token, url, use_tls, username].hash
248
258
  end
249
259
 
250
260
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateSsh is a command that creates a new ssh target
18
18
  class TargetCreateSsh
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
 
@@ -58,6 +61,7 @@ module Akeyless
58
61
  # Attribute mapping from ruby-style variable name to JSON key.
59
62
  def self.attribute_map
60
63
  {
64
+ :'delete_protection' => :'delete_protection',
61
65
  :'description' => :'description',
62
66
  :'host' => :'host',
63
67
  :'json' => :'json',
@@ -82,6 +86,7 @@ module Akeyless
82
86
  # Attribute type mapping.
83
87
  def self.openapi_types
84
88
  {
89
+ :'delete_protection' => :'String',
85
90
  :'description' => :'String',
86
91
  :'host' => :'String',
87
92
  :'json' => :'Boolean',
@@ -119,6 +124,10 @@ module Akeyless
119
124
  h[k.to_sym] = v
120
125
  }
121
126
 
127
+ if attributes.key?(:'delete_protection')
128
+ self.delete_protection = attributes[:'delete_protection']
129
+ end
130
+
122
131
  if attributes.key?(:'description')
123
132
  self.description = attributes[:'description']
124
133
  end
@@ -203,6 +212,7 @@ module Akeyless
203
212
  def ==(o)
204
213
  return true if self.equal?(o)
205
214
  self.class == o.class &&
215
+ delete_protection == o.delete_protection &&
206
216
  description == o.description &&
207
217
  host == o.host &&
208
218
  json == o.json &&
@@ -227,7 +237,7 @@ module Akeyless
227
237
  # Calculates hash code according to all attributes.
228
238
  # @return [Integer] Hash code
229
239
  def hash
230
- [description, host, json, key, max_versions, name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
240
+ [delete_protection, description, host, json, key, max_versions, name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
231
241
  end
232
242
 
233
243
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateWeb is a command that creates a new web target
18
18
  class TargetCreateWeb
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
 
@@ -43,6 +46,7 @@ module Akeyless
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
49
+ :'delete_protection' => :'delete_protection',
46
50
  :'description' => :'description',
47
51
  :'json' => :'json',
48
52
  :'key' => :'key',
@@ -62,6 +66,7 @@ module Akeyless
62
66
  # Attribute type mapping.
63
67
  def self.openapi_types
64
68
  {
69
+ :'delete_protection' => :'String',
65
70
  :'description' => :'String',
66
71
  :'json' => :'Boolean',
67
72
  :'key' => :'String',
@@ -94,6 +99,10 @@ module Akeyless
94
99
  h[k.to_sym] = v
95
100
  }
96
101
 
102
+ if attributes.key?(:'delete_protection')
103
+ self.delete_protection = attributes[:'delete_protection']
104
+ end
105
+
97
106
  if attributes.key?(:'description')
98
107
  self.description = attributes[:'description']
99
108
  end
@@ -156,6 +165,7 @@ module Akeyless
156
165
  def ==(o)
157
166
  return true if self.equal?(o)
158
167
  self.class == o.class &&
168
+ delete_protection == o.delete_protection &&
159
169
  description == o.description &&
160
170
  json == o.json &&
161
171
  key == o.key &&
@@ -175,7 +185,7 @@ module Akeyless
175
185
  # Calculates hash code according to all attributes.
176
186
  # @return [Integer] Hash code
177
187
  def hash
178
- [description, json, key, max_versions, name, token, uid_token, url].hash
188
+ [delete_protection, description, json, key, max_versions, name, token, uid_token, url].hash
179
189
  end
180
190
 
181
191
  # Builds the object from hash