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
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateEks
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
 
@@ -59,6 +62,7 @@ module Akeyless
59
62
  # Attribute mapping from ruby-style variable name to JSON key.
60
63
  def self.attribute_map
61
64
  {
65
+ :'delete_protection' => :'delete_protection',
62
66
  :'description' => :'description',
63
67
  :'eks_access_key_id' => :'eks-access-key-id',
64
68
  :'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
@@ -84,6 +88,7 @@ module Akeyless
84
88
  # Attribute type mapping.
85
89
  def self.openapi_types
86
90
  {
91
+ :'delete_protection' => :'String',
87
92
  :'description' => :'String',
88
93
  :'eks_access_key_id' => :'String',
89
94
  :'eks_cluster_ca_cert' => :'String',
@@ -122,6 +127,10 @@ module Akeyless
122
127
  h[k.to_sym] = v
123
128
  }
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
@@ -245,6 +254,7 @@ module Akeyless
245
254
  def ==(o)
246
255
  return true if self.equal?(o)
247
256
  self.class == o.class &&
257
+ delete_protection == o.delete_protection &&
248
258
  description == o.description &&
249
259
  eks_access_key_id == o.eks_access_key_id &&
250
260
  eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
@@ -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
- [description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, key, max_versions, name, token, uid_token, use_gw_cloud_identity].hash
283
+ [delete_protection, description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, key, max_versions, name, token, uid_token, use_gw_cloud_identity].hash
274
284
  end
275
285
 
276
286
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateGcp
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
 
@@ -44,6 +47,7 @@ module Akeyless
44
47
  # Attribute mapping from ruby-style variable name to JSON key.
45
48
  def self.attribute_map
46
49
  {
50
+ :'delete_protection' => :'delete_protection',
47
51
  :'description' => :'description',
48
52
  :'gcp_key' => :'gcp-key',
49
53
  :'json' => :'json',
@@ -64,6 +68,7 @@ module Akeyless
64
68
  # Attribute type mapping.
65
69
  def self.openapi_types
66
70
  {
71
+ :'delete_protection' => :'String',
67
72
  :'description' => :'String',
68
73
  :'gcp_key' => :'String',
69
74
  :'json' => :'Boolean',
@@ -97,6 +102,10 @@ module Akeyless
97
102
  h[k.to_sym] = v
98
103
  }
99
104
 
105
+ if attributes.key?(:'delete_protection')
106
+ self.delete_protection = attributes[:'delete_protection']
107
+ end
108
+
100
109
  if attributes.key?(:'description')
101
110
  self.description = attributes[:'description']
102
111
  end
@@ -163,6 +172,7 @@ module Akeyless
163
172
  def ==(o)
164
173
  return true if self.equal?(o)
165
174
  self.class == o.class &&
175
+ delete_protection == o.delete_protection &&
166
176
  description == o.description &&
167
177
  gcp_key == o.gcp_key &&
168
178
  json == o.json &&
@@ -183,7 +193,7 @@ module Akeyless
183
193
  # Calculates hash code according to all attributes.
184
194
  # @return [Integer] Hash code
185
195
  def hash
186
- [description, gcp_key, json, key, max_versions, name, token, uid_token, use_gw_cloud_identity].hash
196
+ [delete_protection, description, gcp_key, json, key, max_versions, name, token, uid_token, use_gw_cloud_identity].hash
187
197
  end
188
198
 
189
199
  # 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
 
@@ -47,6 +50,7 @@ module Akeyless
47
50
  def self.attribute_map
48
51
  {
49
52
  :'api_key' => :'api-key',
53
+ :'delete_protection' => :'delete_protection',
50
54
  :'description' => :'description',
51
55
  :'gemini_url' => :'gemini-url',
52
56
  :'json' => :'json',
@@ -67,6 +71,7 @@ module Akeyless
67
71
  def self.openapi_types
68
72
  {
69
73
  :'api_key' => :'String',
74
+ :'delete_protection' => :'String',
70
75
  :'description' => :'String',
71
76
  :'gemini_url' => :'String',
72
77
  :'json' => :'Boolean',
@@ -103,6 +108,10 @@ module Akeyless
103
108
  self.api_key = attributes[:'api_key']
104
109
  end
105
110
 
111
+ if attributes.key?(:'delete_protection')
112
+ self.delete_protection = attributes[:'delete_protection']
113
+ end
114
+
106
115
  if attributes.key?(:'description')
107
116
  self.description = attributes[:'description']
108
117
  end
@@ -168,6 +177,7 @@ module Akeyless
168
177
  return true if self.equal?(o)
169
178
  self.class == o.class &&
170
179
  api_key == o.api_key &&
180
+ delete_protection == o.delete_protection &&
171
181
  description == o.description &&
172
182
  gemini_url == o.gemini_url &&
173
183
  json == o.json &&
@@ -187,7 +197,7 @@ module Akeyless
187
197
  # Calculates hash code according to all attributes.
188
198
  # @return [Integer] Hash code
189
199
  def hash
190
- [api_key, description, gemini_url, json, key, max_versions, name, token, uid_token].hash
200
+ [api_key, delete_protection, description, gemini_url, json, key, max_versions, name, token, uid_token].hash
191
201
  end
192
202
 
193
203
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateGithub
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
 
@@ -48,6 +51,7 @@ module Akeyless
48
51
  # Attribute mapping from ruby-style variable name to JSON key.
49
52
  def self.attribute_map
50
53
  {
54
+ :'delete_protection' => :'delete_protection',
51
55
  :'description' => :'description',
52
56
  :'github_app_id' => :'github-app-id',
53
57
  :'github_app_private_key' => :'github-app-private-key',
@@ -69,6 +73,7 @@ module Akeyless
69
73
  # Attribute type mapping.
70
74
  def self.openapi_types
71
75
  {
76
+ :'delete_protection' => :'String',
72
77
  :'description' => :'String',
73
78
  :'github_app_id' => :'Integer',
74
79
  :'github_app_private_key' => :'String',
@@ -103,6 +108,10 @@ module Akeyless
103
108
  h[k.to_sym] = v
104
109
  }
105
110
 
111
+ if attributes.key?(:'delete_protection')
112
+ self.delete_protection = attributes[:'delete_protection']
113
+ end
114
+
106
115
  if attributes.key?(:'description')
107
116
  self.description = attributes[:'description']
108
117
  end
@@ -175,6 +184,7 @@ module Akeyless
175
184
  def ==(o)
176
185
  return true if self.equal?(o)
177
186
  self.class == o.class &&
187
+ delete_protection == o.delete_protection &&
178
188
  description == o.description &&
179
189
  github_app_id == o.github_app_id &&
180
190
  github_app_private_key == o.github_app_private_key &&
@@ -196,7 +206,7 @@ module Akeyless
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Integer] Hash code
198
208
  def hash
199
- [description, github_app_id, github_app_private_key, github_base_url, json, key, max_versions, name, token, uid_token].hash
209
+ [delete_protection, description, github_app_id, github_app_private_key, github_base_url, json, key, max_versions, name, token, uid_token].hash
200
210
  end
201
211
 
202
212
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateGitlab
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
 
@@ -48,6 +51,7 @@ module Akeyless
48
51
  # Attribute mapping from ruby-style variable name to JSON key.
49
52
  def self.attribute_map
50
53
  {
54
+ :'delete_protection' => :'delete_protection',
51
55
  :'description' => :'description',
52
56
  :'gitlab_access_token' => :'gitlab-access-token',
53
57
  :'gitlab_certificate' => :'gitlab-certificate',
@@ -69,6 +73,7 @@ module Akeyless
69
73
  # Attribute type mapping.
70
74
  def self.openapi_types
71
75
  {
76
+ :'delete_protection' => :'String',
72
77
  :'description' => :'String',
73
78
  :'gitlab_access_token' => :'String',
74
79
  :'gitlab_certificate' => :'String',
@@ -103,6 +108,10 @@ module Akeyless
103
108
  h[k.to_sym] = v
104
109
  }
105
110
 
111
+ if attributes.key?(:'delete_protection')
112
+ self.delete_protection = attributes[:'delete_protection']
113
+ end
114
+
106
115
  if attributes.key?(:'description')
107
116
  self.description = attributes[:'description']
108
117
  end
@@ -175,6 +184,7 @@ module Akeyless
175
184
  def ==(o)
176
185
  return true if self.equal?(o)
177
186
  self.class == o.class &&
187
+ delete_protection == o.delete_protection &&
178
188
  description == o.description &&
179
189
  gitlab_access_token == o.gitlab_access_token &&
180
190
  gitlab_certificate == o.gitlab_certificate &&
@@ -196,7 +206,7 @@ module Akeyless
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Integer] Hash code
198
208
  def hash
199
- [description, gitlab_access_token, gitlab_certificate, gitlab_url, json, key, max_versions, name, token, uid_token].hash
209
+ [delete_protection, description, gitlab_access_token, gitlab_certificate, gitlab_url, json, key, max_versions, name, token, uid_token].hash
200
210
  end
201
211
 
202
212
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateGke
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
 
@@ -56,6 +59,7 @@ module Akeyless
56
59
  # Attribute mapping from ruby-style variable name to JSON key.
57
60
  def self.attribute_map
58
61
  {
62
+ :'delete_protection' => :'delete_protection',
59
63
  :'description' => :'description',
60
64
  :'gke_account_key' => :'gke-account-key',
61
65
  :'gke_cluster_cert' => :'gke-cluster-cert',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  # Attribute type mapping.
81
85
  def self.openapi_types
82
86
  {
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'gke_account_key' => :'String',
85
90
  :'gke_cluster_cert' => :'String',
@@ -117,6 +122,10 @@ module Akeyless
117
122
  h[k.to_sym] = v
118
123
  }
119
124
 
125
+ if attributes.key?(:'delete_protection')
126
+ self.delete_protection = attributes[:'delete_protection']
127
+ end
128
+
120
129
  if attributes.key?(:'description')
121
130
  self.description = attributes[:'description']
122
131
  end
@@ -199,6 +208,7 @@ module Akeyless
199
208
  def ==(o)
200
209
  return true if self.equal?(o)
201
210
  self.class == o.class &&
211
+ delete_protection == o.delete_protection &&
202
212
  description == o.description &&
203
213
  gke_account_key == o.gke_account_key &&
204
214
  gke_cluster_cert == o.gke_cluster_cert &&
@@ -223,7 +233,7 @@ module Akeyless
223
233
  # Calculates hash code according to all attributes.
224
234
  # @return [Integer] Hash code
225
235
  def hash
226
- [description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, key, max_versions, name, token, uid_token, use_gw_cloud_identity].hash
236
+ [delete_protection, description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, key, max_versions, name, token, uid_token, use_gw_cloud_identity].hash
227
237
  end
228
238
 
229
239
  # Builds the object from hash
@@ -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
 
@@ -67,6 +70,7 @@ module Akeyless
67
70
  :'contact_first_name' => :'contact-first-name',
68
71
  :'contact_last_name' => :'contact-last-name',
69
72
  :'contact_phone' => :'contact-phone',
73
+ :'delete_protection' => :'delete_protection',
70
74
  :'description' => :'description',
71
75
  :'json' => :'json',
72
76
  :'key' => :'key',
@@ -93,6 +97,7 @@ module Akeyless
93
97
  :'contact_first_name' => :'String',
94
98
  :'contact_last_name' => :'String',
95
99
  :'contact_phone' => :'String',
100
+ :'delete_protection' => :'String',
96
101
  :'description' => :'String',
97
102
  :'json' => :'Boolean',
98
103
  :'key' => :'String',
@@ -152,6 +157,10 @@ module Akeyless
152
157
  self.contact_phone = nil
153
158
  end
154
159
 
160
+ if attributes.key?(:'delete_protection')
161
+ self.delete_protection = attributes[:'delete_protection']
162
+ end
163
+
155
164
  if attributes.key?(:'description')
156
165
  self.description = attributes[:'description']
157
166
  end
@@ -273,6 +282,7 @@ module Akeyless
273
282
  contact_first_name == o.contact_first_name &&
274
283
  contact_last_name == o.contact_last_name &&
275
284
  contact_phone == o.contact_phone &&
285
+ delete_protection == o.delete_protection &&
276
286
  description == o.description &&
277
287
  json == o.json &&
278
288
  key == o.key &&
@@ -295,7 +305,7 @@ module Akeyless
295
305
  # Calculates hash code according to all attributes.
296
306
  # @return [Integer] Hash code
297
307
  def hash
298
- [contact_email, contact_first_name, contact_last_name, contact_phone, description, json, key, max_versions, name, password, profile_id, timeout, token, uid_token, username].hash
308
+ [contact_email, contact_first_name, contact_last_name, contact_phone, delete_protection, description, json, key, max_versions, name, password, profile_id, timeout, token, uid_token, username].hash
299
309
  end
300
310
 
301
311
  # 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
 
@@ -56,6 +59,7 @@ module Akeyless
56
59
  {
57
60
  :'api_key' => :'api-key',
58
61
  :'api_secret' => :'api-secret',
62
+ :'delete_protection' => :'delete_protection',
59
63
  :'description' => :'description',
60
64
  :'json' => :'json',
61
65
  :'key' => :'key',
@@ -79,6 +83,7 @@ module Akeyless
79
83
  {
80
84
  :'api_key' => :'String',
81
85
  :'api_secret' => :'String',
86
+ :'delete_protection' => :'String',
82
87
  :'description' => :'String',
83
88
  :'json' => :'Boolean',
84
89
  :'key' => :'String',
@@ -125,6 +130,10 @@ module Akeyless
125
130
  self.api_secret = nil
126
131
  end
127
132
 
133
+ if attributes.key?(:'delete_protection')
134
+ self.delete_protection = attributes[:'delete_protection']
135
+ end
136
+
128
137
  if attributes.key?(:'description')
129
138
  self.description = attributes[:'description']
130
139
  end
@@ -209,6 +218,7 @@ module Akeyless
209
218
  self.class == o.class &&
210
219
  api_key == o.api_key &&
211
220
  api_secret == o.api_secret &&
221
+ delete_protection == o.delete_protection &&
212
222
  description == o.description &&
213
223
  json == o.json &&
214
224
  key == o.key &&
@@ -230,7 +240,7 @@ module Akeyless
230
240
  # Calculates hash code according to all attributes.
231
241
  # @return [Integer] Hash code
232
242
  def hash
233
- [api_key, api_secret, description, json, key, max_versions, mtls_cert_data_base64, mtls_key_data_base64, name, timeout, token, uid_token].hash
243
+ [api_key, api_secret, delete_protection, description, json, key, max_versions, mtls_cert_data_base64, mtls_key_data_base64, name, timeout, token, uid_token].hash
234
244
  end
235
245
 
236
246
  # 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
 
@@ -65,6 +68,7 @@ module Akeyless
65
68
  {
66
69
  :'api_key' => :'api-key',
67
70
  :'customer_id' => :'customer_id',
71
+ :'delete_protection' => :'delete_protection',
68
72
  :'description' => :'description',
69
73
  :'imap_fqdn' => :'imap-fqdn',
70
74
  :'imap_password' => :'imap-password',
@@ -91,6 +95,7 @@ module Akeyless
91
95
  {
92
96
  :'api_key' => :'String',
93
97
  :'customer_id' => :'String',
98
+ :'delete_protection' => :'String',
94
99
  :'description' => :'String',
95
100
  :'imap_fqdn' => :'String',
96
101
  :'imap_password' => :'String',
@@ -138,6 +143,10 @@ module Akeyless
138
143
  self.customer_id = attributes[:'customer_id']
139
144
  end
140
145
 
146
+ if attributes.key?(:'delete_protection')
147
+ self.delete_protection = attributes[:'delete_protection']
148
+ end
149
+
141
150
  if attributes.key?(:'description')
142
151
  self.description = attributes[:'description']
143
152
  end
@@ -259,6 +268,7 @@ module Akeyless
259
268
  self.class == o.class &&
260
269
  api_key == o.api_key &&
261
270
  customer_id == o.customer_id &&
271
+ delete_protection == o.delete_protection &&
262
272
  description == o.description &&
263
273
  imap_fqdn == o.imap_fqdn &&
264
274
  imap_password == o.imap_password &&
@@ -283,7 +293,7 @@ module Akeyless
283
293
  # Calculates hash code according to all attributes.
284
294
  # @return [Integer] Hash code
285
295
  def hash
286
- [api_key, customer_id, description, imap_fqdn, imap_password, imap_port, imap_username, json, key, max_versions, name, secret, timeout, token, uid_token].hash
296
+ [api_key, customer_id, delete_protection, description, imap_fqdn, imap_password, imap_port, imap_username, json, key, max_versions, name, secret, timeout, token, uid_token].hash
287
297
  end
288
298
 
289
299
  # 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
 
@@ -71,6 +74,7 @@ module Akeyless
71
74
  def self.attribute_map
72
75
  {
73
76
  :'acme_challenge' => :'acme-challenge',
77
+ :'delete_protection' => :'delete_protection',
74
78
  :'description' => :'description',
75
79
  :'dns_target_creds' => :'dns-target-creds',
76
80
  :'eab_hmac_key' => :'eab-hmac-key',
@@ -99,6 +103,7 @@ module Akeyless
99
103
  def self.openapi_types
100
104
  {
101
105
  :'acme_challenge' => :'String',
106
+ :'delete_protection' => :'String',
102
107
  :'description' => :'String',
103
108
  :'dns_target_creds' => :'String',
104
109
  :'eab_hmac_key' => :'String',
@@ -145,6 +150,10 @@ module Akeyless
145
150
  self.acme_challenge = 'dns'
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
@@ -251,6 +260,7 @@ module Akeyless
251
260
  return true if self.equal?(o)
252
261
  self.class == o.class &&
253
262
  acme_challenge == o.acme_challenge &&
263
+ delete_protection == o.delete_protection &&
254
264
  description == o.description &&
255
265
  dns_target_creds == o.dns_target_creds &&
256
266
  eab_hmac_key == o.eab_hmac_key &&
@@ -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
- [acme_challenge, description, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, key, max_versions, name, resource_group, timeout, token, uid_token].hash
291
+ [acme_challenge, delete_protection, description, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, key, max_versions, name, resource_group, timeout, token, uid_token].hash
282
292
  end
283
293
 
284
294
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateHashiVault
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
 
@@ -48,6 +51,7 @@ module Akeyless
48
51
  # Attribute mapping from ruby-style variable name to JSON key.
49
52
  def self.attribute_map
50
53
  {
54
+ :'delete_protection' => :'delete_protection',
51
55
  :'description' => :'description',
52
56
  :'hashi_url' => :'hashi-url',
53
57
  :'json' => :'json',
@@ -69,6 +73,7 @@ module Akeyless
69
73
  # Attribute type mapping.
70
74
  def self.openapi_types
71
75
  {
76
+ :'delete_protection' => :'String',
72
77
  :'description' => :'String',
73
78
  :'hashi_url' => :'String',
74
79
  :'json' => :'Boolean',
@@ -103,6 +108,10 @@ module Akeyless
103
108
  h[k.to_sym] = v
104
109
  }
105
110
 
111
+ if attributes.key?(:'delete_protection')
112
+ self.delete_protection = attributes[:'delete_protection']
113
+ end
114
+
106
115
  if attributes.key?(:'description')
107
116
  self.description = attributes[:'description']
108
117
  end
@@ -175,6 +184,7 @@ module Akeyless
175
184
  def ==(o)
176
185
  return true if self.equal?(o)
177
186
  self.class == o.class &&
187
+ delete_protection == o.delete_protection &&
178
188
  description == o.description &&
179
189
  hashi_url == o.hashi_url &&
180
190
  json == o.json &&
@@ -196,7 +206,7 @@ module Akeyless
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Integer] Hash code
198
208
  def hash
199
- [description, hashi_url, json, key, max_versions, name, namespace, token, uid_token, vault_token].hash
209
+ [delete_protection, description, hashi_url, json, key, max_versions, name, namespace, token, uid_token, vault_token].hash
200
210
  end
201
211
 
202
212
  # Builds the object from hash
@@ -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