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.
Files changed (312) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -5
  3. data/docs/AccountGeneralSettings.md +4 -0
  4. data/docs/AgenticRule.md +20 -0
  5. data/docs/AgenticRules.md +20 -0
  6. data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
  7. data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
  8. data/docs/AwsStorage.md +2 -0
  9. data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
  10. data/docs/CreateRole.md +2 -0
  11. data/docs/CreateRotatedSecret.md +3 -1
  12. data/docs/CreateSecret.md +2 -0
  13. data/docs/CreateUSC.md +6 -2
  14. data/docs/DSProducerDetails.md +2 -0
  15. data/docs/DeleteRoleRule.md +1 -1
  16. data/docs/DescribePermissions.md +1 -1
  17. data/docs/DigiCertTargetDetails.md +42 -0
  18. data/docs/EsmListSecretsOutput.md +5 -1
  19. data/docs/GatewayCreateMigration.md +4 -0
  20. data/docs/GatewayMigrationCreateOutput.md +2 -0
  21. data/docs/GatewayUpdateMigration.md +4 -0
  22. data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
  23. data/docs/GeneralConfigPart.md +4 -0
  24. data/docs/GoogleTrustTargetDetails.md +42 -0
  25. data/docs/HashiPayload.md +5 -1
  26. data/docs/Item.md +2 -0
  27. data/docs/ItemGeneralInfo.md +2 -0
  28. data/docs/ItemLockingSetting.md +20 -0
  29. data/docs/ListItems.md +2 -0
  30. data/docs/LockItem.md +28 -0
  31. data/docs/LockTarget.md +28 -0
  32. data/docs/LockingInfo.md +24 -0
  33. data/docs/MigrationStatusReplyObj.md +2 -0
  34. data/docs/NetappStorage.md +30 -0
  35. data/docs/ReverseRBAC.md +1 -1
  36. data/docs/RotatedSecretCreateAws.md +3 -1
  37. data/docs/RotatedSecretCreateAzure.md +3 -1
  38. data/docs/RotatedSecretCreateCustom.md +3 -1
  39. data/docs/RotatedSecretCreateLdap.md +3 -1
  40. data/docs/RotatedSecretCreateMongodb.md +3 -1
  41. data/docs/RotatedSecretCreateMssql.md +3 -1
  42. data/docs/RotatedSecretCreateMysql.md +3 -1
  43. data/docs/RotatedSecretCreateOracledb.md +3 -1
  44. data/docs/RotatedSecretCreatePostgresql.md +3 -1
  45. data/docs/RotatedSecretCreateRedshift.md +3 -1
  46. data/docs/RotatedSecretCreateSsh.md +3 -1
  47. data/docs/RotatedSecretCreateWindows.md +3 -1
  48. data/docs/RotatedSecretUpdateAws.md +3 -1
  49. data/docs/RotatedSecretUpdateAzure.md +3 -1
  50. data/docs/RotatedSecretUpdateCustom.md +3 -1
  51. data/docs/RotatedSecretUpdateLdap.md +3 -1
  52. data/docs/RotatedSecretUpdateMongodb.md +3 -1
  53. data/docs/RotatedSecretUpdateMssql.md +3 -1
  54. data/docs/RotatedSecretUpdateMysql.md +3 -1
  55. data/docs/RotatedSecretUpdateOracledb.md +3 -1
  56. data/docs/RotatedSecretUpdatePostgresql.md +3 -1
  57. data/docs/RotatedSecretUpdateRedshift.md +3 -1
  58. data/docs/RotatedSecretUpdateSsh.md +3 -1
  59. data/docs/RotatedSecretUpdateWindows.md +3 -1
  60. data/docs/RuntimeAuthorityCommand.md +28 -0
  61. data/docs/SecretInfo.md +2 -0
  62. data/docs/SecureRemoteAccess.md +4 -0
  63. data/docs/SetDefaultProfile.md +20 -0
  64. data/docs/SetDefaultProfileOutput.md +18 -0
  65. data/docs/SetRoleRule.md +1 -1
  66. data/docs/SyncCounters.md +22 -0
  67. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  68. data/docs/Target.md +4 -0
  69. data/docs/TargetCreateArtifactory.md +2 -0
  70. data/docs/TargetCreateAws.md +2 -0
  71. data/docs/TargetCreateAzure.md +2 -0
  72. data/docs/TargetCreateDB.md +2 -0
  73. data/docs/TargetCreateDigiCert.md +52 -0
  74. data/docs/TargetCreateDockerhub.md +2 -0
  75. data/docs/TargetCreateEks.md +2 -0
  76. data/docs/TargetCreateGcp.md +2 -0
  77. data/docs/TargetCreateGemini.md +2 -0
  78. data/docs/TargetCreateGithub.md +2 -0
  79. data/docs/TargetCreateGitlab.md +2 -0
  80. data/docs/TargetCreateGke.md +2 -0
  81. data/docs/TargetCreateGlobalSign.md +2 -0
  82. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  83. data/docs/TargetCreateGodaddy.md +2 -0
  84. data/docs/TargetCreateGoogleTrust.md +52 -0
  85. data/docs/TargetCreateHashiVault.md +2 -0
  86. data/docs/TargetCreateK8s.md +2 -0
  87. data/docs/TargetCreateLdap.md +2 -0
  88. data/docs/TargetCreateLetsEncrypt.md +3 -1
  89. data/docs/TargetCreateLinked.md +2 -0
  90. data/docs/TargetCreateOpenAI.md +2 -0
  91. data/docs/TargetCreatePing.md +2 -0
  92. data/docs/TargetCreateRabbitMq.md +2 -0
  93. data/docs/TargetCreateSalesforce.md +2 -0
  94. data/docs/TargetCreateSectigo.md +2 -0
  95. data/docs/TargetCreateSplunk.md +5 -1
  96. data/docs/TargetCreateSsh.md +2 -0
  97. data/docs/TargetCreateWeb.md +2 -0
  98. data/docs/TargetCreateWindows.md +2 -0
  99. data/docs/TargetCreateZeroSSL.md +2 -0
  100. data/docs/TargetTypeDetailsInput.md +4 -0
  101. data/docs/TargetUpdateArtifactory.md +2 -0
  102. data/docs/TargetUpdateAws.md +2 -0
  103. data/docs/TargetUpdateAzure.md +2 -0
  104. data/docs/TargetUpdateDB.md +2 -0
  105. data/docs/TargetUpdateDigiCert.md +54 -0
  106. data/docs/TargetUpdateDockerhub.md +2 -0
  107. data/docs/TargetUpdateEks.md +2 -0
  108. data/docs/TargetUpdateGcp.md +2 -0
  109. data/docs/TargetUpdateGemini.md +2 -0
  110. data/docs/TargetUpdateGithub.md +2 -0
  111. data/docs/TargetUpdateGitlab.md +2 -0
  112. data/docs/TargetUpdateGke.md +2 -0
  113. data/docs/TargetUpdateGlobalSign.md +2 -0
  114. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  115. data/docs/TargetUpdateGodaddy.md +2 -0
  116. data/docs/TargetUpdateGoogleTrust.md +56 -0
  117. data/docs/TargetUpdateHashiVault.md +2 -0
  118. data/docs/TargetUpdateK8s.md +2 -0
  119. data/docs/TargetUpdateLdap.md +2 -0
  120. data/docs/TargetUpdateLetsEncrypt.md +3 -1
  121. data/docs/TargetUpdateOpenAI.md +2 -0
  122. data/docs/TargetUpdatePing.md +2 -0
  123. data/docs/TargetUpdateRabbitMq.md +2 -0
  124. data/docs/TargetUpdateSalesforce.md +2 -0
  125. data/docs/TargetUpdateSectigo.md +2 -0
  126. data/docs/TargetUpdateSsh.md +2 -0
  127. data/docs/TargetUpdateWeb.md +2 -0
  128. data/docs/TargetUpdateWindows.md +2 -0
  129. data/docs/TargetUpdateZeroSSL.md +2 -0
  130. data/docs/UniversalIdentityAccessRules.md +4 -0
  131. data/docs/UnlockItem.md +24 -0
  132. data/docs/UnlockTarget.md +24 -0
  133. data/docs/UpdateAccountSettings.md +4 -0
  134. data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
  135. data/docs/UpdateItem.md +8 -2
  136. data/docs/UpdateRole.md +2 -0
  137. data/docs/UpdateRotatedSecret.md +3 -1
  138. data/docs/UpdateTarget.md +2 -0
  139. data/docs/UscCreate.md +2 -0
  140. data/docs/UscDelete.md +4 -0
  141. data/docs/UscGet.md +4 -0
  142. data/docs/UscList.md +4 -0
  143. data/docs/UscListSecretsOutput.md +5 -1
  144. data/docs/UscUpdate.md +4 -0
  145. data/docs/V2Api.md +572 -6
  146. data/docs/WebBastionRdpRecord.md +2 -0
  147. data/lib/akeyless/api/v2_api.rb +580 -4
  148. data/lib/akeyless/models/account_general_settings.rb +19 -1
  149. data/lib/akeyless/models/agentic_rule.rb +223 -0
  150. data/lib/akeyless/models/agentic_rules.rb +227 -0
  151. data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
  152. data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
  153. data/lib/akeyless/models/aws_storage.rb +10 -1
  154. data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
  155. data/lib/akeyless/models/create_role.rb +11 -1
  156. data/lib/akeyless/models/create_rotated_secret.rb +12 -4
  157. data/lib/akeyless/models/create_secret.rb +11 -1
  158. data/lib/akeyless/models/create_usc.rb +25 -5
  159. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  160. data/lib/akeyless/models/describe_permissions.rb +1 -1
  161. data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
  162. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  163. data/lib/akeyless/models/esm_list_secrets_output.rb +24 -4
  164. data/lib/akeyless/models/gateway_create_migration.rb +21 -1
  165. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  166. data/lib/akeyless/models/gateway_update_migration.rb +21 -1
  167. data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
  168. data/lib/akeyless/models/general_config_part.rb +19 -1
  169. data/lib/akeyless/models/google_trust_target_details.rb +335 -0
  170. data/lib/akeyless/models/hashi_payload.rb +22 -4
  171. data/lib/akeyless/models/item.rb +10 -1
  172. data/lib/akeyless/models/item_general_info.rb +10 -1
  173. data/lib/akeyless/models/item_locking_setting.rb +223 -0
  174. data/lib/akeyless/models/list_items.rb +13 -1
  175. data/lib/akeyless/models/lock_item.rb +274 -0
  176. data/lib/akeyless/models/lock_target.rb +274 -0
  177. data/lib/akeyless/models/locking_info.rb +243 -0
  178. data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
  179. data/lib/akeyless/models/netapp_storage.rb +268 -0
  180. data/lib/akeyless/models/reverse_rbac.rb +1 -1
  181. data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
  182. data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
  183. data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
  184. data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
  185. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
  186. data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
  187. data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
  188. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
  189. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
  190. data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
  191. data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
  192. data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
  193. data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
  194. data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
  195. data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
  196. data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
  197. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
  198. data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
  199. data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
  200. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
  201. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
  202. data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
  203. data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
  204. data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
  205. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  206. data/lib/akeyless/models/secret_info.rb +10 -1
  207. data/lib/akeyless/models/secure_remote_access.rb +19 -1
  208. data/lib/akeyless/models/set_default_profile.rb +234 -0
  209. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  210. data/lib/akeyless/models/set_role_rule.rb +1 -1
  211. data/lib/akeyless/models/sync_counters.rb +233 -0
  212. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  213. data/lib/akeyless/models/target.rb +19 -1
  214. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  215. data/lib/akeyless/models/target_create_aws.rb +11 -1
  216. data/lib/akeyless/models/target_create_azure.rb +11 -1
  217. data/lib/akeyless/models/target_create_db.rb +11 -1
  218. data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
  219. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  220. data/lib/akeyless/models/target_create_eks.rb +11 -1
  221. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  222. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  223. data/lib/akeyless/models/target_create_github.rb +11 -1
  224. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  225. data/lib/akeyless/models/target_create_gke.rb +11 -1
  226. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  227. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  228. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  229. data/lib/akeyless/models/target_create_google_trust.rb +408 -0
  230. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  231. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  232. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  233. data/lib/akeyless/models/target_create_lets_encrypt.rb +18 -1
  234. data/lib/akeyless/models/target_create_linked.rb +11 -1
  235. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  236. data/lib/akeyless/models/target_create_ping.rb +11 -1
  237. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  238. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  239. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  240. data/lib/akeyless/models/target_create_splunk.rb +21 -1
  241. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  242. data/lib/akeyless/models/target_create_web.rb +11 -1
  243. data/lib/akeyless/models/target_create_windows.rb +11 -1
  244. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  245. data/lib/akeyless/models/target_type_details_input.rb +19 -1
  246. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  247. data/lib/akeyless/models/target_update_aws.rb +11 -1
  248. data/lib/akeyless/models/target_update_azure.rb +11 -1
  249. data/lib/akeyless/models/target_update_db.rb +11 -1
  250. data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
  251. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  252. data/lib/akeyless/models/target_update_eks.rb +11 -1
  253. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  254. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  255. data/lib/akeyless/models/target_update_github.rb +11 -1
  256. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  257. data/lib/akeyless/models/target_update_gke.rb +11 -1
  258. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  259. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  260. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  261. data/lib/akeyless/models/target_update_google_trust.rb +428 -0
  262. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  263. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  264. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  265. data/lib/akeyless/models/target_update_lets_encrypt.rb +18 -1
  266. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  267. data/lib/akeyless/models/target_update_ping.rb +11 -1
  268. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  269. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  270. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  271. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  272. data/lib/akeyless/models/target_update_web.rb +11 -1
  273. data/lib/akeyless/models/target_update_windows.rb +11 -1
  274. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  275. data/lib/akeyless/models/universal_identity_access_rules.rb +19 -1
  276. data/lib/akeyless/models/unlock_item.rb +254 -0
  277. data/lib/akeyless/models/unlock_target.rb +254 -0
  278. data/lib/akeyless/models/update_account_settings.rb +21 -1
  279. data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
  280. data/lib/akeyless/models/update_item.rb +35 -7
  281. data/lib/akeyless/models/update_role.rb +11 -1
  282. data/lib/akeyless/models/update_rotated_secret.rb +12 -4
  283. data/lib/akeyless/models/update_target.rb +11 -1
  284. data/lib/akeyless/models/usc_create.rb +10 -1
  285. data/lib/akeyless/models/usc_delete.rb +20 -1
  286. data/lib/akeyless/models/usc_get.rb +20 -1
  287. data/lib/akeyless/models/usc_list.rb +21 -1
  288. data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
  289. data/lib/akeyless/models/usc_update.rb +20 -1
  290. data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
  291. data/lib/akeyless/version.rb +1 -1
  292. data/lib/akeyless.rb +19 -0
  293. data/spec/models/agentic_rule_spec.rb +42 -0
  294. data/spec/models/agentic_rules_spec.rb +42 -0
  295. data/spec/models/digi_cert_target_details_spec.rb +108 -0
  296. data/spec/models/google_trust_target_details_spec.rb +108 -0
  297. data/spec/models/item_locking_setting_spec.rb +42 -0
  298. data/spec/models/lock_item_spec.rb +66 -0
  299. data/spec/models/lock_target_spec.rb +66 -0
  300. data/spec/models/locking_info_spec.rb +54 -0
  301. data/spec/models/netapp_storage_spec.rb +72 -0
  302. data/spec/models/runtime_authority_command_spec.rb +66 -0
  303. data/spec/models/set_default_profile_output_spec.rb +36 -0
  304. data/spec/models/set_default_profile_spec.rb +42 -0
  305. data/spec/models/sync_counters_spec.rb +48 -0
  306. data/spec/models/target_create_digi_cert_spec.rb +132 -0
  307. data/spec/models/target_create_google_trust_spec.rb +132 -0
  308. data/spec/models/target_update_digi_cert_spec.rb +144 -0
  309. data/spec/models/target_update_google_trust_spec.rb +144 -0
  310. data/spec/models/unlock_item_spec.rb +54 -0
  311. data/spec/models/unlock_target_spec.rb +54 -0
  312. metadata +1226 -1147
@@ -129,6 +129,9 @@ module Akeyless
129
129
  # Conjur username used to authenticate (relevant only for Conjur migration).
130
130
  attr_accessor :conjur_username
131
131
 
132
+ # Delete the secret from the remote target as well, relevant only when usc-name is not empty (relevant only for HasiCorp Vault migration)
133
+ attr_accessor :delete_remote
134
+
132
135
  # How many days before the expiration of the certificate would you like to be notified.
133
136
  attr_accessor :expiration_event_in
134
137
 
@@ -231,6 +234,9 @@ module Akeyless
231
234
  # The universal identity token, Required only for universal_identity authentication
232
235
  attr_accessor :uid_token
233
236
 
237
+ # Universal Secret Connector name
238
+ attr_accessor :usc_name
239
+
234
240
  # Use the GW's Cloud IAM
235
241
  attr_accessor :use_gw_cloud_identity
236
242
 
@@ -275,6 +281,7 @@ module Akeyless
275
281
  :'conjur_api_key' => :'conjur-api-key',
276
282
  :'conjur_url' => :'conjur-url',
277
283
  :'conjur_username' => :'conjur-username',
284
+ :'delete_remote' => :'delete-remote',
278
285
  :'expiration_event_in' => :'expiration-event-in',
279
286
  :'gcp_key' => :'gcp-key',
280
287
  :'gcp_project_id' => :'gcp-project-id',
@@ -309,6 +316,7 @@ module Akeyless
309
316
  :'target_location' => :'target-location',
310
317
  :'token' => :'token',
311
318
  :'uid_token' => :'uid-token',
319
+ :'usc_name' => :'usc-name',
312
320
  :'use_gw_cloud_identity' => :'use-gw-cloud-identity'
313
321
  }
314
322
  end
@@ -359,6 +367,7 @@ module Akeyless
359
367
  :'conjur_api_key' => :'String',
360
368
  :'conjur_url' => :'String',
361
369
  :'conjur_username' => :'String',
370
+ :'delete_remote' => :'Boolean',
362
371
  :'expiration_event_in' => :'Array<String>',
363
372
  :'gcp_key' => :'String',
364
373
  :'gcp_project_id' => :'String',
@@ -393,6 +402,7 @@ module Akeyless
393
402
  :'target_location' => :'String',
394
403
  :'token' => :'String',
395
404
  :'uid_token' => :'String',
405
+ :'usc_name' => :'String',
396
406
  :'use_gw_cloud_identity' => :'Boolean'
397
407
  }
398
408
  end
@@ -590,6 +600,10 @@ module Akeyless
590
600
  self.conjur_username = attributes[:'conjur_username']
591
601
  end
592
602
 
603
+ if attributes.key?(:'delete_remote')
604
+ self.delete_remote = attributes[:'delete_remote']
605
+ end
606
+
593
607
  if attributes.key?(:'expiration_event_in')
594
608
  if (value = attributes[:'expiration_event_in']).is_a?(Array)
595
609
  self.expiration_event_in = value
@@ -752,6 +766,10 @@ module Akeyless
752
766
  self.uid_token = attributes[:'uid_token']
753
767
  end
754
768
 
769
+ if attributes.key?(:'usc_name')
770
+ self.usc_name = attributes[:'usc_name']
771
+ end
772
+
755
773
  if attributes.key?(:'use_gw_cloud_identity')
756
774
  self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
757
775
  end
@@ -835,6 +853,7 @@ module Akeyless
835
853
  conjur_api_key == o.conjur_api_key &&
836
854
  conjur_url == o.conjur_url &&
837
855
  conjur_username == o.conjur_username &&
856
+ delete_remote == o.delete_remote &&
838
857
  expiration_event_in == o.expiration_event_in &&
839
858
  gcp_key == o.gcp_key &&
840
859
  gcp_project_id == o.gcp_project_id &&
@@ -869,6 +888,7 @@ module Akeyless
869
888
  target_location == o.target_location &&
870
889
  token == o.token &&
871
890
  uid_token == o.uid_token &&
891
+ usc_name == o.usc_name &&
872
892
  use_gw_cloud_identity == o.use_gw_cloud_identity
873
893
  end
874
894
 
@@ -881,7 +901,7 @@ module Akeyless
881
901
  # Calculates hash code according to all attributes.
882
902
  # @return [Integer] Hash code
883
903
  def hash
884
- [service_account_key_decoded, ad_auto_rotate, ad_cert_expiration_event_in, ad_certificates_path_template, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, ai_certificate_discovery, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, conjur_account, conjur_api_key, conjur_url, conjur_username, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, port_ranges, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token, use_gw_cloud_identity].hash
904
+ [service_account_key_decoded, ad_auto_rotate, ad_cert_expiration_event_in, ad_certificates_path_template, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, ai_certificate_discovery, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, conjur_account, conjur_api_key, conjur_url, conjur_username, delete_remote, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, port_ranges, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token, usc_name, use_gw_cloud_identity].hash
885
905
  end
886
906
 
887
907
  # Builds the object from hash
@@ -25,6 +25,9 @@ module Akeyless
25
25
  # The folder name in S3 bucket. For more information refer to https://docs.aws.amazon.com/s3/
26
26
  attr_accessor :aws_storage_bucket_prefix
27
27
 
28
+ # Custom AWS endpoint URL for S3-compatible storage (e.g. a private AWS endpoint)
29
+ attr_accessor :aws_storage_endpoint_url
30
+
28
31
  # The region where the storage is located
29
32
  attr_accessor :aws_storage_region
30
33
 
@@ -76,6 +79,7 @@ module Akeyless
76
79
  :'aws_storage_access_key_id' => :'aws-storage-access-key-id',
77
80
  :'aws_storage_bucket_name' => :'aws-storage-bucket-name',
78
81
  :'aws_storage_bucket_prefix' => :'aws-storage-bucket-prefix',
82
+ :'aws_storage_endpoint_url' => :'aws-storage-endpoint-url',
79
83
  :'aws_storage_region' => :'aws-storage-region',
80
84
  :'aws_storage_secret_access_key' => :'aws-storage-secret-access-key',
81
85
  :'azure_storage_account_name' => :'azure-storage-account-name',
@@ -105,6 +109,7 @@ module Akeyless
105
109
  :'aws_storage_access_key_id' => :'String',
106
110
  :'aws_storage_bucket_name' => :'String',
107
111
  :'aws_storage_bucket_prefix' => :'String',
112
+ :'aws_storage_endpoint_url' => :'String',
108
113
  :'aws_storage_region' => :'String',
109
114
  :'aws_storage_secret_access_key' => :'String',
110
115
  :'azure_storage_account_name' => :'String',
@@ -156,6 +161,10 @@ module Akeyless
156
161
  self.aws_storage_bucket_prefix = attributes[:'aws_storage_bucket_prefix']
157
162
  end
158
163
 
164
+ if attributes.key?(:'aws_storage_endpoint_url')
165
+ self.aws_storage_endpoint_url = attributes[:'aws_storage_endpoint_url']
166
+ end
167
+
159
168
  if attributes.key?(:'aws_storage_region')
160
169
  self.aws_storage_region = attributes[:'aws_storage_region']
161
170
  end
@@ -242,6 +251,7 @@ module Akeyless
242
251
  aws_storage_access_key_id == o.aws_storage_access_key_id &&
243
252
  aws_storage_bucket_name == o.aws_storage_bucket_name &&
244
253
  aws_storage_bucket_prefix == o.aws_storage_bucket_prefix &&
254
+ aws_storage_endpoint_url == o.aws_storage_endpoint_url &&
245
255
  aws_storage_region == o.aws_storage_region &&
246
256
  aws_storage_secret_access_key == o.aws_storage_secret_access_key &&
247
257
  azure_storage_account_name == o.azure_storage_account_name &&
@@ -268,7 +278,7 @@ module Akeyless
268
278
  # Calculates hash code according to all attributes.
269
279
  # @return [Integer] Hash code
270
280
  def hash
271
- [aws_storage_access_key_id, aws_storage_bucket_name, aws_storage_bucket_prefix, aws_storage_region, aws_storage_secret_access_key, azure_storage_account_name, azure_storage_client_id, azure_storage_client_secret, azure_storage_container_name, azure_storage_tenant_id, json, rdp_session_recording, rdp_session_recording_compress, rdp_session_recording_encryption_key, rdp_session_recording_quality, rdp_session_storage, token, uid_token].hash
281
+ [aws_storage_access_key_id, aws_storage_bucket_name, aws_storage_bucket_prefix, aws_storage_endpoint_url, aws_storage_region, aws_storage_secret_access_key, azure_storage_account_name, azure_storage_client_id, azure_storage_client_secret, azure_storage_container_name, azure_storage_tenant_id, json, rdp_session_recording, rdp_session_recording_compress, rdp_session_recording_encryption_key, rdp_session_recording_quality, rdp_session_storage, token, uid_token].hash
272
282
  end
273
283
 
274
284
  # Builds the object from hash
@@ -22,6 +22,8 @@ module Akeyless
22
22
 
23
23
  attr_accessor :display_name
24
24
 
25
+ attr_accessor :enable_json_body_limit
26
+
25
27
  attr_accessor :enable_sni_proxy
26
28
 
27
29
  attr_accessor :enable_tls
@@ -36,6 +38,8 @@ module Akeyless
36
38
 
37
39
  attr_accessor :hvp_route_version
38
40
 
41
+ attr_accessor :json_body_limit_mb
42
+
39
43
  attr_accessor :notify_on_status_change
40
44
 
41
45
  attr_accessor :tcp_port
@@ -56,6 +60,7 @@ module Akeyless
56
60
  :'akeyless_url' => :'akeyless_url',
57
61
  :'api_token_ttl' => :'api_token_ttl',
58
62
  :'display_name' => :'display_name',
63
+ :'enable_json_body_limit' => :'enable_json_body_limit',
59
64
  :'enable_sni_proxy' => :'enable_sni_proxy',
60
65
  :'enable_tls' => :'enable_tls',
61
66
  :'enable_tls_configure' => :'enable_tls_configure',
@@ -63,6 +68,7 @@ module Akeyless
63
68
  :'enable_tls_hvp' => :'enable_tls_hvp',
64
69
  :'gw_cluster_url' => :'gw_cluster_url',
65
70
  :'hvp_route_version' => :'hvp_route_version',
71
+ :'json_body_limit_mb' => :'json_body_limit_mb',
66
72
  :'notify_on_status_change' => :'notify_on_status_change',
67
73
  :'tcp_port' => :'tcp_port',
68
74
  :'tls_cert' => :'tls_cert',
@@ -84,6 +90,7 @@ module Akeyless
84
90
  :'akeyless_url' => :'String',
85
91
  :'api_token_ttl' => :'String',
86
92
  :'display_name' => :'String',
93
+ :'enable_json_body_limit' => :'Boolean',
87
94
  :'enable_sni_proxy' => :'Boolean',
88
95
  :'enable_tls' => :'Boolean',
89
96
  :'enable_tls_configure' => :'Boolean',
@@ -91,6 +98,7 @@ module Akeyless
91
98
  :'enable_tls_hvp' => :'Boolean',
92
99
  :'gw_cluster_url' => :'String',
93
100
  :'hvp_route_version' => :'Integer',
101
+ :'json_body_limit_mb' => :'Integer',
94
102
  :'notify_on_status_change' => :'Boolean',
95
103
  :'tcp_port' => :'String',
96
104
  :'tls_cert' => :'String',
@@ -134,6 +142,10 @@ module Akeyless
134
142
  self.display_name = attributes[:'display_name']
135
143
  end
136
144
 
145
+ if attributes.key?(:'enable_json_body_limit')
146
+ self.enable_json_body_limit = attributes[:'enable_json_body_limit']
147
+ end
148
+
137
149
  if attributes.key?(:'enable_sni_proxy')
138
150
  self.enable_sni_proxy = attributes[:'enable_sni_proxy']
139
151
  end
@@ -162,6 +174,10 @@ module Akeyless
162
174
  self.hvp_route_version = attributes[:'hvp_route_version']
163
175
  end
164
176
 
177
+ if attributes.key?(:'json_body_limit_mb')
178
+ self.json_body_limit_mb = attributes[:'json_body_limit_mb']
179
+ end
180
+
165
181
  if attributes.key?(:'notify_on_status_change')
166
182
  self.notify_on_status_change = attributes[:'notify_on_status_change']
167
183
  end
@@ -216,6 +232,7 @@ module Akeyless
216
232
  akeyless_url == o.akeyless_url &&
217
233
  api_token_ttl == o.api_token_ttl &&
218
234
  display_name == o.display_name &&
235
+ enable_json_body_limit == o.enable_json_body_limit &&
219
236
  enable_sni_proxy == o.enable_sni_proxy &&
220
237
  enable_tls == o.enable_tls &&
221
238
  enable_tls_configure == o.enable_tls_configure &&
@@ -223,6 +240,7 @@ module Akeyless
223
240
  enable_tls_hvp == o.enable_tls_hvp &&
224
241
  gw_cluster_url == o.gw_cluster_url &&
225
242
  hvp_route_version == o.hvp_route_version &&
243
+ json_body_limit_mb == o.json_body_limit_mb &&
226
244
  notify_on_status_change == o.notify_on_status_change &&
227
245
  tcp_port == o.tcp_port &&
228
246
  tls_cert == o.tls_cert &&
@@ -241,7 +259,7 @@ module Akeyless
241
259
  # Calculates hash code according to all attributes.
242
260
  # @return [Integer] Hash code
243
261
  def hash
244
- [akeyless_url, api_token_ttl, display_name, enable_sni_proxy, enable_tls, enable_tls_configure, enable_tls_curl, enable_tls_hvp, gw_cluster_url, hvp_route_version, notify_on_status_change, tcp_port, tls_cert, tls_cert_common_name, tls_cert_expiration_date, tls_cert_expiration_events, tls_key].hash
262
+ [akeyless_url, api_token_ttl, display_name, enable_json_body_limit, enable_sni_proxy, enable_tls, enable_tls_configure, enable_tls_curl, enable_tls_hvp, gw_cluster_url, hvp_route_version, json_body_limit_mb, notify_on_status_change, tcp_port, tls_cert, tls_cert_common_name, tls_cert_expiration_date, tls_cert_expiration_events, tls_key].hash
245
263
  end
246
264
 
247
265
  # Builds the object from hash
@@ -0,0 +1,335 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ # GoogleTrustTargetDetails defines configuration for Google Trust Services ACME target
18
+ class GoogleTrustTargetDetails
19
+ # ACME Account Private Key (PEM-encoded) Supports ECDSA (P-256, P-384, P-521), RSA (2048+), and Ed25519 Auto-generated as ECDSA P-256 during target creation bootstrap Stored encrypted, required for certificate operations and revocation
20
+ attr_accessor :account_key_pem
21
+
22
+ # ACME Account URL (returned after registration with Google Trust Services) Used to retrieve existing account instead of re-registering
23
+ attr_accessor :account_url
24
+
25
+ # ACMEEnvironment defines Let's Encrypt ACME directory environment
26
+ attr_accessor :acme_environment
27
+
28
+ # ACMEChallengeType defines ACME challenge type for Let's Encrypt
29
+ attr_accessor :challenge_type
30
+
31
+ # Name of DNS target (transient field - not stored in DB) Used by CLI to pass DNS target name to SDK for creating target_object_assoc Retrieved from target_object_assoc when reading target Required when ChallengeType is \"dns\"
32
+ attr_accessor :dns_target_name
33
+
34
+ attr_accessor :dns_target_type
35
+
36
+ # External Account Binding HMAC key (required for ACME account bootstrap on target creation) Not persisted after bootstrap
37
+ attr_accessor :eab_hmac_key
38
+
39
+ # External Account Binding key identifier (required for ACME account bootstrap on target creation) Not persisted after bootstrap
40
+ attr_accessor :eab_key_id
41
+
42
+ # Email address for ACME account registration Required
43
+ attr_accessor :email
44
+
45
+ # GCP Cloud DNS: Project ID Optional - can be derived from service account
46
+ attr_accessor :gcp_project
47
+
48
+ # AWS Route53: Hosted zone ID Required when DNSTargetType is AWS
49
+ attr_accessor :hosted_zone
50
+
51
+ # Azure DNS: Resource group name Required when DNSTargetType is Azure
52
+ attr_accessor :resource_group
53
+
54
+ # A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
55
+ attr_accessor :timeout
56
+
57
+ # Attribute mapping from ruby-style variable name to JSON key.
58
+ def self.attribute_map
59
+ {
60
+ :'account_key_pem' => :'account_key_pem',
61
+ :'account_url' => :'account_url',
62
+ :'acme_environment' => :'acme_environment',
63
+ :'challenge_type' => :'challenge_type',
64
+ :'dns_target_name' => :'dns_target_name',
65
+ :'dns_target_type' => :'dns_target_type',
66
+ :'eab_hmac_key' => :'eab_hmac_key',
67
+ :'eab_key_id' => :'eab_key_id',
68
+ :'email' => :'email',
69
+ :'gcp_project' => :'gcp_project',
70
+ :'hosted_zone' => :'hosted_zone',
71
+ :'resource_group' => :'resource_group',
72
+ :'timeout' => :'timeout'
73
+ }
74
+ end
75
+
76
+ # Returns all the JSON keys this model knows about
77
+ def self.acceptable_attributes
78
+ attribute_map.values
79
+ end
80
+
81
+ # Attribute type mapping.
82
+ def self.openapi_types
83
+ {
84
+ :'account_key_pem' => :'String',
85
+ :'account_url' => :'String',
86
+ :'acme_environment' => :'String',
87
+ :'challenge_type' => :'String',
88
+ :'dns_target_name' => :'String',
89
+ :'dns_target_type' => :'String',
90
+ :'eab_hmac_key' => :'String',
91
+ :'eab_key_id' => :'String',
92
+ :'email' => :'String',
93
+ :'gcp_project' => :'String',
94
+ :'hosted_zone' => :'String',
95
+ :'resource_group' => :'String',
96
+ :'timeout' => :'Integer'
97
+ }
98
+ end
99
+
100
+ # List of attributes with nullable: true
101
+ def self.openapi_nullable
102
+ Set.new([
103
+ ])
104
+ end
105
+
106
+ # Initializes the object
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ def initialize(attributes = {})
109
+ if (!attributes.is_a?(Hash))
110
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::GoogleTrustTargetDetails` initialize method"
111
+ end
112
+
113
+ # check to see if the attribute exists and convert string to symbol for hash key
114
+ attributes = attributes.each_with_object({}) { |(k, v), h|
115
+ if (!self.class.attribute_map.key?(k.to_sym))
116
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::GoogleTrustTargetDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
117
+ end
118
+ h[k.to_sym] = v
119
+ }
120
+
121
+ if attributes.key?(:'account_key_pem')
122
+ self.account_key_pem = attributes[:'account_key_pem']
123
+ end
124
+
125
+ if attributes.key?(:'account_url')
126
+ self.account_url = attributes[:'account_url']
127
+ end
128
+
129
+ if attributes.key?(:'acme_environment')
130
+ self.acme_environment = attributes[:'acme_environment']
131
+ end
132
+
133
+ if attributes.key?(:'challenge_type')
134
+ self.challenge_type = attributes[:'challenge_type']
135
+ end
136
+
137
+ if attributes.key?(:'dns_target_name')
138
+ self.dns_target_name = attributes[:'dns_target_name']
139
+ end
140
+
141
+ if attributes.key?(:'dns_target_type')
142
+ self.dns_target_type = attributes[:'dns_target_type']
143
+ end
144
+
145
+ if attributes.key?(:'eab_hmac_key')
146
+ self.eab_hmac_key = attributes[:'eab_hmac_key']
147
+ end
148
+
149
+ if attributes.key?(:'eab_key_id')
150
+ self.eab_key_id = attributes[:'eab_key_id']
151
+ end
152
+
153
+ if attributes.key?(:'email')
154
+ self.email = attributes[:'email']
155
+ end
156
+
157
+ if attributes.key?(:'gcp_project')
158
+ self.gcp_project = attributes[:'gcp_project']
159
+ end
160
+
161
+ if attributes.key?(:'hosted_zone')
162
+ self.hosted_zone = attributes[:'hosted_zone']
163
+ end
164
+
165
+ if attributes.key?(:'resource_group')
166
+ self.resource_group = attributes[:'resource_group']
167
+ end
168
+
169
+ if attributes.key?(:'timeout')
170
+ self.timeout = attributes[:'timeout']
171
+ end
172
+ end
173
+
174
+ # Show invalid properties with the reasons. Usually used together with valid?
175
+ # @return Array for valid properties with the reasons
176
+ def list_invalid_properties
177
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
178
+ invalid_properties = Array.new
179
+ invalid_properties
180
+ end
181
+
182
+ # Check to see if the all the properties in the model are valid
183
+ # @return true if the model is valid
184
+ def valid?
185
+ warn '[DEPRECATED] the `valid?` method is obsolete'
186
+ true
187
+ end
188
+
189
+ # Checks equality by comparing each attribute.
190
+ # @param [Object] Object to be compared
191
+ def ==(o)
192
+ return true if self.equal?(o)
193
+ self.class == o.class &&
194
+ account_key_pem == o.account_key_pem &&
195
+ account_url == o.account_url &&
196
+ acme_environment == o.acme_environment &&
197
+ challenge_type == o.challenge_type &&
198
+ dns_target_name == o.dns_target_name &&
199
+ dns_target_type == o.dns_target_type &&
200
+ eab_hmac_key == o.eab_hmac_key &&
201
+ eab_key_id == o.eab_key_id &&
202
+ email == o.email &&
203
+ gcp_project == o.gcp_project &&
204
+ hosted_zone == o.hosted_zone &&
205
+ resource_group == o.resource_group &&
206
+ timeout == o.timeout
207
+ end
208
+
209
+ # @see the `==` method
210
+ # @param [Object] Object to be compared
211
+ def eql?(o)
212
+ self == o
213
+ end
214
+
215
+ # Calculates hash code according to all attributes.
216
+ # @return [Integer] Hash code
217
+ def hash
218
+ [account_key_pem, account_url, acme_environment, challenge_type, dns_target_name, dns_target_type, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, resource_group, timeout].hash
219
+ end
220
+
221
+ # Builds the object from hash
222
+ # @param [Hash] attributes Model attributes in the form of hash
223
+ # @return [Object] Returns the model itself
224
+ def self.build_from_hash(attributes)
225
+ return nil unless attributes.is_a?(Hash)
226
+ attributes = attributes.transform_keys(&:to_sym)
227
+ transformed_hash = {}
228
+ openapi_types.each_pair do |key, type|
229
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
230
+ transformed_hash["#{key}"] = nil
231
+ elsif type =~ /\AArray<(.*)>/i
232
+ # check to ensure the input is an array given that the attribute
233
+ # is documented as an array but the input is not
234
+ if attributes[attribute_map[key]].is_a?(Array)
235
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
236
+ end
237
+ elsif !attributes[attribute_map[key]].nil?
238
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
239
+ end
240
+ end
241
+ new(transformed_hash)
242
+ end
243
+
244
+ # Deserializes the data based on type
245
+ # @param string type Data type
246
+ # @param string value Value to be deserialized
247
+ # @return [Object] Deserialized data
248
+ def self._deserialize(type, value)
249
+ case type.to_sym
250
+ when :Time
251
+ Time.parse(value)
252
+ when :Date
253
+ Date.parse(value)
254
+ when :String
255
+ value.to_s
256
+ when :Integer
257
+ value.to_i
258
+ when :Float
259
+ value.to_f
260
+ when :Boolean
261
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
262
+ true
263
+ else
264
+ false
265
+ end
266
+ when :Object
267
+ # generic object (usually a Hash), return directly
268
+ value
269
+ when /\AArray<(?<inner_type>.+)>\z/
270
+ inner_type = Regexp.last_match[:inner_type]
271
+ value.map { |v| _deserialize(inner_type, v) }
272
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
273
+ k_type = Regexp.last_match[:k_type]
274
+ v_type = Regexp.last_match[:v_type]
275
+ {}.tap do |hash|
276
+ value.each do |k, v|
277
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
278
+ end
279
+ end
280
+ else # model
281
+ # models (e.g. Pet) or oneOf
282
+ klass = Akeyless.const_get(type)
283
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
284
+ end
285
+ end
286
+
287
+ # Returns the string representation of the object
288
+ # @return [String] String presentation of the object
289
+ def to_s
290
+ to_hash.to_s
291
+ end
292
+
293
+ # to_body is an alias to to_hash (backward compatibility)
294
+ # @return [Hash] Returns the object in the form of hash
295
+ def to_body
296
+ to_hash
297
+ end
298
+
299
+ # Returns the object in the form of hash
300
+ # @return [Hash] Returns the object in the form of hash
301
+ def to_hash
302
+ hash = {}
303
+ self.class.attribute_map.each_pair do |attr, param|
304
+ value = self.send(attr)
305
+ if value.nil?
306
+ is_nullable = self.class.openapi_nullable.include?(attr)
307
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
308
+ end
309
+
310
+ hash[param] = _to_hash(value)
311
+ end
312
+ hash
313
+ end
314
+
315
+ # Outputs non-array value in the form of hash
316
+ # For object, use to_hash. Otherwise, just return the value
317
+ # @param [Object] value Any valid value
318
+ # @return [Hash] Returns the value in the form of hash
319
+ def _to_hash(value)
320
+ if value.is_a?(Array)
321
+ value.compact.map { |v| _to_hash(v) }
322
+ elsif value.is_a?(Hash)
323
+ {}.tap do |hash|
324
+ value.each { |k, v| hash[k] = _to_hash(v) }
325
+ end
326
+ elsif value.respond_to? :to_hash
327
+ value.to_hash
328
+ else
329
+ value
330
+ end
331
+ end
332
+
333
+ end
334
+
335
+ end
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class HashiPayload
18
+ attr_accessor :delete_sync_on_deletion
19
+
18
20
  attr_accessor :import_as_json
19
21
 
20
22
  attr_accessor :namespaces
@@ -23,13 +25,17 @@ module Akeyless
23
25
 
24
26
  attr_accessor :url
25
27
 
28
+ attr_accessor :usc_name
29
+
26
30
  # Attribute mapping from ruby-style variable name to JSON key.
27
31
  def self.attribute_map
28
32
  {
33
+ :'delete_sync_on_deletion' => :'delete_sync_on_deletion',
29
34
  :'import_as_json' => :'import_as_json',
30
35
  :'namespaces' => :'namespaces',
31
36
  :'token' => :'token',
32
- :'url' => :'url'
37
+ :'url' => :'url',
38
+ :'usc_name' => :'usc_name'
33
39
  }
34
40
  end
35
41
 
@@ -41,10 +47,12 @@ module Akeyless
41
47
  # Attribute type mapping.
42
48
  def self.openapi_types
43
49
  {
50
+ :'delete_sync_on_deletion' => :'Boolean',
44
51
  :'import_as_json' => :'Boolean',
45
52
  :'namespaces' => :'Array<String>',
46
53
  :'token' => :'String',
47
- :'url' => :'String'
54
+ :'url' => :'String',
55
+ :'usc_name' => :'String'
48
56
  }
49
57
  end
50
58
 
@@ -69,6 +77,10 @@ module Akeyless
69
77
  h[k.to_sym] = v
70
78
  }
71
79
 
80
+ if attributes.key?(:'delete_sync_on_deletion')
81
+ self.delete_sync_on_deletion = attributes[:'delete_sync_on_deletion']
82
+ end
83
+
72
84
  if attributes.key?(:'import_as_json')
73
85
  self.import_as_json = attributes[:'import_as_json']
74
86
  end
@@ -86,6 +98,10 @@ module Akeyless
86
98
  if attributes.key?(:'url')
87
99
  self.url = attributes[:'url']
88
100
  end
101
+
102
+ if attributes.key?(:'usc_name')
103
+ self.usc_name = attributes[:'usc_name']
104
+ end
89
105
  end
90
106
 
91
107
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,10 +124,12 @@ module Akeyless
108
124
  def ==(o)
109
125
  return true if self.equal?(o)
110
126
  self.class == o.class &&
127
+ delete_sync_on_deletion == o.delete_sync_on_deletion &&
111
128
  import_as_json == o.import_as_json &&
112
129
  namespaces == o.namespaces &&
113
130
  token == o.token &&
114
- url == o.url
131
+ url == o.url &&
132
+ usc_name == o.usc_name
115
133
  end
116
134
 
117
135
  # @see the `==` method
@@ -123,7 +141,7 @@ module Akeyless
123
141
  # Calculates hash code according to all attributes.
124
142
  # @return [Integer] Hash code
125
143
  def hash
126
- [import_as_json, namespaces, token, url].hash
144
+ [delete_sync_on_deletion, import_as_json, namespaces, token, url, usc_name].hash
127
145
  end
128
146
 
129
147
  # Builds the object from hash