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