akeyless 4.0.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1318) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +225 -2
  3. data/akeyless.gemspec +1 -1
  4. data/docs/AccountGeneralSettings.md +4 -0
  5. data/docs/AllowedIpSettings.md +20 -0
  6. data/docs/AssocTargetItem.md +2 -0
  7. data/docs/AuthMethodAccessInfo.md +2 -0
  8. data/docs/AuthMethodCreateApiKey.md +40 -0
  9. data/docs/AuthMethodCreateAwsIam.md +56 -0
  10. data/docs/AuthMethodCreateAzureAD.md +64 -0
  11. data/docs/AuthMethodCreateCert.md +60 -0
  12. data/docs/AuthMethodCreateEmail.md +42 -0
  13. data/docs/AuthMethodCreateGcp.md +56 -0
  14. data/docs/AuthMethodCreateK8s.md +52 -0
  15. data/docs/AuthMethodCreateLdap.md +46 -0
  16. data/docs/AuthMethodCreateOCI.md +44 -0
  17. data/docs/AuthMethodCreateOIDC.md +58 -0
  18. data/docs/AuthMethodCreateOauth2.md +60 -0
  19. data/docs/AuthMethodCreateOutput.md +24 -0
  20. data/docs/AuthMethodCreateSAML.md +50 -0
  21. data/docs/AuthMethodCreateUniversalIdentity.md +46 -0
  22. data/docs/AuthMethodDelete.md +24 -0
  23. data/docs/AuthMethodDeleteOutput.md +18 -0
  24. data/docs/AuthMethodGet.md +24 -0
  25. data/docs/AuthMethodList.md +28 -0
  26. data/docs/AuthMethodUpdateApiKey.md +42 -0
  27. data/docs/AuthMethodUpdateAwsIam.md +58 -0
  28. data/docs/AuthMethodUpdateAzureAD.md +66 -0
  29. data/docs/AuthMethodUpdateCert.md +62 -0
  30. data/docs/AuthMethodUpdateEmail.md +42 -0
  31. data/docs/AuthMethodUpdateGcp.md +58 -0
  32. data/docs/AuthMethodUpdateK8s.md +54 -0
  33. data/docs/AuthMethodUpdateLdap.md +48 -0
  34. data/docs/AuthMethodUpdateOCI.md +46 -0
  35. data/docs/AuthMethodUpdateOIDC.md +60 -0
  36. data/docs/AuthMethodUpdateOauth2.md +62 -0
  37. data/docs/AuthMethodUpdateOutput.md +20 -0
  38. data/docs/AuthMethodUpdateSAML.md +52 -0
  39. data/docs/AuthMethodUpdateUniversalIdentity.md +48 -0
  40. data/docs/CreateAuthMethod.md +2 -0
  41. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  42. data/docs/CreateAuthMethodAzureAD.md +2 -0
  43. data/docs/CreateAuthMethodCert.md +2 -0
  44. data/docs/CreateAuthMethodEmail.md +2 -0
  45. data/docs/CreateAuthMethodGCP.md +2 -0
  46. data/docs/CreateAuthMethodHuawei.md +2 -0
  47. data/docs/CreateAuthMethodK8S.md +2 -0
  48. data/docs/CreateAuthMethodLDAP.md +2 -0
  49. data/docs/CreateAuthMethodOAuth2.md +2 -0
  50. data/docs/CreateAuthMethodOCI.md +2 -0
  51. data/docs/CreateAuthMethodOIDC.md +2 -0
  52. data/docs/CreateAuthMethodSAML.md +2 -0
  53. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  54. data/docs/CreateDockerhubTarget.md +2 -2
  55. data/docs/CreateGitlabTarget.md +38 -0
  56. data/docs/CreateGitlabTargetOutput.md +18 -0
  57. data/docs/CreateHashiVaultTarget.md +36 -0
  58. data/docs/CreateHashiVaultTargetOutput.md +18 -0
  59. data/docs/CreateRotatedSecret.md +4 -2
  60. data/docs/CreateSSHCertIssuer.md +2 -2
  61. data/docs/DSProducerDetails.md +16 -0
  62. data/docs/DecryptFile.md +3 -1
  63. data/docs/DecryptGPG.md +3 -1
  64. data/docs/DynamicSecretCreateGitlab.md +50 -0
  65. data/docs/DynamicSecretCreateGoogleWorkspace.md +7 -7
  66. data/docs/DynamicSecretCreateLdap.md +14 -0
  67. data/docs/DynamicSecretUpdateGitlab.md +52 -0
  68. data/docs/DynamicSecretUpdateGoogleWorkspace.md +7 -7
  69. data/docs/DynamicSecretUpdateLdap.md +14 -0
  70. data/docs/ExportClassicKeyOutput.md +3 -1
  71. data/docs/GatewayCreateK8SAuthConfig.md +0 -2
  72. data/docs/GatewayCreateProducerLdap.md +14 -0
  73. data/docs/GatewayGetCache.md +22 -0
  74. data/docs/GatewayGetDefaults.md +22 -0
  75. data/docs/GatewayGetDefaultsOutput.md +26 -0
  76. data/docs/GatewayGetLogForwarding.md +22 -0
  77. data/docs/GatewayListCustomerFragments.md +22 -0
  78. data/docs/GatewayPartialUpdateK8SAuthConfig.md +0 -2
  79. data/docs/GatewayUpdateCache.md +32 -0
  80. data/docs/GatewayUpdateDefaults.md +32 -0
  81. data/docs/GatewayUpdateK8SAuthConfig.md +0 -2
  82. data/docs/GatewayUpdateLogForwardingAwsS3.md +42 -0
  83. data/docs/GatewayUpdateLogForwardingAzureAnalytics.md +32 -0
  84. data/docs/GatewayUpdateLogForwardingDatadog.md +38 -0
  85. data/docs/GatewayUpdateLogForwardingElasticsearch.md +48 -0
  86. data/docs/GatewayUpdateLogForwardingGoogleChronicle.md +36 -0
  87. data/docs/GatewayUpdateLogForwardingLogstash.md +36 -0
  88. data/docs/GatewayUpdateLogForwardingLogzIo.md +32 -0
  89. data/docs/GatewayUpdateLogForwardingOutput.md +18 -0
  90. data/docs/GatewayUpdateLogForwardingSplunk.md +42 -0
  91. data/docs/GatewayUpdateLogForwardingStdout.md +28 -0
  92. data/docs/GatewayUpdateLogForwardingSumologic.md +34 -0
  93. data/docs/GatewayUpdateLogForwardingSyslog.md +40 -0
  94. data/docs/GatewayUpdateOutput.md +18 -0
  95. data/docs/GatewayUpdateProducerLdap.md +14 -0
  96. data/docs/GenerateCsr.md +2 -0
  97. data/docs/GetPKICertificateOutput.md +2 -0
  98. data/docs/GitlabTargetDetails.md +22 -0
  99. data/docs/HashiVaultTargetDetails.md +22 -0
  100. data/docs/ItemSraStatus.md +4 -0
  101. data/docs/K8SAuth.md +0 -2
  102. data/docs/RotatedSecretCreateLdap.md +2 -2
  103. data/docs/RotatedSecretUpdateLdap.md +2 -2
  104. data/docs/SecretInfo.md +3 -1
  105. data/docs/SecureRemoteAccess.md +4 -0
  106. data/docs/SharingPolicyInfo.md +3 -1
  107. data/docs/TargetCreateArtifactory.md +36 -0
  108. data/docs/TargetCreateAws.md +40 -0
  109. data/docs/TargetCreateAzure.md +44 -0
  110. data/docs/TargetCreateDB.md +86 -0
  111. data/docs/TargetCreateDockerhub.md +34 -0
  112. data/docs/TargetCreateEks.md +44 -0
  113. data/docs/TargetCreateGcp.md +34 -0
  114. data/docs/TargetCreateGithub.md +36 -0
  115. data/docs/TargetCreateGitlab.md +36 -0
  116. data/docs/TargetCreateGke.md +42 -0
  117. data/docs/TargetCreateGlobalSign.md +46 -0
  118. data/docs/TargetCreateGlobalSignAtlas.md +40 -0
  119. data/docs/TargetCreateGodaddy.md +44 -0
  120. data/docs/TargetCreateHashiVault.md +36 -0
  121. data/docs/TargetCreateK8s.md +46 -0
  122. data/docs/TargetCreateLdap.md +42 -0
  123. data/docs/TargetCreateLinked.md +32 -0
  124. data/docs/TargetCreateOutput.md +18 -0
  125. data/docs/TargetCreatePing.md +40 -0
  126. data/docs/TargetCreateRabbitMq.md +36 -0
  127. data/docs/TargetCreateSalesforce.md +50 -0
  128. data/docs/TargetCreateSsh.md +42 -0
  129. data/docs/TargetCreateWeb.md +32 -0
  130. data/docs/TargetCreateWindows.md +44 -0
  131. data/docs/TargetCreateZeroSSL.md +44 -0
  132. data/docs/TargetDelete.md +28 -0
  133. data/docs/TargetGet.md +26 -0
  134. data/docs/TargetGetDetails.md +28 -0
  135. data/docs/TargetList.md +28 -0
  136. data/docs/TargetTypeDetailsInput.md +4 -0
  137. data/docs/TargetUpdateArtifactory.md +40 -0
  138. data/docs/TargetUpdateAws.md +44 -0
  139. data/docs/TargetUpdateAzure.md +48 -0
  140. data/docs/TargetUpdateDB.md +90 -0
  141. data/docs/TargetUpdateDockerhub.md +38 -0
  142. data/docs/TargetUpdateEks.md +48 -0
  143. data/docs/TargetUpdateGcp.md +38 -0
  144. data/docs/TargetUpdateGithub.md +40 -0
  145. data/docs/TargetUpdateGitlab.md +40 -0
  146. data/docs/TargetUpdateGke.md +46 -0
  147. data/docs/TargetUpdateGlobalSign.md +50 -0
  148. data/docs/TargetUpdateGlobalSignAtlas.md +44 -0
  149. data/docs/TargetUpdateGodaddy.md +48 -0
  150. data/docs/TargetUpdateHashiVault.md +40 -0
  151. data/docs/TargetUpdateK8s.md +50 -0
  152. data/docs/TargetUpdateLdap.md +46 -0
  153. data/docs/TargetUpdateLinked.md +40 -0
  154. data/docs/TargetUpdateOutput.md +18 -0
  155. data/docs/TargetUpdatePing.md +44 -0
  156. data/docs/TargetUpdateRabbitMq.md +40 -0
  157. data/docs/TargetUpdateSalesforce.md +54 -0
  158. data/docs/TargetUpdateSsh.md +46 -0
  159. data/docs/TargetUpdateWeb.md +36 -0
  160. data/docs/TargetUpdateWindows.md +48 -0
  161. data/docs/TargetUpdateZeroSSL.md +48 -0
  162. data/docs/UpdateAccountSettings.md +10 -0
  163. data/docs/UpdateAuthMethod.md +2 -0
  164. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  165. data/docs/UpdateAuthMethodAzureAD.md +2 -0
  166. data/docs/UpdateAuthMethodCert.md +2 -0
  167. data/docs/UpdateAuthMethodGCP.md +2 -0
  168. data/docs/UpdateAuthMethodK8S.md +2 -0
  169. data/docs/UpdateAuthMethodLDAP.md +2 -0
  170. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  171. data/docs/UpdateAuthMethodOCI.md +2 -0
  172. data/docs/UpdateAuthMethodOIDC.md +2 -0
  173. data/docs/UpdateAuthMethodSAML.md +2 -0
  174. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  175. data/docs/UpdateDockerhubTarget.md +2 -2
  176. data/docs/UpdateGitlabTarget.md +44 -0
  177. data/docs/UpdateGitlabTargetOutput.md +18 -0
  178. data/docs/UpdateHashiVaultTarget.md +42 -0
  179. data/docs/UpdateHashiVaultTargetOutput.md +18 -0
  180. data/docs/UpdateItem.md +1 -1
  181. data/docs/UpdateLdapTarget.md +5 -5
  182. data/docs/UpdateRotatedSecret.md +3 -1
  183. data/docs/UpdateSSHCertIssuer.md +1 -1
  184. data/docs/UscCreate.md +2 -0
  185. data/docs/UscDelete.md +3 -1
  186. data/docs/UscGet.md +6 -2
  187. data/docs/UscUpdate.md +3 -1
  188. data/docs/V2Api.md +10758 -4206
  189. data/lib/akeyless/api/v2_api.rb +11179 -4523
  190. data/lib/akeyless/api_client.rb +3 -3
  191. data/lib/akeyless/api_error.rb +1 -1
  192. data/lib/akeyless/configuration.rb +11 -1
  193. data/lib/akeyless/models/access_or_group_permission_assignment.rb +1 -1
  194. data/lib/akeyless/models/access_permission_assignment.rb +1 -1
  195. data/lib/akeyless/models/account_general_settings.rb +20 -2
  196. data/lib/akeyless/models/account_object_version_settings_output.rb +1 -1
  197. data/lib/akeyless/models/active_directory_migration.rb +1 -1
  198. data/lib/akeyless/models/active_directory_payload.rb +1 -1
  199. data/lib/akeyless/models/add_gateway_allowed_access_id.rb +1 -1
  200. data/lib/akeyless/models/admins_config_part.rb +1 -1
  201. data/lib/akeyless/models/akeyless_gateway_config.rb +1 -1
  202. data/lib/akeyless/models/all_analytics_data.rb +1 -1
  203. data/lib/akeyless/models/allowed_access.rb +1 -1
  204. data/lib/akeyless/models/allowed_access_old.rb +1 -1
  205. data/lib/akeyless/models/allowed_ip_settings.rb +223 -0
  206. data/lib/akeyless/models/api_key_access_rules.rb +1 -1
  207. data/lib/akeyless/models/artifactory_target_details.rb +1 -1
  208. data/lib/akeyless/models/assoc_role_auth_method.rb +1 -1
  209. data/lib/akeyless/models/assoc_target_item.rb +14 -2
  210. data/lib/akeyless/models/attribute_type_and_value.rb +1 -1
  211. data/lib/akeyless/models/auth.rb +1 -1
  212. data/lib/akeyless/models/auth_method.rb +1 -1
  213. data/lib/akeyless/models/auth_method_access_info.rb +13 -2
  214. data/lib/akeyless/models/auth_method_create_api_key.rb +347 -0
  215. data/lib/akeyless/models/auth_method_create_aws_iam.rb +450 -0
  216. data/lib/akeyless/models/auth_method_create_azure_ad.rb +496 -0
  217. data/lib/akeyless/models/auth_method_create_cert.rb +468 -0
  218. data/lib/akeyless/models/auth_method_create_email.rb +364 -0
  219. data/lib/akeyless/models/auth_method_create_gcp.rb +451 -0
  220. data/lib/akeyless/models/auth_method_create_k8s.rb +415 -0
  221. data/lib/akeyless/models/auth_method_create_ldap.rb +381 -0
  222. data/lib/akeyless/models/auth_method_create_oauth2.rb +465 -0
  223. data/lib/akeyless/models/auth_method_create_oci.rb +383 -0
  224. data/lib/akeyless/models/auth_method_create_oidc.rb +450 -0
  225. data/lib/akeyless/models/auth_method_create_output.rb +241 -0
  226. data/lib/akeyless/models/auth_method_create_saml.rb +408 -0
  227. data/lib/akeyless/models/auth_method_create_universal_identity.rb +379 -0
  228. data/lib/akeyless/models/auth_method_delete.rb +255 -0
  229. data/lib/akeyless/models/auth_method_delete_output.rb +214 -0
  230. data/lib/akeyless/models/auth_method_get.rb +254 -0
  231. data/lib/akeyless/models/auth_method_list.rb +270 -0
  232. data/lib/akeyless/models/auth_method_role_association.rb +1 -1
  233. data/lib/akeyless/models/auth_method_update_api_key.rb +356 -0
  234. data/lib/akeyless/models/auth_method_update_aws_iam.rb +460 -0
  235. data/lib/akeyless/models/auth_method_update_azure_ad.rb +506 -0
  236. data/lib/akeyless/models/auth_method_update_cert.rb +478 -0
  237. data/lib/akeyless/models/auth_method_update_email.rb +357 -0
  238. data/lib/akeyless/models/auth_method_update_gcp.rb +461 -0
  239. data/lib/akeyless/models/auth_method_update_k8s.rb +423 -0
  240. data/lib/akeyless/models/auth_method_update_ldap.rb +389 -0
  241. data/lib/akeyless/models/auth_method_update_oauth2.rb +475 -0
  242. data/lib/akeyless/models/auth_method_update_oci.rb +393 -0
  243. data/lib/akeyless/models/auth_method_update_oidc.rb +460 -0
  244. data/lib/akeyless/models/auth_method_update_output.rb +223 -0
  245. data/lib/akeyless/models/auth_method_update_saml.rb +418 -0
  246. data/lib/akeyless/models/auth_method_update_universal_identity.rb +389 -0
  247. data/lib/akeyless/models/auth_output.rb +1 -1
  248. data/lib/akeyless/models/aws_payload.rb +1 -1
  249. data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +1 -1
  250. data/lib/akeyless/models/aws_secrets_migration.rb +1 -1
  251. data/lib/akeyless/models/aws_target_details.rb +1 -1
  252. data/lib/akeyless/models/awsiam_access_rules.rb +1 -1
  253. data/lib/akeyless/models/azure_ad_access_rules.rb +1 -1
  254. data/lib/akeyless/models/azure_key_vault_migration.rb +1 -1
  255. data/lib/akeyless/models/azure_log_analytics_forwarding_config.rb +1 -1
  256. data/lib/akeyless/models/azure_payload.rb +1 -1
  257. data/lib/akeyless/models/azure_target_details.rb +1 -1
  258. data/lib/akeyless/models/bastion_list_entry.rb +1 -1
  259. data/lib/akeyless/models/bastions_list.rb +1 -1
  260. data/lib/akeyless/models/cache_config_part.rb +1 -1
  261. data/lib/akeyless/models/cert_access_rules.rb +1 -1
  262. data/lib/akeyless/models/certificate_analytic_aggregation.rb +1 -1
  263. data/lib/akeyless/models/certificate_chain_info.rb +1 -1
  264. data/lib/akeyless/models/certificate_expiration_event.rb +1 -1
  265. data/lib/akeyless/models/certificate_info.rb +1 -1
  266. data/lib/akeyless/models/certificate_issue_info.rb +1 -1
  267. data/lib/akeyless/models/certificate_template_info.rb +1 -1
  268. data/lib/akeyless/models/certificate_version_info.rb +1 -1
  269. data/lib/akeyless/models/cf_config_part.rb +1 -1
  270. data/lib/akeyless/models/cf_info.rb +1 -1
  271. data/lib/akeyless/models/chef_target_details.rb +1 -1
  272. data/lib/akeyless/models/classic_key_details_info.rb +1 -1
  273. data/lib/akeyless/models/classic_key_status_info.rb +1 -1
  274. data/lib/akeyless/models/classic_key_target_info.rb +1 -1
  275. data/lib/akeyless/models/client_data.rb +1 -1
  276. data/lib/akeyless/models/client_usage_info.rb +1 -1
  277. data/lib/akeyless/models/clients_usage_report.rb +1 -1
  278. data/lib/akeyless/models/config_change.rb +1 -1
  279. data/lib/akeyless/models/config_hash.rb +1 -1
  280. data/lib/akeyless/models/configure.rb +1 -1
  281. data/lib/akeyless/models/configure_output.rb +1 -1
  282. data/lib/akeyless/models/connect.rb +1 -1
  283. data/lib/akeyless/models/create_artifactory_target.rb +2 -1
  284. data/lib/akeyless/models/create_artifactory_target_output.rb +1 -1
  285. data/lib/akeyless/models/create_auth_method.rb +15 -2
  286. data/lib/akeyless/models/create_auth_method_awsiam.rb +15 -3
  287. data/lib/akeyless/models/create_auth_method_awsiam_output.rb +1 -1
  288. data/lib/akeyless/models/create_auth_method_azure_ad.rb +15 -3
  289. data/lib/akeyless/models/create_auth_method_azure_ad_output.rb +1 -1
  290. data/lib/akeyless/models/create_auth_method_cert.rb +15 -3
  291. data/lib/akeyless/models/create_auth_method_cert_output.rb +1 -1
  292. data/lib/akeyless/models/create_auth_method_email.rb +15 -3
  293. data/lib/akeyless/models/create_auth_method_email_output.rb +1 -1
  294. data/lib/akeyless/models/create_auth_method_gcp.rb +15 -3
  295. data/lib/akeyless/models/create_auth_method_gcp_output.rb +1 -1
  296. data/lib/akeyless/models/create_auth_method_huawei.rb +14 -2
  297. data/lib/akeyless/models/create_auth_method_huawei_output.rb +1 -1
  298. data/lib/akeyless/models/create_auth_method_k8_s.rb +15 -3
  299. data/lib/akeyless/models/create_auth_method_k8_s_output.rb +1 -1
  300. data/lib/akeyless/models/create_auth_method_ldap.rb +15 -3
  301. data/lib/akeyless/models/create_auth_method_ldap_output.rb +1 -1
  302. data/lib/akeyless/models/create_auth_method_o_auth2.rb +15 -3
  303. data/lib/akeyless/models/create_auth_method_o_auth2_output.rb +1 -1
  304. data/lib/akeyless/models/create_auth_method_oci.rb +15 -3
  305. data/lib/akeyless/models/create_auth_method_oci_output.rb +1 -1
  306. data/lib/akeyless/models/create_auth_method_oidc.rb +15 -3
  307. data/lib/akeyless/models/create_auth_method_oidc_output.rb +1 -1
  308. data/lib/akeyless/models/create_auth_method_output.rb +1 -1
  309. data/lib/akeyless/models/create_auth_method_saml.rb +15 -3
  310. data/lib/akeyless/models/create_auth_method_saml_output.rb +1 -1
  311. data/lib/akeyless/models/create_auth_method_universal_identity.rb +15 -3
  312. data/lib/akeyless/models/create_auth_method_universal_identity_output.rb +1 -1
  313. data/lib/akeyless/models/create_aws_target.rb +2 -1
  314. data/lib/akeyless/models/create_aws_target_output.rb +1 -1
  315. data/lib/akeyless/models/create_azure_target.rb +2 -1
  316. data/lib/akeyless/models/create_azure_target_output.rb +1 -1
  317. data/lib/akeyless/models/create_certificate.rb +1 -1
  318. data/lib/akeyless/models/create_certificate_output.rb +1 -1
  319. data/lib/akeyless/models/create_classic_key.rb +1 -1
  320. data/lib/akeyless/models/create_classic_key_output.rb +1 -1
  321. data/lib/akeyless/models/create_db_target.rb +2 -1
  322. data/lib/akeyless/models/create_db_target_output.rb +1 -1
  323. data/lib/akeyless/models/create_dfc_key.rb +1 -1
  324. data/lib/akeyless/models/create_dfc_key_output.rb +1 -1
  325. data/lib/akeyless/models/create_dockerhub_target.rb +4 -3
  326. data/lib/akeyless/models/create_dockerhub_target_output.rb +1 -1
  327. data/lib/akeyless/models/create_dynamic_secret.rb +1 -1
  328. data/lib/akeyless/models/create_eks_target.rb +2 -1
  329. data/lib/akeyless/models/create_eks_target_output.rb +1 -1
  330. data/lib/akeyless/models/create_esm.rb +1 -1
  331. data/lib/akeyless/models/create_esm_output.rb +1 -1
  332. data/lib/akeyless/models/create_event_forwarder.rb +1 -1
  333. data/lib/akeyless/models/create_event_forwarder_output.rb +1 -1
  334. data/lib/akeyless/models/create_gcp_target.rb +2 -1
  335. data/lib/akeyless/models/create_gcp_target_output.rb +1 -1
  336. data/lib/akeyless/models/create_github_target.rb +2 -1
  337. data/lib/akeyless/models/create_github_target_output.rb +1 -1
  338. data/lib/akeyless/models/create_gitlab_target.rb +327 -0
  339. data/lib/akeyless/models/create_gitlab_target_output.rb +214 -0
  340. data/lib/akeyless/models/create_gke_target.rb +2 -1
  341. data/lib/akeyless/models/create_gke_target_output.rb +1 -1
  342. data/lib/akeyless/models/create_global_sign_atlas_target.rb +2 -1
  343. data/lib/akeyless/models/create_global_sign_atlas_target_output.rb +1 -1
  344. data/lib/akeyless/models/create_global_sign_target.rb +2 -1
  345. data/lib/akeyless/models/create_global_sign_target_output.rb +1 -1
  346. data/lib/akeyless/models/create_godaddy_target.rb +2 -1
  347. data/lib/akeyless/models/create_godaddy_target_output.rb +1 -1
  348. data/lib/akeyless/models/create_group.rb +1 -1
  349. data/lib/akeyless/models/create_group_output.rb +1 -1
  350. data/lib/akeyless/models/create_hashi_vault_target.rb +317 -0
  351. data/lib/akeyless/models/create_hashi_vault_target_output.rb +214 -0
  352. data/lib/akeyless/models/create_key.rb +1 -1
  353. data/lib/akeyless/models/create_key_output.rb +1 -1
  354. data/lib/akeyless/models/create_ldap_target.rb +2 -1
  355. data/lib/akeyless/models/create_ldap_target_output.rb +1 -1
  356. data/lib/akeyless/models/create_linked_target.rb +2 -1
  357. data/lib/akeyless/models/create_linked_target_output.rb +1 -1
  358. data/lib/akeyless/models/create_native_k8_s_target.rb +2 -1
  359. data/lib/akeyless/models/create_native_k8_s_target_output.rb +1 -1
  360. data/lib/akeyless/models/create_oidc_app.rb +1 -1
  361. data/lib/akeyless/models/create_oidc_app_output.rb +1 -1
  362. data/lib/akeyless/models/create_ping_target.rb +2 -1
  363. data/lib/akeyless/models/create_ping_target_output.rb +1 -1
  364. data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
  365. data/lib/akeyless/models/create_pki_cert_issuer_output.rb +1 -1
  366. data/lib/akeyless/models/create_rabbit_mq_target.rb +2 -1
  367. data/lib/akeyless/models/create_rabbit_mq_target_output.rb +1 -1
  368. data/lib/akeyless/models/create_role.rb +1 -1
  369. data/lib/akeyless/models/create_role_auth_method_assoc_output.rb +1 -1
  370. data/lib/akeyless/models/create_rotated_secret.rb +14 -6
  371. data/lib/akeyless/models/create_rotated_secret_output.rb +1 -1
  372. data/lib/akeyless/models/create_salesforce_target.rb +2 -1
  373. data/lib/akeyless/models/create_salesforce_target_output.rb +1 -1
  374. data/lib/akeyless/models/create_secret.rb +1 -1
  375. data/lib/akeyless/models/create_secret_output.rb +1 -1
  376. data/lib/akeyless/models/create_ssh_cert_issuer.rb +3 -5
  377. data/lib/akeyless/models/create_ssh_cert_issuer_output.rb +1 -1
  378. data/lib/akeyless/models/create_ssh_target.rb +2 -1
  379. data/lib/akeyless/models/create_ssh_target_output.rb +1 -1
  380. data/lib/akeyless/models/create_target_item_assoc_output.rb +1 -1
  381. data/lib/akeyless/models/create_tokenizer.rb +1 -1
  382. data/lib/akeyless/models/create_tokenizer_output.rb +1 -1
  383. data/lib/akeyless/models/create_usc.rb +1 -1
  384. data/lib/akeyless/models/create_usc_output.rb +1 -1
  385. data/lib/akeyless/models/create_user_event.rb +1 -1
  386. data/lib/akeyless/models/create_user_event_output.rb +1 -1
  387. data/lib/akeyless/models/create_web_target.rb +2 -1
  388. data/lib/akeyless/models/create_web_target_output.rb +1 -1
  389. data/lib/akeyless/models/create_windows_target.rb +2 -1
  390. data/lib/akeyless/models/create_windows_target_output.rb +1 -1
  391. data/lib/akeyless/models/create_zero_ssl_target.rb +2 -1
  392. data/lib/akeyless/models/create_zero_ssl_target_output.rb +1 -1
  393. data/lib/akeyless/models/custom_target_details.rb +1 -1
  394. data/lib/akeyless/models/customer_fragment_config.rb +1 -1
  395. data/lib/akeyless/models/customer_fragments_config_json.rb +1 -1
  396. data/lib/akeyless/models/customer_full_address.rb +1 -1
  397. data/lib/akeyless/models/data_protection_section.rb +1 -1
  398. data/lib/akeyless/models/datadog_forwarding_config.rb +1 -1
  399. data/lib/akeyless/models/db_target_details.rb +1 -1
  400. data/lib/akeyless/models/decrypt.rb +1 -1
  401. data/lib/akeyless/models/decrypt_file.rb +15 -5
  402. data/lib/akeyless/models/decrypt_file_output.rb +1 -1
  403. data/lib/akeyless/models/decrypt_gpg.rb +15 -3
  404. data/lib/akeyless/models/decrypt_gpg_output.rb +1 -1
  405. data/lib/akeyless/models/decrypt_output.rb +1 -1
  406. data/lib/akeyless/models/decrypt_pkcs1.rb +1 -1
  407. data/lib/akeyless/models/decrypt_pkcs1_output.rb +1 -1
  408. data/lib/akeyless/models/decrypt_with_classic_key.rb +1 -1
  409. data/lib/akeyless/models/decrypt_with_classic_key_output.rb +1 -1
  410. data/lib/akeyless/models/default_config_part.rb +1 -1
  411. data/lib/akeyless/models/delete_auth_method.rb +2 -1
  412. data/lib/akeyless/models/delete_auth_method_output.rb +1 -1
  413. data/lib/akeyless/models/delete_auth_methods.rb +1 -1
  414. data/lib/akeyless/models/delete_auth_methods_output.rb +1 -1
  415. data/lib/akeyless/models/delete_event_forwarder.rb +1 -1
  416. data/lib/akeyless/models/delete_gateway_allowed_access_id.rb +1 -1
  417. data/lib/akeyless/models/delete_group.rb +1 -1
  418. data/lib/akeyless/models/delete_group_output.rb +1 -1
  419. data/lib/akeyless/models/delete_gw_cluster.rb +1 -1
  420. data/lib/akeyless/models/delete_item.rb +1 -1
  421. data/lib/akeyless/models/delete_item_output.rb +1 -1
  422. data/lib/akeyless/models/delete_items.rb +1 -1
  423. data/lib/akeyless/models/delete_items_output.rb +1 -1
  424. data/lib/akeyless/models/delete_role.rb +1 -1
  425. data/lib/akeyless/models/delete_role_association.rb +1 -1
  426. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  427. data/lib/akeyless/models/delete_role_rule_output.rb +1 -1
  428. data/lib/akeyless/models/delete_roles.rb +1 -1
  429. data/lib/akeyless/models/delete_target.rb +2 -1
  430. data/lib/akeyless/models/delete_target_association.rb +1 -1
  431. data/lib/akeyless/models/delete_targets.rb +1 -1
  432. data/lib/akeyless/models/derive_key.rb +1 -1
  433. data/lib/akeyless/models/derive_key_output.rb +1 -1
  434. data/lib/akeyless/models/describe_assoc.rb +1 -1
  435. data/lib/akeyless/models/describe_item.rb +1 -1
  436. data/lib/akeyless/models/describe_permissions.rb +1 -1
  437. data/lib/akeyless/models/describe_permissions_output.rb +1 -1
  438. data/lib/akeyless/models/describe_sub_claims.rb +1 -1
  439. data/lib/akeyless/models/describe_sub_claims_output.rb +1 -1
  440. data/lib/akeyless/models/detokenize.rb +1 -1
  441. data/lib/akeyless/models/detokenize_output.rb +1 -1
  442. data/lib/akeyless/models/dockerhub_target_details.rb +1 -1
  443. data/lib/akeyless/models/ds_producer_details.rb +76 -2
  444. data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +1 -1
  445. data/lib/akeyless/models/dynamic_secret_create_aws.rb +1 -1
  446. data/lib/akeyless/models/dynamic_secret_create_azure.rb +1 -1
  447. data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +1 -1
  448. data/lib/akeyless/models/dynamic_secret_create_chef.rb +1 -1
  449. data/lib/akeyless/models/dynamic_secret_create_custom.rb +1 -1
  450. data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +1 -1
  451. data/lib/akeyless/models/dynamic_secret_create_eks.rb +1 -1
  452. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +1 -1
  453. data/lib/akeyless/models/dynamic_secret_create_github.rb +1 -1
  454. data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +403 -0
  455. data/lib/akeyless/models/dynamic_secret_create_gke.rb +1 -1
  456. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +25 -25
  457. data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +1 -1
  458. data/lib/akeyless/models/dynamic_secret_create_k8s.rb +1 -1
  459. data/lib/akeyless/models/dynamic_secret_create_ldap.rb +75 -2
  460. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +1 -1
  461. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +1 -1
  462. data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +1 -1
  463. data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +1 -1
  464. data/lib/akeyless/models/dynamic_secret_create_output.rb +1 -1
  465. data/lib/akeyless/models/dynamic_secret_create_ping.rb +1 -1
  466. data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +1 -1
  467. data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +1 -1
  468. data/lib/akeyless/models/dynamic_secret_create_rdp.rb +1 -1
  469. data/lib/akeyless/models/dynamic_secret_create_redis.rb +1 -1
  470. data/lib/akeyless/models/dynamic_secret_create_redshift.rb +1 -1
  471. data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +1 -1
  472. data/lib/akeyless/models/dynamic_secret_create_venafi.rb +1 -1
  473. data/lib/akeyless/models/dynamic_secret_delete.rb +1 -1
  474. data/lib/akeyless/models/dynamic_secret_delete_output.rb +1 -1
  475. data/lib/akeyless/models/dynamic_secret_get.rb +1 -1
  476. data/lib/akeyless/models/dynamic_secret_get_value.rb +1 -1
  477. data/lib/akeyless/models/dynamic_secret_list.rb +1 -1
  478. data/lib/akeyless/models/dynamic_secret_max_ttl.rb +1 -1
  479. data/lib/akeyless/models/dynamic_secret_producer_info.rb +1 -1
  480. data/lib/akeyless/models/dynamic_secret_tmp_creds_delete.rb +1 -1
  481. data/lib/akeyless/models/dynamic_secret_tmp_creds_get.rb +1 -1
  482. data/lib/akeyless/models/dynamic_secret_tmp_creds_update.rb +1 -1
  483. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
  484. data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
  485. data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
  486. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
  487. data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
  488. data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
  489. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
  490. data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
  491. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
  492. data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
  493. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +413 -0
  494. data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
  495. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +25 -25
  496. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
  497. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
  498. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +75 -2
  499. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
  500. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
  501. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
  502. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
  503. data/lib/akeyless/models/dynamic_secret_update_output.rb +1 -1
  504. data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
  505. data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +1 -1
  506. data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +1 -1
  507. data/lib/akeyless/models/dynamic_secret_update_rdp.rb +1 -1
  508. data/lib/akeyless/models/dynamic_secret_update_redis.rb +1 -1
  509. data/lib/akeyless/models/dynamic_secret_update_redshift.rb +1 -1
  510. data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +1 -1
  511. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
  512. data/lib/akeyless/models/eks_target_details.rb +1 -1
  513. data/lib/akeyless/models/elasticsearch_log_forwarding_config.rb +1 -1
  514. data/lib/akeyless/models/email_entry.rb +1 -1
  515. data/lib/akeyless/models/email_pass_access_rules.rb +1 -1
  516. data/lib/akeyless/models/email_tokenizer_info.rb +1 -1
  517. data/lib/akeyless/models/encrypt.rb +1 -1
  518. data/lib/akeyless/models/encrypt_file.rb +1 -1
  519. data/lib/akeyless/models/encrypt_file_output.rb +1 -1
  520. data/lib/akeyless/models/encrypt_gpg.rb +1 -1
  521. data/lib/akeyless/models/encrypt_gpg_output.rb +1 -1
  522. data/lib/akeyless/models/encrypt_output.rb +1 -1
  523. data/lib/akeyless/models/encrypt_with_classic_key.rb +1 -1
  524. data/lib/akeyless/models/encrypt_with_classic_key_output.rb +1 -1
  525. data/lib/akeyless/models/esm_create.rb +1 -1
  526. data/lib/akeyless/models/esm_create_secret_output.rb +1 -1
  527. data/lib/akeyless/models/esm_delete.rb +1 -1
  528. data/lib/akeyless/models/esm_delete_secret_output.rb +1 -1
  529. data/lib/akeyless/models/esm_get.rb +1 -1
  530. data/lib/akeyless/models/esm_get_secret_output.rb +1 -1
  531. data/lib/akeyless/models/esm_list.rb +1 -1
  532. data/lib/akeyless/models/esm_list_secrets_output.rb +1 -1
  533. data/lib/akeyless/models/esm_update.rb +1 -1
  534. data/lib/akeyless/models/esm_update_secret_output.rb +1 -1
  535. data/lib/akeyless/models/event_action.rb +1 -1
  536. data/lib/akeyless/models/event_forwarder_create_email.rb +1 -1
  537. data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
  538. data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
  539. data/lib/akeyless/models/event_forwarder_create_update_output.rb +1 -1
  540. data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
  541. data/lib/akeyless/models/event_forwarder_delete.rb +1 -1
  542. data/lib/akeyless/models/event_forwarder_delete_output.rb +1 -1
  543. data/lib/akeyless/models/event_forwarder_get.rb +1 -1
  544. data/lib/akeyless/models/event_forwarder_get_output.rb +1 -1
  545. data/lib/akeyless/models/event_forwarder_update_email.rb +1 -1
  546. data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
  547. data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
  548. data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
  549. data/lib/akeyless/models/export_classic_key.rb +1 -1
  550. data/lib/akeyless/models/export_classic_key_output.rb +14 -5
  551. data/lib/akeyless/models/extension.rb +1 -1
  552. data/lib/akeyless/models/external_kms_key_id.rb +1 -1
  553. data/lib/akeyless/models/gateway_basic_info.rb +1 -1
  554. data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
  555. data/lib/akeyless/models/gateway_create_k8_s_auth_config.rb +2 -12
  556. data/lib/akeyless/models/gateway_create_k8_s_auth_config_output.rb +1 -1
  557. data/lib/akeyless/models/gateway_create_migration.rb +1 -1
  558. data/lib/akeyless/models/gateway_create_producer_artifactory.rb +1 -1
  559. data/lib/akeyless/models/gateway_create_producer_artifactory_output.rb +1 -1
  560. data/lib/akeyless/models/gateway_create_producer_aws.rb +1 -1
  561. data/lib/akeyless/models/gateway_create_producer_aws_output.rb +1 -1
  562. data/lib/akeyless/models/gateway_create_producer_azure.rb +1 -1
  563. data/lib/akeyless/models/gateway_create_producer_azure_output.rb +1 -1
  564. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +1 -1
  565. data/lib/akeyless/models/gateway_create_producer_cassandra_output.rb +1 -1
  566. data/lib/akeyless/models/gateway_create_producer_chef.rb +1 -1
  567. data/lib/akeyless/models/gateway_create_producer_chef_output.rb +1 -1
  568. data/lib/akeyless/models/gateway_create_producer_custom.rb +1 -1
  569. data/lib/akeyless/models/gateway_create_producer_custom_output.rb +1 -1
  570. data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +1 -1
  571. data/lib/akeyless/models/gateway_create_producer_dockerhub_output.rb +1 -1
  572. data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
  573. data/lib/akeyless/models/gateway_create_producer_eks_output.rb +1 -1
  574. data/lib/akeyless/models/gateway_create_producer_gcp.rb +1 -1
  575. data/lib/akeyless/models/gateway_create_producer_gcp_output.rb +1 -1
  576. data/lib/akeyless/models/gateway_create_producer_github.rb +1 -1
  577. data/lib/akeyless/models/gateway_create_producer_github_output.rb +1 -1
  578. data/lib/akeyless/models/gateway_create_producer_gke.rb +1 -1
  579. data/lib/akeyless/models/gateway_create_producer_gke_output.rb +1 -1
  580. data/lib/akeyless/models/gateway_create_producer_google_workspace_output.rb +1 -1
  581. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +1 -1
  582. data/lib/akeyless/models/gateway_create_producer_hana_db_output.rb +1 -1
  583. data/lib/akeyless/models/gateway_create_producer_ldap.rb +75 -2
  584. data/lib/akeyless/models/gateway_create_producer_ldap_output.rb +1 -1
  585. data/lib/akeyless/models/gateway_create_producer_mongo.rb +1 -1
  586. data/lib/akeyless/models/gateway_create_producer_mongo_output.rb +1 -1
  587. data/lib/akeyless/models/gateway_create_producer_mssql.rb +1 -1
  588. data/lib/akeyless/models/gateway_create_producer_mssql_output.rb +1 -1
  589. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +1 -1
  590. data/lib/akeyless/models/gateway_create_producer_my_sql_output.rb +1 -1
  591. data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +1 -1
  592. data/lib/akeyless/models/gateway_create_producer_native_k8_s_output.rb +1 -1
  593. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +1 -1
  594. data/lib/akeyless/models/gateway_create_producer_oracle_db_output.rb +1 -1
  595. data/lib/akeyless/models/gateway_create_producer_ping.rb +1 -1
  596. data/lib/akeyless/models/gateway_create_producer_ping_output.rb +1 -1
  597. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +1 -1
  598. data/lib/akeyless/models/gateway_create_producer_postgre_sql_output.rb +1 -1
  599. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +1 -1
  600. data/lib/akeyless/models/gateway_create_producer_rabbit_mq_output.rb +1 -1
  601. data/lib/akeyless/models/gateway_create_producer_rdp.rb +1 -1
  602. data/lib/akeyless/models/gateway_create_producer_rdp_output.rb +1 -1
  603. data/lib/akeyless/models/gateway_create_producer_redis.rb +1 -1
  604. data/lib/akeyless/models/gateway_create_producer_redis_output.rb +1 -1
  605. data/lib/akeyless/models/gateway_create_producer_redshift.rb +1 -1
  606. data/lib/akeyless/models/gateway_create_producer_redshift_output.rb +1 -1
  607. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +1 -1
  608. data/lib/akeyless/models/gateway_create_producer_snowflake_output.rb +1 -1
  609. data/lib/akeyless/models/gateway_create_producer_venafi.rb +1 -1
  610. data/lib/akeyless/models/gateway_create_producer_venafi_output.rb +1 -1
  611. data/lib/akeyless/models/gateway_delete_allowed_access.rb +1 -1
  612. data/lib/akeyless/models/gateway_delete_allowed_access_output.rb +1 -1
  613. data/lib/akeyless/models/gateway_delete_k8_s_auth_config.rb +1 -1
  614. data/lib/akeyless/models/gateway_delete_k8_s_auth_config_output.rb +1 -1
  615. data/lib/akeyless/models/gateway_delete_migration.rb +1 -1
  616. data/lib/akeyless/models/gateway_delete_producer.rb +1 -1
  617. data/lib/akeyless/models/gateway_delete_producer_output.rb +1 -1
  618. data/lib/akeyless/models/gateway_download_customer_fragments.rb +1 -1
  619. data/lib/akeyless/models/gateway_download_customer_fragments_output.rb +1 -1
  620. data/lib/akeyless/models/gateway_get_allowed_access.rb +1 -1
  621. data/lib/akeyless/models/gateway_get_cache.rb +238 -0
  622. data/lib/akeyless/models/gateway_get_config.rb +1 -1
  623. data/lib/akeyless/models/gateway_get_defaults.rb +238 -0
  624. data/lib/akeyless/models/gateway_get_defaults_output.rb +250 -0
  625. data/lib/akeyless/models/gateway_get_k8_s_auth_config.rb +1 -1
  626. data/lib/akeyless/models/gateway_get_k8_s_auth_config_output.rb +1 -1
  627. data/lib/akeyless/models/gateway_get_ldap_auth_config.rb +1 -1
  628. data/lib/akeyless/models/gateway_get_ldap_auth_config_output.rb +1 -1
  629. data/lib/akeyless/models/gateway_get_log_forwarding.rb +238 -0
  630. data/lib/akeyless/models/gateway_get_migration.rb +1 -1
  631. data/lib/akeyless/models/gateway_get_producer.rb +1 -1
  632. data/lib/akeyless/models/gateway_get_tmp_users.rb +1 -1
  633. data/lib/akeyless/models/gateway_list_customer_fragments.rb +238 -0
  634. data/lib/akeyless/models/gateway_list_migration.rb +1 -1
  635. data/lib/akeyless/models/gateway_list_producers.rb +1 -1
  636. data/lib/akeyless/models/gateway_list_rotated_secrets.rb +1 -1
  637. data/lib/akeyless/models/gateway_message_queue_info.rb +1 -1
  638. data/lib/akeyless/models/gateway_migrate_personal_items.rb +1 -1
  639. data/lib/akeyless/models/gateway_migrate_personal_items_output.rb +1 -1
  640. data/lib/akeyless/models/gateway_migration_create_output.rb +1 -1
  641. data/lib/akeyless/models/gateway_migration_delete_output.rb +1 -1
  642. data/lib/akeyless/models/gateway_migration_get_output.rb +1 -1
  643. data/lib/akeyless/models/gateway_migration_list_output.rb +1 -1
  644. data/lib/akeyless/models/gateway_migration_sync_output.rb +1 -1
  645. data/lib/akeyless/models/gateway_migration_update_output.rb +1 -1
  646. data/lib/akeyless/models/gateway_partial_update_k8_s_auth_config.rb +2 -12
  647. data/lib/akeyless/models/gateway_partial_update_k8_s_auth_config_output.rb +1 -1
  648. data/lib/akeyless/models/gateway_revoke_tmp_users.rb +1 -1
  649. data/lib/akeyless/models/gateway_start_producer.rb +1 -1
  650. data/lib/akeyless/models/gateway_start_producer_output.rb +1 -1
  651. data/lib/akeyless/models/gateway_status_migration.rb +1 -1
  652. data/lib/akeyless/models/gateway_stop_producer.rb +1 -1
  653. data/lib/akeyless/models/gateway_stop_producer_output.rb +1 -1
  654. data/lib/akeyless/models/gateway_sync_migration.rb +1 -1
  655. data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
  656. data/lib/akeyless/models/gateway_update_cache.rb +294 -0
  657. data/lib/akeyless/models/gateway_update_defaults.rb +296 -0
  658. data/lib/akeyless/models/gateway_update_item.rb +1 -1
  659. data/lib/akeyless/models/gateway_update_item_output.rb +1 -1
  660. data/lib/akeyless/models/gateway_update_k8_s_auth_config.rb +2 -12
  661. data/lib/akeyless/models/gateway_update_k8_s_auth_config_output.rb +1 -1
  662. data/lib/akeyless/models/gateway_update_ldap_auth_config.rb +1 -1
  663. data/lib/akeyless/models/gateway_update_ldap_auth_config_output.rb +1 -1
  664. data/lib/akeyless/models/gateway_update_log_forwarding_aws_s3.rb +346 -0
  665. data/lib/akeyless/models/gateway_update_log_forwarding_azure_analytics.rb +294 -0
  666. data/lib/akeyless/models/gateway_update_log_forwarding_datadog.rb +330 -0
  667. data/lib/akeyless/models/gateway_update_log_forwarding_elasticsearch.rb +376 -0
  668. data/lib/akeyless/models/gateway_update_log_forwarding_google_chronicle.rb +314 -0
  669. data/lib/akeyless/models/gateway_update_log_forwarding_logstash.rb +316 -0
  670. data/lib/akeyless/models/gateway_update_log_forwarding_logz_io.rb +294 -0
  671. data/lib/akeyless/models/gateway_update_log_forwarding_output.rb +214 -0
  672. data/lib/akeyless/models/gateway_update_log_forwarding_splunk.rb +350 -0
  673. data/lib/akeyless/models/gateway_update_log_forwarding_stdout.rb +274 -0
  674. data/lib/akeyless/models/gateway_update_log_forwarding_sumologic.rb +308 -0
  675. data/lib/akeyless/models/gateway_update_log_forwarding_syslog.rb +342 -0
  676. data/lib/akeyless/models/gateway_update_migration.rb +1 -1
  677. data/lib/akeyless/models/gateway_update_output.rb +214 -0
  678. data/lib/akeyless/models/gateway_update_producer_artifactory.rb +1 -1
  679. data/lib/akeyless/models/gateway_update_producer_artifactory_output.rb +1 -1
  680. data/lib/akeyless/models/gateway_update_producer_aws.rb +1 -1
  681. data/lib/akeyless/models/gateway_update_producer_aws_output.rb +1 -1
  682. data/lib/akeyless/models/gateway_update_producer_azure.rb +1 -1
  683. data/lib/akeyless/models/gateway_update_producer_azure_output.rb +1 -1
  684. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +1 -1
  685. data/lib/akeyless/models/gateway_update_producer_cassandra_output.rb +1 -1
  686. data/lib/akeyless/models/gateway_update_producer_chef.rb +1 -1
  687. data/lib/akeyless/models/gateway_update_producer_chef_output.rb +1 -1
  688. data/lib/akeyless/models/gateway_update_producer_custom.rb +1 -1
  689. data/lib/akeyless/models/gateway_update_producer_custom_output.rb +1 -1
  690. data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +1 -1
  691. data/lib/akeyless/models/gateway_update_producer_dockerhub_output.rb +1 -1
  692. data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
  693. data/lib/akeyless/models/gateway_update_producer_eks_output.rb +1 -1
  694. data/lib/akeyless/models/gateway_update_producer_gcp.rb +1 -1
  695. data/lib/akeyless/models/gateway_update_producer_gcp_output.rb +1 -1
  696. data/lib/akeyless/models/gateway_update_producer_github.rb +1 -1
  697. data/lib/akeyless/models/gateway_update_producer_github_output.rb +1 -1
  698. data/lib/akeyless/models/gateway_update_producer_gke.rb +1 -1
  699. data/lib/akeyless/models/gateway_update_producer_gke_output.rb +1 -1
  700. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
  701. data/lib/akeyless/models/gateway_update_producer_hana_db_output.rb +1 -1
  702. data/lib/akeyless/models/gateway_update_producer_ldap.rb +75 -2
  703. data/lib/akeyless/models/gateway_update_producer_ldap_output.rb +1 -1
  704. data/lib/akeyless/models/gateway_update_producer_mongo.rb +1 -1
  705. data/lib/akeyless/models/gateway_update_producer_mongo_output.rb +1 -1
  706. data/lib/akeyless/models/gateway_update_producer_mssql.rb +1 -1
  707. data/lib/akeyless/models/gateway_update_producer_mssql_output.rb +1 -1
  708. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +1 -1
  709. data/lib/akeyless/models/gateway_update_producer_my_sql_output.rb +1 -1
  710. data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +1 -1
  711. data/lib/akeyless/models/gateway_update_producer_native_k8_s_output.rb +1 -1
  712. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +1 -1
  713. data/lib/akeyless/models/gateway_update_producer_oracle_db_output.rb +1 -1
  714. data/lib/akeyless/models/gateway_update_producer_ping.rb +1 -1
  715. data/lib/akeyless/models/gateway_update_producer_ping_output.rb +1 -1
  716. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +1 -1
  717. data/lib/akeyless/models/gateway_update_producer_postgre_sql_output.rb +1 -1
  718. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +1 -1
  719. data/lib/akeyless/models/gateway_update_producer_rabbit_mq_output.rb +1 -1
  720. data/lib/akeyless/models/gateway_update_producer_rdp.rb +1 -1
  721. data/lib/akeyless/models/gateway_update_producer_rdp_output.rb +1 -1
  722. data/lib/akeyless/models/gateway_update_producer_redis.rb +1 -1
  723. data/lib/akeyless/models/gateway_update_producer_redis_output.rb +1 -1
  724. data/lib/akeyless/models/gateway_update_producer_redshift.rb +1 -1
  725. data/lib/akeyless/models/gateway_update_producer_redshift_output.rb +1 -1
  726. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +1 -1
  727. data/lib/akeyless/models/gateway_update_producer_snowflake_output.rb +1 -1
  728. data/lib/akeyless/models/gateway_update_producer_venafi.rb +1 -1
  729. data/lib/akeyless/models/gateway_update_producer_venafi_output.rb +1 -1
  730. data/lib/akeyless/models/gateway_update_tls_cert.rb +1 -1
  731. data/lib/akeyless/models/gateway_update_tls_cert_output.rb +1 -1
  732. data/lib/akeyless/models/gateway_update_tmp_users.rb +1 -1
  733. data/lib/akeyless/models/gateways_list_response.rb +1 -1
  734. data/lib/akeyless/models/gcp_access_rules.rb +1 -1
  735. data/lib/akeyless/models/gcp_payload.rb +1 -1
  736. data/lib/akeyless/models/gcp_secrets_migration.rb +1 -1
  737. data/lib/akeyless/models/gcp_target_details.rb +1 -1
  738. data/lib/akeyless/models/gen_customer_fragment.rb +1 -1
  739. data/lib/akeyless/models/general_config_part.rb +1 -1
  740. data/lib/akeyless/models/generate_csr.rb +14 -2
  741. data/lib/akeyless/models/generate_csr_output.rb +1 -1
  742. data/lib/akeyless/models/get_account_settings.rb +1 -1
  743. data/lib/akeyless/models/get_account_settings_command_output.rb +1 -1
  744. data/lib/akeyless/models/get_analytics_data.rb +1 -1
  745. data/lib/akeyless/models/get_auth_method.rb +2 -1
  746. data/lib/akeyless/models/get_certificate_value.rb +1 -1
  747. data/lib/akeyless/models/get_certificate_value_output.rb +1 -1
  748. data/lib/akeyless/models/get_dynamic_secret_value.rb +1 -1
  749. data/lib/akeyless/models/get_event_forwarder.rb +1 -1
  750. data/lib/akeyless/models/get_event_forwarder_output.rb +1 -1
  751. data/lib/akeyless/models/get_group.rb +1 -1
  752. data/lib/akeyless/models/get_group_output.rb +1 -1
  753. data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
  754. data/lib/akeyless/models/get_kube_exec_creds_output.rb +1 -1
  755. data/lib/akeyless/models/get_last_user_event_status.rb +1 -1
  756. data/lib/akeyless/models/get_pki_certificate.rb +1 -1
  757. data/lib/akeyless/models/get_pki_certificate_output.rb +11 -2
  758. data/lib/akeyless/models/get_producers_list_reply_obj.rb +1 -1
  759. data/lib/akeyless/models/get_role.rb +1 -1
  760. data/lib/akeyless/models/get_rotated_secret_value.rb +1 -1
  761. data/lib/akeyless/models/get_rsa_public.rb +1 -1
  762. data/lib/akeyless/models/get_rsa_public_output.rb +1 -1
  763. data/lib/akeyless/models/get_secret_value.rb +1 -1
  764. data/lib/akeyless/models/get_ssh_certificate.rb +1 -1
  765. data/lib/akeyless/models/get_ssh_certificate_output.rb +1 -1
  766. data/lib/akeyless/models/get_tags.rb +1 -1
  767. data/lib/akeyless/models/get_target.rb +2 -1
  768. data/lib/akeyless/models/get_target_details.rb +2 -1
  769. data/lib/akeyless/models/get_target_details_output.rb +1 -1
  770. data/lib/akeyless/models/get_user_event_status_output.rb +1 -1
  771. data/lib/akeyless/models/github_target_details.rb +1 -1
  772. data/lib/akeyless/models/gitlab_target_details.rb +233 -0
  773. data/lib/akeyless/models/gke_target_details.rb +1 -1
  774. data/lib/akeyless/models/global_sign_atlas_target_details.rb +1 -1
  775. data/lib/akeyless/models/global_sign_gcc_target_details.rb +1 -1
  776. data/lib/akeyless/models/godaddy_target_details.rb +1 -1
  777. data/lib/akeyless/models/google_chronicle_forwarding_config.rb +1 -1
  778. data/lib/akeyless/models/group.rb +1 -1
  779. data/lib/akeyless/models/gw_cluster_identity.rb +1 -1
  780. data/lib/akeyless/models/hashi_migration.rb +1 -1
  781. data/lib/akeyless/models/hashi_payload.rb +1 -1
  782. data/lib/akeyless/models/hashi_vault_target_details.rb +233 -0
  783. data/lib/akeyless/models/hmac.rb +1 -1
  784. data/lib/akeyless/models/hmac_output.rb +1 -1
  785. data/lib/akeyless/models/huawei_access_rules.rb +1 -1
  786. data/lib/akeyless/models/import_passwords.rb +1 -1
  787. data/lib/akeyless/models/import_passwords_output.rb +1 -1
  788. data/lib/akeyless/models/importer_info.rb +1 -1
  789. data/lib/akeyless/models/item.rb +1 -1
  790. data/lib/akeyless/models/item_general_info.rb +1 -1
  791. data/lib/akeyless/models/item_sra_status.rb +24 -2
  792. data/lib/akeyless/models/item_target_association.rb +1 -1
  793. data/lib/akeyless/models/item_version.rb +1 -1
  794. data/lib/akeyless/models/json_error.rb +1 -1
  795. data/lib/akeyless/models/k8_s_auth.rb +2 -11
  796. data/lib/akeyless/models/k8_s_auths_config_last_change.rb +1 -1
  797. data/lib/akeyless/models/k8_s_auths_config_part.rb +1 -1
  798. data/lib/akeyless/models/k8_s_migration.rb +1 -1
  799. data/lib/akeyless/models/k8_s_payload.rb +1 -1
  800. data/lib/akeyless/models/kmip_client.rb +1 -1
  801. data/lib/akeyless/models/kmip_client_delete_rule.rb +1 -1
  802. data/lib/akeyless/models/kmip_client_get_response.rb +1 -1
  803. data/lib/akeyless/models/kmip_client_list_response.rb +1 -1
  804. data/lib/akeyless/models/kmip_client_set_rule.rb +1 -1
  805. data/lib/akeyless/models/kmip_client_update_response.rb +1 -1
  806. data/lib/akeyless/models/kmip_config_part.rb +1 -1
  807. data/lib/akeyless/models/kmip_create_client.rb +1 -1
  808. data/lib/akeyless/models/kmip_create_client_output.rb +1 -1
  809. data/lib/akeyless/models/kmip_delete_client.rb +1 -1
  810. data/lib/akeyless/models/kmip_delete_server.rb +1 -1
  811. data/lib/akeyless/models/kmip_describe_client.rb +1 -1
  812. data/lib/akeyless/models/kmip_describe_server.rb +1 -1
  813. data/lib/akeyless/models/kmip_describe_server_output.rb +1 -1
  814. data/lib/akeyless/models/kmip_environment_create_response.rb +1 -1
  815. data/lib/akeyless/models/kmip_list_clients.rb +1 -1
  816. data/lib/akeyless/models/kmip_move_server.rb +1 -1
  817. data/lib/akeyless/models/kmip_move_server_output.rb +1 -1
  818. data/lib/akeyless/models/kmip_renew_client_certificate.rb +1 -1
  819. data/lib/akeyless/models/kmip_renew_client_certificate_output.rb +1 -1
  820. data/lib/akeyless/models/kmip_renew_server_certificate.rb +1 -1
  821. data/lib/akeyless/models/kmip_renew_server_certificate_output.rb +1 -1
  822. data/lib/akeyless/models/kmip_server.rb +1 -1
  823. data/lib/akeyless/models/kmip_server_setup.rb +1 -1
  824. data/lib/akeyless/models/kmip_set_server_state.rb +1 -1
  825. data/lib/akeyless/models/kmip_set_server_state_output.rb +1 -1
  826. data/lib/akeyless/models/kubernetes_access_rules.rb +1 -1
  827. data/lib/akeyless/models/last_config_change.rb +1 -1
  828. data/lib/akeyless/models/last_status_info.rb +1 -1
  829. data/lib/akeyless/models/ldap_access_rules.rb +1 -1
  830. data/lib/akeyless/models/ldap_config_part.rb +1 -1
  831. data/lib/akeyless/models/ldap_target_details.rb +1 -1
  832. data/lib/akeyless/models/leadership_config_part.rb +1 -1
  833. data/lib/akeyless/models/linked_details.rb +1 -1
  834. data/lib/akeyless/models/linked_target_details.rb +1 -1
  835. data/lib/akeyless/models/list_auth_methods.rb +2 -2
  836. data/lib/akeyless/models/list_auth_methods_output.rb +1 -1
  837. data/lib/akeyless/models/list_gateways.rb +1 -1
  838. data/lib/akeyless/models/list_groups.rb +1 -1
  839. data/lib/akeyless/models/list_groups_output.rb +1 -1
  840. data/lib/akeyless/models/list_items.rb +1 -1
  841. data/lib/akeyless/models/list_items_in_path_output.rb +1 -1
  842. data/lib/akeyless/models/list_items_output.rb +1 -1
  843. data/lib/akeyless/models/list_roles.rb +1 -1
  844. data/lib/akeyless/models/list_roles_output.rb +1 -1
  845. data/lib/akeyless/models/list_shared_items.rb +1 -1
  846. data/lib/akeyless/models/list_sra_bastions.rb +1 -1
  847. data/lib/akeyless/models/list_targets.rb +2 -1
  848. data/lib/akeyless/models/list_targets_output.rb +1 -1
  849. data/lib/akeyless/models/log_forwarding_config_part.rb +1 -1
  850. data/lib/akeyless/models/logstash_log_forwarding_config.rb +1 -1
  851. data/lib/akeyless/models/logz_io_log_forwarding_config.rb +1 -1
  852. data/lib/akeyless/models/migration_general.rb +1 -1
  853. data/lib/akeyless/models/migration_items.rb +1 -1
  854. data/lib/akeyless/models/migration_status.rb +1 -1
  855. data/lib/akeyless/models/migration_status_reply_obj.rb +1 -1
  856. data/lib/akeyless/models/migrations_config_last_change.rb +1 -1
  857. data/lib/akeyless/models/migrations_config_part.rb +1 -1
  858. data/lib/akeyless/models/mock_migration.rb +1 -1
  859. data/lib/akeyless/models/mock_payload.rb +1 -1
  860. data/lib/akeyless/models/mongo_db_target_details.rb +1 -1
  861. data/lib/akeyless/models/move_objects.rb +1 -1
  862. data/lib/akeyless/models/name.rb +1 -1
  863. data/lib/akeyless/models/native_k8s_target_details.rb +1 -1
  864. data/lib/akeyless/models/noti_forwarder.rb +1 -1
  865. data/lib/akeyless/models/o_auth2_access_rules.rb +1 -1
  866. data/lib/akeyless/models/o_auth2_custom_claim.rb +1 -1
  867. data/lib/akeyless/models/object_version_settings_output.rb +1 -1
  868. data/lib/akeyless/models/oci_access_rules.rb +1 -1
  869. data/lib/akeyless/models/oidc_access_rules.rb +1 -1
  870. data/lib/akeyless/models/oidc_client_info.rb +1 -1
  871. data/lib/akeyless/models/oidc_custom_claim.rb +1 -1
  872. data/lib/akeyless/models/one_password_migration.rb +1 -1
  873. data/lib/akeyless/models/one_password_payload.rb +1 -1
  874. data/lib/akeyless/models/password_policy_info.rb +1 -1
  875. data/lib/akeyless/models/path_rule.rb +1 -1
  876. data/lib/akeyless/models/ping_target_details.rb +1 -1
  877. data/lib/akeyless/models/pki_certificate_issue_details.rb +1 -1
  878. data/lib/akeyless/models/producer.rb +1 -1
  879. data/lib/akeyless/models/producers_config_part.rb +1 -1
  880. data/lib/akeyless/models/provision_certificate.rb +1 -1
  881. data/lib/akeyless/models/provision_certificate_output.rb +1 -1
  882. data/lib/akeyless/models/rabbit_mq_target_details.rb +1 -1
  883. data/lib/akeyless/models/raw_creds.rb +1 -1
  884. data/lib/akeyless/models/refresh_key.rb +1 -1
  885. data/lib/akeyless/models/refresh_key_output.rb +1 -1
  886. data/lib/akeyless/models/regexp_tokenizer_info.rb +1 -1
  887. data/lib/akeyless/models/renew_certificate.rb +1 -1
  888. data/lib/akeyless/models/renew_certificate_output.rb +1 -1
  889. data/lib/akeyless/models/request_access.rb +1 -1
  890. data/lib/akeyless/models/request_access_output.rb +1 -1
  891. data/lib/akeyless/models/required_activity.rb +1 -1
  892. data/lib/akeyless/models/reverse_rbac.rb +1 -1
  893. data/lib/akeyless/models/reverse_rbac_client.rb +1 -1
  894. data/lib/akeyless/models/reverse_rbac_output.rb +1 -1
  895. data/lib/akeyless/models/revoke_certificate.rb +1 -1
  896. data/lib/akeyless/models/revoke_creds.rb +1 -1
  897. data/lib/akeyless/models/role.rb +1 -1
  898. data/lib/akeyless/models/role_association_details.rb +1 -1
  899. data/lib/akeyless/models/role_auth_method_association.rb +1 -1
  900. data/lib/akeyless/models/rollback_secret.rb +1 -1
  901. data/lib/akeyless/models/rollback_secret_output.rb +1 -1
  902. data/lib/akeyless/models/rotate_key.rb +1 -1
  903. data/lib/akeyless/models/rotate_key_output.rb +1 -1
  904. data/lib/akeyless/models/rotate_oidc_client_output.rb +1 -1
  905. data/lib/akeyless/models/rotate_oidc_client_secret.rb +1 -1
  906. data/lib/akeyless/models/rotate_secret.rb +1 -1
  907. data/lib/akeyless/models/rotated_secret_create_aws.rb +1 -1
  908. data/lib/akeyless/models/rotated_secret_create_azure.rb +1 -1
  909. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
  910. data/lib/akeyless/models/rotated_secret_create_custom.rb +1 -1
  911. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
  912. data/lib/akeyless/models/rotated_secret_create_gcp.rb +1 -1
  913. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
  914. data/lib/akeyless/models/rotated_secret_create_ldap.rb +3 -5
  915. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
  916. data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
  917. data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
  918. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
  919. data/lib/akeyless/models/rotated_secret_create_output.rb +1 -1
  920. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
  921. data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
  922. data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
  923. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
  924. data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
  925. data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
  926. data/lib/akeyless/models/rotated_secret_details_info.rb +1 -1
  927. data/lib/akeyless/models/rotated_secret_get_value.rb +1 -1
  928. data/lib/akeyless/models/rotated_secret_list.rb +1 -1
  929. data/lib/akeyless/models/rotated_secret_output.rb +1 -1
  930. data/lib/akeyless/models/rotated_secret_update_aws.rb +1 -1
  931. data/lib/akeyless/models/rotated_secret_update_azure.rb +1 -1
  932. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +1 -1
  933. data/lib/akeyless/models/rotated_secret_update_custom.rb +1 -1
  934. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +1 -1
  935. data/lib/akeyless/models/rotated_secret_update_gcp.rb +1 -1
  936. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +1 -1
  937. data/lib/akeyless/models/rotated_secret_update_ldap.rb +3 -5
  938. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +1 -1
  939. data/lib/akeyless/models/rotated_secret_update_mssql.rb +1 -1
  940. data/lib/akeyless/models/rotated_secret_update_mysql.rb +1 -1
  941. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +1 -1
  942. data/lib/akeyless/models/rotated_secret_update_output.rb +1 -1
  943. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +1 -1
  944. data/lib/akeyless/models/rotated_secret_update_redis.rb +1 -1
  945. data/lib/akeyless/models/rotated_secret_update_redshift.rb +1 -1
  946. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +1 -1
  947. data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
  948. data/lib/akeyless/models/rotated_secret_update_windows.rb +1 -1
  949. data/lib/akeyless/models/rotation_secret_max_interval.rb +1 -1
  950. data/lib/akeyless/models/rotator.rb +1 -1
  951. data/lib/akeyless/models/rotators_config_part.rb +1 -1
  952. data/lib/akeyless/models/rule_assigner.rb +1 -1
  953. data/lib/akeyless/models/rules.rb +1 -1
  954. data/lib/akeyless/models/salesforce_target_details.rb +1 -1
  955. data/lib/akeyless/models/saml_access_rules.rb +1 -1
  956. data/lib/akeyless/models/saml_attribute.rb +1 -1
  957. data/lib/akeyless/models/secret_info.rb +14 -5
  958. data/lib/akeyless/models/secure_remote_access.rb +20 -2
  959. data/lib/akeyless/models/server_inventory_migration.rb +1 -1
  960. data/lib/akeyless/models/server_inventory_payload.rb +1 -1
  961. data/lib/akeyless/models/set_item_state.rb +1 -1
  962. data/lib/akeyless/models/set_role_rule.rb +1 -1
  963. data/lib/akeyless/models/share_item.rb +1 -1
  964. data/lib/akeyless/models/sharing_policy_info.rb +14 -5
  965. data/lib/akeyless/models/sign_data_with_classic_key.rb +1 -1
  966. data/lib/akeyless/models/sign_ec_dsa.rb +1 -1
  967. data/lib/akeyless/models/sign_ec_dsa_output.rb +1 -1
  968. data/lib/akeyless/models/sign_gpg.rb +1 -1
  969. data/lib/akeyless/models/sign_gpg_output.rb +1 -1
  970. data/lib/akeyless/models/sign_jwt_output.rb +1 -1
  971. data/lib/akeyless/models/sign_jwt_with_classic_key.rb +1 -1
  972. data/lib/akeyless/models/sign_output.rb +1 -1
  973. data/lib/akeyless/models/sign_pkcs1.rb +1 -1
  974. data/lib/akeyless/models/sign_pkcs1_output.rb +1 -1
  975. data/lib/akeyless/models/sign_pki_cert_output.rb +1 -1
  976. data/lib/akeyless/models/sign_pki_cert_with_classic_key.rb +1 -1
  977. data/lib/akeyless/models/sign_rsa_ssa_pss.rb +1 -1
  978. data/lib/akeyless/models/sign_rsa_ssa_pss_output.rb +1 -1
  979. data/lib/akeyless/models/sm_info.rb +1 -1
  980. data/lib/akeyless/models/splunk_log_forwarding_config.rb +1 -1
  981. data/lib/akeyless/models/sra_info.rb +1 -1
  982. data/lib/akeyless/models/ssh_certificate_issue_details.rb +1 -1
  983. data/lib/akeyless/models/ssh_target_details.rb +1 -1
  984. data/lib/akeyless/models/static_creds_auth.rb +1 -1
  985. data/lib/akeyless/models/static_creds_auth_output.rb +1 -1
  986. data/lib/akeyless/models/static_secret_details_info.rb +1 -1
  987. data/lib/akeyless/models/sumologic_log_forwarding_config.rb +1 -1
  988. data/lib/akeyless/models/syslog_log_forwarding_config.rb +1 -1
  989. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +1 -1
  990. data/lib/akeyless/models/system_access_creds_settings.rb +1 -1
  991. data/lib/akeyless/models/target.rb +1 -1
  992. data/lib/akeyless/models/target_create_artifactory.rb +335 -0
  993. data/lib/akeyless/models/target_create_aws.rb +350 -0
  994. data/lib/akeyless/models/target_create_azure.rb +350 -0
  995. data/lib/akeyless/models/target_create_db.rb +570 -0
  996. data/lib/akeyless/models/target_create_dockerhub.rb +304 -0
  997. data/lib/akeyless/models/target_create_eks.rb +390 -0
  998. data/lib/akeyless/models/target_create_gcp.rb +303 -0
  999. data/lib/akeyless/models/target_create_github.rb +316 -0
  1000. data/lib/akeyless/models/target_create_gitlab.rb +316 -0
  1001. data/lib/akeyless/models/target_create_gke.rb +343 -0
  1002. data/lib/akeyless/models/target_create_global_sign.rb +415 -0
  1003. data/lib/akeyless/models/target_create_global_sign_atlas.rb +350 -0
  1004. data/lib/akeyless/models/target_create_godaddy.rb +393 -0
  1005. data/lib/akeyless/models/target_create_hashi_vault.rb +316 -0
  1006. data/lib/akeyless/models/target_create_k8s.rb +388 -0
  1007. data/lib/akeyless/models/target_create_ldap.rb +368 -0
  1008. data/lib/akeyless/models/target_create_linked.rb +294 -0
  1009. data/lib/akeyless/models/target_create_output.rb +214 -0
  1010. data/lib/akeyless/models/target_create_ping.rb +339 -0
  1011. data/lib/akeyless/models/target_create_rabbit_mq.rb +312 -0
  1012. data/lib/akeyless/models/target_create_salesforce.rb +413 -0
  1013. data/lib/akeyless/models/target_create_ssh.rb +347 -0
  1014. data/lib/akeyless/models/target_create_web.rb +295 -0
  1015. data/lib/akeyless/models/target_create_windows.rb +380 -0
  1016. data/lib/akeyless/models/target_create_zero_ssl.rb +387 -0
  1017. data/lib/akeyless/models/target_delete.rb +277 -0
  1018. data/lib/akeyless/models/target_get.rb +266 -0
  1019. data/lib/akeyless/models/target_get_details.rb +276 -0
  1020. data/lib/akeyless/models/target_item_association.rb +1 -1
  1021. data/lib/akeyless/models/target_item_version.rb +1 -1
  1022. data/lib/akeyless/models/target_list.rb +270 -0
  1023. data/lib/akeyless/models/target_name_with_hosts.rb +1 -1
  1024. data/lib/akeyless/models/target_type_details_input.rb +20 -2
  1025. data/lib/akeyless/models/target_update_artifactory.rb +355 -0
  1026. data/lib/akeyless/models/target_update_aws.rb +370 -0
  1027. data/lib/akeyless/models/target_update_azure.rb +370 -0
  1028. data/lib/akeyless/models/target_update_db.rb +590 -0
  1029. data/lib/akeyless/models/target_update_dockerhub.rb +324 -0
  1030. data/lib/akeyless/models/target_update_eks.rb +410 -0
  1031. data/lib/akeyless/models/target_update_gcp.rb +323 -0
  1032. data/lib/akeyless/models/target_update_github.rb +336 -0
  1033. data/lib/akeyless/models/target_update_gitlab.rb +336 -0
  1034. data/lib/akeyless/models/target_update_gke.rb +363 -0
  1035. data/lib/akeyless/models/target_update_global_sign.rb +435 -0
  1036. data/lib/akeyless/models/target_update_global_sign_atlas.rb +370 -0
  1037. data/lib/akeyless/models/target_update_godaddy.rb +413 -0
  1038. data/lib/akeyless/models/target_update_hashi_vault.rb +336 -0
  1039. data/lib/akeyless/models/target_update_k8s.rb +408 -0
  1040. data/lib/akeyless/models/target_update_ldap.rb +386 -0
  1041. data/lib/akeyless/models/target_update_linked.rb +334 -0
  1042. data/lib/akeyless/models/target_update_output.rb +214 -0
  1043. data/lib/akeyless/models/target_update_ping.rb +359 -0
  1044. data/lib/akeyless/models/target_update_rabbit_mq.rb +332 -0
  1045. data/lib/akeyless/models/target_update_salesforce.rb +433 -0
  1046. data/lib/akeyless/models/target_update_ssh.rb +367 -0
  1047. data/lib/akeyless/models/target_update_web.rb +315 -0
  1048. data/lib/akeyless/models/target_update_windows.rb +400 -0
  1049. data/lib/akeyless/models/target_update_zero_ssl.rb +407 -0
  1050. data/lib/akeyless/models/tmp_user_data.rb +1 -1
  1051. data/lib/akeyless/models/tokenize.rb +1 -1
  1052. data/lib/akeyless/models/tokenize_output.rb +1 -1
  1053. data/lib/akeyless/models/tokenizer_info.rb +1 -1
  1054. data/lib/akeyless/models/uid_create_child_token.rb +1 -1
  1055. data/lib/akeyless/models/uid_create_child_token_output.rb +1 -1
  1056. data/lib/akeyless/models/uid_generate_token.rb +1 -1
  1057. data/lib/akeyless/models/uid_generate_token_output.rb +1 -1
  1058. data/lib/akeyless/models/uid_list_children.rb +1 -1
  1059. data/lib/akeyless/models/uid_revoke_token.rb +1 -1
  1060. data/lib/akeyless/models/uid_rotate_token.rb +1 -1
  1061. data/lib/akeyless/models/uid_rotate_token_output.rb +1 -1
  1062. data/lib/akeyless/models/uid_token_details.rb +1 -1
  1063. data/lib/akeyless/models/unconfigure.rb +1 -1
  1064. data/lib/akeyless/models/universal_identity_access_rules.rb +1 -1
  1065. data/lib/akeyless/models/universal_identity_details.rb +1 -1
  1066. data/lib/akeyless/models/update.rb +1 -1
  1067. data/lib/akeyless/models/update_account_settings.rb +56 -2
  1068. data/lib/akeyless/models/update_account_settings_output.rb +1 -1
  1069. data/lib/akeyless/models/update_artifactory_target.rb +2 -1
  1070. data/lib/akeyless/models/update_artifactory_target_output.rb +1 -1
  1071. data/lib/akeyless/models/update_assoc.rb +1 -1
  1072. data/lib/akeyless/models/update_auth_method.rb +15 -2
  1073. data/lib/akeyless/models/update_auth_method_awsiam.rb +15 -3
  1074. data/lib/akeyless/models/update_auth_method_azure_ad.rb +15 -3
  1075. data/lib/akeyless/models/update_auth_method_cert.rb +15 -3
  1076. data/lib/akeyless/models/update_auth_method_cert_output.rb +1 -1
  1077. data/lib/akeyless/models/update_auth_method_gcp.rb +15 -3
  1078. data/lib/akeyless/models/update_auth_method_k8_s.rb +15 -3
  1079. data/lib/akeyless/models/update_auth_method_k8_s_output.rb +1 -1
  1080. data/lib/akeyless/models/update_auth_method_ldap.rb +15 -3
  1081. data/lib/akeyless/models/update_auth_method_ldap_output.rb +1 -1
  1082. data/lib/akeyless/models/update_auth_method_o_auth2.rb +15 -3
  1083. data/lib/akeyless/models/update_auth_method_oci.rb +15 -3
  1084. data/lib/akeyless/models/update_auth_method_oci_output.rb +1 -1
  1085. data/lib/akeyless/models/update_auth_method_oidc.rb +15 -3
  1086. data/lib/akeyless/models/update_auth_method_output.rb +1 -1
  1087. data/lib/akeyless/models/update_auth_method_saml.rb +15 -3
  1088. data/lib/akeyless/models/update_auth_method_universal_identity.rb +15 -3
  1089. data/lib/akeyless/models/update_aws_target.rb +2 -1
  1090. data/lib/akeyless/models/update_aws_target_details.rb +1 -1
  1091. data/lib/akeyless/models/update_azure_target.rb +2 -1
  1092. data/lib/akeyless/models/update_azure_target_output.rb +1 -1
  1093. data/lib/akeyless/models/update_certificate_output.rb +1 -1
  1094. data/lib/akeyless/models/update_certificate_value.rb +1 -1
  1095. data/lib/akeyless/models/update_classic_key_certificate.rb +1 -1
  1096. data/lib/akeyless/models/update_db_target.rb +2 -1
  1097. data/lib/akeyless/models/update_db_target_details.rb +1 -1
  1098. data/lib/akeyless/models/update_db_target_output.rb +1 -1
  1099. data/lib/akeyless/models/update_dockerhub_target.rb +4 -1
  1100. data/lib/akeyless/models/update_dockerhub_target_output.rb +1 -1
  1101. data/lib/akeyless/models/update_eks_target.rb +2 -1
  1102. data/lib/akeyless/models/update_eks_target_output.rb +1 -1
  1103. data/lib/akeyless/models/update_event_forwarder.rb +1 -1
  1104. data/lib/akeyless/models/update_gcp_target.rb +2 -1
  1105. data/lib/akeyless/models/update_gcp_target_output.rb +1 -1
  1106. data/lib/akeyless/models/update_github_target.rb +2 -1
  1107. data/lib/akeyless/models/update_github_target_output.rb +1 -1
  1108. data/lib/akeyless/models/update_gitlab_target.rb +357 -0
  1109. data/lib/akeyless/models/update_gitlab_target_output.rb +214 -0
  1110. data/lib/akeyless/models/update_gke_target.rb +2 -1
  1111. data/lib/akeyless/models/update_gke_target_output.rb +1 -1
  1112. data/lib/akeyless/models/update_global_sign_atlas_target.rb +2 -1
  1113. data/lib/akeyless/models/update_global_sign_atlas_target_output.rb +1 -1
  1114. data/lib/akeyless/models/update_global_sign_target.rb +2 -1
  1115. data/lib/akeyless/models/update_global_sign_target_output.rb +1 -1
  1116. data/lib/akeyless/models/update_godaddy_target.rb +2 -1
  1117. data/lib/akeyless/models/update_godaddy_target_output.rb +1 -1
  1118. data/lib/akeyless/models/update_group.rb +1 -1
  1119. data/lib/akeyless/models/update_group_output.rb +1 -1
  1120. data/lib/akeyless/models/update_hashi_vault_target.rb +347 -0
  1121. data/lib/akeyless/models/update_hashi_vault_target_output.rb +214 -0
  1122. data/lib/akeyless/models/update_item.rb +2 -4
  1123. data/lib/akeyless/models/update_item_output.rb +1 -1
  1124. data/lib/akeyless/models/update_ldap_target.rb +28 -1
  1125. data/lib/akeyless/models/update_ldap_target_details.rb +1 -1
  1126. data/lib/akeyless/models/update_ldap_target_output.rb +1 -1
  1127. data/lib/akeyless/models/update_linked_target.rb +2 -1
  1128. data/lib/akeyless/models/update_native_k8_s_target.rb +2 -1
  1129. data/lib/akeyless/models/update_native_k8_s_target_output.rb +1 -1
  1130. data/lib/akeyless/models/update_oidc_app.rb +1 -1
  1131. data/lib/akeyless/models/update_output.rb +1 -1
  1132. data/lib/akeyless/models/update_ping_target.rb +2 -1
  1133. data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
  1134. data/lib/akeyless/models/update_pki_cert_issuer_output.rb +1 -1
  1135. data/lib/akeyless/models/update_rabbit_mq_target.rb +2 -1
  1136. data/lib/akeyless/models/update_rabbit_mq_target_details.rb +1 -1
  1137. data/lib/akeyless/models/update_rabbit_mq_target_output.rb +1 -1
  1138. data/lib/akeyless/models/update_rdp_target_details.rb +1 -1
  1139. data/lib/akeyless/models/update_role.rb +1 -1
  1140. data/lib/akeyless/models/update_role_output.rb +1 -1
  1141. data/lib/akeyless/models/update_rotated_secret.rb +13 -5
  1142. data/lib/akeyless/models/update_rotated_secret_output.rb +1 -1
  1143. data/lib/akeyless/models/update_rotation_settings.rb +1 -1
  1144. data/lib/akeyless/models/update_salesforce_target.rb +2 -1
  1145. data/lib/akeyless/models/update_salesforce_target_output.rb +1 -1
  1146. data/lib/akeyless/models/update_secret_val.rb +1 -1
  1147. data/lib/akeyless/models/update_secret_val_output.rb +1 -1
  1148. data/lib/akeyless/models/update_ssh_cert_issuer.rb +2 -4
  1149. data/lib/akeyless/models/update_ssh_cert_issuer_output.rb +1 -1
  1150. data/lib/akeyless/models/update_ssh_target.rb +2 -1
  1151. data/lib/akeyless/models/update_ssh_target_details.rb +1 -1
  1152. data/lib/akeyless/models/update_ssh_target_output.rb +1 -1
  1153. data/lib/akeyless/models/update_target.rb +1 -1
  1154. data/lib/akeyless/models/update_target_details.rb +2 -1
  1155. data/lib/akeyless/models/update_target_details_output.rb +1 -1
  1156. data/lib/akeyless/models/update_target_output.rb +1 -1
  1157. data/lib/akeyless/models/update_web_target.rb +2 -1
  1158. data/lib/akeyless/models/update_web_target_details.rb +1 -1
  1159. data/lib/akeyless/models/update_web_target_output.rb +1 -1
  1160. data/lib/akeyless/models/update_windows_target.rb +2 -1
  1161. data/lib/akeyless/models/update_zero_ssl_target.rb +2 -1
  1162. data/lib/akeyless/models/update_zero_ssl_target_output.rb +1 -1
  1163. data/lib/akeyless/models/upload_pkcs12.rb +1 -1
  1164. data/lib/akeyless/models/upload_rsa.rb +1 -1
  1165. data/lib/akeyless/models/usage_event_setting.rb +1 -1
  1166. data/lib/akeyless/models/usage_report_summary.rb +1 -1
  1167. data/lib/akeyless/models/usc_create.rb +12 -2
  1168. data/lib/akeyless/models/usc_create_secret_output.rb +1 -1
  1169. data/lib/akeyless/models/usc_delete.rb +13 -3
  1170. data/lib/akeyless/models/usc_delete_secret_output.rb +1 -1
  1171. data/lib/akeyless/models/usc_get.rb +26 -6
  1172. data/lib/akeyless/models/usc_get_secret_output.rb +1 -1
  1173. data/lib/akeyless/models/usc_list.rb +1 -1
  1174. data/lib/akeyless/models/usc_list_secrets_output.rb +1 -1
  1175. data/lib/akeyless/models/usc_update.rb +13 -3
  1176. data/lib/akeyless/models/usc_update_secret_output.rb +1 -1
  1177. data/lib/akeyless/models/validate_token.rb +1 -1
  1178. data/lib/akeyless/models/validate_token_output.rb +1 -1
  1179. data/lib/akeyless/models/vaultless_tokenizer_info.rb +1 -1
  1180. data/lib/akeyless/models/venafi_target_details.rb +1 -1
  1181. data/lib/akeyless/models/verify_data_with_classic_key.rb +1 -1
  1182. data/lib/akeyless/models/verify_ec_dsa.rb +1 -1
  1183. data/lib/akeyless/models/verify_gpg.rb +1 -1
  1184. data/lib/akeyless/models/verify_jwt_output.rb +1 -1
  1185. data/lib/akeyless/models/verify_jwt_with_classic_key.rb +1 -1
  1186. data/lib/akeyless/models/verify_pkcs1.rb +1 -1
  1187. data/lib/akeyless/models/verify_pki_cert_output.rb +1 -1
  1188. data/lib/akeyless/models/verify_pki_cert_with_classic_key.rb +1 -1
  1189. data/lib/akeyless/models/verify_rsa_ssa_pss.rb +1 -1
  1190. data/lib/akeyless/models/web_hook_noti_forwarder_public_details.rb +1 -1
  1191. data/lib/akeyless/models/web_target_details.rb +1 -1
  1192. data/lib/akeyless/models/windows_service.rb +1 -1
  1193. data/lib/akeyless/models/windows_service_attributes.rb +1 -1
  1194. data/lib/akeyless/models/windows_target_details.rb +1 -1
  1195. data/lib/akeyless/models/zero_ssl_target_details.rb +1 -1
  1196. data/lib/akeyless/version.rb +2 -2
  1197. data/lib/akeyless.rb +120 -1
  1198. data/spec/models/allowed_ip_settings_spec.rb +42 -0
  1199. data/spec/models/auth_method_create_api_key_spec.rb +102 -0
  1200. data/spec/models/auth_method_create_aws_iam_spec.rb +150 -0
  1201. data/spec/models/auth_method_create_azure_ad_spec.rb +174 -0
  1202. data/spec/models/auth_method_create_cert_spec.rb +162 -0
  1203. data/spec/models/auth_method_create_email_spec.rb +108 -0
  1204. data/spec/models/auth_method_create_gcp_spec.rb +150 -0
  1205. data/spec/models/auth_method_create_k8s_spec.rb +138 -0
  1206. data/spec/models/auth_method_create_ldap_spec.rb +120 -0
  1207. data/spec/models/auth_method_create_oauth2_spec.rb +162 -0
  1208. data/spec/models/auth_method_create_oci_spec.rb +114 -0
  1209. data/spec/models/auth_method_create_oidc_spec.rb +156 -0
  1210. data/spec/models/auth_method_create_output_spec.rb +54 -0
  1211. data/spec/models/auth_method_create_saml_spec.rb +132 -0
  1212. data/spec/models/auth_method_create_universal_identity_spec.rb +120 -0
  1213. data/spec/models/auth_method_delete_output_spec.rb +36 -0
  1214. data/spec/models/auth_method_delete_spec.rb +54 -0
  1215. data/spec/models/auth_method_get_spec.rb +54 -0
  1216. data/spec/models/auth_method_list_spec.rb +66 -0
  1217. data/spec/models/auth_method_update_api_key_spec.rb +108 -0
  1218. data/spec/models/auth_method_update_aws_iam_spec.rb +156 -0
  1219. data/spec/models/auth_method_update_azure_ad_spec.rb +180 -0
  1220. data/spec/models/auth_method_update_cert_spec.rb +168 -0
  1221. data/spec/models/auth_method_update_email_spec.rb +108 -0
  1222. data/spec/models/auth_method_update_gcp_spec.rb +156 -0
  1223. data/spec/models/auth_method_update_k8s_spec.rb +144 -0
  1224. data/spec/models/auth_method_update_ldap_spec.rb +126 -0
  1225. data/spec/models/auth_method_update_oauth2_spec.rb +168 -0
  1226. data/spec/models/auth_method_update_oci_spec.rb +120 -0
  1227. data/spec/models/auth_method_update_oidc_spec.rb +162 -0
  1228. data/spec/models/auth_method_update_output_spec.rb +42 -0
  1229. data/spec/models/auth_method_update_saml_spec.rb +138 -0
  1230. data/spec/models/auth_method_update_universal_identity_spec.rb +126 -0
  1231. data/spec/models/create_gitlab_target_output_spec.rb +36 -0
  1232. data/spec/models/create_gitlab_target_spec.rb +96 -0
  1233. data/spec/models/create_hashi_vault_target_output_spec.rb +36 -0
  1234. data/spec/models/create_hashi_vault_target_spec.rb +90 -0
  1235. data/spec/models/dynamic_secret_create_gitlab_spec.rb +132 -0
  1236. data/spec/models/dynamic_secret_update_gitlab_spec.rb +138 -0
  1237. data/spec/models/gateway_get_cache_spec.rb +48 -0
  1238. data/spec/models/gateway_get_defaults_output_spec.rb +60 -0
  1239. data/spec/models/gateway_get_defaults_spec.rb +48 -0
  1240. data/spec/models/gateway_get_log_forwarding_spec.rb +48 -0
  1241. data/spec/models/gateway_list_customer_fragments_spec.rb +48 -0
  1242. data/spec/models/gateway_update_cache_spec.rb +78 -0
  1243. data/spec/models/gateway_update_defaults_spec.rb +78 -0
  1244. data/spec/models/gateway_update_log_forwarding_aws_s3_spec.rb +108 -0
  1245. data/spec/models/gateway_update_log_forwarding_azure_analytics_spec.rb +78 -0
  1246. data/spec/models/gateway_update_log_forwarding_datadog_spec.rb +96 -0
  1247. data/spec/models/gateway_update_log_forwarding_elasticsearch_spec.rb +126 -0
  1248. data/spec/models/gateway_update_log_forwarding_google_chronicle_spec.rb +90 -0
  1249. data/spec/models/gateway_update_log_forwarding_logstash_spec.rb +90 -0
  1250. data/spec/models/gateway_update_log_forwarding_logz_io_spec.rb +78 -0
  1251. data/spec/models/gateway_update_log_forwarding_output_spec.rb +36 -0
  1252. data/spec/models/gateway_update_log_forwarding_splunk_spec.rb +108 -0
  1253. data/spec/models/gateway_update_log_forwarding_stdout_spec.rb +66 -0
  1254. data/spec/models/gateway_update_log_forwarding_sumologic_spec.rb +84 -0
  1255. data/spec/models/gateway_update_log_forwarding_syslog_spec.rb +102 -0
  1256. data/spec/models/gateway_update_output_spec.rb +36 -0
  1257. data/spec/models/gitlab_target_details_spec.rb +48 -0
  1258. data/spec/models/hashi_vault_target_details_spec.rb +48 -0
  1259. data/spec/models/target_create_artifactory_spec.rb +90 -0
  1260. data/spec/models/target_create_aws_spec.rb +102 -0
  1261. data/spec/models/target_create_azure_spec.rb +114 -0
  1262. data/spec/models/target_create_db_spec.rb +240 -0
  1263. data/spec/models/target_create_dockerhub_spec.rb +84 -0
  1264. data/spec/models/target_create_eks_spec.rb +114 -0
  1265. data/spec/models/target_create_gcp_spec.rb +84 -0
  1266. data/spec/models/target_create_github_spec.rb +90 -0
  1267. data/spec/models/target_create_gitlab_spec.rb +90 -0
  1268. data/spec/models/target_create_gke_spec.rb +108 -0
  1269. data/spec/models/target_create_global_sign_atlas_spec.rb +102 -0
  1270. data/spec/models/target_create_global_sign_spec.rb +120 -0
  1271. data/spec/models/target_create_godaddy_spec.rb +114 -0
  1272. data/spec/models/target_create_hashi_vault_spec.rb +90 -0
  1273. data/spec/models/target_create_k8s_spec.rb +120 -0
  1274. data/spec/models/target_create_ldap_spec.rb +108 -0
  1275. data/spec/models/target_create_linked_spec.rb +78 -0
  1276. data/spec/models/target_create_output_spec.rb +36 -0
  1277. data/spec/models/target_create_ping_spec.rb +102 -0
  1278. data/spec/models/target_create_rabbit_mq_spec.rb +90 -0
  1279. data/spec/models/target_create_salesforce_spec.rb +132 -0
  1280. data/spec/models/target_create_ssh_spec.rb +108 -0
  1281. data/spec/models/target_create_web_spec.rb +78 -0
  1282. data/spec/models/target_create_windows_spec.rb +114 -0
  1283. data/spec/models/target_create_zero_ssl_spec.rb +114 -0
  1284. data/spec/models/target_delete_spec.rb +66 -0
  1285. data/spec/models/target_get_details_spec.rb +66 -0
  1286. data/spec/models/target_get_spec.rb +60 -0
  1287. data/spec/models/target_list_spec.rb +66 -0
  1288. data/spec/models/target_update_artifactory_spec.rb +102 -0
  1289. data/spec/models/target_update_aws_spec.rb +114 -0
  1290. data/spec/models/target_update_azure_spec.rb +126 -0
  1291. data/spec/models/target_update_db_spec.rb +252 -0
  1292. data/spec/models/target_update_dockerhub_spec.rb +96 -0
  1293. data/spec/models/target_update_eks_spec.rb +126 -0
  1294. data/spec/models/target_update_gcp_spec.rb +96 -0
  1295. data/spec/models/target_update_github_spec.rb +102 -0
  1296. data/spec/models/target_update_gitlab_spec.rb +102 -0
  1297. data/spec/models/target_update_gke_spec.rb +120 -0
  1298. data/spec/models/target_update_global_sign_atlas_spec.rb +114 -0
  1299. data/spec/models/target_update_global_sign_spec.rb +132 -0
  1300. data/spec/models/target_update_godaddy_spec.rb +126 -0
  1301. data/spec/models/target_update_hashi_vault_spec.rb +102 -0
  1302. data/spec/models/target_update_k8s_spec.rb +132 -0
  1303. data/spec/models/target_update_ldap_spec.rb +120 -0
  1304. data/spec/models/target_update_linked_spec.rb +102 -0
  1305. data/spec/models/target_update_output_spec.rb +36 -0
  1306. data/spec/models/target_update_ping_spec.rb +114 -0
  1307. data/spec/models/target_update_rabbit_mq_spec.rb +102 -0
  1308. data/spec/models/target_update_salesforce_spec.rb +144 -0
  1309. data/spec/models/target_update_ssh_spec.rb +120 -0
  1310. data/spec/models/target_update_web_spec.rb +90 -0
  1311. data/spec/models/target_update_windows_spec.rb +126 -0
  1312. data/spec/models/target_update_zero_ssl_spec.rb +126 -0
  1313. data/spec/models/update_gitlab_target_output_spec.rb +36 -0
  1314. data/spec/models/update_gitlab_target_spec.rb +114 -0
  1315. data/spec/models/update_hashi_vault_target_output_spec.rb +36 -0
  1316. data/spec/models/update_hashi_vault_target_spec.rb +108 -0
  1317. data/spec/spec_helper.rb +1 -1
  1318. metadata +1331 -855
@@ -0,0 +1,368 @@
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: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ # targetCreateLdap is a command that creates a new ldap target
18
+ class TargetCreateLdap
19
+ # Bind DN
20
+ attr_accessor :bind_dn
21
+
22
+ # Bind DN Password
23
+ attr_accessor :bind_dn_password
24
+
25
+ # Description of the object
26
+ attr_accessor :description
27
+
28
+ # Set output format to JSON
29
+ attr_accessor :json
30
+
31
+ # The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
32
+ attr_accessor :key
33
+
34
+ # CA Certificate File Content
35
+ attr_accessor :ldap_ca_cert
36
+
37
+ # LDAP Server URL
38
+ attr_accessor :ldap_url
39
+
40
+ # Set the maximum number of versions, limited by the account settings defaults.
41
+ attr_accessor :max_versions
42
+
43
+ # Target name
44
+ attr_accessor :name
45
+
46
+ # Set Ldap server type, Options:[OpenLDAP, ActiveDirectory]. Default is OpenLDAP
47
+ attr_accessor :server_type
48
+
49
+ # Authentication token (see `/auth` and `/configure`)
50
+ attr_accessor :token
51
+
52
+ # Token expiration
53
+ attr_accessor :token_expiration
54
+
55
+ # The universal identity token, Required only for universal_identity authentication
56
+ attr_accessor :uid_token
57
+
58
+ # Attribute mapping from ruby-style variable name to JSON key.
59
+ def self.attribute_map
60
+ {
61
+ :'bind_dn' => :'bind-dn',
62
+ :'bind_dn_password' => :'bind-dn-password',
63
+ :'description' => :'description',
64
+ :'json' => :'json',
65
+ :'key' => :'key',
66
+ :'ldap_ca_cert' => :'ldap-ca-cert',
67
+ :'ldap_url' => :'ldap-url',
68
+ :'max_versions' => :'max-versions',
69
+ :'name' => :'name',
70
+ :'server_type' => :'server-type',
71
+ :'token' => :'token',
72
+ :'token_expiration' => :'token-expiration',
73
+ :'uid_token' => :'uid-token'
74
+ }
75
+ end
76
+
77
+ # Returns all the JSON keys this model knows about
78
+ def self.acceptable_attributes
79
+ attribute_map.values
80
+ end
81
+
82
+ # Attribute type mapping.
83
+ def self.openapi_types
84
+ {
85
+ :'bind_dn' => :'String',
86
+ :'bind_dn_password' => :'String',
87
+ :'description' => :'String',
88
+ :'json' => :'Boolean',
89
+ :'key' => :'String',
90
+ :'ldap_ca_cert' => :'String',
91
+ :'ldap_url' => :'String',
92
+ :'max_versions' => :'String',
93
+ :'name' => :'String',
94
+ :'server_type' => :'String',
95
+ :'token' => :'String',
96
+ :'token_expiration' => :'String',
97
+ :'uid_token' => :'String'
98
+ }
99
+ end
100
+
101
+ # List of attributes with nullable: true
102
+ def self.openapi_nullable
103
+ Set.new([
104
+ ])
105
+ end
106
+
107
+ # Initializes the object
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ def initialize(attributes = {})
110
+ if (!attributes.is_a?(Hash))
111
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetCreateLdap` initialize method"
112
+ end
113
+
114
+ # check to see if the attribute exists and convert string to symbol for hash key
115
+ attributes = attributes.each_with_object({}) { |(k, v), h|
116
+ if (!self.class.attribute_map.key?(k.to_sym))
117
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetCreateLdap`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
118
+ end
119
+ h[k.to_sym] = v
120
+ }
121
+
122
+ if attributes.key?(:'bind_dn')
123
+ self.bind_dn = attributes[:'bind_dn']
124
+ else
125
+ self.bind_dn = nil
126
+ end
127
+
128
+ if attributes.key?(:'bind_dn_password')
129
+ self.bind_dn_password = attributes[:'bind_dn_password']
130
+ else
131
+ self.bind_dn_password = nil
132
+ end
133
+
134
+ if attributes.key?(:'description')
135
+ self.description = attributes[:'description']
136
+ end
137
+
138
+ if attributes.key?(:'json')
139
+ self.json = attributes[:'json']
140
+ else
141
+ self.json = false
142
+ end
143
+
144
+ if attributes.key?(:'key')
145
+ self.key = attributes[:'key']
146
+ end
147
+
148
+ if attributes.key?(:'ldap_ca_cert')
149
+ self.ldap_ca_cert = attributes[:'ldap_ca_cert']
150
+ end
151
+
152
+ if attributes.key?(:'ldap_url')
153
+ self.ldap_url = attributes[:'ldap_url']
154
+ else
155
+ self.ldap_url = nil
156
+ end
157
+
158
+ if attributes.key?(:'max_versions')
159
+ self.max_versions = attributes[:'max_versions']
160
+ end
161
+
162
+ if attributes.key?(:'name')
163
+ self.name = attributes[:'name']
164
+ else
165
+ self.name = nil
166
+ end
167
+
168
+ if attributes.key?(:'server_type')
169
+ self.server_type = attributes[:'server_type']
170
+ else
171
+ self.server_type = 'OpenLDAP'
172
+ end
173
+
174
+ if attributes.key?(:'token')
175
+ self.token = attributes[:'token']
176
+ end
177
+
178
+ if attributes.key?(:'token_expiration')
179
+ self.token_expiration = attributes[:'token_expiration']
180
+ end
181
+
182
+ if attributes.key?(:'uid_token')
183
+ self.uid_token = attributes[:'uid_token']
184
+ end
185
+ end
186
+
187
+ # Show invalid properties with the reasons. Usually used together with valid?
188
+ # @return Array for valid properties with the reasons
189
+ def list_invalid_properties
190
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
191
+ invalid_properties = Array.new
192
+ if @bind_dn.nil?
193
+ invalid_properties.push('invalid value for "bind_dn", bind_dn cannot be nil.')
194
+ end
195
+
196
+ if @bind_dn_password.nil?
197
+ invalid_properties.push('invalid value for "bind_dn_password", bind_dn_password cannot be nil.')
198
+ end
199
+
200
+ if @ldap_url.nil?
201
+ invalid_properties.push('invalid value for "ldap_url", ldap_url cannot be nil.')
202
+ end
203
+
204
+ if @name.nil?
205
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
206
+ end
207
+
208
+ invalid_properties
209
+ end
210
+
211
+ # Check to see if the all the properties in the model are valid
212
+ # @return true if the model is valid
213
+ def valid?
214
+ warn '[DEPRECATED] the `valid?` method is obsolete'
215
+ return false if @bind_dn.nil?
216
+ return false if @bind_dn_password.nil?
217
+ return false if @ldap_url.nil?
218
+ return false if @name.nil?
219
+ true
220
+ end
221
+
222
+ # Checks equality by comparing each attribute.
223
+ # @param [Object] Object to be compared
224
+ def ==(o)
225
+ return true if self.equal?(o)
226
+ self.class == o.class &&
227
+ bind_dn == o.bind_dn &&
228
+ bind_dn_password == o.bind_dn_password &&
229
+ description == o.description &&
230
+ json == o.json &&
231
+ key == o.key &&
232
+ ldap_ca_cert == o.ldap_ca_cert &&
233
+ ldap_url == o.ldap_url &&
234
+ max_versions == o.max_versions &&
235
+ name == o.name &&
236
+ server_type == o.server_type &&
237
+ token == o.token &&
238
+ token_expiration == o.token_expiration &&
239
+ uid_token == o.uid_token
240
+ end
241
+
242
+ # @see the `==` method
243
+ # @param [Object] Object to be compared
244
+ def eql?(o)
245
+ self == o
246
+ end
247
+
248
+ # Calculates hash code according to all attributes.
249
+ # @return [Integer] Hash code
250
+ def hash
251
+ [bind_dn, bind_dn_password, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
252
+ end
253
+
254
+ # Builds the object from hash
255
+ # @param [Hash] attributes Model attributes in the form of hash
256
+ # @return [Object] Returns the model itself
257
+ def self.build_from_hash(attributes)
258
+ return nil unless attributes.is_a?(Hash)
259
+ attributes = attributes.transform_keys(&:to_sym)
260
+ transformed_hash = {}
261
+ openapi_types.each_pair do |key, type|
262
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
263
+ transformed_hash["#{key}"] = nil
264
+ elsif type =~ /\AArray<(.*)>/i
265
+ # check to ensure the input is an array given that the attribute
266
+ # is documented as an array but the input is not
267
+ if attributes[attribute_map[key]].is_a?(Array)
268
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
269
+ end
270
+ elsif !attributes[attribute_map[key]].nil?
271
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
272
+ end
273
+ end
274
+ new(transformed_hash)
275
+ end
276
+
277
+ # Deserializes the data based on type
278
+ # @param string type Data type
279
+ # @param string value Value to be deserialized
280
+ # @return [Object] Deserialized data
281
+ def self._deserialize(type, value)
282
+ case type.to_sym
283
+ when :Time
284
+ Time.parse(value)
285
+ when :Date
286
+ Date.parse(value)
287
+ when :String
288
+ value.to_s
289
+ when :Integer
290
+ value.to_i
291
+ when :Float
292
+ value.to_f
293
+ when :Boolean
294
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
295
+ true
296
+ else
297
+ false
298
+ end
299
+ when :Object
300
+ # generic object (usually a Hash), return directly
301
+ value
302
+ when /\AArray<(?<inner_type>.+)>\z/
303
+ inner_type = Regexp.last_match[:inner_type]
304
+ value.map { |v| _deserialize(inner_type, v) }
305
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
306
+ k_type = Regexp.last_match[:k_type]
307
+ v_type = Regexp.last_match[:v_type]
308
+ {}.tap do |hash|
309
+ value.each do |k, v|
310
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
311
+ end
312
+ end
313
+ else # model
314
+ # models (e.g. Pet) or oneOf
315
+ klass = Akeyless.const_get(type)
316
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
317
+ end
318
+ end
319
+
320
+ # Returns the string representation of the object
321
+ # @return [String] String presentation of the object
322
+ def to_s
323
+ to_hash.to_s
324
+ end
325
+
326
+ # to_body is an alias to to_hash (backward compatibility)
327
+ # @return [Hash] Returns the object in the form of hash
328
+ def to_body
329
+ to_hash
330
+ end
331
+
332
+ # Returns the object in the form of hash
333
+ # @return [Hash] Returns the object in the form of hash
334
+ def to_hash
335
+ hash = {}
336
+ self.class.attribute_map.each_pair do |attr, param|
337
+ value = self.send(attr)
338
+ if value.nil?
339
+ is_nullable = self.class.openapi_nullable.include?(attr)
340
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
341
+ end
342
+
343
+ hash[param] = _to_hash(value)
344
+ end
345
+ hash
346
+ end
347
+
348
+ # Outputs non-array value in the form of hash
349
+ # For object, use to_hash. Otherwise, just return the value
350
+ # @param [Object] value Any valid value
351
+ # @return [Hash] Returns the value in the form of hash
352
+ def _to_hash(value)
353
+ if value.is_a?(Array)
354
+ value.compact.map { |v| _to_hash(v) }
355
+ elsif value.is_a?(Hash)
356
+ {}.tap do |hash|
357
+ value.each { |k, v| hash[k] = _to_hash(v) }
358
+ end
359
+ elsif value.respond_to? :to_hash
360
+ value.to_hash
361
+ else
362
+ value
363
+ end
364
+ end
365
+
366
+ end
367
+
368
+ end
@@ -0,0 +1,294 @@
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: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class TargetCreateLinked
18
+ # Description of the object
19
+ attr_accessor :description
20
+
21
+ # A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
22
+ attr_accessor :hosts
23
+
24
+ # Set output format to JSON
25
+ attr_accessor :json
26
+
27
+ # Target name
28
+ attr_accessor :name
29
+
30
+ # The parent Target name
31
+ attr_accessor :parent_target_name
32
+
33
+ # Authentication token (see `/auth` and `/configure`)
34
+ attr_accessor :token
35
+
36
+ # Specifies the hosts type, relevant only when working without parent target
37
+ attr_accessor :type
38
+
39
+ # The universal identity token, Required only for universal_identity authentication
40
+ attr_accessor :uid_token
41
+
42
+ # Attribute mapping from ruby-style variable name to JSON key.
43
+ def self.attribute_map
44
+ {
45
+ :'description' => :'description',
46
+ :'hosts' => :'hosts',
47
+ :'json' => :'json',
48
+ :'name' => :'name',
49
+ :'parent_target_name' => :'parent-target-name',
50
+ :'token' => :'token',
51
+ :'type' => :'type',
52
+ :'uid_token' => :'uid-token'
53
+ }
54
+ end
55
+
56
+ # Returns all the JSON keys this model knows about
57
+ def self.acceptable_attributes
58
+ attribute_map.values
59
+ end
60
+
61
+ # Attribute type mapping.
62
+ def self.openapi_types
63
+ {
64
+ :'description' => :'String',
65
+ :'hosts' => :'String',
66
+ :'json' => :'Boolean',
67
+ :'name' => :'String',
68
+ :'parent_target_name' => :'String',
69
+ :'token' => :'String',
70
+ :'type' => :'String',
71
+ :'uid_token' => :'String'
72
+ }
73
+ end
74
+
75
+ # List of attributes with nullable: true
76
+ def self.openapi_nullable
77
+ Set.new([
78
+ ])
79
+ end
80
+
81
+ # Initializes the object
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ def initialize(attributes = {})
84
+ if (!attributes.is_a?(Hash))
85
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetCreateLinked` initialize method"
86
+ end
87
+
88
+ # check to see if the attribute exists and convert string to symbol for hash key
89
+ attributes = attributes.each_with_object({}) { |(k, v), h|
90
+ if (!self.class.attribute_map.key?(k.to_sym))
91
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetCreateLinked`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
92
+ end
93
+ h[k.to_sym] = v
94
+ }
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
+ end
99
+
100
+ if attributes.key?(:'hosts')
101
+ self.hosts = attributes[:'hosts']
102
+ end
103
+
104
+ if attributes.key?(:'json')
105
+ self.json = attributes[:'json']
106
+ else
107
+ self.json = false
108
+ end
109
+
110
+ if attributes.key?(:'name')
111
+ self.name = attributes[:'name']
112
+ else
113
+ self.name = nil
114
+ end
115
+
116
+ if attributes.key?(:'parent_target_name')
117
+ self.parent_target_name = attributes[:'parent_target_name']
118
+ end
119
+
120
+ if attributes.key?(:'token')
121
+ self.token = attributes[:'token']
122
+ end
123
+
124
+ if attributes.key?(:'type')
125
+ self.type = attributes[:'type']
126
+ end
127
+
128
+ if attributes.key?(:'uid_token')
129
+ self.uid_token = attributes[:'uid_token']
130
+ end
131
+ end
132
+
133
+ # Show invalid properties with the reasons. Usually used together with valid?
134
+ # @return Array for valid properties with the reasons
135
+ def list_invalid_properties
136
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
137
+ invalid_properties = Array.new
138
+ if @name.nil?
139
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
140
+ end
141
+
142
+ invalid_properties
143
+ end
144
+
145
+ # Check to see if the all the properties in the model are valid
146
+ # @return true if the model is valid
147
+ def valid?
148
+ warn '[DEPRECATED] the `valid?` method is obsolete'
149
+ return false if @name.nil?
150
+ true
151
+ end
152
+
153
+ # Checks equality by comparing each attribute.
154
+ # @param [Object] Object to be compared
155
+ def ==(o)
156
+ return true if self.equal?(o)
157
+ self.class == o.class &&
158
+ description == o.description &&
159
+ hosts == o.hosts &&
160
+ json == o.json &&
161
+ name == o.name &&
162
+ parent_target_name == o.parent_target_name &&
163
+ token == o.token &&
164
+ type == o.type &&
165
+ uid_token == o.uid_token
166
+ end
167
+
168
+ # @see the `==` method
169
+ # @param [Object] Object to be compared
170
+ def eql?(o)
171
+ self == o
172
+ end
173
+
174
+ # Calculates hash code according to all attributes.
175
+ # @return [Integer] Hash code
176
+ def hash
177
+ [description, hosts, json, name, parent_target_name, token, type, uid_token].hash
178
+ end
179
+
180
+ # Builds the object from hash
181
+ # @param [Hash] attributes Model attributes in the form of hash
182
+ # @return [Object] Returns the model itself
183
+ def self.build_from_hash(attributes)
184
+ return nil unless attributes.is_a?(Hash)
185
+ attributes = attributes.transform_keys(&:to_sym)
186
+ transformed_hash = {}
187
+ openapi_types.each_pair do |key, type|
188
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
189
+ transformed_hash["#{key}"] = nil
190
+ elsif type =~ /\AArray<(.*)>/i
191
+ # check to ensure the input is an array given that the attribute
192
+ # is documented as an array but the input is not
193
+ if attributes[attribute_map[key]].is_a?(Array)
194
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
195
+ end
196
+ elsif !attributes[attribute_map[key]].nil?
197
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
198
+ end
199
+ end
200
+ new(transformed_hash)
201
+ end
202
+
203
+ # Deserializes the data based on type
204
+ # @param string type Data type
205
+ # @param string value Value to be deserialized
206
+ # @return [Object] Deserialized data
207
+ def self._deserialize(type, value)
208
+ case type.to_sym
209
+ when :Time
210
+ Time.parse(value)
211
+ when :Date
212
+ Date.parse(value)
213
+ when :String
214
+ value.to_s
215
+ when :Integer
216
+ value.to_i
217
+ when :Float
218
+ value.to_f
219
+ when :Boolean
220
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
221
+ true
222
+ else
223
+ false
224
+ end
225
+ when :Object
226
+ # generic object (usually a Hash), return directly
227
+ value
228
+ when /\AArray<(?<inner_type>.+)>\z/
229
+ inner_type = Regexp.last_match[:inner_type]
230
+ value.map { |v| _deserialize(inner_type, v) }
231
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
232
+ k_type = Regexp.last_match[:k_type]
233
+ v_type = Regexp.last_match[:v_type]
234
+ {}.tap do |hash|
235
+ value.each do |k, v|
236
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
237
+ end
238
+ end
239
+ else # model
240
+ # models (e.g. Pet) or oneOf
241
+ klass = Akeyless.const_get(type)
242
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
243
+ end
244
+ end
245
+
246
+ # Returns the string representation of the object
247
+ # @return [String] String presentation of the object
248
+ def to_s
249
+ to_hash.to_s
250
+ end
251
+
252
+ # to_body is an alias to to_hash (backward compatibility)
253
+ # @return [Hash] Returns the object in the form of hash
254
+ def to_body
255
+ to_hash
256
+ end
257
+
258
+ # Returns the object in the form of hash
259
+ # @return [Hash] Returns the object in the form of hash
260
+ def to_hash
261
+ hash = {}
262
+ self.class.attribute_map.each_pair do |attr, param|
263
+ value = self.send(attr)
264
+ if value.nil?
265
+ is_nullable = self.class.openapi_nullable.include?(attr)
266
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
267
+ end
268
+
269
+ hash[param] = _to_hash(value)
270
+ end
271
+ hash
272
+ end
273
+
274
+ # Outputs non-array value in the form of hash
275
+ # For object, use to_hash. Otherwise, just return the value
276
+ # @param [Object] value Any valid value
277
+ # @return [Hash] Returns the value in the form of hash
278
+ def _to_hash(value)
279
+ if value.is_a?(Array)
280
+ value.compact.map { |v| _to_hash(v) }
281
+ elsif value.is_a?(Hash)
282
+ {}.tap do |hash|
283
+ value.each { |k, v| hash[k] = _to_hash(v) }
284
+ end
285
+ elsif value.respond_to? :to_hash
286
+ value.to_hash
287
+ else
288
+ value
289
+ end
290
+ end
291
+
292
+ end
293
+
294
+ end