lib/fastly/api/logging_syslog_api.rb in fastly-8.4.0 vs lib/fastly/api/logging_syslog_api.rb in fastly-8.5.0
- old
+ new
@@ -34,11 +34,11 @@
# @option opts [Integer] :port The port number. (default to 514)
# @option opts [LoggingMessageType] :message_type (default to 'classic')
# @option opts [String] :hostname The hostname used for the syslog endpoint.
# @option opts [String] :ipv4 The IPv4 address used for the syslog endpoint.
# @option opts [String] :token Whether to prepend each message with a specific token. (default to 'null')
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [LoggingSyslogResponse]
def create_log_syslog(opts = {})
data, _status_code, _headers = create_log_syslog_with_http_info(opts)
data
end
@@ -60,11 +60,11 @@
# @option opts [Integer] :port The port number. (default to 514)
# @option opts [LoggingMessageType] :message_type (default to 'classic')
# @option opts [String] :hostname The hostname used for the syslog endpoint.
# @option opts [String] :ipv4 The IPv4 address used for the syslog endpoint.
# @option opts [String] :token Whether to prepend each message with a specific token. (default to 'null')
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [Array<(LoggingSyslogResponse, Integer, Hash)>] LoggingSyslogResponse data, response status code and response headers
def create_log_syslog_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoggingSyslogApi.create_log_syslog ...'
end
@@ -390,11 +390,11 @@
# @option opts [Integer] :port The port number. (default to 514)
# @option opts [LoggingMessageType] :message_type (default to 'classic')
# @option opts [String] :hostname The hostname used for the syslog endpoint.
# @option opts [String] :ipv4 The IPv4 address used for the syslog endpoint.
# @option opts [String] :token Whether to prepend each message with a specific token. (default to 'null')
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [LoggingSyslogResponse]
def update_log_syslog(opts = {})
data, _status_code, _headers = update_log_syslog_with_http_info(opts)
data
end
@@ -417,10 +417,10 @@
# @option opts [Integer] :port The port number. (default to 514)
# @option opts [LoggingMessageType] :message_type (default to 'classic')
# @option opts [String] :hostname The hostname used for the syslog endpoint.
# @option opts [String] :ipv4 The IPv4 address used for the syslog endpoint.
# @option opts [String] :token Whether to prepend each message with a specific token. (default to 'null')
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [Array<(LoggingSyslogResponse, Integer, Hash)>] LoggingSyslogResponse data, response status code and response headers
def update_log_syslog_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoggingSyslogApi.update_log_syslog ...'
end