akeyless 4.2.3 → 4.2.4
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 +43 -2
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AwsStorage.md +28 -0
- data/docs/AzureStorage.md +28 -0
- data/docs/BastionConfigReplyObj.md +28 -0
- data/docs/BastionGlobalConf.md +24 -0
- data/docs/Configure.md +8 -0
- data/docs/Connect.md +2 -2
- data/docs/CreateClassicKey.md +8 -0
- data/docs/CreateDFCKey.md +8 -0
- data/docs/DynamicSecretUpdateArtifactory.md +1 -1
- data/docs/DynamicSecretUpdateAws.md +1 -1
- data/docs/DynamicSecretUpdateAzure.md +1 -1
- data/docs/DynamicSecretUpdateCassandra.md +1 -1
- data/docs/DynamicSecretUpdateChef.md +1 -1
- data/docs/DynamicSecretUpdateCustom.md +1 -1
- data/docs/DynamicSecretUpdateDockerhub.md +1 -1
- data/docs/DynamicSecretUpdateEks.md +1 -1
- data/docs/DynamicSecretUpdateGcp.md +1 -1
- data/docs/DynamicSecretUpdateGithub.md +1 -1
- data/docs/DynamicSecretUpdateGitlab.md +1 -1
- data/docs/DynamicSecretUpdateGke.md +1 -1
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
- data/docs/DynamicSecretUpdateHanaDb.md +1 -1
- data/docs/DynamicSecretUpdateK8s.md +1 -1
- data/docs/DynamicSecretUpdateLdap.md +1 -1
- data/docs/DynamicSecretUpdateMongoDb.md +1 -1
- data/docs/DynamicSecretUpdateMsSql.md +1 -1
- data/docs/DynamicSecretUpdateMySql.md +1 -1
- data/docs/DynamicSecretUpdateOracleDb.md +1 -1
- data/docs/DynamicSecretUpdatePing.md +1 -1
- data/docs/DynamicSecretUpdateVenafi.md +1 -1
- data/docs/EmailPassAccessRules.md +3 -1
- data/docs/EventForwarderCreateEmail.md +2 -2
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +2 -2
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayGetRemoteAccess.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +36 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +46 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAwsS3.md +42 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +32 -0
- data/docs/GwUpdateRemoteAccessSessionLogsDatadog.md +38 -0
- data/docs/GwUpdateRemoteAccessSessionLogsElasticsearch.md +48 -0
- data/docs/GwUpdateRemoteAccessSessionLogsGoogleChronicle.md +36 -0
- data/docs/GwUpdateRemoteAccessSessionLogsLogstash.md +36 -0
- data/docs/GwUpdateRemoteAccessSessionLogsLogzIo.md +32 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +42 -0
- data/docs/GwUpdateRemoteAccessSessionLogsStdout.md +28 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSumologic.md +34 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSyslog.md +40 -0
- data/docs/ItemGeneralInfo.md +4 -0
- data/docs/NextAutoRotationEvent.md +18 -0
- data/docs/PasswordExpirationInfo.md +24 -0
- data/docs/ResetAccessKey.md +24 -0
- data/docs/ResetAuthMethodAccessKeyOutput.md +18 -0
- data/docs/RollbackSecret.md +2 -0
- data/docs/RotatedSecretCreateAws.md +2 -0
- data/docs/RotatedSecretCreateAzure.md +2 -0
- data/docs/RotatedSecretCreateCassandra.md +2 -0
- data/docs/RotatedSecretCreateCustom.md +2 -0
- data/docs/RotatedSecretCreateDockerhub.md +2 -0
- data/docs/RotatedSecretCreateGcp.md +2 -0
- data/docs/RotatedSecretCreateHanadb.md +2 -0
- data/docs/RotatedSecretCreateLdap.md +2 -0
- data/docs/RotatedSecretCreateMongodb.md +2 -0
- data/docs/RotatedSecretCreateMssql.md +2 -0
- data/docs/RotatedSecretCreateMysql.md +2 -0
- data/docs/RotatedSecretCreateOracledb.md +2 -0
- data/docs/RotatedSecretCreatePostgresql.md +2 -0
- data/docs/RotatedSecretCreateRedis.md +2 -0
- data/docs/RotatedSecretCreateRedshift.md +2 -0
- data/docs/RotatedSecretCreateSnowflake.md +2 -0
- data/docs/RotatedSecretCreateSsh.md +2 -0
- data/docs/RotatedSecretCreateWindows.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +2 -0
- data/docs/RotatedSecretUpdateAzure.md +2 -0
- data/docs/RotatedSecretUpdateCassandra.md +2 -0
- data/docs/RotatedSecretUpdateCustom.md +2 -0
- data/docs/RotatedSecretUpdateDockerhub.md +2 -0
- data/docs/RotatedSecretUpdateGcp.md +2 -0
- data/docs/RotatedSecretUpdateHanadb.md +2 -0
- data/docs/RotatedSecretUpdateLdap.md +2 -0
- data/docs/RotatedSecretUpdateMongodb.md +2 -0
- data/docs/RotatedSecretUpdateMssql.md +2 -0
- data/docs/RotatedSecretUpdateMysql.md +2 -0
- data/docs/RotatedSecretUpdateOracledb.md +2 -0
- data/docs/RotatedSecretUpdatePostgresql.md +2 -0
- data/docs/RotatedSecretUpdateRedis.md +2 -0
- data/docs/RotatedSecretUpdateRedshift.md +2 -0
- data/docs/RotatedSecretUpdateSnowflake.md +2 -0
- data/docs/RotatedSecretUpdateSsh.md +2 -0
- data/docs/RotatedSecretUpdateWindows.md +2 -0
- data/docs/SshBastionConf.md +24 -0
- data/docs/SshBastionSessionTermination.md +26 -0
- data/docs/UpdateAccountSettings.md +6 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UpdateRotationSettings.md +2 -0
- data/docs/UpdateTarget.md +1 -1
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +880 -1
- data/docs/WebBastionConf.md +20 -0
- data/docs/WebBastionGuacamole.md +18 -0
- data/docs/WebBastionRdpRecord.md +22 -0
- data/lib/akeyless/api/v2_api.rb +886 -1
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/aws_storage.rb +260 -0
- data/lib/akeyless/models/azure_storage.rb +260 -0
- data/lib/akeyless/models/bastion_config_reply_obj.rb +259 -0
- data/lib/akeyless/models/bastion_global_conf.rb +243 -0
- data/lib/akeyless/models/configure.rb +41 -1
- data/lib/akeyless/models/connect.rb +11 -11
- data/lib/akeyless/models/create_classic_key.rb +45 -1
- data/lib/akeyless/models/create_dfc_key.rb +45 -1
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
- data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
- data/lib/akeyless/models/email_pass_access_rules.rb +14 -4
- data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_get_remote_access.rb +238 -0
- data/lib/akeyless/models/gateway_update_item.rb +13 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +318 -0
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +358 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_aws_s3.rb +346 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +294 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_datadog.rb +330 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_elasticsearch.rb +376 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_google_chronicle.rb +314 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_logstash.rb +316 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_logz_io.rb +294 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +350 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_stdout.rb +274 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_sumologic.rb +308 -0
- data/lib/akeyless/models/gw_update_remote_access_session_logs_syslog.rb +342 -0
- data/lib/akeyless/models/item_general_info.rb +23 -1
- data/lib/akeyless/models/next_auto_rotation_event.rb +214 -0
- data/lib/akeyless/models/password_expiration_info.rb +242 -0
- data/lib/akeyless/models/reset_access_key.rb +255 -0
- data/lib/akeyless/models/reset_auth_method_access_key_output.rb +215 -0
- data/lib/akeyless/models/rollback_secret.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
- data/lib/akeyless/models/ssh_bastion_conf.rb +241 -0
- data/lib/akeyless/models/ssh_bastion_session_termination.rb +250 -0
- data/lib/akeyless/models/update_account_settings.rb +31 -1
- data/lib/akeyless/models/update_item.rb +13 -1
- data/lib/akeyless/models/update_rotation_settings.rb +13 -1
- data/lib/akeyless/models/update_target.rb +1 -1
- data/lib/akeyless/models/upload_rsa.rb +13 -1
- data/lib/akeyless/models/web_bastion_conf.rb +223 -0
- data/lib/akeyless/models/web_bastion_guacamole.rb +214 -0
- data/lib/akeyless/models/web_bastion_rdp_record.rb +232 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +27 -0
- data/spec/models/aws_storage_spec.rb +66 -0
- data/spec/models/azure_storage_spec.rb +66 -0
- data/spec/models/bastion_config_reply_obj_spec.rb +66 -0
- data/spec/models/bastion_global_conf_spec.rb +54 -0
- data/spec/models/gateway_get_remote_access_spec.rb +48 -0
- data/spec/models/gateway_update_remote_access_rdp_recordings_spec.rb +120 -0
- data/spec/models/gateway_update_remote_access_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_aws_s3_spec.rb +108 -0
- data/spec/models/gw_update_remote_access_session_logs_azure_analytics_spec.rb +78 -0
- data/spec/models/gw_update_remote_access_session_logs_datadog_spec.rb +96 -0
- data/spec/models/gw_update_remote_access_session_logs_elasticsearch_spec.rb +126 -0
- data/spec/models/gw_update_remote_access_session_logs_google_chronicle_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_logstash_spec.rb +90 -0
- data/spec/models/gw_update_remote_access_session_logs_logz_io_spec.rb +78 -0
- data/spec/models/gw_update_remote_access_session_logs_splunk_spec.rb +108 -0
- data/spec/models/gw_update_remote_access_session_logs_stdout_spec.rb +66 -0
- data/spec/models/gw_update_remote_access_session_logs_sumologic_spec.rb +84 -0
- data/spec/models/gw_update_remote_access_session_logs_syslog_spec.rb +102 -0
- data/spec/models/next_auto_rotation_event_spec.rb +36 -0
- data/spec/models/password_expiration_info_spec.rb +54 -0
- data/spec/models/reset_access_key_spec.rb +54 -0
- data/spec/models/reset_auth_method_access_key_output_spec.rb +36 -0
- data/spec/models/ssh_bastion_conf_spec.rb +54 -0
- data/spec/models/ssh_bastion_session_termination_spec.rb +60 -0
- data/spec/models/web_bastion_conf_spec.rb +42 -0
- data/spec/models/web_bastion_guacamole_spec.rb +36 -0
- data/spec/models/web_bastion_rdp_record_spec.rb +48 -0
- metadata +1089 -981
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -76,7 +76,7 @@ module Akeyless
|
|
|
76
76
|
:return_type => return_type
|
|
77
77
|
)
|
|
78
78
|
|
|
79
|
-
data, status_code, headers = @api_client.call_api(:
|
|
79
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
80
80
|
if @api_client.config.debugging
|
|
81
81
|
@api_client.config.logger.debug "API called: V2Api#alias_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
82
|
end
|
|
@@ -15495,6 +15495,70 @@ module Akeyless
|
|
|
15495
15495
|
return data, status_code, headers
|
|
15496
15496
|
end
|
|
15497
15497
|
|
|
15498
|
+
# @param body [GatewayGetRemoteAccess]
|
|
15499
|
+
# @param [Hash] opts the optional parameters
|
|
15500
|
+
# @return [BastionConfigReplyObj]
|
|
15501
|
+
def gateway_get_remote_access(body, opts = {})
|
|
15502
|
+
data, _status_code, _headers = gateway_get_remote_access_with_http_info(body, opts)
|
|
15503
|
+
data
|
|
15504
|
+
end
|
|
15505
|
+
|
|
15506
|
+
# @param body [GatewayGetRemoteAccess]
|
|
15507
|
+
# @param [Hash] opts the optional parameters
|
|
15508
|
+
# @return [Array<(BastionConfigReplyObj, Integer, Hash)>] BastionConfigReplyObj data, response status code and response headers
|
|
15509
|
+
def gateway_get_remote_access_with_http_info(body, opts = {})
|
|
15510
|
+
if @api_client.config.debugging
|
|
15511
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_remote_access ...'
|
|
15512
|
+
end
|
|
15513
|
+
# verify the required parameter 'body' is set
|
|
15514
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
15515
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_remote_access"
|
|
15516
|
+
end
|
|
15517
|
+
# resource path
|
|
15518
|
+
local_var_path = '/gateway-get-remote-access'
|
|
15519
|
+
|
|
15520
|
+
# query parameters
|
|
15521
|
+
query_params = opts[:query_params] || {}
|
|
15522
|
+
|
|
15523
|
+
# header parameters
|
|
15524
|
+
header_params = opts[:header_params] || {}
|
|
15525
|
+
# HTTP header 'Accept' (if needed)
|
|
15526
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
15527
|
+
# HTTP header 'Content-Type'
|
|
15528
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
15529
|
+
if !content_type.nil?
|
|
15530
|
+
header_params['Content-Type'] = content_type
|
|
15531
|
+
end
|
|
15532
|
+
|
|
15533
|
+
# form parameters
|
|
15534
|
+
form_params = opts[:form_params] || {}
|
|
15535
|
+
|
|
15536
|
+
# http body (model)
|
|
15537
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
15538
|
+
|
|
15539
|
+
# return_type
|
|
15540
|
+
return_type = opts[:debug_return_type] || 'BastionConfigReplyObj'
|
|
15541
|
+
|
|
15542
|
+
# auth_names
|
|
15543
|
+
auth_names = opts[:debug_auth_names] || []
|
|
15544
|
+
|
|
15545
|
+
new_options = opts.merge(
|
|
15546
|
+
:operation => :"V2Api.gateway_get_remote_access",
|
|
15547
|
+
:header_params => header_params,
|
|
15548
|
+
:query_params => query_params,
|
|
15549
|
+
:form_params => form_params,
|
|
15550
|
+
:body => post_body,
|
|
15551
|
+
:auth_names => auth_names,
|
|
15552
|
+
:return_type => return_type
|
|
15553
|
+
)
|
|
15554
|
+
|
|
15555
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
15556
|
+
if @api_client.config.debugging
|
|
15557
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_remote_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15558
|
+
end
|
|
15559
|
+
return data, status_code, headers
|
|
15560
|
+
end
|
|
15561
|
+
|
|
15498
15562
|
# @param body [GatewayGetTmpUsers]
|
|
15499
15563
|
# @param [Hash] opts the optional parameters
|
|
15500
15564
|
# @return [Array<TmpUserData>]
|
|
@@ -19007,6 +19071,123 @@ module Akeyless
|
|
|
19007
19071
|
return data, status_code, headers
|
|
19008
19072
|
end
|
|
19009
19073
|
|
|
19074
|
+
# @param [Hash] opts the optional parameters
|
|
19075
|
+
# @return [Object]
|
|
19076
|
+
def gateway_update_remote_access(opts = {})
|
|
19077
|
+
data, _status_code, _headers = gateway_update_remote_access_with_http_info(opts)
|
|
19078
|
+
data
|
|
19079
|
+
end
|
|
19080
|
+
|
|
19081
|
+
# @param [Hash] opts the optional parameters
|
|
19082
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
19083
|
+
def gateway_update_remote_access_with_http_info(opts = {})
|
|
19084
|
+
if @api_client.config.debugging
|
|
19085
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_remote_access ...'
|
|
19086
|
+
end
|
|
19087
|
+
# resource path
|
|
19088
|
+
local_var_path = '/gateway-update-remote-access'
|
|
19089
|
+
|
|
19090
|
+
# query parameters
|
|
19091
|
+
query_params = opts[:query_params] || {}
|
|
19092
|
+
|
|
19093
|
+
# header parameters
|
|
19094
|
+
header_params = opts[:header_params] || {}
|
|
19095
|
+
# HTTP header 'Accept' (if needed)
|
|
19096
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19097
|
+
|
|
19098
|
+
# form parameters
|
|
19099
|
+
form_params = opts[:form_params] || {}
|
|
19100
|
+
|
|
19101
|
+
# http body (model)
|
|
19102
|
+
post_body = opts[:debug_body]
|
|
19103
|
+
|
|
19104
|
+
# return_type
|
|
19105
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
19106
|
+
|
|
19107
|
+
# auth_names
|
|
19108
|
+
auth_names = opts[:debug_auth_names] || []
|
|
19109
|
+
|
|
19110
|
+
new_options = opts.merge(
|
|
19111
|
+
:operation => :"V2Api.gateway_update_remote_access",
|
|
19112
|
+
:header_params => header_params,
|
|
19113
|
+
:query_params => query_params,
|
|
19114
|
+
:form_params => form_params,
|
|
19115
|
+
:body => post_body,
|
|
19116
|
+
:auth_names => auth_names,
|
|
19117
|
+
:return_type => return_type
|
|
19118
|
+
)
|
|
19119
|
+
|
|
19120
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19121
|
+
if @api_client.config.debugging
|
|
19122
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_remote_access\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19123
|
+
end
|
|
19124
|
+
return data, status_code, headers
|
|
19125
|
+
end
|
|
19126
|
+
|
|
19127
|
+
# @param body [GatewayUpdateRemoteAccessRdpRecordings]
|
|
19128
|
+
# @param [Hash] opts the optional parameters
|
|
19129
|
+
# @return [Object]
|
|
19130
|
+
def gateway_update_remote_access_rdp_recordings(body, opts = {})
|
|
19131
|
+
data, _status_code, _headers = gateway_update_remote_access_rdp_recordings_with_http_info(body, opts)
|
|
19132
|
+
data
|
|
19133
|
+
end
|
|
19134
|
+
|
|
19135
|
+
# @param body [GatewayUpdateRemoteAccessRdpRecordings]
|
|
19136
|
+
# @param [Hash] opts the optional parameters
|
|
19137
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
19138
|
+
def gateway_update_remote_access_rdp_recordings_with_http_info(body, opts = {})
|
|
19139
|
+
if @api_client.config.debugging
|
|
19140
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_remote_access_rdp_recordings ...'
|
|
19141
|
+
end
|
|
19142
|
+
# verify the required parameter 'body' is set
|
|
19143
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
19144
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_remote_access_rdp_recordings"
|
|
19145
|
+
end
|
|
19146
|
+
# resource path
|
|
19147
|
+
local_var_path = '/gateway-update-remote-access-rdp-recording'
|
|
19148
|
+
|
|
19149
|
+
# query parameters
|
|
19150
|
+
query_params = opts[:query_params] || {}
|
|
19151
|
+
|
|
19152
|
+
# header parameters
|
|
19153
|
+
header_params = opts[:header_params] || {}
|
|
19154
|
+
# HTTP header 'Accept' (if needed)
|
|
19155
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19156
|
+
# HTTP header 'Content-Type'
|
|
19157
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
19158
|
+
if !content_type.nil?
|
|
19159
|
+
header_params['Content-Type'] = content_type
|
|
19160
|
+
end
|
|
19161
|
+
|
|
19162
|
+
# form parameters
|
|
19163
|
+
form_params = opts[:form_params] || {}
|
|
19164
|
+
|
|
19165
|
+
# http body (model)
|
|
19166
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
19167
|
+
|
|
19168
|
+
# return_type
|
|
19169
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
19170
|
+
|
|
19171
|
+
# auth_names
|
|
19172
|
+
auth_names = opts[:debug_auth_names] || []
|
|
19173
|
+
|
|
19174
|
+
new_options = opts.merge(
|
|
19175
|
+
:operation => :"V2Api.gateway_update_remote_access_rdp_recordings",
|
|
19176
|
+
:header_params => header_params,
|
|
19177
|
+
:query_params => query_params,
|
|
19178
|
+
:form_params => form_params,
|
|
19179
|
+
:body => post_body,
|
|
19180
|
+
:auth_names => auth_names,
|
|
19181
|
+
:return_type => return_type
|
|
19182
|
+
)
|
|
19183
|
+
|
|
19184
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
19185
|
+
if @api_client.config.debugging
|
|
19186
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_remote_access_rdp_recordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19187
|
+
end
|
|
19188
|
+
return data, status_code, headers
|
|
19189
|
+
end
|
|
19190
|
+
|
|
19010
19191
|
# @param body [GatewayUpdateTlsCert]
|
|
19011
19192
|
# @param [Hash] opts the optional parameters
|
|
19012
19193
|
# @return [GatewayUpdateTlsCertOutput]
|
|
@@ -20404,6 +20585,710 @@ module Akeyless
|
|
|
20404
20585
|
return data, status_code, headers
|
|
20405
20586
|
end
|
|
20406
20587
|
|
|
20588
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAwsS3]
|
|
20589
|
+
# @param [Hash] opts the optional parameters
|
|
20590
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20591
|
+
def gw_update_remote_access_session_logs_aws_s3(body, opts = {})
|
|
20592
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_aws_s3_with_http_info(body, opts)
|
|
20593
|
+
data
|
|
20594
|
+
end
|
|
20595
|
+
|
|
20596
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAwsS3]
|
|
20597
|
+
# @param [Hash] opts the optional parameters
|
|
20598
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20599
|
+
def gw_update_remote_access_session_logs_aws_s3_with_http_info(body, opts = {})
|
|
20600
|
+
if @api_client.config.debugging
|
|
20601
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_aws_s3 ...'
|
|
20602
|
+
end
|
|
20603
|
+
# verify the required parameter 'body' is set
|
|
20604
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20605
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_aws_s3"
|
|
20606
|
+
end
|
|
20607
|
+
# resource path
|
|
20608
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-aws-s3'
|
|
20609
|
+
|
|
20610
|
+
# query parameters
|
|
20611
|
+
query_params = opts[:query_params] || {}
|
|
20612
|
+
|
|
20613
|
+
# header parameters
|
|
20614
|
+
header_params = opts[:header_params] || {}
|
|
20615
|
+
# HTTP header 'Accept' (if needed)
|
|
20616
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20617
|
+
# HTTP header 'Content-Type'
|
|
20618
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20619
|
+
if !content_type.nil?
|
|
20620
|
+
header_params['Content-Type'] = content_type
|
|
20621
|
+
end
|
|
20622
|
+
|
|
20623
|
+
# form parameters
|
|
20624
|
+
form_params = opts[:form_params] || {}
|
|
20625
|
+
|
|
20626
|
+
# http body (model)
|
|
20627
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20628
|
+
|
|
20629
|
+
# return_type
|
|
20630
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20631
|
+
|
|
20632
|
+
# auth_names
|
|
20633
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20634
|
+
|
|
20635
|
+
new_options = opts.merge(
|
|
20636
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_aws_s3",
|
|
20637
|
+
:header_params => header_params,
|
|
20638
|
+
:query_params => query_params,
|
|
20639
|
+
:form_params => form_params,
|
|
20640
|
+
:body => post_body,
|
|
20641
|
+
:auth_names => auth_names,
|
|
20642
|
+
:return_type => return_type
|
|
20643
|
+
)
|
|
20644
|
+
|
|
20645
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20646
|
+
if @api_client.config.debugging
|
|
20647
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_aws_s3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20648
|
+
end
|
|
20649
|
+
return data, status_code, headers
|
|
20650
|
+
end
|
|
20651
|
+
|
|
20652
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAzureAnalytics]
|
|
20653
|
+
# @param [Hash] opts the optional parameters
|
|
20654
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20655
|
+
def gw_update_remote_access_session_logs_azure_analytics(body, opts = {})
|
|
20656
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_azure_analytics_with_http_info(body, opts)
|
|
20657
|
+
data
|
|
20658
|
+
end
|
|
20659
|
+
|
|
20660
|
+
# @param body [GwUpdateRemoteAccessSessionLogsAzureAnalytics]
|
|
20661
|
+
# @param [Hash] opts the optional parameters
|
|
20662
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20663
|
+
def gw_update_remote_access_session_logs_azure_analytics_with_http_info(body, opts = {})
|
|
20664
|
+
if @api_client.config.debugging
|
|
20665
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_azure_analytics ...'
|
|
20666
|
+
end
|
|
20667
|
+
# verify the required parameter 'body' is set
|
|
20668
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20669
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_azure_analytics"
|
|
20670
|
+
end
|
|
20671
|
+
# resource path
|
|
20672
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-azure-analytics'
|
|
20673
|
+
|
|
20674
|
+
# query parameters
|
|
20675
|
+
query_params = opts[:query_params] || {}
|
|
20676
|
+
|
|
20677
|
+
# header parameters
|
|
20678
|
+
header_params = opts[:header_params] || {}
|
|
20679
|
+
# HTTP header 'Accept' (if needed)
|
|
20680
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20681
|
+
# HTTP header 'Content-Type'
|
|
20682
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20683
|
+
if !content_type.nil?
|
|
20684
|
+
header_params['Content-Type'] = content_type
|
|
20685
|
+
end
|
|
20686
|
+
|
|
20687
|
+
# form parameters
|
|
20688
|
+
form_params = opts[:form_params] || {}
|
|
20689
|
+
|
|
20690
|
+
# http body (model)
|
|
20691
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20692
|
+
|
|
20693
|
+
# return_type
|
|
20694
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20695
|
+
|
|
20696
|
+
# auth_names
|
|
20697
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20698
|
+
|
|
20699
|
+
new_options = opts.merge(
|
|
20700
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_azure_analytics",
|
|
20701
|
+
:header_params => header_params,
|
|
20702
|
+
:query_params => query_params,
|
|
20703
|
+
:form_params => form_params,
|
|
20704
|
+
:body => post_body,
|
|
20705
|
+
:auth_names => auth_names,
|
|
20706
|
+
:return_type => return_type
|
|
20707
|
+
)
|
|
20708
|
+
|
|
20709
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20710
|
+
if @api_client.config.debugging
|
|
20711
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_azure_analytics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20712
|
+
end
|
|
20713
|
+
return data, status_code, headers
|
|
20714
|
+
end
|
|
20715
|
+
|
|
20716
|
+
# @param body [GwUpdateRemoteAccessSessionLogsDatadog]
|
|
20717
|
+
# @param [Hash] opts the optional parameters
|
|
20718
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20719
|
+
def gw_update_remote_access_session_logs_datadog(body, opts = {})
|
|
20720
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_datadog_with_http_info(body, opts)
|
|
20721
|
+
data
|
|
20722
|
+
end
|
|
20723
|
+
|
|
20724
|
+
# @param body [GwUpdateRemoteAccessSessionLogsDatadog]
|
|
20725
|
+
# @param [Hash] opts the optional parameters
|
|
20726
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20727
|
+
def gw_update_remote_access_session_logs_datadog_with_http_info(body, opts = {})
|
|
20728
|
+
if @api_client.config.debugging
|
|
20729
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_datadog ...'
|
|
20730
|
+
end
|
|
20731
|
+
# verify the required parameter 'body' is set
|
|
20732
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20733
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_datadog"
|
|
20734
|
+
end
|
|
20735
|
+
# resource path
|
|
20736
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-datadog'
|
|
20737
|
+
|
|
20738
|
+
# query parameters
|
|
20739
|
+
query_params = opts[:query_params] || {}
|
|
20740
|
+
|
|
20741
|
+
# header parameters
|
|
20742
|
+
header_params = opts[:header_params] || {}
|
|
20743
|
+
# HTTP header 'Accept' (if needed)
|
|
20744
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20745
|
+
# HTTP header 'Content-Type'
|
|
20746
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20747
|
+
if !content_type.nil?
|
|
20748
|
+
header_params['Content-Type'] = content_type
|
|
20749
|
+
end
|
|
20750
|
+
|
|
20751
|
+
# form parameters
|
|
20752
|
+
form_params = opts[:form_params] || {}
|
|
20753
|
+
|
|
20754
|
+
# http body (model)
|
|
20755
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20756
|
+
|
|
20757
|
+
# return_type
|
|
20758
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20759
|
+
|
|
20760
|
+
# auth_names
|
|
20761
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20762
|
+
|
|
20763
|
+
new_options = opts.merge(
|
|
20764
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_datadog",
|
|
20765
|
+
:header_params => header_params,
|
|
20766
|
+
:query_params => query_params,
|
|
20767
|
+
:form_params => form_params,
|
|
20768
|
+
:body => post_body,
|
|
20769
|
+
:auth_names => auth_names,
|
|
20770
|
+
:return_type => return_type
|
|
20771
|
+
)
|
|
20772
|
+
|
|
20773
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20774
|
+
if @api_client.config.debugging
|
|
20775
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_datadog\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20776
|
+
end
|
|
20777
|
+
return data, status_code, headers
|
|
20778
|
+
end
|
|
20779
|
+
|
|
20780
|
+
# @param body [GwUpdateRemoteAccessSessionLogsElasticsearch]
|
|
20781
|
+
# @param [Hash] opts the optional parameters
|
|
20782
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20783
|
+
def gw_update_remote_access_session_logs_elasticsearch(body, opts = {})
|
|
20784
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_elasticsearch_with_http_info(body, opts)
|
|
20785
|
+
data
|
|
20786
|
+
end
|
|
20787
|
+
|
|
20788
|
+
# @param body [GwUpdateRemoteAccessSessionLogsElasticsearch]
|
|
20789
|
+
# @param [Hash] opts the optional parameters
|
|
20790
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20791
|
+
def gw_update_remote_access_session_logs_elasticsearch_with_http_info(body, opts = {})
|
|
20792
|
+
if @api_client.config.debugging
|
|
20793
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_elasticsearch ...'
|
|
20794
|
+
end
|
|
20795
|
+
# verify the required parameter 'body' is set
|
|
20796
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20797
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_elasticsearch"
|
|
20798
|
+
end
|
|
20799
|
+
# resource path
|
|
20800
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-elasticsearch'
|
|
20801
|
+
|
|
20802
|
+
# query parameters
|
|
20803
|
+
query_params = opts[:query_params] || {}
|
|
20804
|
+
|
|
20805
|
+
# header parameters
|
|
20806
|
+
header_params = opts[:header_params] || {}
|
|
20807
|
+
# HTTP header 'Accept' (if needed)
|
|
20808
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20809
|
+
# HTTP header 'Content-Type'
|
|
20810
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20811
|
+
if !content_type.nil?
|
|
20812
|
+
header_params['Content-Type'] = content_type
|
|
20813
|
+
end
|
|
20814
|
+
|
|
20815
|
+
# form parameters
|
|
20816
|
+
form_params = opts[:form_params] || {}
|
|
20817
|
+
|
|
20818
|
+
# http body (model)
|
|
20819
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20820
|
+
|
|
20821
|
+
# return_type
|
|
20822
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20823
|
+
|
|
20824
|
+
# auth_names
|
|
20825
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20826
|
+
|
|
20827
|
+
new_options = opts.merge(
|
|
20828
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_elasticsearch",
|
|
20829
|
+
:header_params => header_params,
|
|
20830
|
+
:query_params => query_params,
|
|
20831
|
+
:form_params => form_params,
|
|
20832
|
+
:body => post_body,
|
|
20833
|
+
:auth_names => auth_names,
|
|
20834
|
+
:return_type => return_type
|
|
20835
|
+
)
|
|
20836
|
+
|
|
20837
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20838
|
+
if @api_client.config.debugging
|
|
20839
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_elasticsearch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20840
|
+
end
|
|
20841
|
+
return data, status_code, headers
|
|
20842
|
+
end
|
|
20843
|
+
|
|
20844
|
+
# @param body [GwUpdateRemoteAccessSessionLogsGoogleChronicle]
|
|
20845
|
+
# @param [Hash] opts the optional parameters
|
|
20846
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20847
|
+
def gw_update_remote_access_session_logs_google_chronicle(body, opts = {})
|
|
20848
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_google_chronicle_with_http_info(body, opts)
|
|
20849
|
+
data
|
|
20850
|
+
end
|
|
20851
|
+
|
|
20852
|
+
# @param body [GwUpdateRemoteAccessSessionLogsGoogleChronicle]
|
|
20853
|
+
# @param [Hash] opts the optional parameters
|
|
20854
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20855
|
+
def gw_update_remote_access_session_logs_google_chronicle_with_http_info(body, opts = {})
|
|
20856
|
+
if @api_client.config.debugging
|
|
20857
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_google_chronicle ...'
|
|
20858
|
+
end
|
|
20859
|
+
# verify the required parameter 'body' is set
|
|
20860
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20861
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_google_chronicle"
|
|
20862
|
+
end
|
|
20863
|
+
# resource path
|
|
20864
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-google-chronicle'
|
|
20865
|
+
|
|
20866
|
+
# query parameters
|
|
20867
|
+
query_params = opts[:query_params] || {}
|
|
20868
|
+
|
|
20869
|
+
# header parameters
|
|
20870
|
+
header_params = opts[:header_params] || {}
|
|
20871
|
+
# HTTP header 'Accept' (if needed)
|
|
20872
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20873
|
+
# HTTP header 'Content-Type'
|
|
20874
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20875
|
+
if !content_type.nil?
|
|
20876
|
+
header_params['Content-Type'] = content_type
|
|
20877
|
+
end
|
|
20878
|
+
|
|
20879
|
+
# form parameters
|
|
20880
|
+
form_params = opts[:form_params] || {}
|
|
20881
|
+
|
|
20882
|
+
# http body (model)
|
|
20883
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20884
|
+
|
|
20885
|
+
# return_type
|
|
20886
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20887
|
+
|
|
20888
|
+
# auth_names
|
|
20889
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20890
|
+
|
|
20891
|
+
new_options = opts.merge(
|
|
20892
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_google_chronicle",
|
|
20893
|
+
:header_params => header_params,
|
|
20894
|
+
:query_params => query_params,
|
|
20895
|
+
:form_params => form_params,
|
|
20896
|
+
:body => post_body,
|
|
20897
|
+
:auth_names => auth_names,
|
|
20898
|
+
:return_type => return_type
|
|
20899
|
+
)
|
|
20900
|
+
|
|
20901
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20902
|
+
if @api_client.config.debugging
|
|
20903
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_google_chronicle\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20904
|
+
end
|
|
20905
|
+
return data, status_code, headers
|
|
20906
|
+
end
|
|
20907
|
+
|
|
20908
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogstash]
|
|
20909
|
+
# @param [Hash] opts the optional parameters
|
|
20910
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20911
|
+
def gw_update_remote_access_session_logs_logstash(body, opts = {})
|
|
20912
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_logstash_with_http_info(body, opts)
|
|
20913
|
+
data
|
|
20914
|
+
end
|
|
20915
|
+
|
|
20916
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogstash]
|
|
20917
|
+
# @param [Hash] opts the optional parameters
|
|
20918
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20919
|
+
def gw_update_remote_access_session_logs_logstash_with_http_info(body, opts = {})
|
|
20920
|
+
if @api_client.config.debugging
|
|
20921
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_logstash ...'
|
|
20922
|
+
end
|
|
20923
|
+
# verify the required parameter 'body' is set
|
|
20924
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20925
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_logstash"
|
|
20926
|
+
end
|
|
20927
|
+
# resource path
|
|
20928
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-logstash'
|
|
20929
|
+
|
|
20930
|
+
# query parameters
|
|
20931
|
+
query_params = opts[:query_params] || {}
|
|
20932
|
+
|
|
20933
|
+
# header parameters
|
|
20934
|
+
header_params = opts[:header_params] || {}
|
|
20935
|
+
# HTTP header 'Accept' (if needed)
|
|
20936
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20937
|
+
# HTTP header 'Content-Type'
|
|
20938
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
20939
|
+
if !content_type.nil?
|
|
20940
|
+
header_params['Content-Type'] = content_type
|
|
20941
|
+
end
|
|
20942
|
+
|
|
20943
|
+
# form parameters
|
|
20944
|
+
form_params = opts[:form_params] || {}
|
|
20945
|
+
|
|
20946
|
+
# http body (model)
|
|
20947
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
20948
|
+
|
|
20949
|
+
# return_type
|
|
20950
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
20951
|
+
|
|
20952
|
+
# auth_names
|
|
20953
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20954
|
+
|
|
20955
|
+
new_options = opts.merge(
|
|
20956
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_logstash",
|
|
20957
|
+
:header_params => header_params,
|
|
20958
|
+
:query_params => query_params,
|
|
20959
|
+
:form_params => form_params,
|
|
20960
|
+
:body => post_body,
|
|
20961
|
+
:auth_names => auth_names,
|
|
20962
|
+
:return_type => return_type
|
|
20963
|
+
)
|
|
20964
|
+
|
|
20965
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
20966
|
+
if @api_client.config.debugging
|
|
20967
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_logstash\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20968
|
+
end
|
|
20969
|
+
return data, status_code, headers
|
|
20970
|
+
end
|
|
20971
|
+
|
|
20972
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogzIo]
|
|
20973
|
+
# @param [Hash] opts the optional parameters
|
|
20974
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
20975
|
+
def gw_update_remote_access_session_logs_logz_io(body, opts = {})
|
|
20976
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_logz_io_with_http_info(body, opts)
|
|
20977
|
+
data
|
|
20978
|
+
end
|
|
20979
|
+
|
|
20980
|
+
# @param body [GwUpdateRemoteAccessSessionLogsLogzIo]
|
|
20981
|
+
# @param [Hash] opts the optional parameters
|
|
20982
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
20983
|
+
def gw_update_remote_access_session_logs_logz_io_with_http_info(body, opts = {})
|
|
20984
|
+
if @api_client.config.debugging
|
|
20985
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_logz_io ...'
|
|
20986
|
+
end
|
|
20987
|
+
# verify the required parameter 'body' is set
|
|
20988
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
20989
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_logz_io"
|
|
20990
|
+
end
|
|
20991
|
+
# resource path
|
|
20992
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-logz-io'
|
|
20993
|
+
|
|
20994
|
+
# query parameters
|
|
20995
|
+
query_params = opts[:query_params] || {}
|
|
20996
|
+
|
|
20997
|
+
# header parameters
|
|
20998
|
+
header_params = opts[:header_params] || {}
|
|
20999
|
+
# HTTP header 'Accept' (if needed)
|
|
21000
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
21001
|
+
# HTTP header 'Content-Type'
|
|
21002
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
21003
|
+
if !content_type.nil?
|
|
21004
|
+
header_params['Content-Type'] = content_type
|
|
21005
|
+
end
|
|
21006
|
+
|
|
21007
|
+
# form parameters
|
|
21008
|
+
form_params = opts[:form_params] || {}
|
|
21009
|
+
|
|
21010
|
+
# http body (model)
|
|
21011
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
21012
|
+
|
|
21013
|
+
# return_type
|
|
21014
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
21015
|
+
|
|
21016
|
+
# auth_names
|
|
21017
|
+
auth_names = opts[:debug_auth_names] || []
|
|
21018
|
+
|
|
21019
|
+
new_options = opts.merge(
|
|
21020
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_logz_io",
|
|
21021
|
+
:header_params => header_params,
|
|
21022
|
+
:query_params => query_params,
|
|
21023
|
+
:form_params => form_params,
|
|
21024
|
+
:body => post_body,
|
|
21025
|
+
:auth_names => auth_names,
|
|
21026
|
+
:return_type => return_type
|
|
21027
|
+
)
|
|
21028
|
+
|
|
21029
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
21030
|
+
if @api_client.config.debugging
|
|
21031
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_logz_io\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
21032
|
+
end
|
|
21033
|
+
return data, status_code, headers
|
|
21034
|
+
end
|
|
21035
|
+
|
|
21036
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSplunk]
|
|
21037
|
+
# @param [Hash] opts the optional parameters
|
|
21038
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21039
|
+
def gw_update_remote_access_session_logs_splunk(body, opts = {})
|
|
21040
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_splunk_with_http_info(body, opts)
|
|
21041
|
+
data
|
|
21042
|
+
end
|
|
21043
|
+
|
|
21044
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSplunk]
|
|
21045
|
+
# @param [Hash] opts the optional parameters
|
|
21046
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21047
|
+
def gw_update_remote_access_session_logs_splunk_with_http_info(body, opts = {})
|
|
21048
|
+
if @api_client.config.debugging
|
|
21049
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_splunk ...'
|
|
21050
|
+
end
|
|
21051
|
+
# verify the required parameter 'body' is set
|
|
21052
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
21053
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_splunk"
|
|
21054
|
+
end
|
|
21055
|
+
# resource path
|
|
21056
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-splunk'
|
|
21057
|
+
|
|
21058
|
+
# query parameters
|
|
21059
|
+
query_params = opts[:query_params] || {}
|
|
21060
|
+
|
|
21061
|
+
# header parameters
|
|
21062
|
+
header_params = opts[:header_params] || {}
|
|
21063
|
+
# HTTP header 'Accept' (if needed)
|
|
21064
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
21065
|
+
# HTTP header 'Content-Type'
|
|
21066
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
21067
|
+
if !content_type.nil?
|
|
21068
|
+
header_params['Content-Type'] = content_type
|
|
21069
|
+
end
|
|
21070
|
+
|
|
21071
|
+
# form parameters
|
|
21072
|
+
form_params = opts[:form_params] || {}
|
|
21073
|
+
|
|
21074
|
+
# http body (model)
|
|
21075
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
21076
|
+
|
|
21077
|
+
# return_type
|
|
21078
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
21079
|
+
|
|
21080
|
+
# auth_names
|
|
21081
|
+
auth_names = opts[:debug_auth_names] || []
|
|
21082
|
+
|
|
21083
|
+
new_options = opts.merge(
|
|
21084
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_splunk",
|
|
21085
|
+
:header_params => header_params,
|
|
21086
|
+
:query_params => query_params,
|
|
21087
|
+
:form_params => form_params,
|
|
21088
|
+
:body => post_body,
|
|
21089
|
+
:auth_names => auth_names,
|
|
21090
|
+
:return_type => return_type
|
|
21091
|
+
)
|
|
21092
|
+
|
|
21093
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
21094
|
+
if @api_client.config.debugging
|
|
21095
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_splunk\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
21096
|
+
end
|
|
21097
|
+
return data, status_code, headers
|
|
21098
|
+
end
|
|
21099
|
+
|
|
21100
|
+
# @param body [GwUpdateRemoteAccessSessionLogsStdout]
|
|
21101
|
+
# @param [Hash] opts the optional parameters
|
|
21102
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21103
|
+
def gw_update_remote_access_session_logs_stdout(body, opts = {})
|
|
21104
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_stdout_with_http_info(body, opts)
|
|
21105
|
+
data
|
|
21106
|
+
end
|
|
21107
|
+
|
|
21108
|
+
# @param body [GwUpdateRemoteAccessSessionLogsStdout]
|
|
21109
|
+
# @param [Hash] opts the optional parameters
|
|
21110
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21111
|
+
def gw_update_remote_access_session_logs_stdout_with_http_info(body, opts = {})
|
|
21112
|
+
if @api_client.config.debugging
|
|
21113
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_stdout ...'
|
|
21114
|
+
end
|
|
21115
|
+
# verify the required parameter 'body' is set
|
|
21116
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
21117
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_stdout"
|
|
21118
|
+
end
|
|
21119
|
+
# resource path
|
|
21120
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-stdout'
|
|
21121
|
+
|
|
21122
|
+
# query parameters
|
|
21123
|
+
query_params = opts[:query_params] || {}
|
|
21124
|
+
|
|
21125
|
+
# header parameters
|
|
21126
|
+
header_params = opts[:header_params] || {}
|
|
21127
|
+
# HTTP header 'Accept' (if needed)
|
|
21128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
21129
|
+
# HTTP header 'Content-Type'
|
|
21130
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
21131
|
+
if !content_type.nil?
|
|
21132
|
+
header_params['Content-Type'] = content_type
|
|
21133
|
+
end
|
|
21134
|
+
|
|
21135
|
+
# form parameters
|
|
21136
|
+
form_params = opts[:form_params] || {}
|
|
21137
|
+
|
|
21138
|
+
# http body (model)
|
|
21139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
21140
|
+
|
|
21141
|
+
# return_type
|
|
21142
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
21143
|
+
|
|
21144
|
+
# auth_names
|
|
21145
|
+
auth_names = opts[:debug_auth_names] || []
|
|
21146
|
+
|
|
21147
|
+
new_options = opts.merge(
|
|
21148
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_stdout",
|
|
21149
|
+
:header_params => header_params,
|
|
21150
|
+
:query_params => query_params,
|
|
21151
|
+
:form_params => form_params,
|
|
21152
|
+
:body => post_body,
|
|
21153
|
+
:auth_names => auth_names,
|
|
21154
|
+
:return_type => return_type
|
|
21155
|
+
)
|
|
21156
|
+
|
|
21157
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
21158
|
+
if @api_client.config.debugging
|
|
21159
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_stdout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
21160
|
+
end
|
|
21161
|
+
return data, status_code, headers
|
|
21162
|
+
end
|
|
21163
|
+
|
|
21164
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSumologic]
|
|
21165
|
+
# @param [Hash] opts the optional parameters
|
|
21166
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21167
|
+
def gw_update_remote_access_session_logs_sumologic(body, opts = {})
|
|
21168
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_sumologic_with_http_info(body, opts)
|
|
21169
|
+
data
|
|
21170
|
+
end
|
|
21171
|
+
|
|
21172
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSumologic]
|
|
21173
|
+
# @param [Hash] opts the optional parameters
|
|
21174
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21175
|
+
def gw_update_remote_access_session_logs_sumologic_with_http_info(body, opts = {})
|
|
21176
|
+
if @api_client.config.debugging
|
|
21177
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_sumologic ...'
|
|
21178
|
+
end
|
|
21179
|
+
# verify the required parameter 'body' is set
|
|
21180
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
21181
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_sumologic"
|
|
21182
|
+
end
|
|
21183
|
+
# resource path
|
|
21184
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-sumologic'
|
|
21185
|
+
|
|
21186
|
+
# query parameters
|
|
21187
|
+
query_params = opts[:query_params] || {}
|
|
21188
|
+
|
|
21189
|
+
# header parameters
|
|
21190
|
+
header_params = opts[:header_params] || {}
|
|
21191
|
+
# HTTP header 'Accept' (if needed)
|
|
21192
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
21193
|
+
# HTTP header 'Content-Type'
|
|
21194
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
21195
|
+
if !content_type.nil?
|
|
21196
|
+
header_params['Content-Type'] = content_type
|
|
21197
|
+
end
|
|
21198
|
+
|
|
21199
|
+
# form parameters
|
|
21200
|
+
form_params = opts[:form_params] || {}
|
|
21201
|
+
|
|
21202
|
+
# http body (model)
|
|
21203
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
21204
|
+
|
|
21205
|
+
# return_type
|
|
21206
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
21207
|
+
|
|
21208
|
+
# auth_names
|
|
21209
|
+
auth_names = opts[:debug_auth_names] || []
|
|
21210
|
+
|
|
21211
|
+
new_options = opts.merge(
|
|
21212
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_sumologic",
|
|
21213
|
+
:header_params => header_params,
|
|
21214
|
+
:query_params => query_params,
|
|
21215
|
+
:form_params => form_params,
|
|
21216
|
+
:body => post_body,
|
|
21217
|
+
:auth_names => auth_names,
|
|
21218
|
+
:return_type => return_type
|
|
21219
|
+
)
|
|
21220
|
+
|
|
21221
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
21222
|
+
if @api_client.config.debugging
|
|
21223
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_sumologic\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
21224
|
+
end
|
|
21225
|
+
return data, status_code, headers
|
|
21226
|
+
end
|
|
21227
|
+
|
|
21228
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSyslog]
|
|
21229
|
+
# @param [Hash] opts the optional parameters
|
|
21230
|
+
# @return [GatewayUpdateLogForwardingOutput]
|
|
21231
|
+
def gw_update_remote_access_session_logs_syslog(body, opts = {})
|
|
21232
|
+
data, _status_code, _headers = gw_update_remote_access_session_logs_syslog_with_http_info(body, opts)
|
|
21233
|
+
data
|
|
21234
|
+
end
|
|
21235
|
+
|
|
21236
|
+
# @param body [GwUpdateRemoteAccessSessionLogsSyslog]
|
|
21237
|
+
# @param [Hash] opts the optional parameters
|
|
21238
|
+
# @return [Array<(GatewayUpdateLogForwardingOutput, Integer, Hash)>] GatewayUpdateLogForwardingOutput data, response status code and response headers
|
|
21239
|
+
def gw_update_remote_access_session_logs_syslog_with_http_info(body, opts = {})
|
|
21240
|
+
if @api_client.config.debugging
|
|
21241
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gw_update_remote_access_session_logs_syslog ...'
|
|
21242
|
+
end
|
|
21243
|
+
# verify the required parameter 'body' is set
|
|
21244
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
21245
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gw_update_remote_access_session_logs_syslog"
|
|
21246
|
+
end
|
|
21247
|
+
# resource path
|
|
21248
|
+
local_var_path = '/gateway-update-remote-access-session-forwarding-syslog'
|
|
21249
|
+
|
|
21250
|
+
# query parameters
|
|
21251
|
+
query_params = opts[:query_params] || {}
|
|
21252
|
+
|
|
21253
|
+
# header parameters
|
|
21254
|
+
header_params = opts[:header_params] || {}
|
|
21255
|
+
# HTTP header 'Accept' (if needed)
|
|
21256
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
21257
|
+
# HTTP header 'Content-Type'
|
|
21258
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
21259
|
+
if !content_type.nil?
|
|
21260
|
+
header_params['Content-Type'] = content_type
|
|
21261
|
+
end
|
|
21262
|
+
|
|
21263
|
+
# form parameters
|
|
21264
|
+
form_params = opts[:form_params] || {}
|
|
21265
|
+
|
|
21266
|
+
# http body (model)
|
|
21267
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
21268
|
+
|
|
21269
|
+
# return_type
|
|
21270
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateLogForwardingOutput'
|
|
21271
|
+
|
|
21272
|
+
# auth_names
|
|
21273
|
+
auth_names = opts[:debug_auth_names] || []
|
|
21274
|
+
|
|
21275
|
+
new_options = opts.merge(
|
|
21276
|
+
:operation => :"V2Api.gw_update_remote_access_session_logs_syslog",
|
|
21277
|
+
:header_params => header_params,
|
|
21278
|
+
:query_params => query_params,
|
|
21279
|
+
:form_params => form_params,
|
|
21280
|
+
:body => post_body,
|
|
21281
|
+
:auth_names => auth_names,
|
|
21282
|
+
:return_type => return_type
|
|
21283
|
+
)
|
|
21284
|
+
|
|
21285
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
21286
|
+
if @api_client.config.debugging
|
|
21287
|
+
@api_client.config.logger.debug "API called: V2Api#gw_update_remote_access_session_logs_syslog\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
21288
|
+
end
|
|
21289
|
+
return data, status_code, headers
|
|
21290
|
+
end
|
|
21291
|
+
|
|
20407
21292
|
# @param body [Hmac]
|
|
20408
21293
|
# @param [Hash] opts the optional parameters
|
|
20409
21294
|
# @return [HmacOutput]
|