lib/fastly/api/logging_digitalocean_api.rb in fastly-4.0.0.alpha4 vs lib/fastly/api/logging_digitalocean_api.rb in fastly-4.0.0

- old
+ new

@@ -21,18 +21,18 @@ # Create a DigitalOcean Space for a particular service and version. # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :name The name for the real-time logging configuration. # @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 [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 [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] :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 [String] :message_type How the message should be formatted. (default to 'classic') # @option opts [String] :timestamp_format A timestamp format # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600) - # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \\\"gzip.\\\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) - # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \\\"gzip\\\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. + # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) + # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. # @option opts [String] :bucket_name The name of the DigitalOcean Space. # @option opts [String] :access_key Your DigitalOcean Spaces account access key. # @option opts [String] :secret_key Your DigitalOcean Spaces account secret key. # @option opts [String] :domain The domain of the DigitalOcean Spaces endpoint. (default to 'nyc3.digitaloceanspaces.com') # @option opts [String] :path The path to upload logs to. (default to 'null') @@ -47,18 +47,18 @@ # Create a DigitalOcean Space for a particular service and version. # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :name The name for the real-time logging configuration. # @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 [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 [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] :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 [String] :message_type How the message should be formatted. (default to 'classic') # @option opts [String] :timestamp_format A timestamp format # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600) - # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \\\"gzip.\\\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) - # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \\\"gzip\\\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. + # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) + # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. # @option opts [String] :bucket_name The name of the DigitalOcean Space. # @option opts [String] :access_key Your DigitalOcean Spaces account access key. # @option opts [String] :secret_key Your DigitalOcean Spaces account secret key. # @option opts [String] :domain The domain of the DigitalOcean Spaces endpoint. (default to 'nyc3.digitaloceanspaces.com') # @option opts [String] :path The path to upload logs to. (default to 'null') @@ -385,18 +385,18 @@ # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :logging_digitalocean_name The name for the real-time logging configuration. (required) # @option opts [String] :name The name for the real-time logging configuration. # @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 [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 [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] :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 [String] :message_type How the message should be formatted. (default to 'classic') # @option opts [String] :timestamp_format A timestamp format # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600) - # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \\\"gzip.\\\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) - # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \\\"gzip\\\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. + # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) + # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. # @option opts [String] :bucket_name The name of the DigitalOcean Space. # @option opts [String] :access_key Your DigitalOcean Spaces account access key. # @option opts [String] :secret_key Your DigitalOcean Spaces account secret key. # @option opts [String] :domain The domain of the DigitalOcean Spaces endpoint. (default to 'nyc3.digitaloceanspaces.com') # @option opts [String] :path The path to upload logs to. (default to 'null') @@ -412,17 +412,17 @@ # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :logging_digitalocean_name The name for the real-time logging configuration. (required) # @option opts [String] :name The name for the real-time logging configuration. # @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 [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 [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] :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 [String] :message_type How the message should be formatted. (default to 'classic') # @option opts [String] :timestamp_format A timestamp format # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600) - # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \\\"gzip.\\\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) - # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \\\"gzip\\\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. + # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0) + # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. # @option opts [String] :bucket_name The name of the DigitalOcean Space. # @option opts [String] :access_key Your DigitalOcean Spaces account access key. # @option opts [String] :secret_key Your DigitalOcean Spaces account secret key. # @option opts [String] :domain The domain of the DigitalOcean Spaces endpoint. (default to 'nyc3.digitaloceanspaces.com') # @option opts [String] :path The path to upload logs to. (default to 'null')