akeyless 5.0.22 → 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.
- checksums.yaml +4 -4
- data/README.md +33 -5
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
- data/docs/AwsStorage.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateUSC.md +6 -2
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/DescribePermissions.md +1 -1
- data/docs/DigiCertTargetDetails.md +42 -0
- data/docs/EsmListSecretsOutput.md +5 -1
- data/docs/GatewayCreateMigration.md +4 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/GatewayUpdateMigration.md +4 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
- data/docs/GeneralConfigPart.md +4 -0
- data/docs/GoogleTrustTargetDetails.md +42 -0
- data/docs/HashiPayload.md +5 -1
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ItemLockingSetting.md +20 -0
- data/docs/ListItems.md +2 -0
- data/docs/LockItem.md +28 -0
- data/docs/LockTarget.md +28 -0
- data/docs/LockingInfo.md +24 -0
- data/docs/MigrationStatusReplyObj.md +2 -0
- data/docs/NetappStorage.md +30 -0
- data/docs/ReverseRBAC.md +1 -1
- data/docs/RotatedSecretCreateAws.md +3 -1
- data/docs/RotatedSecretCreateAzure.md +3 -1
- data/docs/RotatedSecretCreateCustom.md +3 -1
- data/docs/RotatedSecretCreateLdap.md +3 -1
- data/docs/RotatedSecretCreateMongodb.md +3 -1
- data/docs/RotatedSecretCreateMssql.md +3 -1
- data/docs/RotatedSecretCreateMysql.md +3 -1
- data/docs/RotatedSecretCreateOracledb.md +3 -1
- data/docs/RotatedSecretCreatePostgresql.md +3 -1
- data/docs/RotatedSecretCreateRedshift.md +3 -1
- data/docs/RotatedSecretCreateSsh.md +3 -1
- data/docs/RotatedSecretCreateWindows.md +3 -1
- data/docs/RotatedSecretUpdateAws.md +3 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateCustom.md +3 -1
- data/docs/RotatedSecretUpdateLdap.md +3 -1
- data/docs/RotatedSecretUpdateMongodb.md +3 -1
- data/docs/RotatedSecretUpdateMssql.md +3 -1
- data/docs/RotatedSecretUpdateMysql.md +3 -1
- data/docs/RotatedSecretUpdateOracledb.md +3 -1
- data/docs/RotatedSecretUpdatePostgresql.md +3 -1
- data/docs/RotatedSecretUpdateRedshift.md +3 -1
- data/docs/RotatedSecretUpdateSsh.md +3 -1
- data/docs/RotatedSecretUpdateWindows.md +3 -1
- data/docs/RuntimeAuthorityCommand.md +28 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SecureRemoteAccess.md +4 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SyncCounters.md +22 -0
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +4 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateDigiCert.md +52 -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 +52 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +3 -1
- 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 +5 -1
- 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/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateDigiCert.md +54 -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 +56 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +3 -1
- 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/UniversalIdentityAccessRules.md +4 -0
- data/docs/UnlockItem.md +24 -0
- data/docs/UnlockTarget.md +24 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
- data/docs/UpdateItem.md +8 -2
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +5 -1
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +572 -6
- data/docs/WebBastionRdpRecord.md +2 -0
- data/lib/akeyless/api/v2_api.rb +580 -4
- data/lib/akeyless/models/account_general_settings.rb +19 -1
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
- data/lib/akeyless/models/aws_storage.rb +10 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_rotated_secret.rb +12 -4
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +25 -5
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/describe_permissions.rb +1 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +21 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/gateway_update_migration.rb +21 -1
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
- data/lib/akeyless/models/general_config_part.rb +19 -1
- data/lib/akeyless/models/google_trust_target_details.rb +335 -0
- data/lib/akeyless/models/hashi_payload.rb +22 -4
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/item_locking_setting.rb +223 -0
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/lock_item.rb +274 -0
- data/lib/akeyless/models/lock_target.rb +274 -0
- data/lib/akeyless/models/locking_info.rb +243 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
- data/lib/akeyless/models/netapp_storage.rb +268 -0
- data/lib/akeyless/models/reverse_rbac.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
- data/lib/akeyless/models/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/secure_remote_access.rb +19 -1
- 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/sync_counters.rb +233 -0
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +19 -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 +11 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
- 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 +408 -0
- 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 +18 -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 +21 -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_type_details_input.rb +19 -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 +11 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
- 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 +428 -0
- 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 +18 -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/universal_identity_access_rules.rb +19 -1
- data/lib/akeyless/models/unlock_item.rb +254 -0
- data/lib/akeyless/models/unlock_target.rb +254 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/update_item.rb +35 -7
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_rotated_secret.rb +12 -4
- data/lib/akeyless/models/update_target.rb +11 -1
- data/lib/akeyless/models/usc_create.rb +10 -1
- data/lib/akeyless/models/usc_delete.rb +20 -1
- data/lib/akeyless/models/usc_get.rb +20 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
- data/lib/akeyless/models/usc_update.rb +20 -1
- data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +19 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/digi_cert_target_details_spec.rb +108 -0
- data/spec/models/google_trust_target_details_spec.rb +108 -0
- data/spec/models/item_locking_setting_spec.rb +42 -0
- data/spec/models/lock_item_spec.rb +66 -0
- data/spec/models/lock_target_spec.rb +66 -0
- data/spec/models/locking_info_spec.rb +54 -0
- data/spec/models/netapp_storage_spec.rb +72 -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
- data/spec/models/sync_counters_spec.rb +48 -0
- data/spec/models/target_create_digi_cert_spec.rb +132 -0
- data/spec/models/target_create_google_trust_spec.rb +132 -0
- data/spec/models/target_update_digi_cert_spec.rb +144 -0
- data/spec/models/target_update_google_trust_spec.rb +144 -0
- data/spec/models/unlock_item_spec.rb +54 -0
- data/spec/models/unlock_target_spec.rb +54 -0
- metadata +1226 -1147
|
@@ -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
|
|
@@ -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
|
|
@@ -27,6 +27,8 @@ module Akeyless
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :db_target_details
|
|
29
29
|
|
|
30
|
+
attr_accessor :digicert_target_details
|
|
31
|
+
|
|
30
32
|
attr_accessor :dockerhub_target_details
|
|
31
33
|
|
|
32
34
|
attr_accessor :eks_target_details
|
|
@@ -47,6 +49,8 @@ module Akeyless
|
|
|
47
49
|
|
|
48
50
|
attr_accessor :godaddy_target_details
|
|
49
51
|
|
|
52
|
+
attr_accessor :google_trust_target_details
|
|
53
|
+
|
|
50
54
|
attr_accessor :hashi_vault_target_details
|
|
51
55
|
|
|
52
56
|
attr_accessor :ldap_target_details
|
|
@@ -90,6 +94,7 @@ module Akeyless
|
|
|
90
94
|
:'chef_target_details' => :'chef_target_details',
|
|
91
95
|
:'custom_target_details' => :'custom_target_details',
|
|
92
96
|
:'db_target_details' => :'db_target_details',
|
|
97
|
+
:'digicert_target_details' => :'digicert_target_details',
|
|
93
98
|
:'dockerhub_target_details' => :'dockerhub_target_details',
|
|
94
99
|
:'eks_target_details' => :'eks_target_details',
|
|
95
100
|
:'gcp_target_details' => :'gcp_target_details',
|
|
@@ -100,6 +105,7 @@ module Akeyless
|
|
|
100
105
|
:'globalsign_atlas_target_details' => :'globalsign_atlas_target_details',
|
|
101
106
|
:'globalsign_target_details' => :'globalsign_target_details',
|
|
102
107
|
:'godaddy_target_details' => :'godaddy_target_details',
|
|
108
|
+
:'google_trust_target_details' => :'google_trust_target_details',
|
|
103
109
|
:'hashi_vault_target_details' => :'hashi_vault_target_details',
|
|
104
110
|
:'ldap_target_details' => :'ldap_target_details',
|
|
105
111
|
:'letsencrypt_target_details' => :'letsencrypt_target_details',
|
|
@@ -134,6 +140,7 @@ module Akeyless
|
|
|
134
140
|
:'chef_target_details' => :'ChefTargetDetails',
|
|
135
141
|
:'custom_target_details' => :'CustomTargetDetails',
|
|
136
142
|
:'db_target_details' => :'DbTargetDetails',
|
|
143
|
+
:'digicert_target_details' => :'DigiCertTargetDetails',
|
|
137
144
|
:'dockerhub_target_details' => :'DockerhubTargetDetails',
|
|
138
145
|
:'eks_target_details' => :'EKSTargetDetails',
|
|
139
146
|
:'gcp_target_details' => :'GcpTargetDetails',
|
|
@@ -144,6 +151,7 @@ module Akeyless
|
|
|
144
151
|
:'globalsign_atlas_target_details' => :'GlobalSignAtlasTargetDetails',
|
|
145
152
|
:'globalsign_target_details' => :'GlobalSignGCCTargetDetails',
|
|
146
153
|
:'godaddy_target_details' => :'GodaddyTargetDetails',
|
|
154
|
+
:'google_trust_target_details' => :'GoogleTrustTargetDetails',
|
|
147
155
|
:'hashi_vault_target_details' => :'HashiVaultTargetDetails',
|
|
148
156
|
:'ldap_target_details' => :'LdapTargetDetails',
|
|
149
157
|
:'letsencrypt_target_details' => :'LetsEncryptTargetDetails',
|
|
@@ -209,6 +217,10 @@ module Akeyless
|
|
|
209
217
|
self.db_target_details = attributes[:'db_target_details']
|
|
210
218
|
end
|
|
211
219
|
|
|
220
|
+
if attributes.key?(:'digicert_target_details')
|
|
221
|
+
self.digicert_target_details = attributes[:'digicert_target_details']
|
|
222
|
+
end
|
|
223
|
+
|
|
212
224
|
if attributes.key?(:'dockerhub_target_details')
|
|
213
225
|
self.dockerhub_target_details = attributes[:'dockerhub_target_details']
|
|
214
226
|
end
|
|
@@ -249,6 +261,10 @@ module Akeyless
|
|
|
249
261
|
self.godaddy_target_details = attributes[:'godaddy_target_details']
|
|
250
262
|
end
|
|
251
263
|
|
|
264
|
+
if attributes.key?(:'google_trust_target_details')
|
|
265
|
+
self.google_trust_target_details = attributes[:'google_trust_target_details']
|
|
266
|
+
end
|
|
267
|
+
|
|
252
268
|
if attributes.key?(:'hashi_vault_target_details')
|
|
253
269
|
self.hashi_vault_target_details = attributes[:'hashi_vault_target_details']
|
|
254
270
|
end
|
|
@@ -344,6 +360,7 @@ module Akeyless
|
|
|
344
360
|
chef_target_details == o.chef_target_details &&
|
|
345
361
|
custom_target_details == o.custom_target_details &&
|
|
346
362
|
db_target_details == o.db_target_details &&
|
|
363
|
+
digicert_target_details == o.digicert_target_details &&
|
|
347
364
|
dockerhub_target_details == o.dockerhub_target_details &&
|
|
348
365
|
eks_target_details == o.eks_target_details &&
|
|
349
366
|
gcp_target_details == o.gcp_target_details &&
|
|
@@ -354,6 +371,7 @@ module Akeyless
|
|
|
354
371
|
globalsign_atlas_target_details == o.globalsign_atlas_target_details &&
|
|
355
372
|
globalsign_target_details == o.globalsign_target_details &&
|
|
356
373
|
godaddy_target_details == o.godaddy_target_details &&
|
|
374
|
+
google_trust_target_details == o.google_trust_target_details &&
|
|
357
375
|
hashi_vault_target_details == o.hashi_vault_target_details &&
|
|
358
376
|
ldap_target_details == o.ldap_target_details &&
|
|
359
377
|
letsencrypt_target_details == o.letsencrypt_target_details &&
|
|
@@ -382,7 +400,7 @@ module Akeyless
|
|
|
382
400
|
# Calculates hash code according to all attributes.
|
|
383
401
|
# @return [Integer] Hash code
|
|
384
402
|
def hash
|
|
385
|
-
[artifactory_target_details, aws_target_details, azure_target_details, chef_target_details, custom_target_details, db_target_details, dockerhub_target_details, eks_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, hashi_vault_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
|
|
403
|
+
[artifactory_target_details, aws_target_details, azure_target_details, chef_target_details, custom_target_details, db_target_details, digicert_target_details, dockerhub_target_details, eks_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, google_trust_target_details, hashi_vault_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
|
|
386
404
|
end
|
|
387
405
|
|
|
388
406
|
# Builds the object from hash
|
|
@@ -24,6 +24,9 @@ module Akeyless
|
|
|
24
24
|
# Base URL
|
|
25
25
|
attr_accessor :base_url
|
|
26
26
|
|
|
27
|
+
# Protection from accidental deletion of this object [true/false]
|
|
28
|
+
attr_accessor :delete_protection
|
|
29
|
+
|
|
27
30
|
# Description of the object
|
|
28
31
|
attr_accessor :description
|
|
29
32
|
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
|
57
60
|
:'artifactory_admin_name' => :'artifactory-admin-name',
|
|
58
61
|
:'artifactory_admin_pwd' => :'artifactory-admin-pwd',
|
|
59
62
|
:'base_url' => :'base-url',
|
|
63
|
+
:'delete_protection' => :'delete_protection',
|
|
60
64
|
:'description' => :'description',
|
|
61
65
|
:'json' => :'json',
|
|
62
66
|
:'keep_prev_version' => :'keep-prev-version',
|
|
@@ -80,6 +84,7 @@ module Akeyless
|
|
|
80
84
|
:'artifactory_admin_name' => :'String',
|
|
81
85
|
:'artifactory_admin_pwd' => :'String',
|
|
82
86
|
:'base_url' => :'String',
|
|
87
|
+
:'delete_protection' => :'String',
|
|
83
88
|
:'description' => :'String',
|
|
84
89
|
:'json' => :'Boolean',
|
|
85
90
|
:'keep_prev_version' => :'String',
|
|
@@ -131,6 +136,10 @@ module Akeyless
|
|
|
131
136
|
self.base_url = nil
|
|
132
137
|
end
|
|
133
138
|
|
|
139
|
+
if attributes.key?(:'delete_protection')
|
|
140
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
141
|
+
end
|
|
142
|
+
|
|
134
143
|
if attributes.key?(:'description')
|
|
135
144
|
self.description = attributes[:'description']
|
|
136
145
|
end
|
|
@@ -215,6 +224,7 @@ module Akeyless
|
|
|
215
224
|
artifactory_admin_name == o.artifactory_admin_name &&
|
|
216
225
|
artifactory_admin_pwd == o.artifactory_admin_pwd &&
|
|
217
226
|
base_url == o.base_url &&
|
|
227
|
+
delete_protection == o.delete_protection &&
|
|
218
228
|
description == o.description &&
|
|
219
229
|
json == o.json &&
|
|
220
230
|
keep_prev_version == o.keep_prev_version &&
|
|
@@ -235,7 +245,7 @@ module Akeyless
|
|
|
235
245
|
# Calculates hash code according to all attributes.
|
|
236
246
|
# @return [Integer] Hash code
|
|
237
247
|
def hash
|
|
238
|
-
[artifactory_admin_name, artifactory_admin_pwd, base_url, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
|
|
248
|
+
[artifactory_admin_name, artifactory_admin_pwd, base_url, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
|
|
239
249
|
end
|
|
240
250
|
|
|
241
251
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module Akeyless
|
|
|
21
21
|
# AWS access key ID
|
|
22
22
|
attr_accessor :access_key_id
|
|
23
23
|
|
|
24
|
+
# Protection from accidental deletion of this object [true/false]
|
|
25
|
+
attr_accessor :delete_protection
|
|
26
|
+
|
|
24
27
|
# Description of the object
|
|
25
28
|
attr_accessor :description
|
|
26
29
|
|
|
@@ -68,6 +71,7 @@ module Akeyless
|
|
|
68
71
|
{
|
|
69
72
|
:'access_key' => :'access-key',
|
|
70
73
|
:'access_key_id' => :'access-key-id',
|
|
74
|
+
:'delete_protection' => :'delete_protection',
|
|
71
75
|
:'description' => :'description',
|
|
72
76
|
:'generate_external_id' => :'generate-external-id',
|
|
73
77
|
:'json' => :'json',
|
|
@@ -95,6 +99,7 @@ module Akeyless
|
|
|
95
99
|
{
|
|
96
100
|
:'access_key' => :'String',
|
|
97
101
|
:'access_key_id' => :'String',
|
|
102
|
+
:'delete_protection' => :'String',
|
|
98
103
|
:'description' => :'String',
|
|
99
104
|
:'generate_external_id' => :'Boolean',
|
|
100
105
|
:'json' => :'Boolean',
|
|
@@ -145,6 +150,10 @@ module Akeyless
|
|
|
145
150
|
self.access_key_id = nil
|
|
146
151
|
end
|
|
147
152
|
|
|
153
|
+
if attributes.key?(:'delete_protection')
|
|
154
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
155
|
+
end
|
|
156
|
+
|
|
148
157
|
if attributes.key?(:'description')
|
|
149
158
|
self.description = attributes[:'description']
|
|
150
159
|
end
|
|
@@ -245,6 +254,7 @@ module Akeyless
|
|
|
245
254
|
self.class == o.class &&
|
|
246
255
|
access_key == o.access_key &&
|
|
247
256
|
access_key_id == o.access_key_id &&
|
|
257
|
+
delete_protection == o.delete_protection &&
|
|
248
258
|
description == o.description &&
|
|
249
259
|
generate_external_id == o.generate_external_id &&
|
|
250
260
|
json == o.json &&
|
|
@@ -270,7 +280,7 @@ module Akeyless
|
|
|
270
280
|
# Calculates hash code according to all attributes.
|
|
271
281
|
# @return [Integer] Hash code
|
|
272
282
|
def hash
|
|
273
|
-
[access_key, access_key_id, description, generate_external_id, json, keep_prev_version, key, max_versions, name, new_name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
|
|
283
|
+
[access_key, access_key_id, delete_protection, description, generate_external_id, json, keep_prev_version, key, max_versions, name, new_name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
|
|
274
284
|
end
|
|
275
285
|
|
|
276
286
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module Akeyless
|
|
|
27
27
|
# Type of connection [credentials/cloud-identity]
|
|
28
28
|
attr_accessor :connection_type
|
|
29
29
|
|
|
30
|
+
# Protection from accidental deletion of this object [true/false]
|
|
31
|
+
attr_accessor :delete_protection
|
|
32
|
+
|
|
30
33
|
# Description of the object
|
|
31
34
|
attr_accessor :description
|
|
32
35
|
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
|
76
79
|
:'client_id' => :'client-id',
|
|
77
80
|
:'client_secret' => :'client-secret',
|
|
78
81
|
:'connection_type' => :'connection-type',
|
|
82
|
+
:'delete_protection' => :'delete_protection',
|
|
79
83
|
:'description' => :'description',
|
|
80
84
|
:'json' => :'json',
|
|
81
85
|
:'keep_prev_version' => :'keep-prev-version',
|
|
@@ -105,6 +109,7 @@ module Akeyless
|
|
|
105
109
|
:'client_id' => :'String',
|
|
106
110
|
:'client_secret' => :'String',
|
|
107
111
|
:'connection_type' => :'String',
|
|
112
|
+
:'delete_protection' => :'String',
|
|
108
113
|
:'description' => :'String',
|
|
109
114
|
:'json' => :'Boolean',
|
|
110
115
|
:'keep_prev_version' => :'String',
|
|
@@ -163,6 +168,10 @@ module Akeyless
|
|
|
163
168
|
self.connection_type = 'credentials'
|
|
164
169
|
end
|
|
165
170
|
|
|
171
|
+
if attributes.key?(:'delete_protection')
|
|
172
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
173
|
+
end
|
|
174
|
+
|
|
166
175
|
if attributes.key?(:'description')
|
|
167
176
|
self.description = attributes[:'description']
|
|
168
177
|
end
|
|
@@ -253,6 +262,7 @@ module Akeyless
|
|
|
253
262
|
client_id == o.client_id &&
|
|
254
263
|
client_secret == o.client_secret &&
|
|
255
264
|
connection_type == o.connection_type &&
|
|
265
|
+
delete_protection == o.delete_protection &&
|
|
256
266
|
description == o.description &&
|
|
257
267
|
json == o.json &&
|
|
258
268
|
keep_prev_version == o.keep_prev_version &&
|
|
@@ -278,7 +288,7 @@ module Akeyless
|
|
|
278
288
|
# Calculates hash code according to all attributes.
|
|
279
289
|
# @return [Integer] Hash code
|
|
280
290
|
def hash
|
|
281
|
-
[azure_cloud, client_id, client_secret, connection_type, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
291
|
+
[azure_cloud, client_id, client_secret, connection_type, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
282
292
|
end
|
|
283
293
|
|
|
284
294
|
# Builds the object from hash
|
|
@@ -46,6 +46,9 @@ module Akeyless
|
|
|
46
46
|
|
|
47
47
|
attr_accessor :db_type
|
|
48
48
|
|
|
49
|
+
# Protection from accidental deletion of this object [true/false]
|
|
50
|
+
attr_accessor :delete_protection
|
|
51
|
+
|
|
49
52
|
# Description of the object
|
|
50
53
|
attr_accessor :description
|
|
51
54
|
|
|
@@ -141,6 +144,7 @@ module Akeyless
|
|
|
141
144
|
:'db_server_certificates' => :'db-server-certificates',
|
|
142
145
|
:'db_server_name' => :'db-server-name',
|
|
143
146
|
:'db_type' => :'db-type',
|
|
147
|
+
:'delete_protection' => :'delete_protection',
|
|
144
148
|
:'description' => :'description',
|
|
145
149
|
:'host' => :'host',
|
|
146
150
|
:'json' => :'json',
|
|
@@ -192,6 +196,7 @@ module Akeyless
|
|
|
192
196
|
:'db_server_certificates' => :'String',
|
|
193
197
|
:'db_server_name' => :'String',
|
|
194
198
|
:'db_type' => :'String',
|
|
199
|
+
:'delete_protection' => :'String',
|
|
195
200
|
:'description' => :'String',
|
|
196
201
|
:'host' => :'String',
|
|
197
202
|
:'json' => :'Boolean',
|
|
@@ -293,6 +298,10 @@ module Akeyless
|
|
|
293
298
|
self.db_type = nil
|
|
294
299
|
end
|
|
295
300
|
|
|
301
|
+
if attributes.key?(:'delete_protection')
|
|
302
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
303
|
+
end
|
|
304
|
+
|
|
296
305
|
if attributes.key?(:'description')
|
|
297
306
|
self.description = attributes[:'description']
|
|
298
307
|
end
|
|
@@ -462,6 +471,7 @@ module Akeyless
|
|
|
462
471
|
db_server_certificates == o.db_server_certificates &&
|
|
463
472
|
db_server_name == o.db_server_name &&
|
|
464
473
|
db_type == o.db_type &&
|
|
474
|
+
delete_protection == o.delete_protection &&
|
|
465
475
|
description == o.description &&
|
|
466
476
|
host == o.host &&
|
|
467
477
|
json == o.json &&
|
|
@@ -502,7 +512,7 @@ module Akeyless
|
|
|
502
512
|
# Calculates hash code according to all attributes.
|
|
503
513
|
# @return [Integer] Hash code
|
|
504
514
|
def hash
|
|
505
|
-
[azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, keep_prev_version, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
|
|
515
|
+
[azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, delete_protection, description, host, json, keep_prev_version, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
|
|
506
516
|
end
|
|
507
517
|
|
|
508
518
|
# Builds the object from hash
|