lib/fastly/api/logging_scalyr_api.rb in fastly-8.0.1 vs lib/fastly/api/logging_scalyr_api.rb in fastly-8.1.0
- old
+ new
@@ -25,11 +25,11 @@
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
- # @option opts [String] :token The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
+ # @option opts [String] :token The token to use for authentication.
# @option opts [String] :project_id The name of the logfile within Scalyr. (default to 'logplex')
# @return [LoggingScalyrResponse]
def create_log_scalyr(opts = {})
data, _status_code, _headers = create_log_scalyr_with_http_info(opts)
data
@@ -43,11 +43,11 @@
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
- # @option opts [String] :token The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
+ # @option opts [String] :token The token to use for authentication.
# @option opts [String] :project_id The name of the logfile within Scalyr. (default to 'logplex')
# @return [Array<(LoggingScalyrResponse, Integer, Hash)>] LoggingScalyrResponse data, response status code and response headers
def create_log_scalyr_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoggingScalyrApi.create_log_scalyr ...'
@@ -361,11 +361,11 @@
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
- # @option opts [String] :token The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
+ # @option opts [String] :token The token to use for authentication.
# @option opts [String] :project_id The name of the logfile within Scalyr. (default to 'logplex')
# @return [LoggingScalyrResponse]
def update_log_scalyr(opts = {})
data, _status_code, _headers = update_log_scalyr_with_http_info(opts)
data
@@ -380,10 +380,10 @@
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
- # @option opts [String] :token The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
+ # @option opts [String] :token The token to use for authentication.
# @option opts [String] :project_id The name of the logfile within Scalyr. (default to 'logplex')
# @return [Array<(LoggingScalyrResponse, Integer, Hash)>] LoggingScalyrResponse data, response status code and response headers
def update_log_scalyr_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoggingScalyrApi.update_log_scalyr ...'