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,323 @@
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 TargetUpdateGcp
18
+ # Description of the object
19
+ attr_accessor :description
20
+
21
+ # Base64-encoded service account private key text
22
+ attr_accessor :gcp_key
23
+
24
+ # Set output format to JSON
25
+ attr_accessor :json
26
+
27
+ # Whether to keep previous version [true/false]. If not set, use default according to account settings
28
+ attr_accessor :keep_prev_version
29
+
30
+ # The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
31
+ attr_accessor :key
32
+
33
+ # Set the maximum number of versions, limited by the account settings defaults.
34
+ attr_accessor :max_versions
35
+
36
+ # Target name
37
+ attr_accessor :name
38
+
39
+ # New target name
40
+ attr_accessor :new_name
41
+
42
+ # Authentication token (see `/auth` and `/configure`)
43
+ attr_accessor :token
44
+
45
+ # The universal identity token, Required only for universal_identity authentication
46
+ attr_accessor :uid_token
47
+
48
+ attr_accessor :use_gw_cloud_identity
49
+
50
+ # Attribute mapping from ruby-style variable name to JSON key.
51
+ def self.attribute_map
52
+ {
53
+ :'description' => :'description',
54
+ :'gcp_key' => :'gcp-key',
55
+ :'json' => :'json',
56
+ :'keep_prev_version' => :'keep-prev-version',
57
+ :'key' => :'key',
58
+ :'max_versions' => :'max-versions',
59
+ :'name' => :'name',
60
+ :'new_name' => :'new-name',
61
+ :'token' => :'token',
62
+ :'uid_token' => :'uid-token',
63
+ :'use_gw_cloud_identity' => :'use-gw-cloud-identity'
64
+ }
65
+ end
66
+
67
+ # Returns all the JSON keys this model knows about
68
+ def self.acceptable_attributes
69
+ attribute_map.values
70
+ end
71
+
72
+ # Attribute type mapping.
73
+ def self.openapi_types
74
+ {
75
+ :'description' => :'String',
76
+ :'gcp_key' => :'String',
77
+ :'json' => :'Boolean',
78
+ :'keep_prev_version' => :'String',
79
+ :'key' => :'String',
80
+ :'max_versions' => :'String',
81
+ :'name' => :'String',
82
+ :'new_name' => :'String',
83
+ :'token' => :'String',
84
+ :'uid_token' => :'String',
85
+ :'use_gw_cloud_identity' => :'Boolean'
86
+ }
87
+ end
88
+
89
+ # List of attributes with nullable: true
90
+ def self.openapi_nullable
91
+ Set.new([
92
+ ])
93
+ end
94
+
95
+ # Initializes the object
96
+ # @param [Hash] attributes Model attributes in the form of hash
97
+ def initialize(attributes = {})
98
+ if (!attributes.is_a?(Hash))
99
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetUpdateGcp` initialize method"
100
+ end
101
+
102
+ # check to see if the attribute exists and convert string to symbol for hash key
103
+ attributes = attributes.each_with_object({}) { |(k, v), h|
104
+ if (!self.class.attribute_map.key?(k.to_sym))
105
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetUpdateGcp`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
106
+ end
107
+ h[k.to_sym] = v
108
+ }
109
+
110
+ if attributes.key?(:'description')
111
+ self.description = attributes[:'description']
112
+ end
113
+
114
+ if attributes.key?(:'gcp_key')
115
+ self.gcp_key = attributes[:'gcp_key']
116
+ end
117
+
118
+ if attributes.key?(:'json')
119
+ self.json = attributes[:'json']
120
+ else
121
+ self.json = false
122
+ end
123
+
124
+ if attributes.key?(:'keep_prev_version')
125
+ self.keep_prev_version = attributes[:'keep_prev_version']
126
+ end
127
+
128
+ if attributes.key?(:'key')
129
+ self.key = attributes[:'key']
130
+ end
131
+
132
+ if attributes.key?(:'max_versions')
133
+ self.max_versions = attributes[:'max_versions']
134
+ end
135
+
136
+ if attributes.key?(:'name')
137
+ self.name = attributes[:'name']
138
+ else
139
+ self.name = nil
140
+ end
141
+
142
+ if attributes.key?(:'new_name')
143
+ self.new_name = attributes[:'new_name']
144
+ end
145
+
146
+ if attributes.key?(:'token')
147
+ self.token = attributes[:'token']
148
+ end
149
+
150
+ if attributes.key?(:'uid_token')
151
+ self.uid_token = attributes[:'uid_token']
152
+ end
153
+
154
+ if attributes.key?(:'use_gw_cloud_identity')
155
+ self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
156
+ end
157
+ end
158
+
159
+ # Show invalid properties with the reasons. Usually used together with valid?
160
+ # @return Array for valid properties with the reasons
161
+ def list_invalid_properties
162
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
163
+ invalid_properties = Array.new
164
+ if @name.nil?
165
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
166
+ end
167
+
168
+ invalid_properties
169
+ end
170
+
171
+ # Check to see if the all the properties in the model are valid
172
+ # @return true if the model is valid
173
+ def valid?
174
+ warn '[DEPRECATED] the `valid?` method is obsolete'
175
+ return false if @name.nil?
176
+ true
177
+ end
178
+
179
+ # Checks equality by comparing each attribute.
180
+ # @param [Object] Object to be compared
181
+ def ==(o)
182
+ return true if self.equal?(o)
183
+ self.class == o.class &&
184
+ description == o.description &&
185
+ gcp_key == o.gcp_key &&
186
+ json == o.json &&
187
+ keep_prev_version == o.keep_prev_version &&
188
+ key == o.key &&
189
+ max_versions == o.max_versions &&
190
+ name == o.name &&
191
+ new_name == o.new_name &&
192
+ token == o.token &&
193
+ uid_token == o.uid_token &&
194
+ use_gw_cloud_identity == o.use_gw_cloud_identity
195
+ end
196
+
197
+ # @see the `==` method
198
+ # @param [Object] Object to be compared
199
+ def eql?(o)
200
+ self == o
201
+ end
202
+
203
+ # Calculates hash code according to all attributes.
204
+ # @return [Integer] Hash code
205
+ def hash
206
+ [description, gcp_key, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, use_gw_cloud_identity].hash
207
+ end
208
+
209
+ # Builds the object from hash
210
+ # @param [Hash] attributes Model attributes in the form of hash
211
+ # @return [Object] Returns the model itself
212
+ def self.build_from_hash(attributes)
213
+ return nil unless attributes.is_a?(Hash)
214
+ attributes = attributes.transform_keys(&:to_sym)
215
+ transformed_hash = {}
216
+ openapi_types.each_pair do |key, type|
217
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
218
+ transformed_hash["#{key}"] = nil
219
+ elsif type =~ /\AArray<(.*)>/i
220
+ # check to ensure the input is an array given that the attribute
221
+ # is documented as an array but the input is not
222
+ if attributes[attribute_map[key]].is_a?(Array)
223
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
224
+ end
225
+ elsif !attributes[attribute_map[key]].nil?
226
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
227
+ end
228
+ end
229
+ new(transformed_hash)
230
+ end
231
+
232
+ # Deserializes the data based on type
233
+ # @param string type Data type
234
+ # @param string value Value to be deserialized
235
+ # @return [Object] Deserialized data
236
+ def self._deserialize(type, value)
237
+ case type.to_sym
238
+ when :Time
239
+ Time.parse(value)
240
+ when :Date
241
+ Date.parse(value)
242
+ when :String
243
+ value.to_s
244
+ when :Integer
245
+ value.to_i
246
+ when :Float
247
+ value.to_f
248
+ when :Boolean
249
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
250
+ true
251
+ else
252
+ false
253
+ end
254
+ when :Object
255
+ # generic object (usually a Hash), return directly
256
+ value
257
+ when /\AArray<(?<inner_type>.+)>\z/
258
+ inner_type = Regexp.last_match[:inner_type]
259
+ value.map { |v| _deserialize(inner_type, v) }
260
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
261
+ k_type = Regexp.last_match[:k_type]
262
+ v_type = Regexp.last_match[:v_type]
263
+ {}.tap do |hash|
264
+ value.each do |k, v|
265
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
266
+ end
267
+ end
268
+ else # model
269
+ # models (e.g. Pet) or oneOf
270
+ klass = Akeyless.const_get(type)
271
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
272
+ end
273
+ end
274
+
275
+ # Returns the string representation of the object
276
+ # @return [String] String presentation of the object
277
+ def to_s
278
+ to_hash.to_s
279
+ end
280
+
281
+ # to_body is an alias to to_hash (backward compatibility)
282
+ # @return [Hash] Returns the object in the form of hash
283
+ def to_body
284
+ to_hash
285
+ end
286
+
287
+ # Returns the object in the form of hash
288
+ # @return [Hash] Returns the object in the form of hash
289
+ def to_hash
290
+ hash = {}
291
+ self.class.attribute_map.each_pair do |attr, param|
292
+ value = self.send(attr)
293
+ if value.nil?
294
+ is_nullable = self.class.openapi_nullable.include?(attr)
295
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
296
+ end
297
+
298
+ hash[param] = _to_hash(value)
299
+ end
300
+ hash
301
+ end
302
+
303
+ # Outputs non-array value in the form of hash
304
+ # For object, use to_hash. Otherwise, just return the value
305
+ # @param [Object] value Any valid value
306
+ # @return [Hash] Returns the value in the form of hash
307
+ def _to_hash(value)
308
+ if value.is_a?(Array)
309
+ value.compact.map { |v| _to_hash(v) }
310
+ elsif value.is_a?(Hash)
311
+ {}.tap do |hash|
312
+ value.each { |k, v| hash[k] = _to_hash(v) }
313
+ end
314
+ elsif value.respond_to? :to_hash
315
+ value.to_hash
316
+ else
317
+ value
318
+ end
319
+ end
320
+
321
+ end
322
+
323
+ end
@@ -0,0 +1,336 @@
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 TargetUpdateGithub
18
+ # Description of the object
19
+ attr_accessor :description
20
+
21
+ # Github app id
22
+ attr_accessor :github_app_id
23
+
24
+ # App private key
25
+ attr_accessor :github_app_private_key
26
+
27
+ # Base URL
28
+ attr_accessor :github_base_url
29
+
30
+ # Set output format to JSON
31
+ attr_accessor :json
32
+
33
+ # Whether to keep previous version [true/false]. If not set, use default according to account settings
34
+ attr_accessor :keep_prev_version
35
+
36
+ # The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
37
+ attr_accessor :key
38
+
39
+ # Set the maximum number of versions, limited by the account settings defaults.
40
+ attr_accessor :max_versions
41
+
42
+ # Target name
43
+ attr_accessor :name
44
+
45
+ # New target name
46
+ attr_accessor :new_name
47
+
48
+ # Authentication token (see `/auth` and `/configure`)
49
+ attr_accessor :token
50
+
51
+ # The universal identity token, Required only for universal_identity authentication
52
+ attr_accessor :uid_token
53
+
54
+ # Attribute mapping from ruby-style variable name to JSON key.
55
+ def self.attribute_map
56
+ {
57
+ :'description' => :'description',
58
+ :'github_app_id' => :'github-app-id',
59
+ :'github_app_private_key' => :'github-app-private-key',
60
+ :'github_base_url' => :'github-base-url',
61
+ :'json' => :'json',
62
+ :'keep_prev_version' => :'keep-prev-version',
63
+ :'key' => :'key',
64
+ :'max_versions' => :'max-versions',
65
+ :'name' => :'name',
66
+ :'new_name' => :'new-name',
67
+ :'token' => :'token',
68
+ :'uid_token' => :'uid-token'
69
+ }
70
+ end
71
+
72
+ # Returns all the JSON keys this model knows about
73
+ def self.acceptable_attributes
74
+ attribute_map.values
75
+ end
76
+
77
+ # Attribute type mapping.
78
+ def self.openapi_types
79
+ {
80
+ :'description' => :'String',
81
+ :'github_app_id' => :'Integer',
82
+ :'github_app_private_key' => :'String',
83
+ :'github_base_url' => :'String',
84
+ :'json' => :'Boolean',
85
+ :'keep_prev_version' => :'String',
86
+ :'key' => :'String',
87
+ :'max_versions' => :'String',
88
+ :'name' => :'String',
89
+ :'new_name' => :'String',
90
+ :'token' => :'String',
91
+ :'uid_token' => :'String'
92
+ }
93
+ end
94
+
95
+ # List of attributes with nullable: true
96
+ def self.openapi_nullable
97
+ Set.new([
98
+ ])
99
+ end
100
+
101
+ # Initializes the object
102
+ # @param [Hash] attributes Model attributes in the form of hash
103
+ def initialize(attributes = {})
104
+ if (!attributes.is_a?(Hash))
105
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetUpdateGithub` initialize method"
106
+ end
107
+
108
+ # check to see if the attribute exists and convert string to symbol for hash key
109
+ attributes = attributes.each_with_object({}) { |(k, v), h|
110
+ if (!self.class.attribute_map.key?(k.to_sym))
111
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetUpdateGithub`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
112
+ end
113
+ h[k.to_sym] = v
114
+ }
115
+
116
+ if attributes.key?(:'description')
117
+ self.description = attributes[:'description']
118
+ end
119
+
120
+ if attributes.key?(:'github_app_id')
121
+ self.github_app_id = attributes[:'github_app_id']
122
+ end
123
+
124
+ if attributes.key?(:'github_app_private_key')
125
+ self.github_app_private_key = attributes[:'github_app_private_key']
126
+ end
127
+
128
+ if attributes.key?(:'github_base_url')
129
+ self.github_base_url = attributes[:'github_base_url']
130
+ else
131
+ self.github_base_url = 'https://api.github.com/'
132
+ end
133
+
134
+ if attributes.key?(:'json')
135
+ self.json = attributes[:'json']
136
+ else
137
+ self.json = false
138
+ end
139
+
140
+ if attributes.key?(:'keep_prev_version')
141
+ self.keep_prev_version = attributes[:'keep_prev_version']
142
+ end
143
+
144
+ if attributes.key?(:'key')
145
+ self.key = attributes[:'key']
146
+ end
147
+
148
+ if attributes.key?(:'max_versions')
149
+ self.max_versions = attributes[:'max_versions']
150
+ end
151
+
152
+ if attributes.key?(:'name')
153
+ self.name = attributes[:'name']
154
+ else
155
+ self.name = nil
156
+ end
157
+
158
+ if attributes.key?(:'new_name')
159
+ self.new_name = attributes[:'new_name']
160
+ end
161
+
162
+ if attributes.key?(:'token')
163
+ self.token = attributes[:'token']
164
+ end
165
+
166
+ if attributes.key?(:'uid_token')
167
+ self.uid_token = attributes[:'uid_token']
168
+ end
169
+ end
170
+
171
+ # Show invalid properties with the reasons. Usually used together with valid?
172
+ # @return Array for valid properties with the reasons
173
+ def list_invalid_properties
174
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
175
+ invalid_properties = Array.new
176
+ if @name.nil?
177
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
178
+ end
179
+
180
+ invalid_properties
181
+ end
182
+
183
+ # Check to see if the all the properties in the model are valid
184
+ # @return true if the model is valid
185
+ def valid?
186
+ warn '[DEPRECATED] the `valid?` method is obsolete'
187
+ return false if @name.nil?
188
+ true
189
+ end
190
+
191
+ # Checks equality by comparing each attribute.
192
+ # @param [Object] Object to be compared
193
+ def ==(o)
194
+ return true if self.equal?(o)
195
+ self.class == o.class &&
196
+ description == o.description &&
197
+ github_app_id == o.github_app_id &&
198
+ github_app_private_key == o.github_app_private_key &&
199
+ github_base_url == o.github_base_url &&
200
+ json == o.json &&
201
+ keep_prev_version == o.keep_prev_version &&
202
+ key == o.key &&
203
+ max_versions == o.max_versions &&
204
+ name == o.name &&
205
+ new_name == o.new_name &&
206
+ token == o.token &&
207
+ uid_token == o.uid_token
208
+ end
209
+
210
+ # @see the `==` method
211
+ # @param [Object] Object to be compared
212
+ def eql?(o)
213
+ self == o
214
+ end
215
+
216
+ # Calculates hash code according to all attributes.
217
+ # @return [Integer] Hash code
218
+ def hash
219
+ [description, github_app_id, github_app_private_key, github_base_url, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
220
+ end
221
+
222
+ # Builds the object from hash
223
+ # @param [Hash] attributes Model attributes in the form of hash
224
+ # @return [Object] Returns the model itself
225
+ def self.build_from_hash(attributes)
226
+ return nil unless attributes.is_a?(Hash)
227
+ attributes = attributes.transform_keys(&:to_sym)
228
+ transformed_hash = {}
229
+ openapi_types.each_pair do |key, type|
230
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
231
+ transformed_hash["#{key}"] = nil
232
+ elsif type =~ /\AArray<(.*)>/i
233
+ # check to ensure the input is an array given that the attribute
234
+ # is documented as an array but the input is not
235
+ if attributes[attribute_map[key]].is_a?(Array)
236
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
237
+ end
238
+ elsif !attributes[attribute_map[key]].nil?
239
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
240
+ end
241
+ end
242
+ new(transformed_hash)
243
+ end
244
+
245
+ # Deserializes the data based on type
246
+ # @param string type Data type
247
+ # @param string value Value to be deserialized
248
+ # @return [Object] Deserialized data
249
+ def self._deserialize(type, value)
250
+ case type.to_sym
251
+ when :Time
252
+ Time.parse(value)
253
+ when :Date
254
+ Date.parse(value)
255
+ when :String
256
+ value.to_s
257
+ when :Integer
258
+ value.to_i
259
+ when :Float
260
+ value.to_f
261
+ when :Boolean
262
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
263
+ true
264
+ else
265
+ false
266
+ end
267
+ when :Object
268
+ # generic object (usually a Hash), return directly
269
+ value
270
+ when /\AArray<(?<inner_type>.+)>\z/
271
+ inner_type = Regexp.last_match[:inner_type]
272
+ value.map { |v| _deserialize(inner_type, v) }
273
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
274
+ k_type = Regexp.last_match[:k_type]
275
+ v_type = Regexp.last_match[:v_type]
276
+ {}.tap do |hash|
277
+ value.each do |k, v|
278
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
279
+ end
280
+ end
281
+ else # model
282
+ # models (e.g. Pet) or oneOf
283
+ klass = Akeyless.const_get(type)
284
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
285
+ end
286
+ end
287
+
288
+ # Returns the string representation of the object
289
+ # @return [String] String presentation of the object
290
+ def to_s
291
+ to_hash.to_s
292
+ end
293
+
294
+ # to_body is an alias to to_hash (backward compatibility)
295
+ # @return [Hash] Returns the object in the form of hash
296
+ def to_body
297
+ to_hash
298
+ end
299
+
300
+ # Returns the object in the form of hash
301
+ # @return [Hash] Returns the object in the form of hash
302
+ def to_hash
303
+ hash = {}
304
+ self.class.attribute_map.each_pair do |attr, param|
305
+ value = self.send(attr)
306
+ if value.nil?
307
+ is_nullable = self.class.openapi_nullable.include?(attr)
308
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
309
+ end
310
+
311
+ hash[param] = _to_hash(value)
312
+ end
313
+ hash
314
+ end
315
+
316
+ # Outputs non-array value in the form of hash
317
+ # For object, use to_hash. Otherwise, just return the value
318
+ # @param [Object] value Any valid value
319
+ # @return [Hash] Returns the value in the form of hash
320
+ def _to_hash(value)
321
+ if value.is_a?(Array)
322
+ value.compact.map { |v| _to_hash(v) }
323
+ elsif value.is_a?(Hash)
324
+ {}.tap do |hash|
325
+ value.each { |k, v| hash[k] = _to_hash(v) }
326
+ end
327
+ elsif value.respond_to? :to_hash
328
+ value.to_hash
329
+ else
330
+ value
331
+ end
332
+ end
333
+
334
+ end
335
+
336
+ end