akeyless 5.0.6 → 5.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -1
  3. data/docs/AzureLogAnalyticsForwardingConfig.md +2 -0
  4. data/docs/CertificateTemplateInfo.md +2 -0
  5. data/docs/CreateClassicKey.md +3 -1
  6. data/docs/CreateDFCKey.md +3 -1
  7. data/docs/CreateKey.md +3 -1
  8. data/docs/GatewayUpdateLogForwardingAzureAnalytics.md +2 -0
  9. data/docs/GatewayUpdateLogForwardingSplunk.md +2 -0
  10. data/docs/GeminiTargetDetails.md +22 -0
  11. data/docs/GenerateCsr.md +2 -0
  12. data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +2 -0
  13. data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +2 -0
  14. data/docs/OpenAITargetDetails.md +26 -0
  15. data/docs/SplunkLogForwardingConfig.md +2 -0
  16. data/docs/StaticSecretSync.md +2 -0
  17. data/docs/TargetCreateGemini.md +36 -0
  18. data/docs/TargetCreateOpenAI.md +40 -0
  19. data/docs/TargetTypeDetailsInput.md +4 -0
  20. data/docs/TargetUpdateGemini.md +42 -0
  21. data/docs/TargetUpdateOpenAI.md +46 -0
  22. data/docs/V2Api.md +252 -0
  23. data/lib/akeyless/api/v2_api.rb +256 -0
  24. data/lib/akeyless/models/azure_log_analytics_forwarding_config.rb +10 -1
  25. data/lib/akeyless/models/certificate_template_info.rb +10 -1
  26. data/lib/akeyless/models/create_classic_key.rb +14 -2
  27. data/lib/akeyless/models/create_dfc_key.rb +14 -2
  28. data/lib/akeyless/models/create_key.rb +14 -2
  29. data/lib/akeyless/models/gateway_update_log_forwarding_azure_analytics.rb +13 -1
  30. data/lib/akeyless/models/gateway_update_log_forwarding_splunk.rb +13 -1
  31. data/lib/akeyless/models/gemini_target_details.rb +233 -0
  32. data/lib/akeyless/models/generate_csr.rb +13 -1
  33. data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +13 -1
  34. data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +13 -1
  35. data/lib/akeyless/models/open_ai_target_details.rb +251 -0
  36. data/lib/akeyless/models/splunk_log_forwarding_config.rb +10 -1
  37. data/lib/akeyless/models/static_secret_sync.rb +11 -1
  38. data/lib/akeyless/models/target_create_gemini.rb +317 -0
  39. data/lib/akeyless/models/target_create_open_ai.rb +337 -0
  40. data/lib/akeyless/models/target_type_details_input.rb +19 -1
  41. data/lib/akeyless/models/target_update_gemini.rb +351 -0
  42. data/lib/akeyless/models/target_update_open_ai.rb +371 -0
  43. data/lib/akeyless/version.rb +1 -1
  44. data/lib/akeyless.rb +6 -0
  45. data/spec/models/gemini_target_details_spec.rb +48 -0
  46. data/spec/models/open_ai_target_details_spec.rb +60 -0
  47. data/spec/models/target_create_gemini_spec.rb +90 -0
  48. data/spec/models/target_create_open_ai_spec.rb +102 -0
  49. data/spec/models/target_update_gemini_spec.rb +108 -0
  50. data/spec/models/target_update_open_ai_spec.rb +120 -0
  51. metadata +25 -1
data/docs/V2Api.md CHANGED
@@ -447,6 +447,7 @@ All URIs are relative to *https://api.akeyless.io*
447
447
  | [**target_create_dockerhub**](V2Api.md#target_create_dockerhub) | **POST** /target-create-dockerhub | |
448
448
  | [**target_create_eks**](V2Api.md#target_create_eks) | **POST** /target-create-eks | |
449
449
  | [**target_create_gcp**](V2Api.md#target_create_gcp) | **POST** /target-create-gcp | |
450
+ | [**target_create_gemini**](V2Api.md#target_create_gemini) | **POST** /target-create-gemini | |
450
451
  | [**target_create_github**](V2Api.md#target_create_github) | **POST** /target-create-github | |
451
452
  | [**target_create_gitlab**](V2Api.md#target_create_gitlab) | **POST** /target-create-gitlab | |
452
453
  | [**target_create_gke**](V2Api.md#target_create_gke) | **POST** /target-create-gke | |
@@ -457,6 +458,7 @@ All URIs are relative to *https://api.akeyless.io*
457
458
  | [**target_create_k8s**](V2Api.md#target_create_k8s) | **POST** /target-create-k8s | |
458
459
  | [**target_create_ldap**](V2Api.md#target_create_ldap) | **POST** /target-create-ldap | |
459
460
  | [**target_create_linked**](V2Api.md#target_create_linked) | **POST** /target-create-linked | |
461
+ | [**target_create_open_ai**](V2Api.md#target_create_open_ai) | **POST** /target-create-openai | |
460
462
  | [**target_create_ping**](V2Api.md#target_create_ping) | **POST** /target-create-ping | |
461
463
  | [**target_create_rabbit_mq**](V2Api.md#target_create_rabbit_mq) | **POST** /target-create-rabbitmq | |
462
464
  | [**target_create_salesforce**](V2Api.md#target_create_salesforce) | **POST** /target-create-salesforce | |
@@ -476,6 +478,7 @@ All URIs are relative to *https://api.akeyless.io*
476
478
  | [**target_update_dockerhub**](V2Api.md#target_update_dockerhub) | **POST** /target-update-dockerhub | |
477
479
  | [**target_update_eks**](V2Api.md#target_update_eks) | **POST** /target-update-eks | |
478
480
  | [**target_update_gcp**](V2Api.md#target_update_gcp) | **POST** /target-update-gcp | |
481
+ | [**target_update_gemini**](V2Api.md#target_update_gemini) | **POST** /target-update-gemini | |
479
482
  | [**target_update_github**](V2Api.md#target_update_github) | **POST** /target-update-github | |
480
483
  | [**target_update_gitlab**](V2Api.md#target_update_gitlab) | **POST** /target-update-gitlab | |
481
484
  | [**target_update_gke**](V2Api.md#target_update_gke) | **POST** /target-update-gke | |
@@ -486,6 +489,7 @@ All URIs are relative to *https://api.akeyless.io*
486
489
  | [**target_update_k8s**](V2Api.md#target_update_k8s) | **POST** /target-update-k8s | |
487
490
  | [**target_update_ldap**](V2Api.md#target_update_ldap) | **POST** /target-update-ldap | |
488
491
  | [**target_update_linked**](V2Api.md#target_update_linked) | **POST** /target-update-linked | |
492
+ | [**target_update_open_ai**](V2Api.md#target_update_open_ai) | **POST** /target-update-openai | |
489
493
  | [**target_update_ping**](V2Api.md#target_update_ping) | **POST** /target-update-ping | |
490
494
  | [**target_update_rabbit_mq**](V2Api.md#target_update_rabbit_mq) | **POST** /target-update-rabbitmq | |
491
495
  | [**target_update_salesforce**](V2Api.md#target_update_salesforce) | **POST** /target-update-salesforce | |
@@ -28067,6 +28071,68 @@ No authorization required
28067
28071
  - **Accept**: application/json
28068
28072
 
28069
28073
 
28074
+ ## target_create_gemini
28075
+
28076
+ > <TargetCreateOutput> target_create_gemini(target_create_gemini)
28077
+
28078
+
28079
+
28080
+ ### Examples
28081
+
28082
+ ```ruby
28083
+ require 'time'
28084
+ require 'akeyless'
28085
+
28086
+ api_instance = Akeyless::V2Api.new
28087
+ target_create_gemini = Akeyless::TargetCreateGemini.new({name: 'name_example'}) # TargetCreateGemini |
28088
+
28089
+ begin
28090
+
28091
+ result = api_instance.target_create_gemini(target_create_gemini)
28092
+ p result
28093
+ rescue Akeyless::ApiError => e
28094
+ puts "Error when calling V2Api->target_create_gemini: #{e}"
28095
+ end
28096
+ ```
28097
+
28098
+ #### Using the target_create_gemini_with_http_info variant
28099
+
28100
+ This returns an Array which contains the response data, status code and headers.
28101
+
28102
+ > <Array(<TargetCreateOutput>, Integer, Hash)> target_create_gemini_with_http_info(target_create_gemini)
28103
+
28104
+ ```ruby
28105
+ begin
28106
+
28107
+ data, status_code, headers = api_instance.target_create_gemini_with_http_info(target_create_gemini)
28108
+ p status_code # => 2xx
28109
+ p headers # => { ... }
28110
+ p data # => <TargetCreateOutput>
28111
+ rescue Akeyless::ApiError => e
28112
+ puts "Error when calling V2Api->target_create_gemini_with_http_info: #{e}"
28113
+ end
28114
+ ```
28115
+
28116
+ ### Parameters
28117
+
28118
+ | Name | Type | Description | Notes |
28119
+ | ---- | ---- | ----------- | ----- |
28120
+ | **target_create_gemini** | [**TargetCreateGemini**](TargetCreateGemini.md) | | |
28121
+
28122
+ ### Return type
28123
+
28124
+ [**TargetCreateOutput**](TargetCreateOutput.md)
28125
+
28126
+ ### Authorization
28127
+
28128
+ No authorization required
28129
+
28130
+ ### HTTP request headers
28131
+
28132
+ - **Content-Type**: application/json
28133
+ - **Accept**: application/json
28134
+
28135
+
28070
28136
  ## target_create_github
28071
28137
 
28072
28138
  > <TargetCreateOutput> target_create_github(target_create_github)
@@ -28687,6 +28753,68 @@ No authorization required
28687
28753
  - **Accept**: application/json
28688
28754
 
28689
28755
 
28756
+ ## target_create_open_ai
28757
+
28758
+ > <TargetCreateOutput> target_create_open_ai(target_create_open_ai)
28759
+
28760
+
28761
+
28762
+ ### Examples
28763
+
28764
+ ```ruby
28765
+ require 'time'
28766
+ require 'akeyless'
28767
+
28768
+ api_instance = Akeyless::V2Api.new
28769
+ target_create_open_ai = Akeyless::TargetCreateOpenAI.new({name: 'name_example'}) # TargetCreateOpenAI |
28770
+
28771
+ begin
28772
+
28773
+ result = api_instance.target_create_open_ai(target_create_open_ai)
28774
+ p result
28775
+ rescue Akeyless::ApiError => e
28776
+ puts "Error when calling V2Api->target_create_open_ai: #{e}"
28777
+ end
28778
+ ```
28779
+
28780
+ #### Using the target_create_open_ai_with_http_info variant
28781
+
28782
+ This returns an Array which contains the response data, status code and headers.
28783
+
28784
+ > <Array(<TargetCreateOutput>, Integer, Hash)> target_create_open_ai_with_http_info(target_create_open_ai)
28785
+
28786
+ ```ruby
28787
+ begin
28788
+
28789
+ data, status_code, headers = api_instance.target_create_open_ai_with_http_info(target_create_open_ai)
28790
+ p status_code # => 2xx
28791
+ p headers # => { ... }
28792
+ p data # => <TargetCreateOutput>
28793
+ rescue Akeyless::ApiError => e
28794
+ puts "Error when calling V2Api->target_create_open_ai_with_http_info: #{e}"
28795
+ end
28796
+ ```
28797
+
28798
+ ### Parameters
28799
+
28800
+ | Name | Type | Description | Notes |
28801
+ | ---- | ---- | ----------- | ----- |
28802
+ | **target_create_open_ai** | [**TargetCreateOpenAI**](TargetCreateOpenAI.md) | | |
28803
+
28804
+ ### Return type
28805
+
28806
+ [**TargetCreateOutput**](TargetCreateOutput.md)
28807
+
28808
+ ### Authorization
28809
+
28810
+ No authorization required
28811
+
28812
+ ### HTTP request headers
28813
+
28814
+ - **Content-Type**: application/json
28815
+ - **Accept**: application/json
28816
+
28817
+
28690
28818
  ## target_create_ping
28691
28819
 
28692
28820
  > <TargetCreateOutput> target_create_ping(target_create_ping)
@@ -29865,6 +29993,68 @@ No authorization required
29865
29993
  - **Accept**: application/json
29866
29994
 
29867
29995
 
29996
+ ## target_update_gemini
29997
+
29998
+ > <TargetUpdateOutput> target_update_gemini(target_update_gemini)
29999
+
30000
+
30001
+
30002
+ ### Examples
30003
+
30004
+ ```ruby
30005
+ require 'time'
30006
+ require 'akeyless'
30007
+
30008
+ api_instance = Akeyless::V2Api.new
30009
+ target_update_gemini = Akeyless::TargetUpdateGemini.new({name: 'name_example'}) # TargetUpdateGemini |
30010
+
30011
+ begin
30012
+
30013
+ result = api_instance.target_update_gemini(target_update_gemini)
30014
+ p result
30015
+ rescue Akeyless::ApiError => e
30016
+ puts "Error when calling V2Api->target_update_gemini: #{e}"
30017
+ end
30018
+ ```
30019
+
30020
+ #### Using the target_update_gemini_with_http_info variant
30021
+
30022
+ This returns an Array which contains the response data, status code and headers.
30023
+
30024
+ > <Array(<TargetUpdateOutput>, Integer, Hash)> target_update_gemini_with_http_info(target_update_gemini)
30025
+
30026
+ ```ruby
30027
+ begin
30028
+
30029
+ data, status_code, headers = api_instance.target_update_gemini_with_http_info(target_update_gemini)
30030
+ p status_code # => 2xx
30031
+ p headers # => { ... }
30032
+ p data # => <TargetUpdateOutput>
30033
+ rescue Akeyless::ApiError => e
30034
+ puts "Error when calling V2Api->target_update_gemini_with_http_info: #{e}"
30035
+ end
30036
+ ```
30037
+
30038
+ ### Parameters
30039
+
30040
+ | Name | Type | Description | Notes |
30041
+ | ---- | ---- | ----------- | ----- |
30042
+ | **target_update_gemini** | [**TargetUpdateGemini**](TargetUpdateGemini.md) | | |
30043
+
30044
+ ### Return type
30045
+
30046
+ [**TargetUpdateOutput**](TargetUpdateOutput.md)
30047
+
30048
+ ### Authorization
30049
+
30050
+ No authorization required
30051
+
30052
+ ### HTTP request headers
30053
+
30054
+ - **Content-Type**: application/json
30055
+ - **Accept**: application/json
30056
+
30057
+
29868
30058
  ## target_update_github
29869
30059
 
29870
30060
  > <TargetUpdateOutput> target_update_github(target_update_github)
@@ -30485,6 +30675,68 @@ No authorization required
30485
30675
  - **Accept**: application/json
30486
30676
 
30487
30677
 
30678
+ ## target_update_open_ai
30679
+
30680
+ > <TargetUpdateOutput> target_update_open_ai(target_update_open_ai)
30681
+
30682
+
30683
+
30684
+ ### Examples
30685
+
30686
+ ```ruby
30687
+ require 'time'
30688
+ require 'akeyless'
30689
+
30690
+ api_instance = Akeyless::V2Api.new
30691
+ target_update_open_ai = Akeyless::TargetUpdateOpenAI.new({name: 'name_example'}) # TargetUpdateOpenAI |
30692
+
30693
+ begin
30694
+
30695
+ result = api_instance.target_update_open_ai(target_update_open_ai)
30696
+ p result
30697
+ rescue Akeyless::ApiError => e
30698
+ puts "Error when calling V2Api->target_update_open_ai: #{e}"
30699
+ end
30700
+ ```
30701
+
30702
+ #### Using the target_update_open_ai_with_http_info variant
30703
+
30704
+ This returns an Array which contains the response data, status code and headers.
30705
+
30706
+ > <Array(<TargetUpdateOutput>, Integer, Hash)> target_update_open_ai_with_http_info(target_update_open_ai)
30707
+
30708
+ ```ruby
30709
+ begin
30710
+
30711
+ data, status_code, headers = api_instance.target_update_open_ai_with_http_info(target_update_open_ai)
30712
+ p status_code # => 2xx
30713
+ p headers # => { ... }
30714
+ p data # => <TargetUpdateOutput>
30715
+ rescue Akeyless::ApiError => e
30716
+ puts "Error when calling V2Api->target_update_open_ai_with_http_info: #{e}"
30717
+ end
30718
+ ```
30719
+
30720
+ ### Parameters
30721
+
30722
+ | Name | Type | Description | Notes |
30723
+ | ---- | ---- | ----------- | ----- |
30724
+ | **target_update_open_ai** | [**TargetUpdateOpenAI**](TargetUpdateOpenAI.md) | | |
30725
+
30726
+ ### Return type
30727
+
30728
+ [**TargetUpdateOutput**](TargetUpdateOutput.md)
30729
+
30730
+ ### Authorization
30731
+
30732
+ No authorization required
30733
+
30734
+ ### HTTP request headers
30735
+
30736
+ - **Content-Type**: application/json
30737
+ - **Accept**: application/json
30738
+
30739
+
30488
30740
  ## target_update_ping
30489
30741
 
30490
30742
  > <TargetUpdateOutput> target_update_ping(target_update_ping)
@@ -28262,6 +28262,70 @@ module Akeyless
28262
28262
  return data, status_code, headers
28263
28263
  end
28264
28264
 
28265
+ # @param target_create_gemini [TargetCreateGemini]
28266
+ # @param [Hash] opts the optional parameters
28267
+ # @return [TargetCreateOutput]
28268
+ def target_create_gemini(target_create_gemini, opts = {})
28269
+ data, _status_code, _headers = target_create_gemini_with_http_info(target_create_gemini, opts)
28270
+ data
28271
+ end
28272
+
28273
+ # @param target_create_gemini [TargetCreateGemini]
28274
+ # @param [Hash] opts the optional parameters
28275
+ # @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
28276
+ def target_create_gemini_with_http_info(target_create_gemini, opts = {})
28277
+ if @api_client.config.debugging
28278
+ @api_client.config.logger.debug 'Calling API: V2Api.target_create_gemini ...'
28279
+ end
28280
+ # verify the required parameter 'target_create_gemini' is set
28281
+ if @api_client.config.client_side_validation && target_create_gemini.nil?
28282
+ fail ArgumentError, "Missing the required parameter 'target_create_gemini' when calling V2Api.target_create_gemini"
28283
+ end
28284
+ # resource path
28285
+ local_var_path = '/target-create-gemini'
28286
+
28287
+ # query parameters
28288
+ query_params = opts[:query_params] || {}
28289
+
28290
+ # header parameters
28291
+ header_params = opts[:header_params] || {}
28292
+ # HTTP header 'Accept' (if needed)
28293
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
28294
+ # HTTP header 'Content-Type'
28295
+ content_type = @api_client.select_header_content_type(['application/json'])
28296
+ if !content_type.nil?
28297
+ header_params['Content-Type'] = content_type
28298
+ end
28299
+
28300
+ # form parameters
28301
+ form_params = opts[:form_params] || {}
28302
+
28303
+ # http body (model)
28304
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_gemini)
28305
+
28306
+ # return_type
28307
+ return_type = opts[:debug_return_type] || 'TargetCreateOutput'
28308
+
28309
+ # auth_names
28310
+ auth_names = opts[:debug_auth_names] || []
28311
+
28312
+ new_options = opts.merge(
28313
+ :operation => :"V2Api.target_create_gemini",
28314
+ :header_params => header_params,
28315
+ :query_params => query_params,
28316
+ :form_params => form_params,
28317
+ :body => post_body,
28318
+ :auth_names => auth_names,
28319
+ :return_type => return_type
28320
+ )
28321
+
28322
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
28323
+ if @api_client.config.debugging
28324
+ @api_client.config.logger.debug "API called: V2Api#target_create_gemini\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
28325
+ end
28326
+ return data, status_code, headers
28327
+ end
28328
+
28265
28329
  # @param target_create_github [TargetCreateGithub]
28266
28330
  # @param [Hash] opts the optional parameters
28267
28331
  # @return [TargetCreateOutput]
@@ -28902,6 +28966,70 @@ module Akeyless
28902
28966
  return data, status_code, headers
28903
28967
  end
28904
28968
 
28969
+ # @param target_create_open_ai [TargetCreateOpenAI]
28970
+ # @param [Hash] opts the optional parameters
28971
+ # @return [TargetCreateOutput]
28972
+ def target_create_open_ai(target_create_open_ai, opts = {})
28973
+ data, _status_code, _headers = target_create_open_ai_with_http_info(target_create_open_ai, opts)
28974
+ data
28975
+ end
28976
+
28977
+ # @param target_create_open_ai [TargetCreateOpenAI]
28978
+ # @param [Hash] opts the optional parameters
28979
+ # @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
28980
+ def target_create_open_ai_with_http_info(target_create_open_ai, opts = {})
28981
+ if @api_client.config.debugging
28982
+ @api_client.config.logger.debug 'Calling API: V2Api.target_create_open_ai ...'
28983
+ end
28984
+ # verify the required parameter 'target_create_open_ai' is set
28985
+ if @api_client.config.client_side_validation && target_create_open_ai.nil?
28986
+ fail ArgumentError, "Missing the required parameter 'target_create_open_ai' when calling V2Api.target_create_open_ai"
28987
+ end
28988
+ # resource path
28989
+ local_var_path = '/target-create-openai'
28990
+
28991
+ # query parameters
28992
+ query_params = opts[:query_params] || {}
28993
+
28994
+ # header parameters
28995
+ header_params = opts[:header_params] || {}
28996
+ # HTTP header 'Accept' (if needed)
28997
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
28998
+ # HTTP header 'Content-Type'
28999
+ content_type = @api_client.select_header_content_type(['application/json'])
29000
+ if !content_type.nil?
29001
+ header_params['Content-Type'] = content_type
29002
+ end
29003
+
29004
+ # form parameters
29005
+ form_params = opts[:form_params] || {}
29006
+
29007
+ # http body (model)
29008
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_open_ai)
29009
+
29010
+ # return_type
29011
+ return_type = opts[:debug_return_type] || 'TargetCreateOutput'
29012
+
29013
+ # auth_names
29014
+ auth_names = opts[:debug_auth_names] || []
29015
+
29016
+ new_options = opts.merge(
29017
+ :operation => :"V2Api.target_create_open_ai",
29018
+ :header_params => header_params,
29019
+ :query_params => query_params,
29020
+ :form_params => form_params,
29021
+ :body => post_body,
29022
+ :auth_names => auth_names,
29023
+ :return_type => return_type
29024
+ )
29025
+
29026
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
29027
+ if @api_client.config.debugging
29028
+ @api_client.config.logger.debug "API called: V2Api#target_create_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
29029
+ end
29030
+ return data, status_code, headers
29031
+ end
29032
+
28905
29033
  # @param target_create_ping [TargetCreatePing]
28906
29034
  # @param [Hash] opts the optional parameters
28907
29035
  # @return [TargetCreateOutput]
@@ -30118,6 +30246,70 @@ module Akeyless
30118
30246
  return data, status_code, headers
30119
30247
  end
30120
30248
 
30249
+ # @param target_update_gemini [TargetUpdateGemini]
30250
+ # @param [Hash] opts the optional parameters
30251
+ # @return [TargetUpdateOutput]
30252
+ def target_update_gemini(target_update_gemini, opts = {})
30253
+ data, _status_code, _headers = target_update_gemini_with_http_info(target_update_gemini, opts)
30254
+ data
30255
+ end
30256
+
30257
+ # @param target_update_gemini [TargetUpdateGemini]
30258
+ # @param [Hash] opts the optional parameters
30259
+ # @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
30260
+ def target_update_gemini_with_http_info(target_update_gemini, opts = {})
30261
+ if @api_client.config.debugging
30262
+ @api_client.config.logger.debug 'Calling API: V2Api.target_update_gemini ...'
30263
+ end
30264
+ # verify the required parameter 'target_update_gemini' is set
30265
+ if @api_client.config.client_side_validation && target_update_gemini.nil?
30266
+ fail ArgumentError, "Missing the required parameter 'target_update_gemini' when calling V2Api.target_update_gemini"
30267
+ end
30268
+ # resource path
30269
+ local_var_path = '/target-update-gemini'
30270
+
30271
+ # query parameters
30272
+ query_params = opts[:query_params] || {}
30273
+
30274
+ # header parameters
30275
+ header_params = opts[:header_params] || {}
30276
+ # HTTP header 'Accept' (if needed)
30277
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
30278
+ # HTTP header 'Content-Type'
30279
+ content_type = @api_client.select_header_content_type(['application/json'])
30280
+ if !content_type.nil?
30281
+ header_params['Content-Type'] = content_type
30282
+ end
30283
+
30284
+ # form parameters
30285
+ form_params = opts[:form_params] || {}
30286
+
30287
+ # http body (model)
30288
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_gemini)
30289
+
30290
+ # return_type
30291
+ return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
30292
+
30293
+ # auth_names
30294
+ auth_names = opts[:debug_auth_names] || []
30295
+
30296
+ new_options = opts.merge(
30297
+ :operation => :"V2Api.target_update_gemini",
30298
+ :header_params => header_params,
30299
+ :query_params => query_params,
30300
+ :form_params => form_params,
30301
+ :body => post_body,
30302
+ :auth_names => auth_names,
30303
+ :return_type => return_type
30304
+ )
30305
+
30306
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
30307
+ if @api_client.config.debugging
30308
+ @api_client.config.logger.debug "API called: V2Api#target_update_gemini\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
30309
+ end
30310
+ return data, status_code, headers
30311
+ end
30312
+
30121
30313
  # @param target_update_github [TargetUpdateGithub]
30122
30314
  # @param [Hash] opts the optional parameters
30123
30315
  # @return [TargetUpdateOutput]
@@ -30758,6 +30950,70 @@ module Akeyless
30758
30950
  return data, status_code, headers
30759
30951
  end
30760
30952
 
30953
+ # @param target_update_open_ai [TargetUpdateOpenAI]
30954
+ # @param [Hash] opts the optional parameters
30955
+ # @return [TargetUpdateOutput]
30956
+ def target_update_open_ai(target_update_open_ai, opts = {})
30957
+ data, _status_code, _headers = target_update_open_ai_with_http_info(target_update_open_ai, opts)
30958
+ data
30959
+ end
30960
+
30961
+ # @param target_update_open_ai [TargetUpdateOpenAI]
30962
+ # @param [Hash] opts the optional parameters
30963
+ # @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
30964
+ def target_update_open_ai_with_http_info(target_update_open_ai, opts = {})
30965
+ if @api_client.config.debugging
30966
+ @api_client.config.logger.debug 'Calling API: V2Api.target_update_open_ai ...'
30967
+ end
30968
+ # verify the required parameter 'target_update_open_ai' is set
30969
+ if @api_client.config.client_side_validation && target_update_open_ai.nil?
30970
+ fail ArgumentError, "Missing the required parameter 'target_update_open_ai' when calling V2Api.target_update_open_ai"
30971
+ end
30972
+ # resource path
30973
+ local_var_path = '/target-update-openai'
30974
+
30975
+ # query parameters
30976
+ query_params = opts[:query_params] || {}
30977
+
30978
+ # header parameters
30979
+ header_params = opts[:header_params] || {}
30980
+ # HTTP header 'Accept' (if needed)
30981
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
30982
+ # HTTP header 'Content-Type'
30983
+ content_type = @api_client.select_header_content_type(['application/json'])
30984
+ if !content_type.nil?
30985
+ header_params['Content-Type'] = content_type
30986
+ end
30987
+
30988
+ # form parameters
30989
+ form_params = opts[:form_params] || {}
30990
+
30991
+ # http body (model)
30992
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_open_ai)
30993
+
30994
+ # return_type
30995
+ return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
30996
+
30997
+ # auth_names
30998
+ auth_names = opts[:debug_auth_names] || []
30999
+
31000
+ new_options = opts.merge(
31001
+ :operation => :"V2Api.target_update_open_ai",
31002
+ :header_params => header_params,
31003
+ :query_params => query_params,
31004
+ :form_params => form_params,
31005
+ :body => post_body,
31006
+ :auth_names => auth_names,
31007
+ :return_type => return_type
31008
+ )
31009
+
31010
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
31011
+ if @api_client.config.debugging
31012
+ @api_client.config.logger.debug "API called: V2Api#target_update_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
31013
+ end
31014
+ return data, status_code, headers
31015
+ end
31016
+
30761
31017
  # @param target_update_ping [TargetUpdatePing]
30762
31018
  # @param [Hash] opts the optional parameters
30763
31019
  # @return [TargetUpdateOutput]
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class AzureLogAnalyticsForwardingConfig
18
+ attr_accessor :azure_enable_batch
19
+
18
20
  attr_accessor :azure_workspace_id
19
21
 
20
22
  attr_accessor :azure_workspace_key
@@ -22,6 +24,7 @@ module Akeyless
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
27
+ :'azure_enable_batch' => :'azure_enable_batch',
25
28
  :'azure_workspace_id' => :'azure_workspace_id',
26
29
  :'azure_workspace_key' => :'azure_workspace_key'
27
30
  }
@@ -35,6 +38,7 @@ module Akeyless
35
38
  # Attribute type mapping.
36
39
  def self.openapi_types
37
40
  {
41
+ :'azure_enable_batch' => :'String',
38
42
  :'azure_workspace_id' => :'String',
39
43
  :'azure_workspace_key' => :'String'
40
44
  }
@@ -61,6 +65,10 @@ module Akeyless
61
65
  h[k.to_sym] = v
62
66
  }
63
67
 
68
+ if attributes.key?(:'azure_enable_batch')
69
+ self.azure_enable_batch = attributes[:'azure_enable_batch']
70
+ end
71
+
64
72
  if attributes.key?(:'azure_workspace_id')
65
73
  self.azure_workspace_id = attributes[:'azure_workspace_id']
66
74
  end
@@ -90,6 +98,7 @@ module Akeyless
90
98
  def ==(o)
91
99
  return true if self.equal?(o)
92
100
  self.class == o.class &&
101
+ azure_enable_batch == o.azure_enable_batch &&
93
102
  azure_workspace_id == o.azure_workspace_id &&
94
103
  azure_workspace_key == o.azure_workspace_key
95
104
  end
@@ -103,7 +112,7 @@ module Akeyless
103
112
  # Calculates hash code according to all attributes.
104
113
  # @return [Integer] Hash code
105
114
  def hash
106
- [azure_workspace_id, azure_workspace_key].hash
115
+ [azure_enable_batch, azure_workspace_id, azure_workspace_key].hash
107
116
  end
108
117
 
109
118
  # Builds the object from hash
@@ -23,6 +23,8 @@ module Akeyless
23
23
 
24
24
  attr_accessor :digest_algo
25
25
 
26
+ attr_accessor :hash_algorithm
27
+
26
28
  attr_accessor :locality
27
29
 
28
30
  attr_accessor :organization
@@ -40,6 +42,7 @@ module Akeyless
40
42
  :'country' => :'country',
41
43
  :'csr_cnf_base_64' => :'csr_cnf_base_64',
42
44
  :'digest_algo' => :'digest_algo',
45
+ :'hash_algorithm' => :'hash_algorithm',
43
46
  :'locality' => :'locality',
44
47
  :'organization' => :'organization',
45
48
  :'province' => :'province',
@@ -60,6 +63,7 @@ module Akeyless
60
63
  :'country' => :'String',
61
64
  :'csr_cnf_base_64' => :'String',
62
65
  :'digest_algo' => :'String',
66
+ :'hash_algorithm' => :'String',
63
67
  :'locality' => :'String',
64
68
  :'organization' => :'String',
65
69
  :'province' => :'String',
@@ -105,6 +109,10 @@ module Akeyless
105
109
  self.digest_algo = attributes[:'digest_algo']
106
110
  end
107
111
 
112
+ if attributes.key?(:'hash_algorithm')
113
+ self.hash_algorithm = attributes[:'hash_algorithm']
114
+ end
115
+
108
116
  if attributes.key?(:'locality')
109
117
  self.locality = attributes[:'locality']
110
118
  end
@@ -150,6 +158,7 @@ module Akeyless
150
158
  country == o.country &&
151
159
  csr_cnf_base_64 == o.csr_cnf_base_64 &&
152
160
  digest_algo == o.digest_algo &&
161
+ hash_algorithm == o.hash_algorithm &&
153
162
  locality == o.locality &&
154
163
  organization == o.organization &&
155
164
  province == o.province &&
@@ -166,7 +175,7 @@ module Akeyless
166
175
  # Calculates hash code according to all attributes.
167
176
  # @return [Integer] Hash code
168
177
  def hash
169
- [common_name, country, csr_cnf_base_64, digest_algo, locality, organization, province, self_signed_enabled, ttl].hash
178
+ [common_name, country, csr_cnf_base_64, digest_algo, hash_algorithm, locality, organization, province, self_signed_enabled, ttl].hash
170
179
  end
171
180
 
172
181
  # Builds the object from hash