lib/fastly/api/logging_datadog_api.rb in fastly-8.4.0 vs lib/fastly/api/logging_datadog_api.rb in fastly-8.5.0

- old
+ new

@@ -67,11 +67,11 @@ end allowable_values = [1, 2] if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version']) fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}" end - allowable_values = ["US", "EU"] + allowable_values = ["US", "US3", "US5", "EU (legacy, same as EU1)", "EU1", "AP1"] if @api_client.config.client_side_validation && opts[:'region'] && !allowable_values.include?(opts[:'region']) fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}" end # resource path local_var_path = '/service/{service_id}/version/{version_id}/logging/datadog'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)) @@ -406,10 +406,10 @@ end allowable_values = [1, 2] if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version']) fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}" end - allowable_values = ["US", "EU"] + allowable_values = ["US", "US3", "US5", "EU (legacy, same as EU1)", "EU1", "AP1"] if @api_client.config.client_side_validation && opts[:'region'] && !allowable_values.include?(opts[:'region']) fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}" end # resource path local_var_path = '/service/{service_id}/version/{version_id}/logging/datadog/{logging_datadog_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'logging_datadog_name' + '}', CGI.escape(logging_datadog_name.to_s))