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,570 @@
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 TargetCreateDB
18
+ attr_accessor :db_defined_connection_type
19
+
20
+ # (Optional) Client id (relevant for \"cloud-service-provider\" only)
21
+ attr_accessor :azure_client_id
22
+
23
+ # (Optional) Client secret (relevant for \"cloud-service-provider\" only)
24
+ attr_accessor :azure_client_secret
25
+
26
+ # (Optional) Tenant id (relevant for \"cloud-service-provider\" only)
27
+ attr_accessor :azure_tenant_id
28
+
29
+ # (Optional) Cloud service provider (currently only supports Azure)
30
+ attr_accessor :cloud_service_provider
31
+
32
+ # Cluster Mode
33
+ attr_accessor :cluster_mode
34
+
35
+ # Deprecated - use description
36
+ attr_accessor :comment
37
+
38
+ # (Optional) Type of connection to mssql database [credentials/cloud-identity]
39
+ attr_accessor :connection_type
40
+
41
+ attr_accessor :db_name
42
+
43
+ # (Optional) DB server certificates
44
+ attr_accessor :db_server_certificates
45
+
46
+ # (Optional) Server name for certificate verification
47
+ attr_accessor :db_server_name
48
+
49
+ attr_accessor :db_type
50
+
51
+ # Description of the object
52
+ attr_accessor :description
53
+
54
+ attr_accessor :host
55
+
56
+ # Set output format to JSON
57
+ attr_accessor :json
58
+
59
+ # The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
60
+ attr_accessor :key
61
+
62
+ # Set the maximum number of versions, limited by the account settings defaults.
63
+ attr_accessor :max_versions
64
+
65
+ attr_accessor :mongodb_atlas
66
+
67
+ # MongoDB Atlas private key
68
+ attr_accessor :mongodb_atlas_api_private_key
69
+
70
+ # MongoDB Atlas public key
71
+ attr_accessor :mongodb_atlas_api_public_key
72
+
73
+ # MongoDB Atlas project ID
74
+ attr_accessor :mongodb_atlas_project_id
75
+
76
+ # MongoDB server default authentication database
77
+ attr_accessor :mongodb_default_auth_db
78
+
79
+ # MongoDB server URI options
80
+ attr_accessor :mongodb_uri_options
81
+
82
+ # Target name
83
+ attr_accessor :name
84
+
85
+ attr_accessor :oracle_service_name
86
+
87
+ attr_accessor :port
88
+
89
+ attr_accessor :pwd
90
+
91
+ attr_accessor :snowflake_account
92
+
93
+ # RSA Private key (base64 encoded)
94
+ attr_accessor :snowflake_api_private_key
95
+
96
+ # The Private key passphrase
97
+ attr_accessor :snowflake_api_private_key_password
98
+
99
+ # Enable/Disable SSL [true/false]
100
+ attr_accessor :ssl
101
+
102
+ # SSL connection certificate
103
+ attr_accessor :ssl_certificate
104
+
105
+ # Authentication token (see `/auth` and `/configure`)
106
+ attr_accessor :token
107
+
108
+ # The universal identity token, Required only for universal_identity authentication
109
+ attr_accessor :uid_token
110
+
111
+ attr_accessor :user_name
112
+
113
+ # Attribute mapping from ruby-style variable name to JSON key.
114
+ def self.attribute_map
115
+ {
116
+ :'db_defined_connection_type' => :'DBDefinedConnectionType',
117
+ :'azure_client_id' => :'azure-client-id',
118
+ :'azure_client_secret' => :'azure-client-secret',
119
+ :'azure_tenant_id' => :'azure-tenant-id',
120
+ :'cloud_service_provider' => :'cloud-service-provider',
121
+ :'cluster_mode' => :'cluster-mode',
122
+ :'comment' => :'comment',
123
+ :'connection_type' => :'connection-type',
124
+ :'db_name' => :'db-name',
125
+ :'db_server_certificates' => :'db-server-certificates',
126
+ :'db_server_name' => :'db-server-name',
127
+ :'db_type' => :'db-type',
128
+ :'description' => :'description',
129
+ :'host' => :'host',
130
+ :'json' => :'json',
131
+ :'key' => :'key',
132
+ :'max_versions' => :'max-versions',
133
+ :'mongodb_atlas' => :'mongodb-atlas',
134
+ :'mongodb_atlas_api_private_key' => :'mongodb-atlas-api-private-key',
135
+ :'mongodb_atlas_api_public_key' => :'mongodb-atlas-api-public-key',
136
+ :'mongodb_atlas_project_id' => :'mongodb-atlas-project-id',
137
+ :'mongodb_default_auth_db' => :'mongodb-default-auth-db',
138
+ :'mongodb_uri_options' => :'mongodb-uri-options',
139
+ :'name' => :'name',
140
+ :'oracle_service_name' => :'oracle-service-name',
141
+ :'port' => :'port',
142
+ :'pwd' => :'pwd',
143
+ :'snowflake_account' => :'snowflake-account',
144
+ :'snowflake_api_private_key' => :'snowflake-api-private-key',
145
+ :'snowflake_api_private_key_password' => :'snowflake-api-private-key-password',
146
+ :'ssl' => :'ssl',
147
+ :'ssl_certificate' => :'ssl-certificate',
148
+ :'token' => :'token',
149
+ :'uid_token' => :'uid-token',
150
+ :'user_name' => :'user-name'
151
+ }
152
+ end
153
+
154
+ # Returns all the JSON keys this model knows about
155
+ def self.acceptable_attributes
156
+ attribute_map.values
157
+ end
158
+
159
+ # Attribute type mapping.
160
+ def self.openapi_types
161
+ {
162
+ :'db_defined_connection_type' => :'String',
163
+ :'azure_client_id' => :'String',
164
+ :'azure_client_secret' => :'String',
165
+ :'azure_tenant_id' => :'String',
166
+ :'cloud_service_provider' => :'String',
167
+ :'cluster_mode' => :'Boolean',
168
+ :'comment' => :'String',
169
+ :'connection_type' => :'String',
170
+ :'db_name' => :'String',
171
+ :'db_server_certificates' => :'String',
172
+ :'db_server_name' => :'String',
173
+ :'db_type' => :'String',
174
+ :'description' => :'String',
175
+ :'host' => :'String',
176
+ :'json' => :'Boolean',
177
+ :'key' => :'String',
178
+ :'max_versions' => :'String',
179
+ :'mongodb_atlas' => :'Boolean',
180
+ :'mongodb_atlas_api_private_key' => :'String',
181
+ :'mongodb_atlas_api_public_key' => :'String',
182
+ :'mongodb_atlas_project_id' => :'String',
183
+ :'mongodb_default_auth_db' => :'String',
184
+ :'mongodb_uri_options' => :'String',
185
+ :'name' => :'String',
186
+ :'oracle_service_name' => :'String',
187
+ :'port' => :'String',
188
+ :'pwd' => :'String',
189
+ :'snowflake_account' => :'String',
190
+ :'snowflake_api_private_key' => :'String',
191
+ :'snowflake_api_private_key_password' => :'String',
192
+ :'ssl' => :'Boolean',
193
+ :'ssl_certificate' => :'String',
194
+ :'token' => :'String',
195
+ :'uid_token' => :'String',
196
+ :'user_name' => :'String'
197
+ }
198
+ end
199
+
200
+ # List of attributes with nullable: true
201
+ def self.openapi_nullable
202
+ Set.new([
203
+ ])
204
+ end
205
+
206
+ # Initializes the object
207
+ # @param [Hash] attributes Model attributes in the form of hash
208
+ def initialize(attributes = {})
209
+ if (!attributes.is_a?(Hash))
210
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetCreateDB` initialize method"
211
+ end
212
+
213
+ # check to see if the attribute exists and convert string to symbol for hash key
214
+ attributes = attributes.each_with_object({}) { |(k, v), h|
215
+ if (!self.class.attribute_map.key?(k.to_sym))
216
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetCreateDB`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
217
+ end
218
+ h[k.to_sym] = v
219
+ }
220
+
221
+ if attributes.key?(:'db_defined_connection_type')
222
+ self.db_defined_connection_type = attributes[:'db_defined_connection_type']
223
+ end
224
+
225
+ if attributes.key?(:'azure_client_id')
226
+ self.azure_client_id = attributes[:'azure_client_id']
227
+ end
228
+
229
+ if attributes.key?(:'azure_client_secret')
230
+ self.azure_client_secret = attributes[:'azure_client_secret']
231
+ end
232
+
233
+ if attributes.key?(:'azure_tenant_id')
234
+ self.azure_tenant_id = attributes[:'azure_tenant_id']
235
+ end
236
+
237
+ if attributes.key?(:'cloud_service_provider')
238
+ self.cloud_service_provider = attributes[:'cloud_service_provider']
239
+ end
240
+
241
+ if attributes.key?(:'cluster_mode')
242
+ self.cluster_mode = attributes[:'cluster_mode']
243
+ end
244
+
245
+ if attributes.key?(:'comment')
246
+ self.comment = attributes[:'comment']
247
+ end
248
+
249
+ if attributes.key?(:'connection_type')
250
+ self.connection_type = attributes[:'connection_type']
251
+ else
252
+ self.connection_type = 'credentials'
253
+ end
254
+
255
+ if attributes.key?(:'db_name')
256
+ self.db_name = attributes[:'db_name']
257
+ end
258
+
259
+ if attributes.key?(:'db_server_certificates')
260
+ self.db_server_certificates = attributes[:'db_server_certificates']
261
+ end
262
+
263
+ if attributes.key?(:'db_server_name')
264
+ self.db_server_name = attributes[:'db_server_name']
265
+ end
266
+
267
+ if attributes.key?(:'db_type')
268
+ self.db_type = attributes[:'db_type']
269
+ else
270
+ self.db_type = nil
271
+ end
272
+
273
+ if attributes.key?(:'description')
274
+ self.description = attributes[:'description']
275
+ end
276
+
277
+ if attributes.key?(:'host')
278
+ self.host = attributes[:'host']
279
+ end
280
+
281
+ if attributes.key?(:'json')
282
+ self.json = attributes[:'json']
283
+ else
284
+ self.json = false
285
+ end
286
+
287
+ if attributes.key?(:'key')
288
+ self.key = attributes[:'key']
289
+ end
290
+
291
+ if attributes.key?(:'max_versions')
292
+ self.max_versions = attributes[:'max_versions']
293
+ end
294
+
295
+ if attributes.key?(:'mongodb_atlas')
296
+ self.mongodb_atlas = attributes[:'mongodb_atlas']
297
+ end
298
+
299
+ if attributes.key?(:'mongodb_atlas_api_private_key')
300
+ self.mongodb_atlas_api_private_key = attributes[:'mongodb_atlas_api_private_key']
301
+ end
302
+
303
+ if attributes.key?(:'mongodb_atlas_api_public_key')
304
+ self.mongodb_atlas_api_public_key = attributes[:'mongodb_atlas_api_public_key']
305
+ end
306
+
307
+ if attributes.key?(:'mongodb_atlas_project_id')
308
+ self.mongodb_atlas_project_id = attributes[:'mongodb_atlas_project_id']
309
+ end
310
+
311
+ if attributes.key?(:'mongodb_default_auth_db')
312
+ self.mongodb_default_auth_db = attributes[:'mongodb_default_auth_db']
313
+ end
314
+
315
+ if attributes.key?(:'mongodb_uri_options')
316
+ self.mongodb_uri_options = attributes[:'mongodb_uri_options']
317
+ end
318
+
319
+ if attributes.key?(:'name')
320
+ self.name = attributes[:'name']
321
+ else
322
+ self.name = nil
323
+ end
324
+
325
+ if attributes.key?(:'oracle_service_name')
326
+ self.oracle_service_name = attributes[:'oracle_service_name']
327
+ end
328
+
329
+ if attributes.key?(:'port')
330
+ self.port = attributes[:'port']
331
+ end
332
+
333
+ if attributes.key?(:'pwd')
334
+ self.pwd = attributes[:'pwd']
335
+ end
336
+
337
+ if attributes.key?(:'snowflake_account')
338
+ self.snowflake_account = attributes[:'snowflake_account']
339
+ end
340
+
341
+ if attributes.key?(:'snowflake_api_private_key')
342
+ self.snowflake_api_private_key = attributes[:'snowflake_api_private_key']
343
+ end
344
+
345
+ if attributes.key?(:'snowflake_api_private_key_password')
346
+ self.snowflake_api_private_key_password = attributes[:'snowflake_api_private_key_password']
347
+ end
348
+
349
+ if attributes.key?(:'ssl')
350
+ self.ssl = attributes[:'ssl']
351
+ else
352
+ self.ssl = false
353
+ end
354
+
355
+ if attributes.key?(:'ssl_certificate')
356
+ self.ssl_certificate = attributes[:'ssl_certificate']
357
+ end
358
+
359
+ if attributes.key?(:'token')
360
+ self.token = attributes[:'token']
361
+ end
362
+
363
+ if attributes.key?(:'uid_token')
364
+ self.uid_token = attributes[:'uid_token']
365
+ end
366
+
367
+ if attributes.key?(:'user_name')
368
+ self.user_name = attributes[:'user_name']
369
+ end
370
+ end
371
+
372
+ # Show invalid properties with the reasons. Usually used together with valid?
373
+ # @return Array for valid properties with the reasons
374
+ def list_invalid_properties
375
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
376
+ invalid_properties = Array.new
377
+ if @connection_type.nil?
378
+ invalid_properties.push('invalid value for "connection_type", connection_type cannot be nil.')
379
+ end
380
+
381
+ if @db_type.nil?
382
+ invalid_properties.push('invalid value for "db_type", db_type cannot be nil.')
383
+ end
384
+
385
+ if @name.nil?
386
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
387
+ end
388
+
389
+ invalid_properties
390
+ end
391
+
392
+ # Check to see if the all the properties in the model are valid
393
+ # @return true if the model is valid
394
+ def valid?
395
+ warn '[DEPRECATED] the `valid?` method is obsolete'
396
+ return false if @connection_type.nil?
397
+ return false if @db_type.nil?
398
+ return false if @name.nil?
399
+ true
400
+ end
401
+
402
+ # Checks equality by comparing each attribute.
403
+ # @param [Object] Object to be compared
404
+ def ==(o)
405
+ return true if self.equal?(o)
406
+ self.class == o.class &&
407
+ db_defined_connection_type == o.db_defined_connection_type &&
408
+ azure_client_id == o.azure_client_id &&
409
+ azure_client_secret == o.azure_client_secret &&
410
+ azure_tenant_id == o.azure_tenant_id &&
411
+ cloud_service_provider == o.cloud_service_provider &&
412
+ cluster_mode == o.cluster_mode &&
413
+ comment == o.comment &&
414
+ connection_type == o.connection_type &&
415
+ db_name == o.db_name &&
416
+ db_server_certificates == o.db_server_certificates &&
417
+ db_server_name == o.db_server_name &&
418
+ db_type == o.db_type &&
419
+ description == o.description &&
420
+ host == o.host &&
421
+ json == o.json &&
422
+ key == o.key &&
423
+ max_versions == o.max_versions &&
424
+ mongodb_atlas == o.mongodb_atlas &&
425
+ mongodb_atlas_api_private_key == o.mongodb_atlas_api_private_key &&
426
+ mongodb_atlas_api_public_key == o.mongodb_atlas_api_public_key &&
427
+ mongodb_atlas_project_id == o.mongodb_atlas_project_id &&
428
+ mongodb_default_auth_db == o.mongodb_default_auth_db &&
429
+ mongodb_uri_options == o.mongodb_uri_options &&
430
+ name == o.name &&
431
+ oracle_service_name == o.oracle_service_name &&
432
+ port == o.port &&
433
+ pwd == o.pwd &&
434
+ snowflake_account == o.snowflake_account &&
435
+ snowflake_api_private_key == o.snowflake_api_private_key &&
436
+ snowflake_api_private_key_password == o.snowflake_api_private_key_password &&
437
+ ssl == o.ssl &&
438
+ ssl_certificate == o.ssl_certificate &&
439
+ token == o.token &&
440
+ uid_token == o.uid_token &&
441
+ user_name == o.user_name
442
+ end
443
+
444
+ # @see the `==` method
445
+ # @param [Object] Object to be compared
446
+ def eql?(o)
447
+ self == o
448
+ end
449
+
450
+ # Calculates hash code according to all attributes.
451
+ # @return [Integer] Hash code
452
+ def hash
453
+ [db_defined_connection_type, azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
454
+ end
455
+
456
+ # Builds the object from hash
457
+ # @param [Hash] attributes Model attributes in the form of hash
458
+ # @return [Object] Returns the model itself
459
+ def self.build_from_hash(attributes)
460
+ return nil unless attributes.is_a?(Hash)
461
+ attributes = attributes.transform_keys(&:to_sym)
462
+ transformed_hash = {}
463
+ openapi_types.each_pair do |key, type|
464
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
465
+ transformed_hash["#{key}"] = nil
466
+ elsif type =~ /\AArray<(.*)>/i
467
+ # check to ensure the input is an array given that the attribute
468
+ # is documented as an array but the input is not
469
+ if attributes[attribute_map[key]].is_a?(Array)
470
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
471
+ end
472
+ elsif !attributes[attribute_map[key]].nil?
473
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
474
+ end
475
+ end
476
+ new(transformed_hash)
477
+ end
478
+
479
+ # Deserializes the data based on type
480
+ # @param string type Data type
481
+ # @param string value Value to be deserialized
482
+ # @return [Object] Deserialized data
483
+ def self._deserialize(type, value)
484
+ case type.to_sym
485
+ when :Time
486
+ Time.parse(value)
487
+ when :Date
488
+ Date.parse(value)
489
+ when :String
490
+ value.to_s
491
+ when :Integer
492
+ value.to_i
493
+ when :Float
494
+ value.to_f
495
+ when :Boolean
496
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
497
+ true
498
+ else
499
+ false
500
+ end
501
+ when :Object
502
+ # generic object (usually a Hash), return directly
503
+ value
504
+ when /\AArray<(?<inner_type>.+)>\z/
505
+ inner_type = Regexp.last_match[:inner_type]
506
+ value.map { |v| _deserialize(inner_type, v) }
507
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
508
+ k_type = Regexp.last_match[:k_type]
509
+ v_type = Regexp.last_match[:v_type]
510
+ {}.tap do |hash|
511
+ value.each do |k, v|
512
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
513
+ end
514
+ end
515
+ else # model
516
+ # models (e.g. Pet) or oneOf
517
+ klass = Akeyless.const_get(type)
518
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
519
+ end
520
+ end
521
+
522
+ # Returns the string representation of the object
523
+ # @return [String] String presentation of the object
524
+ def to_s
525
+ to_hash.to_s
526
+ end
527
+
528
+ # to_body is an alias to to_hash (backward compatibility)
529
+ # @return [Hash] Returns the object in the form of hash
530
+ def to_body
531
+ to_hash
532
+ end
533
+
534
+ # Returns the object in the form of hash
535
+ # @return [Hash] Returns the object in the form of hash
536
+ def to_hash
537
+ hash = {}
538
+ self.class.attribute_map.each_pair do |attr, param|
539
+ value = self.send(attr)
540
+ if value.nil?
541
+ is_nullable = self.class.openapi_nullable.include?(attr)
542
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
543
+ end
544
+
545
+ hash[param] = _to_hash(value)
546
+ end
547
+ hash
548
+ end
549
+
550
+ # Outputs non-array value in the form of hash
551
+ # For object, use to_hash. Otherwise, just return the value
552
+ # @param [Object] value Any valid value
553
+ # @return [Hash] Returns the value in the form of hash
554
+ def _to_hash(value)
555
+ if value.is_a?(Array)
556
+ value.compact.map { |v| _to_hash(v) }
557
+ elsif value.is_a?(Hash)
558
+ {}.tap do |hash|
559
+ value.each { |k, v| hash[k] = _to_hash(v) }
560
+ end
561
+ elsif value.respond_to? :to_hash
562
+ value.to_hash
563
+ else
564
+ value
565
+ end
566
+ end
567
+
568
+ end
569
+
570
+ end