lib/fastly/models/logging_datadog_response.rb in fastly-8.4.0 vs lib/fastly/models/logging_datadog_response.rb in fastly-8.5.0

- old
+ new

@@ -213,11 +213,11 @@ def valid? placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"]) return false unless placement_validator.valid?(@placement) format_version_validator = EnumAttributeValidator.new('String', ["1", "2"]) return false unless format_version_validator.valid?(@format_version) - region_validator = EnumAttributeValidator.new('String', ["US", "EU"]) + region_validator = EnumAttributeValidator.new('String', ["US", "US3", "US5", "EU (legacy, same as EU1)", "EU1", "AP1"]) return false unless region_validator.valid?(@region) true end # Custom attribute writer method checking allowed values (enum). @@ -241,10 +241,10 @@ end # Custom attribute writer method checking allowed values (enum). # @param [Object] region Object to be assigned def region=(region) - validator = EnumAttributeValidator.new('String', ["US", "EU"]) + validator = EnumAttributeValidator.new('String', ["US", "US3", "US5", "EU (legacy, same as EU1)", "EU1", "AP1"]) unless validator.valid?(region) fail ArgumentError, "invalid value for \"region\", must be one of #{validator.allowable_values}." end @region = region end