akeyless 5.0.13 → 5.0.16
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.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +2 -0
- data/docs/AllowedClientType.md +20 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +2 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateSAML.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +2 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BastionGlobalConf.md +4 -0
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateESM.md +2 -0
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DecryptWithClassicKey.md +2 -0
- data/docs/DynamicSecretCreateGcp.md +23 -5
- data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +2 -0
- data/docs/DynamicSecretCreateMsSql.md +2 -0
- data/docs/DynamicSecretGetValue.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +23 -5
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/EncryptWithClassicKey.md +2 -0
- data/docs/EventForwarderGetOutput.md +3 -1
- data/docs/FolderCreate.md +34 -0
- data/docs/FolderCreateOutput.md +18 -0
- data/docs/FolderDelete.md +28 -0
- data/docs/FolderGet.md +28 -0
- data/docs/FolderGetOutput.md +18 -0
- data/docs/FolderUpdate.md +36 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +23 -5
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +23 -5
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +4 -0
- data/docs/GetDynamicSecretValue.md +2 -0
- data/docs/GetFolderOutput.md +36 -0
- data/docs/NotiForwarderDetailsInput.md +28 -0
- data/docs/PKICertificateIssueDetails.md +6 -0
- data/docs/RotatedSecretCreateSsh.md +4 -0
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretDetailsInfo.md +4 -0
- data/docs/RotatedSecretUpdateSsh.md +4 -0
- data/docs/SlackNotiForwarderDetails.md +18 -0
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/TeamsNotiForwarderDetails.md +18 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +256 -4
- data/docs/WebhookNotiForwarderDetails.md +26 -0
- data/docs/WindowsServiceAttributes.md +4 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/active_directory_payload.rb +10 -1
- data/lib/akeyless/models/allowed_client_type.rb +225 -0
- data/lib/akeyless/models/auth_method_access_info.rb +12 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_create_email.rb +12 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_update_email.rb +12 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/create_esm.rb +11 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/create_role.rb +13 -1
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/ds_producer_details.rb +47 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +101 -11
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +101 -11
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
- data/lib/akeyless/models/encrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
- data/lib/akeyless/models/folder_create.rb +308 -0
- data/lib/akeyless/models/folder_create_output.rb +214 -0
- data/lib/akeyless/models/folder_delete.rb +276 -0
- data/lib/akeyless/models/folder_get.rb +276 -0
- data/lib/akeyless/models/folder_get_output.rb +214 -0
- data/lib/akeyless/models/folder_update.rb +320 -0
- data/lib/akeyless/models/gateway_create_migration.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +101 -11
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +101 -11
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
- data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
- data/lib/akeyless/models/get_folder_output.rb +298 -0
- data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
- data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
- data/lib/akeyless/models/windows_service_attributes.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +12 -0
- data/spec/models/allowed_client_type_spec.rb +42 -0
- data/spec/models/folder_create_output_spec.rb +36 -0
- data/spec/models/folder_create_spec.rb +84 -0
- data/spec/models/folder_delete_spec.rb +66 -0
- data/spec/models/folder_get_output_spec.rb +36 -0
- data/spec/models/folder_get_spec.rb +66 -0
- data/spec/models/folder_update_spec.rb +90 -0
- data/spec/models/get_folder_output_spec.rb +90 -0
- data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
- data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
- metadata +49 -1
data/docs/V2Api.md
CHANGED
|
@@ -218,6 +218,10 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
218
218
|
| [**event_forwarder_update_teams**](V2Api.md#event_forwarder_update_teams) | **POST** /event-forwarder-update-teams | |
|
|
219
219
|
| [**event_forwarder_update_webhook**](V2Api.md#event_forwarder_update_webhook) | **POST** /event-forwarder-update-webhook | |
|
|
220
220
|
| [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
|
|
221
|
+
| [**folder_create**](V2Api.md#folder_create) | **POST** /folder-create | |
|
|
222
|
+
| [**folder_delete**](V2Api.md#folder_delete) | **POST** /folder-delete | |
|
|
223
|
+
| [**folder_get**](V2Api.md#folder_get) | **POST** /folder-get | |
|
|
224
|
+
| [**folder_update**](V2Api.md#folder_update) | **POST** /folder-update | |
|
|
221
225
|
| [**gateway_create_allowed_access**](V2Api.md#gateway_create_allowed_access) | **POST** /gateway-create-allowed-access | |
|
|
222
226
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
|
223
227
|
| [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
|
|
@@ -8978,7 +8982,7 @@ require 'time'
|
|
|
8978
8982
|
require 'akeyless'
|
|
8979
8983
|
|
|
8980
8984
|
api_instance = Akeyless::V2Api.new
|
|
8981
|
-
dynamic_secret_create_gcp = Akeyless::DynamicSecretCreateGcp.new({name: 'name_example'
|
|
8985
|
+
dynamic_secret_create_gcp = Akeyless::DynamicSecretCreateGcp.new({name: 'name_example'}) # DynamicSecretCreateGcp |
|
|
8982
8986
|
|
|
8983
8987
|
begin
|
|
8984
8988
|
|
|
@@ -11148,7 +11152,7 @@ require 'time'
|
|
|
11148
11152
|
require 'akeyless'
|
|
11149
11153
|
|
|
11150
11154
|
api_instance = Akeyless::V2Api.new
|
|
11151
|
-
dynamic_secret_update_gcp = Akeyless::DynamicSecretUpdateGcp.new({name: 'name_example'
|
|
11155
|
+
dynamic_secret_update_gcp = Akeyless::DynamicSecretUpdateGcp.new({name: 'name_example'}) # DynamicSecretUpdateGcp |
|
|
11152
11156
|
|
|
11153
11157
|
begin
|
|
11154
11158
|
|
|
@@ -13863,6 +13867,254 @@ No authorization required
|
|
|
13863
13867
|
- **Accept**: application/json
|
|
13864
13868
|
|
|
13865
13869
|
|
|
13870
|
+
## folder_create
|
|
13871
|
+
|
|
13872
|
+
> <FolderCreateOutput> folder_create(folder_create)
|
|
13873
|
+
|
|
13874
|
+
|
|
13875
|
+
|
|
13876
|
+
### Examples
|
|
13877
|
+
|
|
13878
|
+
```ruby
|
|
13879
|
+
require 'time'
|
|
13880
|
+
require 'akeyless'
|
|
13881
|
+
|
|
13882
|
+
api_instance = Akeyless::V2Api.new
|
|
13883
|
+
folder_create = Akeyless::FolderCreate.new({name: 'name_example'}) # FolderCreate |
|
|
13884
|
+
|
|
13885
|
+
begin
|
|
13886
|
+
|
|
13887
|
+
result = api_instance.folder_create(folder_create)
|
|
13888
|
+
p result
|
|
13889
|
+
rescue Akeyless::ApiError => e
|
|
13890
|
+
puts "Error when calling V2Api->folder_create: #{e}"
|
|
13891
|
+
end
|
|
13892
|
+
```
|
|
13893
|
+
|
|
13894
|
+
#### Using the folder_create_with_http_info variant
|
|
13895
|
+
|
|
13896
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13897
|
+
|
|
13898
|
+
> <Array(<FolderCreateOutput>, Integer, Hash)> folder_create_with_http_info(folder_create)
|
|
13899
|
+
|
|
13900
|
+
```ruby
|
|
13901
|
+
begin
|
|
13902
|
+
|
|
13903
|
+
data, status_code, headers = api_instance.folder_create_with_http_info(folder_create)
|
|
13904
|
+
p status_code # => 2xx
|
|
13905
|
+
p headers # => { ... }
|
|
13906
|
+
p data # => <FolderCreateOutput>
|
|
13907
|
+
rescue Akeyless::ApiError => e
|
|
13908
|
+
puts "Error when calling V2Api->folder_create_with_http_info: #{e}"
|
|
13909
|
+
end
|
|
13910
|
+
```
|
|
13911
|
+
|
|
13912
|
+
### Parameters
|
|
13913
|
+
|
|
13914
|
+
| Name | Type | Description | Notes |
|
|
13915
|
+
| ---- | ---- | ----------- | ----- |
|
|
13916
|
+
| **folder_create** | [**FolderCreate**](FolderCreate.md) | | |
|
|
13917
|
+
|
|
13918
|
+
### Return type
|
|
13919
|
+
|
|
13920
|
+
[**FolderCreateOutput**](FolderCreateOutput.md)
|
|
13921
|
+
|
|
13922
|
+
### Authorization
|
|
13923
|
+
|
|
13924
|
+
No authorization required
|
|
13925
|
+
|
|
13926
|
+
### HTTP request headers
|
|
13927
|
+
|
|
13928
|
+
- **Content-Type**: application/json
|
|
13929
|
+
- **Accept**: application/json
|
|
13930
|
+
|
|
13931
|
+
|
|
13932
|
+
## folder_delete
|
|
13933
|
+
|
|
13934
|
+
> Object folder_delete(folder_delete)
|
|
13935
|
+
|
|
13936
|
+
|
|
13937
|
+
|
|
13938
|
+
### Examples
|
|
13939
|
+
|
|
13940
|
+
```ruby
|
|
13941
|
+
require 'time'
|
|
13942
|
+
require 'akeyless'
|
|
13943
|
+
|
|
13944
|
+
api_instance = Akeyless::V2Api.new
|
|
13945
|
+
folder_delete = Akeyless::FolderDelete.new({name: 'name_example'}) # FolderDelete |
|
|
13946
|
+
|
|
13947
|
+
begin
|
|
13948
|
+
|
|
13949
|
+
result = api_instance.folder_delete(folder_delete)
|
|
13950
|
+
p result
|
|
13951
|
+
rescue Akeyless::ApiError => e
|
|
13952
|
+
puts "Error when calling V2Api->folder_delete: #{e}"
|
|
13953
|
+
end
|
|
13954
|
+
```
|
|
13955
|
+
|
|
13956
|
+
#### Using the folder_delete_with_http_info variant
|
|
13957
|
+
|
|
13958
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13959
|
+
|
|
13960
|
+
> <Array(Object, Integer, Hash)> folder_delete_with_http_info(folder_delete)
|
|
13961
|
+
|
|
13962
|
+
```ruby
|
|
13963
|
+
begin
|
|
13964
|
+
|
|
13965
|
+
data, status_code, headers = api_instance.folder_delete_with_http_info(folder_delete)
|
|
13966
|
+
p status_code # => 2xx
|
|
13967
|
+
p headers # => { ... }
|
|
13968
|
+
p data # => Object
|
|
13969
|
+
rescue Akeyless::ApiError => e
|
|
13970
|
+
puts "Error when calling V2Api->folder_delete_with_http_info: #{e}"
|
|
13971
|
+
end
|
|
13972
|
+
```
|
|
13973
|
+
|
|
13974
|
+
### Parameters
|
|
13975
|
+
|
|
13976
|
+
| Name | Type | Description | Notes |
|
|
13977
|
+
| ---- | ---- | ----------- | ----- |
|
|
13978
|
+
| **folder_delete** | [**FolderDelete**](FolderDelete.md) | | |
|
|
13979
|
+
|
|
13980
|
+
### Return type
|
|
13981
|
+
|
|
13982
|
+
**Object**
|
|
13983
|
+
|
|
13984
|
+
### Authorization
|
|
13985
|
+
|
|
13986
|
+
No authorization required
|
|
13987
|
+
|
|
13988
|
+
### HTTP request headers
|
|
13989
|
+
|
|
13990
|
+
- **Content-Type**: application/json
|
|
13991
|
+
- **Accept**: application/json
|
|
13992
|
+
|
|
13993
|
+
|
|
13994
|
+
## folder_get
|
|
13995
|
+
|
|
13996
|
+
> <FolderGetOutput> folder_get(folder_get)
|
|
13997
|
+
|
|
13998
|
+
|
|
13999
|
+
|
|
14000
|
+
### Examples
|
|
14001
|
+
|
|
14002
|
+
```ruby
|
|
14003
|
+
require 'time'
|
|
14004
|
+
require 'akeyless'
|
|
14005
|
+
|
|
14006
|
+
api_instance = Akeyless::V2Api.new
|
|
14007
|
+
folder_get = Akeyless::FolderGet.new({name: 'name_example'}) # FolderGet |
|
|
14008
|
+
|
|
14009
|
+
begin
|
|
14010
|
+
|
|
14011
|
+
result = api_instance.folder_get(folder_get)
|
|
14012
|
+
p result
|
|
14013
|
+
rescue Akeyless::ApiError => e
|
|
14014
|
+
puts "Error when calling V2Api->folder_get: #{e}"
|
|
14015
|
+
end
|
|
14016
|
+
```
|
|
14017
|
+
|
|
14018
|
+
#### Using the folder_get_with_http_info variant
|
|
14019
|
+
|
|
14020
|
+
This returns an Array which contains the response data, status code and headers.
|
|
14021
|
+
|
|
14022
|
+
> <Array(<FolderGetOutput>, Integer, Hash)> folder_get_with_http_info(folder_get)
|
|
14023
|
+
|
|
14024
|
+
```ruby
|
|
14025
|
+
begin
|
|
14026
|
+
|
|
14027
|
+
data, status_code, headers = api_instance.folder_get_with_http_info(folder_get)
|
|
14028
|
+
p status_code # => 2xx
|
|
14029
|
+
p headers # => { ... }
|
|
14030
|
+
p data # => <FolderGetOutput>
|
|
14031
|
+
rescue Akeyless::ApiError => e
|
|
14032
|
+
puts "Error when calling V2Api->folder_get_with_http_info: #{e}"
|
|
14033
|
+
end
|
|
14034
|
+
```
|
|
14035
|
+
|
|
14036
|
+
### Parameters
|
|
14037
|
+
|
|
14038
|
+
| Name | Type | Description | Notes |
|
|
14039
|
+
| ---- | ---- | ----------- | ----- |
|
|
14040
|
+
| **folder_get** | [**FolderGet**](FolderGet.md) | | |
|
|
14041
|
+
|
|
14042
|
+
### Return type
|
|
14043
|
+
|
|
14044
|
+
[**FolderGetOutput**](FolderGetOutput.md)
|
|
14045
|
+
|
|
14046
|
+
### Authorization
|
|
14047
|
+
|
|
14048
|
+
No authorization required
|
|
14049
|
+
|
|
14050
|
+
### HTTP request headers
|
|
14051
|
+
|
|
14052
|
+
- **Content-Type**: application/json
|
|
14053
|
+
- **Accept**: application/json
|
|
14054
|
+
|
|
14055
|
+
|
|
14056
|
+
## folder_update
|
|
14057
|
+
|
|
14058
|
+
> Object folder_update(folder_update)
|
|
14059
|
+
|
|
14060
|
+
|
|
14061
|
+
|
|
14062
|
+
### Examples
|
|
14063
|
+
|
|
14064
|
+
```ruby
|
|
14065
|
+
require 'time'
|
|
14066
|
+
require 'akeyless'
|
|
14067
|
+
|
|
14068
|
+
api_instance = Akeyless::V2Api.new
|
|
14069
|
+
folder_update = Akeyless::FolderUpdate.new({name: 'name_example'}) # FolderUpdate |
|
|
14070
|
+
|
|
14071
|
+
begin
|
|
14072
|
+
|
|
14073
|
+
result = api_instance.folder_update(folder_update)
|
|
14074
|
+
p result
|
|
14075
|
+
rescue Akeyless::ApiError => e
|
|
14076
|
+
puts "Error when calling V2Api->folder_update: #{e}"
|
|
14077
|
+
end
|
|
14078
|
+
```
|
|
14079
|
+
|
|
14080
|
+
#### Using the folder_update_with_http_info variant
|
|
14081
|
+
|
|
14082
|
+
This returns an Array which contains the response data, status code and headers.
|
|
14083
|
+
|
|
14084
|
+
> <Array(Object, Integer, Hash)> folder_update_with_http_info(folder_update)
|
|
14085
|
+
|
|
14086
|
+
```ruby
|
|
14087
|
+
begin
|
|
14088
|
+
|
|
14089
|
+
data, status_code, headers = api_instance.folder_update_with_http_info(folder_update)
|
|
14090
|
+
p status_code # => 2xx
|
|
14091
|
+
p headers # => { ... }
|
|
14092
|
+
p data # => Object
|
|
14093
|
+
rescue Akeyless::ApiError => e
|
|
14094
|
+
puts "Error when calling V2Api->folder_update_with_http_info: #{e}"
|
|
14095
|
+
end
|
|
14096
|
+
```
|
|
14097
|
+
|
|
14098
|
+
### Parameters
|
|
14099
|
+
|
|
14100
|
+
| Name | Type | Description | Notes |
|
|
14101
|
+
| ---- | ---- | ----------- | ----- |
|
|
14102
|
+
| **folder_update** | [**FolderUpdate**](FolderUpdate.md) | | |
|
|
14103
|
+
|
|
14104
|
+
### Return type
|
|
14105
|
+
|
|
14106
|
+
**Object**
|
|
14107
|
+
|
|
14108
|
+
### Authorization
|
|
14109
|
+
|
|
14110
|
+
No authorization required
|
|
14111
|
+
|
|
14112
|
+
### HTTP request headers
|
|
14113
|
+
|
|
14114
|
+
- **Content-Type**: application/json
|
|
14115
|
+
- **Accept**: application/json
|
|
14116
|
+
|
|
14117
|
+
|
|
13866
14118
|
## gateway_create_allowed_access
|
|
13867
14119
|
|
|
13868
14120
|
> <AllowedAccess> gateway_create_allowed_access(gateway_create_allowed_access)
|
|
@@ -14560,7 +14812,7 @@ require 'time'
|
|
|
14560
14812
|
require 'akeyless'
|
|
14561
14813
|
|
|
14562
14814
|
api_instance = Akeyless::V2Api.new
|
|
14563
|
-
gateway_create_producer_gcp = Akeyless::GatewayCreateProducerGcp.new({name: 'name_example'
|
|
14815
|
+
gateway_create_producer_gcp = Akeyless::GatewayCreateProducerGcp.new({name: 'name_example'}) # GatewayCreateProducerGcp |
|
|
14564
14816
|
|
|
14565
14817
|
begin
|
|
14566
14818
|
|
|
@@ -18903,7 +19155,7 @@ require 'time'
|
|
|
18903
19155
|
require 'akeyless'
|
|
18904
19156
|
|
|
18905
19157
|
api_instance = Akeyless::V2Api.new
|
|
18906
|
-
gateway_update_producer_gcp = Akeyless::GatewayUpdateProducerGcp.new({name: 'name_example'
|
|
19158
|
+
gateway_update_producer_gcp = Akeyless::GatewayUpdateProducerGcp.new({name: 'name_example'}) # GatewayUpdateProducerGcp |
|
|
18907
19159
|
|
|
18908
19160
|
begin
|
|
18909
19161
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Akeyless::WebhookNotiForwarderDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **certificate** | **String** | Auth type - Certificate | [optional] |
|
|
8
|
+
| **password** | **String** | Auth type - User Password | [optional] |
|
|
9
|
+
| **private_key** | **String** | | [optional] |
|
|
10
|
+
| **server_certificate** | **String** | | [optional] |
|
|
11
|
+
| **token** | **String** | Auth type - Token | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'akeyless'
|
|
17
|
+
|
|
18
|
+
instance = Akeyless::WebhookNotiForwarderDetails.new(
|
|
19
|
+
certificate: null,
|
|
20
|
+
password: null,
|
|
21
|
+
private_key: null,
|
|
22
|
+
server_certificate: null,
|
|
23
|
+
token: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **connection_type** | **String** | | [optional] |
|
|
8
|
+
| **iis_app_pool** | **Boolean** | IISAppPool marks this entry as an IIS Application Pool rather than a Windows Service | [optional] |
|
|
8
9
|
| **port** | **String** | | [optional] |
|
|
10
|
+
| **skip_restart** | **Boolean** | SkipRestart allows skipping recycle/start of the IIS App Pool after credential update | [optional] |
|
|
9
11
|
| **use_tls** | **Boolean** | | [optional] |
|
|
10
12
|
|
|
11
13
|
## Example
|
|
@@ -15,7 +17,9 @@ require 'akeyless'
|
|
|
15
17
|
|
|
16
18
|
instance = Akeyless::WindowsServiceAttributes.new(
|
|
17
19
|
connection_type: null,
|
|
20
|
+
iis_app_pool: null,
|
|
18
21
|
port: null,
|
|
22
|
+
skip_restart: null,
|
|
19
23
|
use_tls: null
|
|
20
24
|
)
|
|
21
25
|
```
|
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -13719,6 +13719,262 @@ module Akeyless
|
|
|
13719
13719
|
return data, status_code, headers
|
|
13720
13720
|
end
|
|
13721
13721
|
|
|
13722
|
+
# @param folder_create [FolderCreate]
|
|
13723
|
+
# @param [Hash] opts the optional parameters
|
|
13724
|
+
# @return [FolderCreateOutput]
|
|
13725
|
+
def folder_create(folder_create, opts = {})
|
|
13726
|
+
data, _status_code, _headers = folder_create_with_http_info(folder_create, opts)
|
|
13727
|
+
data
|
|
13728
|
+
end
|
|
13729
|
+
|
|
13730
|
+
# @param folder_create [FolderCreate]
|
|
13731
|
+
# @param [Hash] opts the optional parameters
|
|
13732
|
+
# @return [Array<(FolderCreateOutput, Integer, Hash)>] FolderCreateOutput data, response status code and response headers
|
|
13733
|
+
def folder_create_with_http_info(folder_create, opts = {})
|
|
13734
|
+
if @api_client.config.debugging
|
|
13735
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_create ...'
|
|
13736
|
+
end
|
|
13737
|
+
# verify the required parameter 'folder_create' is set
|
|
13738
|
+
if @api_client.config.client_side_validation && folder_create.nil?
|
|
13739
|
+
fail ArgumentError, "Missing the required parameter 'folder_create' when calling V2Api.folder_create"
|
|
13740
|
+
end
|
|
13741
|
+
# resource path
|
|
13742
|
+
local_var_path = '/folder-create'
|
|
13743
|
+
|
|
13744
|
+
# query parameters
|
|
13745
|
+
query_params = opts[:query_params] || {}
|
|
13746
|
+
|
|
13747
|
+
# header parameters
|
|
13748
|
+
header_params = opts[:header_params] || {}
|
|
13749
|
+
# HTTP header 'Accept' (if needed)
|
|
13750
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
13751
|
+
# HTTP header 'Content-Type'
|
|
13752
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13753
|
+
if !content_type.nil?
|
|
13754
|
+
header_params['Content-Type'] = content_type
|
|
13755
|
+
end
|
|
13756
|
+
|
|
13757
|
+
# form parameters
|
|
13758
|
+
form_params = opts[:form_params] || {}
|
|
13759
|
+
|
|
13760
|
+
# http body (model)
|
|
13761
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_create)
|
|
13762
|
+
|
|
13763
|
+
# return_type
|
|
13764
|
+
return_type = opts[:debug_return_type] || 'FolderCreateOutput'
|
|
13765
|
+
|
|
13766
|
+
# auth_names
|
|
13767
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13768
|
+
|
|
13769
|
+
new_options = opts.merge(
|
|
13770
|
+
:operation => :"V2Api.folder_create",
|
|
13771
|
+
:header_params => header_params,
|
|
13772
|
+
:query_params => query_params,
|
|
13773
|
+
:form_params => form_params,
|
|
13774
|
+
:body => post_body,
|
|
13775
|
+
:auth_names => auth_names,
|
|
13776
|
+
:return_type => return_type
|
|
13777
|
+
)
|
|
13778
|
+
|
|
13779
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13780
|
+
if @api_client.config.debugging
|
|
13781
|
+
@api_client.config.logger.debug "API called: V2Api#folder_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13782
|
+
end
|
|
13783
|
+
return data, status_code, headers
|
|
13784
|
+
end
|
|
13785
|
+
|
|
13786
|
+
# @param folder_delete [FolderDelete]
|
|
13787
|
+
# @param [Hash] opts the optional parameters
|
|
13788
|
+
# @return [Object]
|
|
13789
|
+
def folder_delete(folder_delete, opts = {})
|
|
13790
|
+
data, _status_code, _headers = folder_delete_with_http_info(folder_delete, opts)
|
|
13791
|
+
data
|
|
13792
|
+
end
|
|
13793
|
+
|
|
13794
|
+
# @param folder_delete [FolderDelete]
|
|
13795
|
+
# @param [Hash] opts the optional parameters
|
|
13796
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
13797
|
+
def folder_delete_with_http_info(folder_delete, opts = {})
|
|
13798
|
+
if @api_client.config.debugging
|
|
13799
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_delete ...'
|
|
13800
|
+
end
|
|
13801
|
+
# verify the required parameter 'folder_delete' is set
|
|
13802
|
+
if @api_client.config.client_side_validation && folder_delete.nil?
|
|
13803
|
+
fail ArgumentError, "Missing the required parameter 'folder_delete' when calling V2Api.folder_delete"
|
|
13804
|
+
end
|
|
13805
|
+
# resource path
|
|
13806
|
+
local_var_path = '/folder-delete'
|
|
13807
|
+
|
|
13808
|
+
# query parameters
|
|
13809
|
+
query_params = opts[:query_params] || {}
|
|
13810
|
+
|
|
13811
|
+
# header parameters
|
|
13812
|
+
header_params = opts[:header_params] || {}
|
|
13813
|
+
# HTTP header 'Accept' (if needed)
|
|
13814
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
13815
|
+
# HTTP header 'Content-Type'
|
|
13816
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13817
|
+
if !content_type.nil?
|
|
13818
|
+
header_params['Content-Type'] = content_type
|
|
13819
|
+
end
|
|
13820
|
+
|
|
13821
|
+
# form parameters
|
|
13822
|
+
form_params = opts[:form_params] || {}
|
|
13823
|
+
|
|
13824
|
+
# http body (model)
|
|
13825
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_delete)
|
|
13826
|
+
|
|
13827
|
+
# return_type
|
|
13828
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
13829
|
+
|
|
13830
|
+
# auth_names
|
|
13831
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13832
|
+
|
|
13833
|
+
new_options = opts.merge(
|
|
13834
|
+
:operation => :"V2Api.folder_delete",
|
|
13835
|
+
:header_params => header_params,
|
|
13836
|
+
:query_params => query_params,
|
|
13837
|
+
:form_params => form_params,
|
|
13838
|
+
:body => post_body,
|
|
13839
|
+
:auth_names => auth_names,
|
|
13840
|
+
:return_type => return_type
|
|
13841
|
+
)
|
|
13842
|
+
|
|
13843
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13844
|
+
if @api_client.config.debugging
|
|
13845
|
+
@api_client.config.logger.debug "API called: V2Api#folder_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13846
|
+
end
|
|
13847
|
+
return data, status_code, headers
|
|
13848
|
+
end
|
|
13849
|
+
|
|
13850
|
+
# @param folder_get [FolderGet]
|
|
13851
|
+
# @param [Hash] opts the optional parameters
|
|
13852
|
+
# @return [FolderGetOutput]
|
|
13853
|
+
def folder_get(folder_get, opts = {})
|
|
13854
|
+
data, _status_code, _headers = folder_get_with_http_info(folder_get, opts)
|
|
13855
|
+
data
|
|
13856
|
+
end
|
|
13857
|
+
|
|
13858
|
+
# @param folder_get [FolderGet]
|
|
13859
|
+
# @param [Hash] opts the optional parameters
|
|
13860
|
+
# @return [Array<(FolderGetOutput, Integer, Hash)>] FolderGetOutput data, response status code and response headers
|
|
13861
|
+
def folder_get_with_http_info(folder_get, opts = {})
|
|
13862
|
+
if @api_client.config.debugging
|
|
13863
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_get ...'
|
|
13864
|
+
end
|
|
13865
|
+
# verify the required parameter 'folder_get' is set
|
|
13866
|
+
if @api_client.config.client_side_validation && folder_get.nil?
|
|
13867
|
+
fail ArgumentError, "Missing the required parameter 'folder_get' when calling V2Api.folder_get"
|
|
13868
|
+
end
|
|
13869
|
+
# resource path
|
|
13870
|
+
local_var_path = '/folder-get'
|
|
13871
|
+
|
|
13872
|
+
# query parameters
|
|
13873
|
+
query_params = opts[:query_params] || {}
|
|
13874
|
+
|
|
13875
|
+
# header parameters
|
|
13876
|
+
header_params = opts[:header_params] || {}
|
|
13877
|
+
# HTTP header 'Accept' (if needed)
|
|
13878
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
13879
|
+
# HTTP header 'Content-Type'
|
|
13880
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13881
|
+
if !content_type.nil?
|
|
13882
|
+
header_params['Content-Type'] = content_type
|
|
13883
|
+
end
|
|
13884
|
+
|
|
13885
|
+
# form parameters
|
|
13886
|
+
form_params = opts[:form_params] || {}
|
|
13887
|
+
|
|
13888
|
+
# http body (model)
|
|
13889
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_get)
|
|
13890
|
+
|
|
13891
|
+
# return_type
|
|
13892
|
+
return_type = opts[:debug_return_type] || 'FolderGetOutput'
|
|
13893
|
+
|
|
13894
|
+
# auth_names
|
|
13895
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13896
|
+
|
|
13897
|
+
new_options = opts.merge(
|
|
13898
|
+
:operation => :"V2Api.folder_get",
|
|
13899
|
+
:header_params => header_params,
|
|
13900
|
+
:query_params => query_params,
|
|
13901
|
+
:form_params => form_params,
|
|
13902
|
+
:body => post_body,
|
|
13903
|
+
:auth_names => auth_names,
|
|
13904
|
+
:return_type => return_type
|
|
13905
|
+
)
|
|
13906
|
+
|
|
13907
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13908
|
+
if @api_client.config.debugging
|
|
13909
|
+
@api_client.config.logger.debug "API called: V2Api#folder_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13910
|
+
end
|
|
13911
|
+
return data, status_code, headers
|
|
13912
|
+
end
|
|
13913
|
+
|
|
13914
|
+
# @param folder_update [FolderUpdate]
|
|
13915
|
+
# @param [Hash] opts the optional parameters
|
|
13916
|
+
# @return [Object]
|
|
13917
|
+
def folder_update(folder_update, opts = {})
|
|
13918
|
+
data, _status_code, _headers = folder_update_with_http_info(folder_update, opts)
|
|
13919
|
+
data
|
|
13920
|
+
end
|
|
13921
|
+
|
|
13922
|
+
# @param folder_update [FolderUpdate]
|
|
13923
|
+
# @param [Hash] opts the optional parameters
|
|
13924
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
13925
|
+
def folder_update_with_http_info(folder_update, opts = {})
|
|
13926
|
+
if @api_client.config.debugging
|
|
13927
|
+
@api_client.config.logger.debug 'Calling API: V2Api.folder_update ...'
|
|
13928
|
+
end
|
|
13929
|
+
# verify the required parameter 'folder_update' is set
|
|
13930
|
+
if @api_client.config.client_side_validation && folder_update.nil?
|
|
13931
|
+
fail ArgumentError, "Missing the required parameter 'folder_update' when calling V2Api.folder_update"
|
|
13932
|
+
end
|
|
13933
|
+
# resource path
|
|
13934
|
+
local_var_path = '/folder-update'
|
|
13935
|
+
|
|
13936
|
+
# query parameters
|
|
13937
|
+
query_params = opts[:query_params] || {}
|
|
13938
|
+
|
|
13939
|
+
# header parameters
|
|
13940
|
+
header_params = opts[:header_params] || {}
|
|
13941
|
+
# HTTP header 'Accept' (if needed)
|
|
13942
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
13943
|
+
# HTTP header 'Content-Type'
|
|
13944
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13945
|
+
if !content_type.nil?
|
|
13946
|
+
header_params['Content-Type'] = content_type
|
|
13947
|
+
end
|
|
13948
|
+
|
|
13949
|
+
# form parameters
|
|
13950
|
+
form_params = opts[:form_params] || {}
|
|
13951
|
+
|
|
13952
|
+
# http body (model)
|
|
13953
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(folder_update)
|
|
13954
|
+
|
|
13955
|
+
# return_type
|
|
13956
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
13957
|
+
|
|
13958
|
+
# auth_names
|
|
13959
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13960
|
+
|
|
13961
|
+
new_options = opts.merge(
|
|
13962
|
+
:operation => :"V2Api.folder_update",
|
|
13963
|
+
:header_params => header_params,
|
|
13964
|
+
:query_params => query_params,
|
|
13965
|
+
:form_params => form_params,
|
|
13966
|
+
:body => post_body,
|
|
13967
|
+
:auth_names => auth_names,
|
|
13968
|
+
:return_type => return_type
|
|
13969
|
+
)
|
|
13970
|
+
|
|
13971
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13972
|
+
if @api_client.config.debugging
|
|
13973
|
+
@api_client.config.logger.debug "API called: V2Api#folder_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13974
|
+
end
|
|
13975
|
+
return data, status_code, headers
|
|
13976
|
+
end
|
|
13977
|
+
|
|
13722
13978
|
# @param gateway_create_allowed_access [GatewayCreateAllowedAccess]
|
|
13723
13979
|
# @param [Hash] opts the optional parameters
|
|
13724
13980
|
# @return [AllowedAccess]
|
|
@@ -24,6 +24,8 @@ module Akeyless
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :ai_insights
|
|
26
26
|
|
|
27
|
+
attr_accessor :allowed_client_types
|
|
28
|
+
|
|
27
29
|
attr_accessor :allowed_clients_ips
|
|
28
30
|
|
|
29
31
|
attr_accessor :allowed_gateways_ips
|
|
@@ -70,6 +72,7 @@ module Akeyless
|
|
|
70
72
|
:'account_default_key_item_id' => :'account_default_key_item_id',
|
|
71
73
|
:'account_default_key_name' => :'account_default_key_name',
|
|
72
74
|
:'ai_insights' => :'ai_insights',
|
|
75
|
+
:'allowed_client_types' => :'allowed_client_types',
|
|
73
76
|
:'allowed_clients_ips' => :'allowed_clients_ips',
|
|
74
77
|
:'allowed_gateways_ips' => :'allowed_gateways_ips',
|
|
75
78
|
:'auth_usage_event' => :'auth_usage_event',
|
|
@@ -103,6 +106,7 @@ module Akeyless
|
|
|
103
106
|
:'account_default_key_item_id' => :'Integer',
|
|
104
107
|
:'account_default_key_name' => :'String',
|
|
105
108
|
:'ai_insights' => :'AiInsightsSetting',
|
|
109
|
+
:'allowed_client_types' => :'AllowedClientType',
|
|
106
110
|
:'allowed_clients_ips' => :'AllowedIpSettings',
|
|
107
111
|
:'allowed_gateways_ips' => :'AllowedIpSettings',
|
|
108
112
|
:'auth_usage_event' => :'UsageEventSetting',
|
|
@@ -158,6 +162,10 @@ module Akeyless
|
|
|
158
162
|
self.ai_insights = attributes[:'ai_insights']
|
|
159
163
|
end
|
|
160
164
|
|
|
165
|
+
if attributes.key?(:'allowed_client_types')
|
|
166
|
+
self.allowed_client_types = attributes[:'allowed_client_types']
|
|
167
|
+
end
|
|
168
|
+
|
|
161
169
|
if attributes.key?(:'allowed_clients_ips')
|
|
162
170
|
self.allowed_clients_ips = attributes[:'allowed_clients_ips']
|
|
163
171
|
end
|
|
@@ -258,6 +266,7 @@ module Akeyless
|
|
|
258
266
|
account_default_key_item_id == o.account_default_key_item_id &&
|
|
259
267
|
account_default_key_name == o.account_default_key_name &&
|
|
260
268
|
ai_insights == o.ai_insights &&
|
|
269
|
+
allowed_client_types == o.allowed_client_types &&
|
|
261
270
|
allowed_clients_ips == o.allowed_clients_ips &&
|
|
262
271
|
allowed_gateways_ips == o.allowed_gateways_ips &&
|
|
263
272
|
auth_usage_event == o.auth_usage_event &&
|
|
@@ -288,7 +297,7 @@ module Akeyless
|
|
|
288
297
|
# Calculates hash code according to all attributes.
|
|
289
298
|
# @return [Integer] Hash code
|
|
290
299
|
def hash
|
|
291
|
-
[account_default_key_item_id, account_default_key_name, ai_insights, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
300
|
+
[account_default_key_item_id, account_default_key_name, ai_insights, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
292
301
|
end
|
|
293
302
|
|
|
294
303
|
# Builds the object from hash
|