lib/fastly/models/realtime_entry_aggregated.rb in fastly-7.1.1 vs lib/fastly/models/realtime_entry_aggregated.rb in fastly-7.2.0
- old
+ new
@@ -666,10 +666,37 @@
attr_accessor :ddos_action_close
# 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).
attr_accessor :ddos_action_blackhole
+ # The number of challenge-start tokens created.
+ attr_accessor :bot_challenge_starts
+
+ # The number of challenge-complete tokens that passed validation.
+ attr_accessor :bot_challenge_complete_tokens_passed
+
+ # The number of challenge-complete tokens that failed validation.
+ attr_accessor :bot_challenge_complete_tokens_failed
+
+ # The number of challenge-complete tokens checked.
+ attr_accessor :bot_challenge_complete_tokens_checked
+
+ # The number of challenge-complete tokens not checked because the feature was disabled.
+ attr_accessor :bot_challenge_complete_tokens_disabled
+
+ # The number of challenges issued. For example, the issuance of a CAPTCHA challenge.
+ attr_accessor :bot_challenges_issued
+
+ # The number of successful challenge solutions processed. For example, a correct CAPTCHA solution.
+ attr_accessor :bot_challenges_succeeded
+
+ # The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
+ attr_accessor :bot_challenges_failed
+
+ # The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success.
+ attr_accessor :bot_challenge_complete_tokens_issued
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'requests' => :'requests',
:'logging' => :'logging',
@@ -886,11 +913,20 @@
:'ddos_action_limit_streams_connections' => :'ddos_action_limit_streams_connections',
:'ddos_action_limit_streams_requests' => :'ddos_action_limit_streams_requests',
:'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept',
:'ddos_action_tarpit' => :'ddos_action_tarpit',
:'ddos_action_close' => :'ddos_action_close',
- :'ddos_action_blackhole' => :'ddos_action_blackhole'
+ :'ddos_action_blackhole' => :'ddos_action_blackhole',
+ :'bot_challenge_starts' => :'bot_challenge_starts',
+ :'bot_challenge_complete_tokens_passed' => :'bot_challenge_complete_tokens_passed',
+ :'bot_challenge_complete_tokens_failed' => :'bot_challenge_complete_tokens_failed',
+ :'bot_challenge_complete_tokens_checked' => :'bot_challenge_complete_tokens_checked',
+ :'bot_challenge_complete_tokens_disabled' => :'bot_challenge_complete_tokens_disabled',
+ :'bot_challenges_issued' => :'bot_challenges_issued',
+ :'bot_challenges_succeeded' => :'bot_challenges_succeeded',
+ :'bot_challenges_failed' => :'bot_challenges_failed',
+ :'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued'
}
end
# Returns all the JSON keys this model knows about
def self.acceptable_attributes
@@ -1115,11 +1151,20 @@
:'ddos_action_limit_streams_connections' => :'Integer',
:'ddos_action_limit_streams_requests' => :'Integer',
:'ddos_action_tarpit_accept' => :'Integer',
:'ddos_action_tarpit' => :'Integer',
:'ddos_action_close' => :'Integer',
- :'ddos_action_blackhole' => :'Integer'
+ :'ddos_action_blackhole' => :'Integer',
+ :'bot_challenge_starts' => :'Integer',
+ :'bot_challenge_complete_tokens_passed' => :'Integer',
+ :'bot_challenge_complete_tokens_failed' => :'Integer',
+ :'bot_challenge_complete_tokens_checked' => :'Integer',
+ :'bot_challenge_complete_tokens_disabled' => :'Integer',
+ :'bot_challenges_issued' => :'Integer',
+ :'bot_challenges_succeeded' => :'Integer',
+ :'bot_challenges_failed' => :'Integer',
+ :'bot_challenge_complete_tokens_issued' => :'Integer'
}
end
# List of attributes with nullable: true
def self.fastly_nullable
@@ -2020,10 +2065,46 @@
end
if attributes.key?(:'ddos_action_blackhole')
self.ddos_action_blackhole = attributes[:'ddos_action_blackhole']
end
+
+ if attributes.key?(:'bot_challenge_starts')
+ self.bot_challenge_starts = attributes[:'bot_challenge_starts']
+ end
+
+ if attributes.key?(:'bot_challenge_complete_tokens_passed')
+ self.bot_challenge_complete_tokens_passed = attributes[:'bot_challenge_complete_tokens_passed']
+ end
+
+ if attributes.key?(:'bot_challenge_complete_tokens_failed')
+ self.bot_challenge_complete_tokens_failed = attributes[:'bot_challenge_complete_tokens_failed']
+ end
+
+ if attributes.key?(:'bot_challenge_complete_tokens_checked')
+ self.bot_challenge_complete_tokens_checked = attributes[:'bot_challenge_complete_tokens_checked']
+ end
+
+ if attributes.key?(:'bot_challenge_complete_tokens_disabled')
+ self.bot_challenge_complete_tokens_disabled = attributes[:'bot_challenge_complete_tokens_disabled']
+ end
+
+ if attributes.key?(:'bot_challenges_issued')
+ self.bot_challenges_issued = attributes[:'bot_challenges_issued']
+ end
+
+ if attributes.key?(:'bot_challenges_succeeded')
+ self.bot_challenges_succeeded = attributes[:'bot_challenges_succeeded']
+ end
+
+ if attributes.key?(:'bot_challenges_failed')
+ self.bot_challenges_failed = attributes[:'bot_challenges_failed']
+ end
+
+ if attributes.key?(:'bot_challenge_complete_tokens_issued')
+ self.bot_challenge_complete_tokens_issued = attributes[:'bot_challenge_complete_tokens_issued']
+ end
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properties with the reasons
def list_invalid_properties
@@ -2257,11 +2338,20 @@
ddos_action_limit_streams_connections == o.ddos_action_limit_streams_connections &&
ddos_action_limit_streams_requests == o.ddos_action_limit_streams_requests &&
ddos_action_tarpit_accept == o.ddos_action_tarpit_accept &&
ddos_action_tarpit == o.ddos_action_tarpit &&
ddos_action_close == o.ddos_action_close &&
- ddos_action_blackhole == o.ddos_action_blackhole
+ ddos_action_blackhole == o.ddos_action_blackhole &&
+ bot_challenge_starts == o.bot_challenge_starts &&
+ bot_challenge_complete_tokens_passed == o.bot_challenge_complete_tokens_passed &&
+ bot_challenge_complete_tokens_failed == o.bot_challenge_complete_tokens_failed &&
+ bot_challenge_complete_tokens_checked == o.bot_challenge_complete_tokens_checked &&
+ bot_challenge_complete_tokens_disabled == o.bot_challenge_complete_tokens_disabled &&
+ bot_challenges_issued == o.bot_challenges_issued &&
+ bot_challenges_succeeded == o.bot_challenges_succeeded &&
+ bot_challenges_failed == o.bot_challenges_failed &&
+ bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -2269,10 +2359,10 @@
end
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
- [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
+ [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
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself