fastly 7.1.0 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +2 -2
- data/README.md +6 -5
- data/docs/EventsApi.md +8 -0
- data/docs/HistoricalDdos.md +13 -0
- data/docs/HistoricalDdosMeta.md +13 -0
- data/docs/HistoricalFieldResultsAttributes.md +9 -0
- data/docs/KvStoreApi.md +15 -15
- data/docs/LoggingLogentriesAdditional.md +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +1 -1
- data/docs/PlatformDdosDataItems.md +10 -0
- data/docs/PlatformDdosEntry.md +10 -0
- data/docs/PlatformDdosResponse.md +13 -0
- data/docs/PlatformDdosResponseAllOf.md +10 -0
- data/docs/RealtimeEntryAggregated.md +9 -0
- data/docs/RealtimeMeasurements.md +9 -0
- data/docs/Results.md +9 -0
- data/docs/SchemasSnippetResponse.md +1 -1
- data/docs/SchemasSnippetResponseCommon.md +15 -0
- data/docs/Snippet.md +1 -1
- data/docs/SnippetAllOf.md +10 -0
- data/docs/SnippetApi.md +6 -6
- data/docs/SnippetCommon.md +13 -0
- data/docs/SnippetResponse.md +1 -1
- data/docs/SnippetResponseCommon.md +15 -0
- data/docs/{SnippetResponseAllOf.md → SnippetResponseCommonAllOf.md} +1 -1
- data/docs/SnippetResponsePost.md +20 -0
- data/docs/SnippetWithDynamicNumber.md +14 -0
- data/docs/SnippetWithDynamicNumberAllOf.md +10 -0
- data/docs/ValuesDdos.md +15 -0
- data/docs/WholePlatformDdosHistoricalApi.md +56 -0
- data/lib/fastly/api/events_api.rb +12 -0
- data/lib/fastly/api/kv_store_api.rb +14 -14
- data/lib/fastly/api/logging_logentries_api.rb +4 -4
- data/lib/fastly/api/snippet_api.rb +17 -17
- data/lib/fastly/api/whole_platform_ddos_historical_api.rb +89 -0
- data/lib/fastly/configuration.rb +6 -0
- data/lib/fastly/models/historical_ddos.rb +249 -0
- data/lib/fastly/models/historical_ddos_meta.rb +248 -0
- data/lib/fastly/models/historical_field_results_attributes.rb +91 -1
- data/lib/fastly/models/logging_logentries_additional.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -1
- data/lib/fastly/models/platform_ddos_data_items.rb +216 -0
- data/lib/fastly/models/platform_ddos_entry.rb +219 -0
- data/lib/fastly/models/platform_ddos_response.rb +257 -0
- data/lib/fastly/models/platform_ddos_response_all_of.rb +219 -0
- data/lib/fastly/models/realtime_entry_aggregated.rb +94 -4
- data/lib/fastly/models/realtime_measurements.rb +94 -4
- data/lib/fastly/models/results.rb +94 -4
- data/lib/fastly/models/schemas_snippet_response.rb +25 -26
- data/lib/fastly/models/schemas_snippet_response_common.rb +276 -0
- data/lib/fastly/models/snippet.rb +34 -26
- data/lib/fastly/models/snippet_all_of.rb +251 -0
- data/lib/fastly/models/snippet_common.rb +283 -0
- data/lib/fastly/models/snippet_response.rb +24 -25
- data/lib/fastly/models/snippet_response_common.rb +276 -0
- data/lib/fastly/models/{snippet_response_all_of.rb → snippet_response_common_all_of.rb} +3 -3
- data/lib/fastly/models/snippet_response_post.rb +374 -0
- data/lib/fastly/models/snippet_with_dynamic_number.rb +313 -0
- data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +251 -0
- data/lib/fastly/models/values_ddos.rb +268 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +16 -1
- data/sig.json +1 -1
- metadata +34 -4
@@ -0,0 +1,219 @@
|
|
1
|
+
=begin
|
2
|
+
#Fastly API
|
3
|
+
|
4
|
+
#Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: oss@fastly.com
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'date'
|
12
|
+
require 'time'
|
13
|
+
|
14
|
+
module Fastly
|
15
|
+
class PlatformDdosResponseAllOf
|
16
|
+
# A list of timeseries.
|
17
|
+
attr_accessor :data
|
18
|
+
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
20
|
+
def self.attribute_map
|
21
|
+
{
|
22
|
+
:'data' => :'data'
|
23
|
+
}
|
24
|
+
end
|
25
|
+
|
26
|
+
# Returns all the JSON keys this model knows about
|
27
|
+
def self.acceptable_attributes
|
28
|
+
attribute_map.values
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.fastly_types
|
33
|
+
{
|
34
|
+
:'data' => :'Array<PlatformDdosEntry>'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# List of attributes with nullable: true
|
39
|
+
def self.fastly_nullable
|
40
|
+
Set.new([
|
41
|
+
])
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
if (!attributes.is_a?(Hash))
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::PlatformDdosResponseAllOf` initialize method"
|
49
|
+
end
|
50
|
+
|
51
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
53
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::PlatformDdosResponseAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
55
|
+
end
|
56
|
+
h[k.to_sym] = v
|
57
|
+
}
|
58
|
+
|
59
|
+
if attributes.key?(:'data')
|
60
|
+
if (value = attributes[:'data']).is_a?(Array)
|
61
|
+
self.data = value
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
67
|
+
# @return Array for valid properties with the reasons
|
68
|
+
def list_invalid_properties
|
69
|
+
invalid_properties = Array.new
|
70
|
+
invalid_properties
|
71
|
+
end
|
72
|
+
|
73
|
+
# Check to see if the all the properties in the model are valid
|
74
|
+
# @return true if the model is valid
|
75
|
+
def valid?
|
76
|
+
true
|
77
|
+
end
|
78
|
+
|
79
|
+
# Checks equality by comparing each attribute.
|
80
|
+
# @param [Object] Object to be compared
|
81
|
+
def ==(o)
|
82
|
+
return true if self.equal?(o)
|
83
|
+
self.class == o.class &&
|
84
|
+
data == o.data
|
85
|
+
end
|
86
|
+
|
87
|
+
# @see the `==` method
|
88
|
+
# @param [Object] Object to be compared
|
89
|
+
def eql?(o)
|
90
|
+
self == o
|
91
|
+
end
|
92
|
+
|
93
|
+
# Calculates hash code according to all attributes.
|
94
|
+
# @return [Integer] Hash code
|
95
|
+
def hash
|
96
|
+
[data].hash
|
97
|
+
end
|
98
|
+
|
99
|
+
# Builds the object from hash
|
100
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
101
|
+
# @return [Object] Returns the model itself
|
102
|
+
def self.build_from_hash(attributes)
|
103
|
+
new.build_from_hash(attributes)
|
104
|
+
end
|
105
|
+
|
106
|
+
# Builds the object from hash
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
# @return [Object] Returns the model itself
|
109
|
+
def build_from_hash(attributes)
|
110
|
+
return nil unless attributes.is_a?(Hash)
|
111
|
+
self.class.fastly_types.each_pair do |key, type|
|
112
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
113
|
+
self.send("#{key}=", nil)
|
114
|
+
elsif type =~ /\AArray<(.*)>/i
|
115
|
+
# check to ensure the input is an array given that the attribute
|
116
|
+
# is documented as an array but the input is not
|
117
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
118
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
119
|
+
end
|
120
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
121
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
self
|
126
|
+
end
|
127
|
+
|
128
|
+
# Deserializes the data based on type
|
129
|
+
# @param string type Data type
|
130
|
+
# @param string value Value to be deserialized
|
131
|
+
# @return [Object] Deserialized data
|
132
|
+
def _deserialize(type, value)
|
133
|
+
case type.to_sym
|
134
|
+
when :Time
|
135
|
+
Time.parse(value)
|
136
|
+
when :Date
|
137
|
+
Date.parse(value)
|
138
|
+
when :String
|
139
|
+
value.to_s
|
140
|
+
when :Integer
|
141
|
+
value.to_i
|
142
|
+
when :Float
|
143
|
+
value.to_f
|
144
|
+
when :Boolean
|
145
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
146
|
+
true
|
147
|
+
else
|
148
|
+
false
|
149
|
+
end
|
150
|
+
when :Object
|
151
|
+
# generic object (usually a Hash), return directly
|
152
|
+
value
|
153
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
154
|
+
inner_type = Regexp.last_match[:inner_type]
|
155
|
+
value.map { |v| _deserialize(inner_type, v) }
|
156
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
157
|
+
k_type = Regexp.last_match[:k_type]
|
158
|
+
v_type = Regexp.last_match[:v_type]
|
159
|
+
{}.tap do |hash|
|
160
|
+
value.each do |k, v|
|
161
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
else # model
|
165
|
+
# models (e.g. Pet) or oneOf
|
166
|
+
klass = Fastly.const_get(type)
|
167
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the string representation of the object
|
172
|
+
# @return [String] String presentation of the object
|
173
|
+
def to_s
|
174
|
+
to_hash.to_s
|
175
|
+
end
|
176
|
+
|
177
|
+
# to_body is an alias to to_hash (backward compatibility)
|
178
|
+
# @return [Hash] Returns the object in the form of hash
|
179
|
+
def to_body
|
180
|
+
to_hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Returns the object in the form of hash
|
184
|
+
# @return [Hash] Returns the object in the form of hash
|
185
|
+
def to_hash
|
186
|
+
hash = {}
|
187
|
+
self.class.attribute_map.each_pair do |attr, param|
|
188
|
+
value = self.send(attr)
|
189
|
+
if value.nil?
|
190
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
191
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
192
|
+
end
|
193
|
+
|
194
|
+
hash[param] = _to_hash(value)
|
195
|
+
end
|
196
|
+
hash
|
197
|
+
end
|
198
|
+
|
199
|
+
# Outputs non-array value in the form of hash
|
200
|
+
# For object, use to_hash. Otherwise, just return the value
|
201
|
+
# @param [Object] value Any valid value
|
202
|
+
# @return [Hash] Returns the value in the form of hash
|
203
|
+
def _to_hash(value)
|
204
|
+
if value.is_a?(Array)
|
205
|
+
value.compact.map { |v| _to_hash(v) }
|
206
|
+
elsif value.is_a?(Hash)
|
207
|
+
{}.tap do |hash|
|
208
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
209
|
+
end
|
210
|
+
elsif value.respond_to? :to_hash
|
211
|
+
value.to_hash
|
212
|
+
else
|
213
|
+
value
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
end
|
218
|
+
|
219
|
+
end
|
@@ -668,6 +668,33 @@ module Fastly
|
|
668
668
|
# The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped).
|
669
669
|
attr_accessor :ddos_action_blackhole
|
670
670
|
|
671
|
+
# The number of challenge-start tokens created.
|
672
|
+
attr_accessor :bot_challenge_starts
|
673
|
+
|
674
|
+
# The number of challenge-complete tokens that passed validation.
|
675
|
+
attr_accessor :bot_challenge_complete_tokens_passed
|
676
|
+
|
677
|
+
# The number of challenge-complete tokens that failed validation.
|
678
|
+
attr_accessor :bot_challenge_complete_tokens_failed
|
679
|
+
|
680
|
+
# The number of challenge-complete tokens checked.
|
681
|
+
attr_accessor :bot_challenge_complete_tokens_checked
|
682
|
+
|
683
|
+
# The number of challenge-complete tokens not checked because the feature was disabled.
|
684
|
+
attr_accessor :bot_challenge_complete_tokens_disabled
|
685
|
+
|
686
|
+
# The number of challenges issued. For example, the issuance of a CAPTCHA challenge.
|
687
|
+
attr_accessor :bot_challenges_issued
|
688
|
+
|
689
|
+
# The number of successful challenge solutions processed. For example, a correct CAPTCHA solution.
|
690
|
+
attr_accessor :bot_challenges_succeeded
|
691
|
+
|
692
|
+
# The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
|
693
|
+
attr_accessor :bot_challenges_failed
|
694
|
+
|
695
|
+
# The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success.
|
696
|
+
attr_accessor :bot_challenge_complete_tokens_issued
|
697
|
+
|
671
698
|
# Attribute mapping from ruby-style variable name to JSON key.
|
672
699
|
def self.attribute_map
|
673
700
|
{
|
@@ -888,7 +915,16 @@ module Fastly
|
|
888
915
|
:'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept',
|
889
916
|
:'ddos_action_tarpit' => :'ddos_action_tarpit',
|
890
917
|
:'ddos_action_close' => :'ddos_action_close',
|
891
|
-
:'ddos_action_blackhole' => :'ddos_action_blackhole'
|
918
|
+
:'ddos_action_blackhole' => :'ddos_action_blackhole',
|
919
|
+
:'bot_challenge_starts' => :'bot_challenge_starts',
|
920
|
+
:'bot_challenge_complete_tokens_passed' => :'bot_challenge_complete_tokens_passed',
|
921
|
+
:'bot_challenge_complete_tokens_failed' => :'bot_challenge_complete_tokens_failed',
|
922
|
+
:'bot_challenge_complete_tokens_checked' => :'bot_challenge_complete_tokens_checked',
|
923
|
+
:'bot_challenge_complete_tokens_disabled' => :'bot_challenge_complete_tokens_disabled',
|
924
|
+
:'bot_challenges_issued' => :'bot_challenges_issued',
|
925
|
+
:'bot_challenges_succeeded' => :'bot_challenges_succeeded',
|
926
|
+
:'bot_challenges_failed' => :'bot_challenges_failed',
|
927
|
+
:'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued'
|
892
928
|
}
|
893
929
|
end
|
894
930
|
|
@@ -1117,7 +1153,16 @@ module Fastly
|
|
1117
1153
|
:'ddos_action_tarpit_accept' => :'Integer',
|
1118
1154
|
:'ddos_action_tarpit' => :'Integer',
|
1119
1155
|
:'ddos_action_close' => :'Integer',
|
1120
|
-
:'ddos_action_blackhole' => :'Integer'
|
1156
|
+
:'ddos_action_blackhole' => :'Integer',
|
1157
|
+
:'bot_challenge_starts' => :'Integer',
|
1158
|
+
:'bot_challenge_complete_tokens_passed' => :'Integer',
|
1159
|
+
:'bot_challenge_complete_tokens_failed' => :'Integer',
|
1160
|
+
:'bot_challenge_complete_tokens_checked' => :'Integer',
|
1161
|
+
:'bot_challenge_complete_tokens_disabled' => :'Integer',
|
1162
|
+
:'bot_challenges_issued' => :'Integer',
|
1163
|
+
:'bot_challenges_succeeded' => :'Integer',
|
1164
|
+
:'bot_challenges_failed' => :'Integer',
|
1165
|
+
:'bot_challenge_complete_tokens_issued' => :'Integer'
|
1121
1166
|
}
|
1122
1167
|
end
|
1123
1168
|
|
@@ -2022,6 +2067,42 @@ module Fastly
|
|
2022
2067
|
if attributes.key?(:'ddos_action_blackhole')
|
2023
2068
|
self.ddos_action_blackhole = attributes[:'ddos_action_blackhole']
|
2024
2069
|
end
|
2070
|
+
|
2071
|
+
if attributes.key?(:'bot_challenge_starts')
|
2072
|
+
self.bot_challenge_starts = attributes[:'bot_challenge_starts']
|
2073
|
+
end
|
2074
|
+
|
2075
|
+
if attributes.key?(:'bot_challenge_complete_tokens_passed')
|
2076
|
+
self.bot_challenge_complete_tokens_passed = attributes[:'bot_challenge_complete_tokens_passed']
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
if attributes.key?(:'bot_challenge_complete_tokens_failed')
|
2080
|
+
self.bot_challenge_complete_tokens_failed = attributes[:'bot_challenge_complete_tokens_failed']
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
if attributes.key?(:'bot_challenge_complete_tokens_checked')
|
2084
|
+
self.bot_challenge_complete_tokens_checked = attributes[:'bot_challenge_complete_tokens_checked']
|
2085
|
+
end
|
2086
|
+
|
2087
|
+
if attributes.key?(:'bot_challenge_complete_tokens_disabled')
|
2088
|
+
self.bot_challenge_complete_tokens_disabled = attributes[:'bot_challenge_complete_tokens_disabled']
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
if attributes.key?(:'bot_challenges_issued')
|
2092
|
+
self.bot_challenges_issued = attributes[:'bot_challenges_issued']
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
if attributes.key?(:'bot_challenges_succeeded')
|
2096
|
+
self.bot_challenges_succeeded = attributes[:'bot_challenges_succeeded']
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
if attributes.key?(:'bot_challenges_failed')
|
2100
|
+
self.bot_challenges_failed = attributes[:'bot_challenges_failed']
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
if attributes.key?(:'bot_challenge_complete_tokens_issued')
|
2104
|
+
self.bot_challenge_complete_tokens_issued = attributes[:'bot_challenge_complete_tokens_issued']
|
2105
|
+
end
|
2025
2106
|
end
|
2026
2107
|
|
2027
2108
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -2259,7 +2340,16 @@ module Fastly
|
|
2259
2340
|
ddos_action_tarpit_accept == o.ddos_action_tarpit_accept &&
|
2260
2341
|
ddos_action_tarpit == o.ddos_action_tarpit &&
|
2261
2342
|
ddos_action_close == o.ddos_action_close &&
|
2262
|
-
ddos_action_blackhole == o.ddos_action_blackhole
|
2343
|
+
ddos_action_blackhole == o.ddos_action_blackhole &&
|
2344
|
+
bot_challenge_starts == o.bot_challenge_starts &&
|
2345
|
+
bot_challenge_complete_tokens_passed == o.bot_challenge_complete_tokens_passed &&
|
2346
|
+
bot_challenge_complete_tokens_failed == o.bot_challenge_complete_tokens_failed &&
|
2347
|
+
bot_challenge_complete_tokens_checked == o.bot_challenge_complete_tokens_checked &&
|
2348
|
+
bot_challenge_complete_tokens_disabled == o.bot_challenge_complete_tokens_disabled &&
|
2349
|
+
bot_challenges_issued == o.bot_challenges_issued &&
|
2350
|
+
bot_challenges_succeeded == o.bot_challenges_succeeded &&
|
2351
|
+
bot_challenges_failed == o.bot_challenges_failed &&
|
2352
|
+
bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued
|
2263
2353
|
end
|
2264
2354
|
|
2265
2355
|
# @see the `==` method
|
@@ -2271,7 +2361,7 @@ module Fastly
|
|
2271
2361
|
# Calculates hash code according to all attributes.
|
2272
2362
|
# @return [Integer] Hash code
|
2273
2363
|
def hash
|
2274
|
-
[requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole].hash
|
2364
|
+
[requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued].hash
|
2275
2365
|
end
|
2276
2366
|
|
2277
2367
|
# Builds the object from hash
|
@@ -668,6 +668,33 @@ module Fastly
|
|
668
668
|
# The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped).
|
669
669
|
attr_accessor :ddos_action_blackhole
|
670
670
|
|
671
|
+
# The number of challenge-start tokens created.
|
672
|
+
attr_accessor :bot_challenge_starts
|
673
|
+
|
674
|
+
# The number of challenge-complete tokens that passed validation.
|
675
|
+
attr_accessor :bot_challenge_complete_tokens_passed
|
676
|
+
|
677
|
+
# The number of challenge-complete tokens that failed validation.
|
678
|
+
attr_accessor :bot_challenge_complete_tokens_failed
|
679
|
+
|
680
|
+
# The number of challenge-complete tokens checked.
|
681
|
+
attr_accessor :bot_challenge_complete_tokens_checked
|
682
|
+
|
683
|
+
# The number of challenge-complete tokens not checked because the feature was disabled.
|
684
|
+
attr_accessor :bot_challenge_complete_tokens_disabled
|
685
|
+
|
686
|
+
# The number of challenges issued. For example, the issuance of a CAPTCHA challenge.
|
687
|
+
attr_accessor :bot_challenges_issued
|
688
|
+
|
689
|
+
# The number of successful challenge solutions processed. For example, a correct CAPTCHA solution.
|
690
|
+
attr_accessor :bot_challenges_succeeded
|
691
|
+
|
692
|
+
# The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
|
693
|
+
attr_accessor :bot_challenges_failed
|
694
|
+
|
695
|
+
# The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success.
|
696
|
+
attr_accessor :bot_challenge_complete_tokens_issued
|
697
|
+
|
671
698
|
# Attribute mapping from ruby-style variable name to JSON key.
|
672
699
|
def self.attribute_map
|
673
700
|
{
|
@@ -888,7 +915,16 @@ module Fastly
|
|
888
915
|
:'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept',
|
889
916
|
:'ddos_action_tarpit' => :'ddos_action_tarpit',
|
890
917
|
:'ddos_action_close' => :'ddos_action_close',
|
891
|
-
:'ddos_action_blackhole' => :'ddos_action_blackhole'
|
918
|
+
:'ddos_action_blackhole' => :'ddos_action_blackhole',
|
919
|
+
:'bot_challenge_starts' => :'bot_challenge_starts',
|
920
|
+
:'bot_challenge_complete_tokens_passed' => :'bot_challenge_complete_tokens_passed',
|
921
|
+
:'bot_challenge_complete_tokens_failed' => :'bot_challenge_complete_tokens_failed',
|
922
|
+
:'bot_challenge_complete_tokens_checked' => :'bot_challenge_complete_tokens_checked',
|
923
|
+
:'bot_challenge_complete_tokens_disabled' => :'bot_challenge_complete_tokens_disabled',
|
924
|
+
:'bot_challenges_issued' => :'bot_challenges_issued',
|
925
|
+
:'bot_challenges_succeeded' => :'bot_challenges_succeeded',
|
926
|
+
:'bot_challenges_failed' => :'bot_challenges_failed',
|
927
|
+
:'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued'
|
892
928
|
}
|
893
929
|
end
|
894
930
|
|
@@ -1117,7 +1153,16 @@ module Fastly
|
|
1117
1153
|
:'ddos_action_tarpit_accept' => :'Integer',
|
1118
1154
|
:'ddos_action_tarpit' => :'Integer',
|
1119
1155
|
:'ddos_action_close' => :'Integer',
|
1120
|
-
:'ddos_action_blackhole' => :'Integer'
|
1156
|
+
:'ddos_action_blackhole' => :'Integer',
|
1157
|
+
:'bot_challenge_starts' => :'Integer',
|
1158
|
+
:'bot_challenge_complete_tokens_passed' => :'Integer',
|
1159
|
+
:'bot_challenge_complete_tokens_failed' => :'Integer',
|
1160
|
+
:'bot_challenge_complete_tokens_checked' => :'Integer',
|
1161
|
+
:'bot_challenge_complete_tokens_disabled' => :'Integer',
|
1162
|
+
:'bot_challenges_issued' => :'Integer',
|
1163
|
+
:'bot_challenges_succeeded' => :'Integer',
|
1164
|
+
:'bot_challenges_failed' => :'Integer',
|
1165
|
+
:'bot_challenge_complete_tokens_issued' => :'Integer'
|
1121
1166
|
}
|
1122
1167
|
end
|
1123
1168
|
|
@@ -2015,6 +2060,42 @@ module Fastly
|
|
2015
2060
|
if attributes.key?(:'ddos_action_blackhole')
|
2016
2061
|
self.ddos_action_blackhole = attributes[:'ddos_action_blackhole']
|
2017
2062
|
end
|
2063
|
+
|
2064
|
+
if attributes.key?(:'bot_challenge_starts')
|
2065
|
+
self.bot_challenge_starts = attributes[:'bot_challenge_starts']
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
if attributes.key?(:'bot_challenge_complete_tokens_passed')
|
2069
|
+
self.bot_challenge_complete_tokens_passed = attributes[:'bot_challenge_complete_tokens_passed']
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
if attributes.key?(:'bot_challenge_complete_tokens_failed')
|
2073
|
+
self.bot_challenge_complete_tokens_failed = attributes[:'bot_challenge_complete_tokens_failed']
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
if attributes.key?(:'bot_challenge_complete_tokens_checked')
|
2077
|
+
self.bot_challenge_complete_tokens_checked = attributes[:'bot_challenge_complete_tokens_checked']
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
if attributes.key?(:'bot_challenge_complete_tokens_disabled')
|
2081
|
+
self.bot_challenge_complete_tokens_disabled = attributes[:'bot_challenge_complete_tokens_disabled']
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
if attributes.key?(:'bot_challenges_issued')
|
2085
|
+
self.bot_challenges_issued = attributes[:'bot_challenges_issued']
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
if attributes.key?(:'bot_challenges_succeeded')
|
2089
|
+
self.bot_challenges_succeeded = attributes[:'bot_challenges_succeeded']
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
if attributes.key?(:'bot_challenges_failed')
|
2093
|
+
self.bot_challenges_failed = attributes[:'bot_challenges_failed']
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
if attributes.key?(:'bot_challenge_complete_tokens_issued')
|
2097
|
+
self.bot_challenge_complete_tokens_issued = attributes[:'bot_challenge_complete_tokens_issued']
|
2098
|
+
end
|
2018
2099
|
end
|
2019
2100
|
|
2020
2101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -2252,7 +2333,16 @@ module Fastly
|
|
2252
2333
|
ddos_action_tarpit_accept == o.ddos_action_tarpit_accept &&
|
2253
2334
|
ddos_action_tarpit == o.ddos_action_tarpit &&
|
2254
2335
|
ddos_action_close == o.ddos_action_close &&
|
2255
|
-
ddos_action_blackhole == o.ddos_action_blackhole
|
2336
|
+
ddos_action_blackhole == o.ddos_action_blackhole &&
|
2337
|
+
bot_challenge_starts == o.bot_challenge_starts &&
|
2338
|
+
bot_challenge_complete_tokens_passed == o.bot_challenge_complete_tokens_passed &&
|
2339
|
+
bot_challenge_complete_tokens_failed == o.bot_challenge_complete_tokens_failed &&
|
2340
|
+
bot_challenge_complete_tokens_checked == o.bot_challenge_complete_tokens_checked &&
|
2341
|
+
bot_challenge_complete_tokens_disabled == o.bot_challenge_complete_tokens_disabled &&
|
2342
|
+
bot_challenges_issued == o.bot_challenges_issued &&
|
2343
|
+
bot_challenges_succeeded == o.bot_challenges_succeeded &&
|
2344
|
+
bot_challenges_failed == o.bot_challenges_failed &&
|
2345
|
+
bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued
|
2256
2346
|
end
|
2257
2347
|
|
2258
2348
|
# @see the `==` method
|
@@ -2264,7 +2354,7 @@ module Fastly
|
|
2264
2354
|
# Calculates hash code according to all attributes.
|
2265
2355
|
# @return [Integer] Hash code
|
2266
2356
|
def hash
|
2267
|
-
[requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole].hash
|
2357
|
+
[requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, compute_request_time_billed_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, bot_challenge_complete_tokens_issued].hash
|
2268
2358
|
end
|
2269
2359
|
|
2270
2360
|
# Builds the object from hash
|