lib/fastly/models/results.rb in fastly-8.1.0 vs lib/fastly/models/results.rb in fastly-8.2.0

- old
+ new

@@ -693,10 +693,73 @@ 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 times the downgrade action was taken. The downgrade action restricts the client to http1. + attr_accessor :ddos_action_downgrade + + # The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. + attr_accessor :ddos_action_downgraded_connections + + # Number of cache hits for a VCL service running on Compute. + attr_accessor :vcl_on_compute_hit_requests + + # Number of cache misses for a VCL service running on Compute. + attr_accessor :vcl_on_compute_miss_requests + + # Number of requests that passed through the CDN without being cached for a VCL service running on Compute. + attr_accessor :vcl_on_compute_pass_requests + + # Number of cache errors for a VCL service running on Compute. + attr_accessor :vcl_on_compute_error_requests + + # Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. + attr_accessor :vcl_on_compute_synth_requests + + # Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. + attr_accessor :vcl_on_compute_edge_hit_requests + + # Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. + attr_accessor :vcl_on_compute_edge_miss_requests + + # Number of cache hits for a VCL service. + attr_accessor :all_hit_requests + + # Number of cache misses for a VCL service. + attr_accessor :all_miss_requests + + # Number of requests that passed through the CDN without being cached for a VCL service. + attr_accessor :all_pass_requests + + # Number of cache errors for a VCL service. + attr_accessor :all_error_requests + + # Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. + attr_accessor :all_synth_requests + + # Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. + attr_accessor :all_edge_hit_requests + + # Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. + attr_accessor :all_edge_miss_requests + + # Number of \"Informational\" category status codes delivered for all sources. + attr_accessor :all_status_1xx + + # Number of \"Success\" status codes delivered for all sources. + attr_accessor :all_status_2xx + + # Number of \"Redirection\" codes delivered for all sources. + attr_accessor :all_status_3xx + + # Number of \"Client Error\" codes delivered for all sources. + attr_accessor :all_status_4xx + + # Number of \"Server Error\" codes delivered for all sources. + attr_accessor :all_status_5xx + attr_accessor :service_id # Timestamp for the start of the time period being reported attr_accessor :start_time @@ -928,10 +991,31 @@ :'bot_challenge_complete_tokens_disabled' => :'bot_challenge_complete_tokens_disabled', :'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued', :'bot_challenges_issued' => :'bot_challenges_issued', :'bot_challenges_succeeded' => :'bot_challenges_succeeded', :'bot_challenges_failed' => :'bot_challenges_failed', + :'ddos_action_downgrade' => :'ddos_action_downgrade', + :'ddos_action_downgraded_connections' => :'ddos_action_downgraded_connections', + :'vcl_on_compute_hit_requests' => :'vcl_on_compute_hit_requests', + :'vcl_on_compute_miss_requests' => :'vcl_on_compute_miss_requests', + :'vcl_on_compute_pass_requests' => :'vcl_on_compute_pass_requests', + :'vcl_on_compute_error_requests' => :'vcl_on_compute_error_requests', + :'vcl_on_compute_synth_requests' => :'vcl_on_compute_synth_requests', + :'vcl_on_compute_edge_hit_requests' => :'vcl_on_compute_edge_hit_requests', + :'vcl_on_compute_edge_miss_requests' => :'vcl_on_compute_edge_miss_requests', + :'all_hit_requests' => :'all_hit_requests', + :'all_miss_requests' => :'all_miss_requests', + :'all_pass_requests' => :'all_pass_requests', + :'all_error_requests' => :'all_error_requests', + :'all_synth_requests' => :'all_synth_requests', + :'all_edge_hit_requests' => :'all_edge_hit_requests', + :'all_edge_miss_requests' => :'all_edge_miss_requests', + :'all_status_1xx' => :'all_status_1xx', + :'all_status_2xx' => :'all_status_2xx', + :'all_status_3xx' => :'all_status_3xx', + :'all_status_4xx' => :'all_status_4xx', + :'all_status_5xx' => :'all_status_5xx', :'service_id' => :'service_id', :'start_time' => :'start_time' } end @@ -1168,10 +1252,31 @@ :'bot_challenge_complete_tokens_disabled' => :'Integer', :'bot_challenge_complete_tokens_issued' => :'Integer', :'bot_challenges_issued' => :'Integer', :'bot_challenges_succeeded' => :'Integer', :'bot_challenges_failed' => :'Integer', + :'ddos_action_downgrade' => :'Integer', + :'ddos_action_downgraded_connections' => :'Integer', + :'vcl_on_compute_hit_requests' => :'Integer', + :'vcl_on_compute_miss_requests' => :'Integer', + :'vcl_on_compute_pass_requests' => :'Integer', + :'vcl_on_compute_error_requests' => :'Integer', + :'vcl_on_compute_synth_requests' => :'Integer', + :'vcl_on_compute_edge_hit_requests' => :'Integer', + :'vcl_on_compute_edge_miss_requests' => :'Integer', + :'all_hit_requests' => :'Integer', + :'all_miss_requests' => :'Integer', + :'all_pass_requests' => :'Integer', + :'all_error_requests' => :'Integer', + :'all_synth_requests' => :'Integer', + :'all_edge_hit_requests' => :'Integer', + :'all_edge_miss_requests' => :'Integer', + :'all_status_1xx' => :'Integer', + :'all_status_2xx' => :'Integer', + :'all_status_3xx' => :'Integer', + :'all_status_4xx' => :'Integer', + :'all_status_5xx' => :'Integer', :'service_id' => :'String', :'start_time' => :'Integer' } end @@ -2103,10 +2208,94 @@ if attributes.key?(:'bot_challenges_failed') self.bot_challenges_failed = attributes[:'bot_challenges_failed'] end + if attributes.key?(:'ddos_action_downgrade') + self.ddos_action_downgrade = attributes[:'ddos_action_downgrade'] + end + + if attributes.key?(:'ddos_action_downgraded_connections') + self.ddos_action_downgraded_connections = attributes[:'ddos_action_downgraded_connections'] + end + + if attributes.key?(:'vcl_on_compute_hit_requests') + self.vcl_on_compute_hit_requests = attributes[:'vcl_on_compute_hit_requests'] + end + + if attributes.key?(:'vcl_on_compute_miss_requests') + self.vcl_on_compute_miss_requests = attributes[:'vcl_on_compute_miss_requests'] + end + + if attributes.key?(:'vcl_on_compute_pass_requests') + self.vcl_on_compute_pass_requests = attributes[:'vcl_on_compute_pass_requests'] + end + + if attributes.key?(:'vcl_on_compute_error_requests') + self.vcl_on_compute_error_requests = attributes[:'vcl_on_compute_error_requests'] + end + + if attributes.key?(:'vcl_on_compute_synth_requests') + self.vcl_on_compute_synth_requests = attributes[:'vcl_on_compute_synth_requests'] + end + + if attributes.key?(:'vcl_on_compute_edge_hit_requests') + self.vcl_on_compute_edge_hit_requests = attributes[:'vcl_on_compute_edge_hit_requests'] + end + + if attributes.key?(:'vcl_on_compute_edge_miss_requests') + self.vcl_on_compute_edge_miss_requests = attributes[:'vcl_on_compute_edge_miss_requests'] + end + + if attributes.key?(:'all_hit_requests') + self.all_hit_requests = attributes[:'all_hit_requests'] + end + + if attributes.key?(:'all_miss_requests') + self.all_miss_requests = attributes[:'all_miss_requests'] + end + + if attributes.key?(:'all_pass_requests') + self.all_pass_requests = attributes[:'all_pass_requests'] + end + + if attributes.key?(:'all_error_requests') + self.all_error_requests = attributes[:'all_error_requests'] + end + + if attributes.key?(:'all_synth_requests') + self.all_synth_requests = attributes[:'all_synth_requests'] + end + + if attributes.key?(:'all_edge_hit_requests') + self.all_edge_hit_requests = attributes[:'all_edge_hit_requests'] + end + + if attributes.key?(:'all_edge_miss_requests') + self.all_edge_miss_requests = attributes[:'all_edge_miss_requests'] + end + + if attributes.key?(:'all_status_1xx') + self.all_status_1xx = attributes[:'all_status_1xx'] + end + + if attributes.key?(:'all_status_2xx') + self.all_status_2xx = attributes[:'all_status_2xx'] + end + + if attributes.key?(:'all_status_3xx') + self.all_status_3xx = attributes[:'all_status_3xx'] + end + + if attributes.key?(:'all_status_4xx') + self.all_status_4xx = attributes[:'all_status_4xx'] + end + + if attributes.key?(:'all_status_5xx') + self.all_status_5xx = attributes[:'all_status_5xx'] + end + if attributes.key?(:'service_id') self.service_id = attributes[:'service_id'] end if attributes.key?(:'start_time') @@ -2357,10 +2546,31 @@ bot_challenge_complete_tokens_disabled == o.bot_challenge_complete_tokens_disabled && bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued && bot_challenges_issued == o.bot_challenges_issued && bot_challenges_succeeded == o.bot_challenges_succeeded && bot_challenges_failed == o.bot_challenges_failed && + ddos_action_downgrade == o.ddos_action_downgrade && + ddos_action_downgraded_connections == o.ddos_action_downgraded_connections && + vcl_on_compute_hit_requests == o.vcl_on_compute_hit_requests && + vcl_on_compute_miss_requests == o.vcl_on_compute_miss_requests && + vcl_on_compute_pass_requests == o.vcl_on_compute_pass_requests && + vcl_on_compute_error_requests == o.vcl_on_compute_error_requests && + vcl_on_compute_synth_requests == o.vcl_on_compute_synth_requests && + vcl_on_compute_edge_hit_requests == o.vcl_on_compute_edge_hit_requests && + vcl_on_compute_edge_miss_requests == o.vcl_on_compute_edge_miss_requests && + all_hit_requests == o.all_hit_requests && + all_miss_requests == o.all_miss_requests && + all_pass_requests == o.all_pass_requests && + all_error_requests == o.all_error_requests && + all_synth_requests == o.all_synth_requests && + all_edge_hit_requests == o.all_edge_hit_requests && + all_edge_miss_requests == o.all_edge_miss_requests && + all_status_1xx == o.all_status_1xx && + all_status_2xx == o.all_status_2xx && + all_status_3xx == o.all_status_3xx && + all_status_4xx == o.all_status_4xx && + all_status_5xx == o.all_status_5xx && service_id == o.service_id && start_time == o.start_time end # @see the `==` method @@ -2370,10 +2580,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_transforms, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, 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, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, 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, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, 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_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, 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_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, service_id, start_time].hash + [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_transforms, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, 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, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, 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, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, 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_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, 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_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, service_id, start_time].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself