fastly 12.0.0 → 13.0.0

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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +27 -14
  5. data/docs/Backend.md +1 -1
  6. data/docs/BackendApi.md +4 -4
  7. data/docs/BackendResponse.md +1 -1
  8. data/docs/Results.md +2 -2
  9. data/docs/ServiceApi.md +2 -0
  10. data/lib/fastly/api/backend_api.rb +4 -4
  11. data/lib/fastly/api/logging_azureblob_api.rb +2 -2
  12. data/lib/fastly/api/logging_bigquery_api.rb +2 -2
  13. data/lib/fastly/api/logging_cloudfiles_api.rb +2 -2
  14. data/lib/fastly/api/logging_datadog_api.rb +2 -2
  15. data/lib/fastly/api/logging_digitalocean_api.rb +2 -2
  16. data/lib/fastly/api/logging_elasticsearch_api.rb +2 -2
  17. data/lib/fastly/api/logging_ftp_api.rb +2 -2
  18. data/lib/fastly/api/logging_gcs_api.rb +2 -2
  19. data/lib/fastly/api/logging_grafanacloudlogs_api.rb +2 -2
  20. data/lib/fastly/api/logging_heroku_api.rb +2 -2
  21. data/lib/fastly/api/logging_honeycomb_api.rb +2 -2
  22. data/lib/fastly/api/logging_https_api.rb +2 -2
  23. data/lib/fastly/api/logging_kafka_api.rb +1 -1
  24. data/lib/fastly/api/logging_logentries_api.rb +2 -2
  25. data/lib/fastly/api/logging_loggly_api.rb +2 -2
  26. data/lib/fastly/api/logging_logshuttle_api.rb +2 -2
  27. data/lib/fastly/api/logging_newrelic_api.rb +2 -2
  28. data/lib/fastly/api/logging_newrelicotlp_api.rb +2 -2
  29. data/lib/fastly/api/logging_openstack_api.rb +2 -2
  30. data/lib/fastly/api/logging_papertrail_api.rb +2 -2
  31. data/lib/fastly/api/logging_pubsub_api.rb +2 -2
  32. data/lib/fastly/api/logging_s3_api.rb +2 -2
  33. data/lib/fastly/api/logging_scalyr_api.rb +2 -2
  34. data/lib/fastly/api/logging_sftp_api.rb +2 -2
  35. data/lib/fastly/api/logging_splunk_api.rb +2 -2
  36. data/lib/fastly/api/logging_sumologic_api.rb +2 -2
  37. data/lib/fastly/api/logging_syslog_api.rb +2 -2
  38. data/lib/fastly/api/service_api.rb +3 -0
  39. data/lib/fastly/models/backend.rb +2 -1
  40. data/lib/fastly/models/backend_response.rb +2 -1
  41. data/lib/fastly/models/logging_azureblob_response.rb +2 -2
  42. data/lib/fastly/models/logging_bigquery_response.rb +2 -2
  43. data/lib/fastly/models/logging_cloudfiles_response.rb +2 -2
  44. data/lib/fastly/models/logging_common.rb +2 -2
  45. data/lib/fastly/models/logging_common_response.rb +2 -2
  46. data/lib/fastly/models/logging_common_response_all_of.rb +2 -2
  47. data/lib/fastly/models/logging_datadog_response.rb +2 -2
  48. data/lib/fastly/models/logging_digitalocean_response.rb +2 -2
  49. data/lib/fastly/models/logging_elasticsearch_response.rb +2 -2
  50. data/lib/fastly/models/logging_ftp_response.rb +2 -2
  51. data/lib/fastly/models/logging_gcs_response.rb +2 -2
  52. data/lib/fastly/models/logging_google_pubsub_response.rb +2 -2
  53. data/lib/fastly/models/logging_grafanacloudlogs_response.rb +2 -2
  54. data/lib/fastly/models/logging_heroku_response.rb +2 -2
  55. data/lib/fastly/models/logging_honeycomb_response.rb +2 -2
  56. data/lib/fastly/models/logging_https_response.rb +2 -2
  57. data/lib/fastly/models/logging_kafka_response.rb +2 -2
  58. data/lib/fastly/models/logging_kafka_response_post.rb +2 -2
  59. data/lib/fastly/models/logging_logentries_response.rb +2 -2
  60. data/lib/fastly/models/logging_loggly_response.rb +2 -2
  61. data/lib/fastly/models/logging_logshuttle_response.rb +2 -2
  62. data/lib/fastly/models/logging_newrelic_response.rb +2 -2
  63. data/lib/fastly/models/logging_newrelicotlp_response.rb +2 -2
  64. data/lib/fastly/models/logging_openstack_response.rb +2 -2
  65. data/lib/fastly/models/logging_papertrail_response.rb +2 -2
  66. data/lib/fastly/models/logging_placement.rb +0 -1
  67. data/lib/fastly/models/logging_s3_response.rb +2 -2
  68. data/lib/fastly/models/logging_scalyr_response.rb +2 -2
  69. data/lib/fastly/models/logging_sftp_response.rb +2 -2
  70. data/lib/fastly/models/logging_splunk_response.rb +2 -2
  71. data/lib/fastly/models/logging_sumologic_response.rb +2 -2
  72. data/lib/fastly/models/logging_syslog_response.rb +2 -2
  73. data/lib/fastly/models/results.rb +2 -2
  74. data/lib/fastly/version.rb +1 -1
  75. data/sig.json +1 -1
  76. metadata +2 -2
@@ -210,7 +210,7 @@ module Fastly
210
210
  # Check to see if the all the properties in the model are valid
211
211
  # @return true if the model is valid
212
212
  def valid?
213
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
213
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
214
214
  return false unless placement_validator.valid?(@placement)
215
215
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
216
216
  return false unless format_version_validator.valid?(@format_version)
@@ -220,7 +220,7 @@ module Fastly
220
220
  # Custom attribute writer method checking allowed values (enum).
221
221
  # @param [Object] placement Object to be assigned
222
222
  def placement=(placement)
223
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
223
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
224
224
  unless validator.valid?(placement)
225
225
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
226
226
  end
@@ -211,7 +211,7 @@ module Fastly
211
211
  # Check to see if the all the properties in the model are valid
212
212
  # @return true if the model is valid
213
213
  def valid?
214
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
214
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
215
215
  return false unless placement_validator.valid?(@placement)
216
216
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
217
217
  return false unless format_version_validator.valid?(@format_version)
@@ -223,7 +223,7 @@ module Fastly
223
223
  # Custom attribute writer method checking allowed values (enum).
224
224
  # @param [Object] placement Object to be assigned
225
225
  def placement=(placement)
226
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
226
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
227
227
  unless validator.valid?(placement)
228
228
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
229
229
  end
@@ -223,7 +223,7 @@ module Fastly
223
223
  # Check to see if the all the properties in the model are valid
224
224
  # @return true if the model is valid
225
225
  def valid?
226
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
226
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
227
227
  return false unless placement_validator.valid?(@placement)
228
228
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
229
229
  return false unless format_version_validator.valid?(@format_version)
@@ -235,7 +235,7 @@ module Fastly
235
235
  # Custom attribute writer method checking allowed values (enum).
236
236
  # @param [Object] placement Object to be assigned
237
237
  def placement=(placement)
238
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
238
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
239
239
  unless validator.valid?(placement)
240
240
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
241
241
  end
@@ -304,7 +304,7 @@ module Fastly
304
304
  # Check to see if the all the properties in the model are valid
305
305
  # @return true if the model is valid
306
306
  def valid?
307
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
307
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
308
308
  return false unless placement_validator.valid?(@placement)
309
309
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
310
310
  return false unless format_version_validator.valid?(@format_version)
@@ -318,7 +318,7 @@ module Fastly
318
318
  # Custom attribute writer method checking allowed values (enum).
319
319
  # @param [Object] placement Object to be assigned
320
320
  def placement=(placement)
321
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
321
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
322
322
  unless validator.valid?(placement)
323
323
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
324
324
  end
@@ -211,7 +211,7 @@ module Fastly
211
211
  # Check to see if the all the properties in the model are valid
212
212
  # @return true if the model is valid
213
213
  def valid?
214
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
214
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
215
215
  return false unless placement_validator.valid?(@placement)
216
216
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
217
217
  return false unless format_version_validator.valid?(@format_version)
@@ -221,7 +221,7 @@ module Fastly
221
221
  # Custom attribute writer method checking allowed values (enum).
222
222
  # @param [Object] placement Object to be assigned
223
223
  def placement=(placement)
224
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
224
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
225
225
  unless validator.valid?(placement)
226
226
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
227
227
  end
@@ -14,7 +14,6 @@ require 'time'
14
14
  module Fastly
15
15
  class LoggingPlacement
16
16
  NONE = "none".freeze
17
- WAF_DEBUG = "waf_debug".freeze
18
17
  NULL = "null".freeze
19
18
 
20
19
  # Builds the enum from string
@@ -374,7 +374,7 @@ module Fastly
374
374
  # Check to see if the all the properties in the model are valid
375
375
  # @return true if the model is valid
376
376
  def valid?
377
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
377
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
378
378
  return false unless placement_validator.valid?(@placement)
379
379
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
380
380
  return false unless format_version_validator.valid?(@format_version)
@@ -389,7 +389,7 @@ module Fastly
389
389
  # Custom attribute writer method checking allowed values (enum).
390
390
  # @param [Object] placement Object to be assigned
391
391
  def placement=(placement)
392
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
392
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
393
393
  unless validator.valid?(placement)
394
394
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
395
395
  end
@@ -222,7 +222,7 @@ module Fastly
222
222
  # Check to see if the all the properties in the model are valid
223
223
  # @return true if the model is valid
224
224
  def valid?
225
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
225
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
226
226
  return false unless placement_validator.valid?(@placement)
227
227
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
228
228
  return false unless format_version_validator.valid?(@format_version)
@@ -234,7 +234,7 @@ module Fastly
234
234
  # Custom attribute writer method checking allowed values (enum).
235
235
  # @param [Object] placement Object to be assigned
236
236
  def placement=(placement)
237
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
237
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
238
238
  unless validator.valid?(placement)
239
239
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
240
240
  end
@@ -328,7 +328,7 @@ module Fastly
328
328
  # Check to see if the all the properties in the model are valid
329
329
  # @return true if the model is valid
330
330
  def valid?
331
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
331
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
332
332
  return false unless placement_validator.valid?(@placement)
333
333
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
334
334
  return false unless format_version_validator.valid?(@format_version)
@@ -342,7 +342,7 @@ module Fastly
342
342
  # Custom attribute writer method checking allowed values (enum).
343
343
  # @param [Object] placement Object to be assigned
344
344
  def placement=(placement)
345
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
345
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
346
346
  unless validator.valid?(placement)
347
347
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
348
348
  end
@@ -291,7 +291,7 @@ module Fastly
291
291
  # Check to see if the all the properties in the model are valid
292
292
  # @return true if the model is valid
293
293
  def valid?
294
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
294
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
295
295
  return false unless placement_validator.valid?(@placement)
296
296
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
297
297
  return false unless format_version_validator.valid?(@format_version)
@@ -301,7 +301,7 @@ module Fastly
301
301
  # Custom attribute writer method checking allowed values (enum).
302
302
  # @param [Object] placement Object to be assigned
303
303
  def placement=(placement)
304
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
304
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
305
305
  unless validator.valid?(placement)
306
306
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
307
307
  end
@@ -210,7 +210,7 @@ module Fastly
210
210
  # Check to see if the all the properties in the model are valid
211
211
  # @return true if the model is valid
212
212
  def valid?
213
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
213
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
214
214
  return false unless placement_validator.valid?(@placement)
215
215
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
216
216
  return false unless format_version_validator.valid?(@format_version)
@@ -220,7 +220,7 @@ module Fastly
220
220
  # Custom attribute writer method checking allowed values (enum).
221
221
  # @param [Object] placement Object to be assigned
222
222
  def placement=(placement)
223
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
223
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
224
224
  unless validator.valid?(placement)
225
225
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
226
226
  end
@@ -312,7 +312,7 @@ module Fastly
312
312
  # Check to see if the all the properties in the model are valid
313
313
  # @return true if the model is valid
314
314
  def valid?
315
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
315
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
316
316
  return false unless placement_validator.valid?(@placement)
317
317
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
318
318
  return false unless format_version_validator.valid?(@format_version)
@@ -322,7 +322,7 @@ module Fastly
322
322
  # Custom attribute writer method checking allowed values (enum).
323
323
  # @param [Object] placement Object to be assigned
324
324
  def placement=(placement)
325
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
325
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
326
326
  unless validator.valid?(placement)
327
327
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
328
328
  end
@@ -803,13 +803,13 @@ module Fastly
803
803
  # Count of Edge WAF requests with an unknown outcome.
804
804
  attr_accessor :ngwaf_requests_unknown_count
805
805
 
806
- # Count of Edge WAF requests allowed.
806
+ # Count of Next-Gen WAF (Edge WAF & Core WAF) requests allowed.
807
807
  attr_accessor :ngwaf_requests_allowed_count
808
808
 
809
809
  # Count of Edge WAF requests logged.
810
810
  attr_accessor :ngwaf_requests_logged_count
811
811
 
812
- # Count of Edge WAF requests blocked.
812
+ # Count of Next-Gen WAF (Edge WAF & Core WAF) requests blocked.
813
813
  attr_accessor :ngwaf_requests_blocked_count
814
814
 
815
815
  # Count of Edge WAF requests timed outcome.
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '12.0.0'
12
+ VERSION = '13.0.0'
13
13
  end
data/sig.json CHANGED
@@ -1 +1 @@
1
- {"G": "38dbf5ed", "D": "fed72b8e"}
1
+ {"G": "bb3cb969", "D": "cabf600c"}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0
4
+ version: 13.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-13 00:00:00.000000000 Z
11
+ date: 2025-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus