Class: Fastly::Results
- Inherits:
-
Object
- Object
- Fastly::Results
- Defined in:
- lib/fastly/models/results.rb
Overview
The results of stats queries, may be grouped by service depending on endpoint, and aggregated over the appropriate time span.
Instance Attribute Summary collapse
-
#all_edge_hit_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service.
-
#all_edge_miss_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service.
-
#all_error_requests ⇒ Object
Number of cache errors for a VCL service.
-
#all_hit_requests ⇒ Object
Number of cache hits for a VCL service.
-
#all_miss_requests ⇒ Object
Number of cache misses for a VCL service.
-
#all_pass_requests ⇒ Object
Number of requests that passed through the CDN without being cached for a VCL service.
-
#all_status_1xx ⇒ Object
Number of "Informational" category status codes delivered for all sources.
-
#all_status_2xx ⇒ Object
Number of "Success" status codes delivered for all sources.
-
#all_status_3xx ⇒ Object
Number of "Redirection" codes delivered for all sources.
-
#all_status_4xx ⇒ Object
Number of "Client Error" codes delivered for all sources.
-
#all_status_5xx ⇒ Object
Number of "Server Error" codes delivered for all sources.
-
#all_synth_requests ⇒ Object
Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement) for a VCL service.
-
#attack_blocked_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule that was blocked.
-
#attack_blocked_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule that was blocked.
-
#attack_logged_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule that was logged.
-
#attack_logged_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule that was logged.
-
#attack_passed_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule that was passed.
-
#attack_passed_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule that was passed.
-
#attack_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule.
-
#attack_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule.
-
#attack_resp_synth_bytes ⇒ Object
Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.
-
#bandwidth ⇒ Object
Total bytes delivered (‘resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes` + `fanout_resp_header_bytes` + `fanout_resp_body_bytes` + `fanout_bereq_header_bytes` + `fanout_bereq_body_bytes`).
-
#bereq_body_bytes ⇒ Object
Total body bytes sent to origin.
-
#bereq_header_bytes ⇒ Object
Total header bytes sent to origin.
-
#body_size ⇒ Object
Total body bytes delivered (alias for resp_body_bytes).
-
#bot_challenge_complete_tokens_checked ⇒ Object
The number of challenge-complete tokens checked.
-
#bot_challenge_complete_tokens_disabled ⇒ Object
The number of challenge-complete tokens not checked because the feature was disabled.
-
#bot_challenge_complete_tokens_failed ⇒ Object
The number of challenge-complete tokens that failed validation.
-
#bot_challenge_complete_tokens_issued ⇒ Object
The number of challenge-complete tokens issued.
-
#bot_challenge_complete_tokens_passed ⇒ Object
The number of challenge-complete tokens that passed validation.
-
#bot_challenge_starts ⇒ Object
The number of challenge-start tokens created.
-
#bot_challenges_failed ⇒ Object
The number of failed challenge solutions processed.
-
#bot_challenges_issued ⇒ Object
The number of challenges issued.
-
#bot_challenges_succeeded ⇒ Object
The number of successful challenge solutions processed.
-
#compute_bereq_body_bytes ⇒ Object
Total body bytes sent to backends (origins) by the Compute platform.
-
#compute_bereq_errors ⇒ Object
Number of backend request errors, including timeouts.
-
#compute_bereq_header_bytes ⇒ Object
Total header bytes sent to backends (origins) by the Compute platform.
-
#compute_bereqs ⇒ Object
Number of backend requests started.
-
#compute_beresp_body_bytes ⇒ Object
Total body bytes received from backends (origins) by the Compute platform.
-
#compute_beresp_header_bytes ⇒ Object
Total header bytes received from backends (origins) by the Compute platform.
-
#compute_execution_time_ms ⇒ Object
The amount of active CPU time used to process your requests (in milliseconds).
-
#compute_globals_limit_exceeded ⇒ Object
Number of times a guest exceeded its globals limit.
-
#compute_guest_errors ⇒ Object
Number of times a service experienced a guest code error.
-
#compute_heap_limit_exceeded ⇒ Object
Number of times a guest exceeded its heap limit.
-
#compute_ram_used ⇒ Object
The amount of RAM used for your service by Fastly (in bytes).
-
#compute_req_body_bytes ⇒ Object
Total body bytes received by the Compute platform.
-
#compute_req_header_bytes ⇒ Object
Total header bytes received by the Compute platform.
-
#compute_request_time_billed_ms ⇒ Object
The total amount of request processing time you will be billed for, measured in 50 millisecond increments.
-
#compute_request_time_ms ⇒ Object
The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).
-
#compute_requests ⇒ Object
The total number of requests that were received for your service by Fastly.
-
#compute_resource_limit_exceeded ⇒ Object
Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.
-
#compute_resp_body_bytes ⇒ Object
Total body bytes sent from Compute to end user.
-
#compute_resp_header_bytes ⇒ Object
Total header bytes sent from Compute to end user.
-
#compute_resp_status_1xx ⇒ Object
Number of "Informational" category status codes delivered by the Compute platform.
-
#compute_resp_status_2xx ⇒ Object
Number of "Success" category status codes delivered by the Compute platform.
-
#compute_resp_status_3xx ⇒ Object
Number of "Redirection" category status codes delivered by the Compute platform.
-
#compute_resp_status_4xx ⇒ Object
Number of "Client Error" category status codes delivered by the Compute platform.
-
#compute_resp_status_5xx ⇒ Object
Number of "Server Error" category status codes delivered by the Compute platform.
-
#compute_runtime_errors ⇒ Object
Number of times a service experienced a guest runtime error.
-
#compute_stack_limit_exceeded ⇒ Object
Number of times a guest exceeded its stack limit.
-
#ddos_action_blackhole ⇒ Object
The number of times the blackhole action was taken.
-
#ddos_action_close ⇒ Object
The number of times the close action was taken.
-
#ddos_action_downgrade ⇒ Object
The number of times the downgrade action was taken.
-
#ddos_action_downgraded_connections ⇒ Object
The number of connections the downgrade action was applied to.
-
#ddos_action_limit_streams_connections ⇒ Object
For HTTP/2, the number of connections the limit-streams action was applied to.
-
#ddos_action_limit_streams_requests ⇒ Object
For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken.
-
#ddos_action_tarpit ⇒ Object
The number of times the tarpit action was taken.
-
#ddos_action_tarpit_accept ⇒ Object
The number of times the tarpit-accept action was taken.
-
#deliver_sub_count ⇒ Object
Number of executions of the ‘vcl_deliver` Varnish subroutine.
-
#deliver_sub_time ⇒ Object
Time spent inside the ‘vcl_deliver` Varnish subroutine (in seconds).
-
#edge_hit_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a hit at the edge.
-
#edge_hit_resp_body_bytes ⇒ Object
Body bytes delivered for edge hits.
-
#edge_hit_resp_header_bytes ⇒ Object
Header bytes delivered for edge hits.
-
#edge_miss_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a miss at the edge.
-
#edge_miss_resp_body_bytes ⇒ Object
Body bytes delivered for edge misses.
-
#edge_miss_resp_header_bytes ⇒ Object
Header bytes delivered for edge misses.
-
#edge_requests ⇒ Object
Number of requests sent by end users to Fastly.
-
#edge_resp_body_bytes ⇒ Object
Total body bytes delivered from Fastly to the end user.
-
#edge_resp_header_bytes ⇒ Object
Total header bytes delivered from Fastly to the end user.
-
#error_sub_count ⇒ Object
Number of executions of the ‘vcl_error` Varnish subroutine.
-
#error_sub_time ⇒ Object
Time spent inside the ‘vcl_error` Varnish subroutine (in seconds).
-
#errors ⇒ Object
Number of cache errors.
-
#fanout_bereq_body_bytes ⇒ Object
Total body or message content bytes sent to backends over Fanout connections.
-
#fanout_bereq_header_bytes ⇒ Object
Total header bytes sent to backends over Fanout connections.
-
#fanout_beresp_body_bytes ⇒ Object
Total body or message content bytes received from backends over Fanout connections.
-
#fanout_beresp_header_bytes ⇒ Object
Total header bytes received from backends over Fanout connections.
-
#fanout_conn_time_ms ⇒ Object
Total duration of Fanout connections with end users.
-
#fanout_recv_publishes ⇒ Object
Total published messages received from the publish API endpoint.
-
#fanout_req_body_bytes ⇒ Object
Total body or message content bytes received from end users over Fanout connections.
-
#fanout_req_header_bytes ⇒ Object
Total header bytes received from end users over Fanout connections.
-
#fanout_resp_body_bytes ⇒ Object
Total body or message content bytes sent to end users over Fanout connections, excluding published message content.
-
#fanout_resp_header_bytes ⇒ Object
Total header bytes sent to end users over Fanout connections.
-
#fanout_send_publishes ⇒ Object
Total published messages sent to end users.
-
#fetch_sub_count ⇒ Object
Number of executions of the ‘vcl_fetch` Varnish subroutine.
-
#fetch_sub_time ⇒ Object
Time spent inside the ‘vcl_fetch` Varnish subroutine (in seconds).
-
#hash_sub_count ⇒ Object
Number of executions of the ‘vcl_hash` Varnish subroutine.
-
#hash_sub_time ⇒ Object
Time spent inside the ‘vcl_hash` Varnish subroutine (in seconds).
-
#header_size ⇒ Object
Total header bytes delivered (alias for resp_header_bytes).
-
#hit_ratio ⇒ Object
Ratio of cache hits to cache misses (between 0 and 1).
-
#hit_resp_body_bytes ⇒ Object
Total body bytes delivered for cache hits.
-
#hit_sub_count ⇒ Object
Number of executions of the ‘vcl_hit` Varnish subroutine.
-
#hit_sub_time ⇒ Object
Time spent inside the ‘vcl_hit` Varnish subroutine (in seconds).
-
#hits ⇒ Object
Number of cache hits.
-
#hits_time ⇒ Object
Total amount of time spent processing cache hits (in seconds).
-
#http2 ⇒ Object
Number of requests received over HTTP/2.
-
#http3 ⇒ Object
Number of requests received over HTTP/3.
-
#imgopto ⇒ Object
Number of responses that came from the Fastly Image Optimizer service.
-
#imgopto_resp_body_bytes ⇒ Object
Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic.
-
#imgopto_resp_header_bytes ⇒ Object
Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic.
-
#imgopto_shield ⇒ Object
Number of responses that came from the Fastly Image Optimizer service via a shield.
-
#imgopto_shield_resp_body_bytes ⇒ Object
Total body bytes delivered via a shield from the Fastly Image Optimizer service.
-
#imgopto_shield_resp_header_bytes ⇒ Object
Total header bytes delivered via a shield from the Fastly Image Optimizer service.
-
#imgopto_transforms ⇒ Object
Number of transforms performed by the Fastly Image Optimizer service.
-
#imgvideo ⇒ Object
Number of video responses that came from the Fastly Image Optimizer service.
-
#imgvideo_frames ⇒ Object
Number of video frames that came from the Fastly Image Optimizer service.
-
#imgvideo_resp_body_bytes ⇒ Object
Total body bytes of video delivered from the Fastly Image Optimizer service.
-
#imgvideo_resp_header_bytes ⇒ Object
Total header bytes of video delivered from the Fastly Image Optimizer service.
-
#imgvideo_shield ⇒ Object
Number of video responses delivered via a shield that came from the Fastly Image Optimizer service.
-
#imgvideo_shield_frames ⇒ Object
Number of video frames delivered via a shield that came from the Fastly Image Optimizer service.
-
#imgvideo_shield_resp_body_bytes ⇒ Object
Total body bytes of video delivered via a shield from the Fastly Image Optimizer service.
-
#imgvideo_shield_resp_header_bytes ⇒ Object
Total header bytes of video delivered via a shield from the Fastly Image Optimizer service.
-
#ipv6 ⇒ Object
Number of requests that were received over IPv6.
-
#kv_store_class_a_operations ⇒ Object
The total number of class a operations for the KV store.
-
#kv_store_class_b_operations ⇒ Object
The total number of class b operations for the KV store.
-
#log ⇒ Object
Number of log lines sent.
-
#log_bytes ⇒ Object
Total log bytes sent.
-
#miss ⇒ Object
Number of cache misses.
-
#miss_resp_body_bytes ⇒ Object
Total body bytes delivered for cache misses.
-
#miss_sub_count ⇒ Object
Number of executions of the ‘vcl_miss` Varnish subroutine.
-
#miss_sub_time ⇒ Object
Time spent inside the ‘vcl_miss` Varnish subroutine (in seconds).
-
#miss_time ⇒ Object
Total amount of time spent processing cache misses (in seconds).
-
#object_size_100k ⇒ Object
Number of objects served that were between 10KB and 100KB in size.
-
#object_size_100m ⇒ Object
Number of objects served that were between 10MB and 100MB in size.
-
#object_size_10k ⇒ Object
Number of objects served that were between 1KB and 10KB in size.
-
#object_size_10m ⇒ Object
Number of objects served that were between 1MB and 10MB in size.
-
#object_size_1g ⇒ Object
Number of objects served that were between 100MB and 1GB in size.
-
#object_size_1k ⇒ Object
Number of objects served that were under 1KB in size.
-
#object_size_1m ⇒ Object
Number of objects served that were between 100KB and 1MB in size.
-
#object_store_class_a_operations ⇒ Object
Use kv_store_class_a_operations.
-
#object_store_class_b_operations ⇒ Object
Use kv_store_class_b_operations.
-
#origin_cache_fetch_resp_body_bytes ⇒ Object
Body bytes received from origin for cacheable content.
-
#origin_cache_fetch_resp_header_bytes ⇒ Object
Header bytes received from an origin for cacheable content.
-
#origin_cache_fetches ⇒ Object
The total number of completed requests made to backends (origins) that returned cacheable content.
-
#origin_fetch_body_bytes ⇒ Object
Total request body bytes sent to origin.
-
#origin_fetch_header_bytes ⇒ Object
Total request header bytes sent to origin.
-
#origin_fetch_resp_body_bytes ⇒ Object
Total body bytes received from origin.
-
#origin_fetch_resp_header_bytes ⇒ Object
Total header bytes received from origin.
-
#origin_fetches ⇒ Object
Number of requests sent to origin.
-
#origin_offload ⇒ Object
Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1.
-
#origin_revalidations ⇒ Object
Number of responses received from origin with a ‘304` status code in response to an `If-Modified-Since` or `If-None-Match` request.
-
#otfp ⇒ Object
Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand.
-
#otfp_deliver_time ⇒ Object
Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
-
#otfp_manifests ⇒ Object
Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand.
-
#otfp_resp_body_bytes ⇒ Object
Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
-
#otfp_resp_header_bytes ⇒ Object
Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
-
#otfp_shield_resp_body_bytes ⇒ Object
Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
-
#otfp_shield_resp_header_bytes ⇒ Object
Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
-
#otfp_shield_time ⇒ Object
Total amount of time spent delivering a response via a shield from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
-
#pass ⇒ Object
Number of requests that passed through the CDN without being cached.
-
#pass_resp_body_bytes ⇒ Object
Total body bytes delivered for cache passes.
-
#pass_sub_count ⇒ Object
Number of executions of the ‘vcl_pass` Varnish subroutine.
-
#pass_sub_time ⇒ Object
Time spent inside the ‘vcl_pass` Varnish subroutine (in seconds).
-
#pass_time ⇒ Object
Total amount of time spent processing cache passes (in seconds).
-
#pci ⇒ Object
Number of responses with the PCI flag turned on.
-
#pipe ⇒ Object
Optional.
-
#pipe_sub_count ⇒ Object
Number of executions of the ‘vcl_pipe` Varnish subroutine.
-
#pipe_sub_time ⇒ Object
Time spent inside the ‘vcl_pipe` Varnish subroutine (in seconds).
-
#predeliver_sub_count ⇒ Object
Number of executions of the ‘vcl_predeliver` Varnish subroutine.
-
#predeliver_sub_time ⇒ Object
Time spent inside the ‘vcl_predeliver` Varnish subroutine (in seconds).
-
#prehash_sub_count ⇒ Object
Number of executions of the ‘vcl_prehash` Varnish subroutine.
-
#prehash_sub_time ⇒ Object
Time spent inside the ‘vcl_prehash` Varnish subroutine (in seconds).
-
#recv_sub_count ⇒ Object
Number of executions of the ‘vcl_recv` Varnish subroutine.
-
#recv_sub_time ⇒ Object
Time spent inside the ‘vcl_recv` Varnish subroutine (in seconds).
-
#req_body_bytes ⇒ Object
Total body bytes received.
-
#req_header_bytes ⇒ Object
Total header bytes received.
-
#request_denied_get_head_body ⇒ Object
Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body.
-
#requests ⇒ Object
Number of requests processed.
-
#resp_body_bytes ⇒ Object
Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes).
-
#resp_header_bytes ⇒ Object
Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes).
-
#restarts ⇒ Object
Number of restarts performed.
-
#segblock_origin_fetches ⇒ Object
Number of ‘Range` requests to origin for segments of resources when using segmented caching.
-
#segblock_shield_fetches ⇒ Object
Number of ‘Range` requests to a shield for segments of resources when using segmented caching.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#shield ⇒ Object
Number of requests from edge to the shield POP.
-
#shield_cache_fetches ⇒ Object
The total number of completed requests made to shields that returned cacheable content.
-
#shield_fetch_body_bytes ⇒ Object
Total request body bytes sent to a shield.
-
#shield_fetch_header_bytes ⇒ Object
Total request header bytes sent to a shield.
-
#shield_fetch_resp_body_bytes ⇒ Object
Total response body bytes sent from a shield to the edge.
-
#shield_fetch_resp_header_bytes ⇒ Object
Total response header bytes sent from a shield to the edge.
-
#shield_fetches ⇒ Object
Number of requests made from one Fastly POP to another, as part of shielding.
-
#shield_hit_requests ⇒ Object
Number of requests that resulted in a hit at a shield.
-
#shield_hit_resp_body_bytes ⇒ Object
Body bytes delivered for shield hits.
-
#shield_hit_resp_header_bytes ⇒ Object
Header bytes delivered for shield hits.
-
#shield_miss_requests ⇒ Object
Number of requests that resulted in a miss at a shield.
-
#shield_miss_resp_body_bytes ⇒ Object
Body bytes delivered for shield misses.
-
#shield_miss_resp_header_bytes ⇒ Object
Header bytes delivered for shield misses.
-
#shield_resp_body_bytes ⇒ Object
Total body bytes delivered via a shield.
-
#shield_resp_header_bytes ⇒ Object
Total header bytes delivered via a shield.
-
#shield_revalidations ⇒ Object
Number of responses received from origin with a ‘304` status code, in response to an `If-Modified-Since` or `If-None-Match` request to a shield.
-
#start_time ⇒ Object
Timestamp for the start of the time period being reported.
-
#status_1xx ⇒ Object
Number of "Informational" category status codes delivered.
-
#status_200 ⇒ Object
Number of responses sent with status code 200 (Success).
-
#status_204 ⇒ Object
Number of responses sent with status code 204 (No Content).
-
#status_206 ⇒ Object
Number of responses sent with status code 206 (Partial Content).
-
#status_2xx ⇒ Object
Number of "Success" status codes delivered.
-
#status_301 ⇒ Object
Number of responses sent with status code 301 (Moved Permanently).
-
#status_302 ⇒ Object
Number of responses sent with status code 302 (Found).
-
#status_304 ⇒ Object
Number of responses sent with status code 304 (Not Modified).
-
#status_3xx ⇒ Object
Number of "Redirection" codes delivered.
-
#status_400 ⇒ Object
Number of responses sent with status code 400 (Bad Request).
-
#status_401 ⇒ Object
Number of responses sent with status code 401 (Unauthorized).
-
#status_403 ⇒ Object
Number of responses sent with status code 403 (Forbidden).
-
#status_404 ⇒ Object
Number of responses sent with status code 404 (Not Found).
-
#status_406 ⇒ Object
Number of responses sent with status code 406 (Not Acceptable).
-
#status_416 ⇒ Object
Number of responses sent with status code 416 (Range Not Satisfiable).
-
#status_429 ⇒ Object
Number of responses sent with status code 429 (Too Many Requests).
-
#status_4xx ⇒ Object
Number of "Client Error" codes delivered.
-
#status_500 ⇒ Object
Number of responses sent with status code 500 (Internal Server Error).
-
#status_501 ⇒ Object
Number of responses sent with status code 501 (Not Implemented).
-
#status_502 ⇒ Object
Number of responses sent with status code 502 (Bad Gateway).
-
#status_503 ⇒ Object
Number of responses sent with status code 503 (Service Unavailable).
-
#status_504 ⇒ Object
Number of responses sent with status code 504 (Gateway Timeout).
-
#status_505 ⇒ Object
Number of responses sent with status code 505 (HTTP Version Not Supported).
-
#status_5xx ⇒ Object
Number of "Server Error" codes delivered.
-
#synth ⇒ Object
Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement).
-
#tls ⇒ Object
Number of requests that were received over TLS.
-
#tls_handshake_sent_bytes ⇒ Object
Number of bytes transferred during TLS handshake.
-
#tls_v10 ⇒ Object
Number of requests received over TLS 1.0.
-
#tls_v11 ⇒ Object
Number of requests received over TLS 1.1.
-
#tls_v12 ⇒ Object
Number of requests received over TLS 1.2.
-
#tls_v13 ⇒ Object
Number of requests received over TLS 1.3.
-
#uncacheable ⇒ Object
Number of requests that were designated uncachable.
-
#vcl_on_compute_edge_hit_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute.
-
#vcl_on_compute_edge_miss_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute.
-
#vcl_on_compute_error_requests ⇒ Object
Number of cache errors for a VCL service running on Compute.
-
#vcl_on_compute_hit_requests ⇒ Object
Number of cache hits for a VCL service running on Compute.
-
#vcl_on_compute_miss_requests ⇒ Object
Number of cache misses for a VCL service running on Compute.
-
#vcl_on_compute_pass_requests ⇒ Object
Number of requests that passed through the CDN without being cached for a VCL service running on Compute.
-
#vcl_on_compute_synth_requests ⇒ Object
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.
-
#video ⇒ Object
Number of responses with the video segment or video manifest MIME type (i.e., application/x-mpegurl, application/vnd.apple.mpegurl, application/f4m, application/dash+xml, application/vnd.ms-sstr+xml, ideo/mp2t, audio/aac, video/f4f, video/x-flv, video/mp4, audio/mp4).
-
#waf_blocked ⇒ Object
Number of requests that triggered a WAF rule and were blocked.
-
#waf_logged ⇒ Object
Number of requests that triggered a WAF rule and were logged.
-
#waf_passed ⇒ Object
Number of requests that triggered a WAF rule and were passed.
-
#websocket_bereq_body_bytes ⇒ Object
Total message content bytes sent to backends over passthrough WebSocket connections.
-
#websocket_bereq_header_bytes ⇒ Object
Total header bytes sent to backends over passthrough WebSocket connections.
-
#websocket_beresp_body_bytes ⇒ Object
Total message content bytes received from backends over passthrough WebSocket connections.
-
#websocket_beresp_header_bytes ⇒ Object
Total header bytes received from backends over passthrough WebSocket connections.
-
#websocket_conn_time_ms ⇒ Object
Total duration of passthrough WebSocket connections with end users.
-
#websocket_req_body_bytes ⇒ Object
Total message content bytes received from end users over passthrough WebSocket connections.
-
#websocket_req_header_bytes ⇒ Object
Total header bytes received from end users over passthrough WebSocket connections.
-
#websocket_resp_body_bytes ⇒ Object
Total message content bytes sent to end users over passthrough WebSocket connections.
-
#websocket_resp_header_bytes ⇒ Object
Total header bytes sent to end users over passthrough WebSocket connections.
Class Method Summary collapse
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.fastly_nullable ⇒ Object
List of attributes with nullable: true.
-
.fastly_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ Results
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ Results
Initializes the object
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 |
# File 'lib/fastly/models/results.rb', line 1302 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::Results` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::Results`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'requests') self.requests = attributes[:'requests'] end if attributes.key?(:'hits') self.hits = attributes[:'hits'] end if attributes.key?(:'hits_time') self.hits_time = attributes[:'hits_time'] end if attributes.key?(:'miss') self.miss = attributes[:'miss'] end if attributes.key?(:'miss_time') self.miss_time = attributes[:'miss_time'] end if attributes.key?(:'pass') self.pass = attributes[:'pass'] end if attributes.key?(:'pass_time') self.pass_time = attributes[:'pass_time'] end if attributes.key?(:'errors') self.errors = attributes[:'errors'] end if attributes.key?(:'restarts') self.restarts = attributes[:'restarts'] end if attributes.key?(:'hit_ratio') self.hit_ratio = attributes[:'hit_ratio'] end if attributes.key?(:'bandwidth') self.bandwidth = attributes[:'bandwidth'] end if attributes.key?(:'body_size') self.body_size = attributes[:'body_size'] end if attributes.key?(:'header_size') self.header_size = attributes[:'header_size'] end if attributes.key?(:'req_body_bytes') self.req_body_bytes = attributes[:'req_body_bytes'] end if attributes.key?(:'req_header_bytes') self.req_header_bytes = attributes[:'req_header_bytes'] end if attributes.key?(:'resp_body_bytes') self.resp_body_bytes = attributes[:'resp_body_bytes'] end if attributes.key?(:'resp_header_bytes') self.resp_header_bytes = attributes[:'resp_header_bytes'] end if attributes.key?(:'bereq_body_bytes') self.bereq_body_bytes = attributes[:'bereq_body_bytes'] end if attributes.key?(:'bereq_header_bytes') self.bereq_header_bytes = attributes[:'bereq_header_bytes'] end if attributes.key?(:'uncacheable') self.uncacheable = attributes[:'uncacheable'] end if attributes.key?(:'pipe') self.pipe = attributes[:'pipe'] end if attributes.key?(:'synth') self.synth = attributes[:'synth'] end if attributes.key?(:'tls') self.tls = attributes[:'tls'] end if attributes.key?(:'tls_v10') self.tls_v10 = attributes[:'tls_v10'] end if attributes.key?(:'tls_v11') self.tls_v11 = attributes[:'tls_v11'] end if attributes.key?(:'tls_v12') self.tls_v12 = attributes[:'tls_v12'] end if attributes.key?(:'tls_v13') self.tls_v13 = attributes[:'tls_v13'] end if attributes.key?(:'edge_requests') self.edge_requests = attributes[:'edge_requests'] end if attributes.key?(:'edge_resp_header_bytes') self.edge_resp_header_bytes = attributes[:'edge_resp_header_bytes'] end if attributes.key?(:'edge_resp_body_bytes') self.edge_resp_body_bytes = attributes[:'edge_resp_body_bytes'] end if attributes.key?(:'edge_hit_requests') self.edge_hit_requests = attributes[:'edge_hit_requests'] end if attributes.key?(:'edge_miss_requests') self.edge_miss_requests = attributes[:'edge_miss_requests'] end if attributes.key?(:'origin_fetches') self.origin_fetches = attributes[:'origin_fetches'] end if attributes.key?(:'origin_fetch_header_bytes') self.origin_fetch_header_bytes = attributes[:'origin_fetch_header_bytes'] end if attributes.key?(:'origin_fetch_body_bytes') self.origin_fetch_body_bytes = attributes[:'origin_fetch_body_bytes'] end if attributes.key?(:'origin_fetch_resp_header_bytes') self.origin_fetch_resp_header_bytes = attributes[:'origin_fetch_resp_header_bytes'] end if attributes.key?(:'origin_fetch_resp_body_bytes') self.origin_fetch_resp_body_bytes = attributes[:'origin_fetch_resp_body_bytes'] end if attributes.key?(:'origin_revalidations') self.origin_revalidations = attributes[:'origin_revalidations'] end if attributes.key?(:'origin_cache_fetches') self.origin_cache_fetches = attributes[:'origin_cache_fetches'] end if attributes.key?(:'shield') self.shield = attributes[:'shield'] end if attributes.key?(:'shield_resp_body_bytes') self.shield_resp_body_bytes = attributes[:'shield_resp_body_bytes'] end if attributes.key?(:'shield_resp_header_bytes') self.shield_resp_header_bytes = attributes[:'shield_resp_header_bytes'] end if attributes.key?(:'shield_fetches') self.shield_fetches = attributes[:'shield_fetches'] end if attributes.key?(:'shield_fetch_header_bytes') self.shield_fetch_header_bytes = attributes[:'shield_fetch_header_bytes'] end if attributes.key?(:'shield_fetch_body_bytes') self.shield_fetch_body_bytes = attributes[:'shield_fetch_body_bytes'] end if attributes.key?(:'shield_fetch_resp_header_bytes') self.shield_fetch_resp_header_bytes = attributes[:'shield_fetch_resp_header_bytes'] end if attributes.key?(:'shield_fetch_resp_body_bytes') self.shield_fetch_resp_body_bytes = attributes[:'shield_fetch_resp_body_bytes'] end if attributes.key?(:'shield_revalidations') self.shield_revalidations = attributes[:'shield_revalidations'] end if attributes.key?(:'shield_cache_fetches') self.shield_cache_fetches = attributes[:'shield_cache_fetches'] end if attributes.key?(:'ipv6') self.ipv6 = attributes[:'ipv6'] end if attributes.key?(:'otfp') self.otfp = attributes[:'otfp'] end if attributes.key?(:'otfp_resp_body_bytes') self.otfp_resp_body_bytes = attributes[:'otfp_resp_body_bytes'] end if attributes.key?(:'otfp_resp_header_bytes') self.otfp_resp_header_bytes = attributes[:'otfp_resp_header_bytes'] end if attributes.key?(:'otfp_shield_resp_body_bytes') self.otfp_shield_resp_body_bytes = attributes[:'otfp_shield_resp_body_bytes'] end if attributes.key?(:'otfp_shield_resp_header_bytes') self.otfp_shield_resp_header_bytes = attributes[:'otfp_shield_resp_header_bytes'] end if attributes.key?(:'otfp_manifests') self.otfp_manifests = attributes[:'otfp_manifests'] end if attributes.key?(:'otfp_deliver_time') self.otfp_deliver_time = attributes[:'otfp_deliver_time'] end if attributes.key?(:'otfp_shield_time') self.otfp_shield_time = attributes[:'otfp_shield_time'] end if attributes.key?(:'video') self.video = attributes[:'video'] end if attributes.key?(:'pci') self.pci = attributes[:'pci'] end if attributes.key?(:'log') self.log = attributes[:'log'] end if attributes.key?(:'log_bytes') self.log_bytes = attributes[:'log_bytes'] end if attributes.key?(:'http2') self.http2 = attributes[:'http2'] end if attributes.key?(:'http3') self.http3 = attributes[:'http3'] end if attributes.key?(:'waf_logged') self.waf_logged = attributes[:'waf_logged'] end if attributes.key?(:'waf_blocked') self.waf_blocked = attributes[:'waf_blocked'] end if attributes.key?(:'waf_passed') self.waf_passed = attributes[:'waf_passed'] end if attributes.key?(:'attack_req_body_bytes') self.attack_req_body_bytes = attributes[:'attack_req_body_bytes'] end if attributes.key?(:'attack_req_header_bytes') self.attack_req_header_bytes = attributes[:'attack_req_header_bytes'] end if attributes.key?(:'attack_logged_req_body_bytes') self.attack_logged_req_body_bytes = attributes[:'attack_logged_req_body_bytes'] end if attributes.key?(:'attack_logged_req_header_bytes') self.attack_logged_req_header_bytes = attributes[:'attack_logged_req_header_bytes'] end if attributes.key?(:'attack_blocked_req_body_bytes') self.attack_blocked_req_body_bytes = attributes[:'attack_blocked_req_body_bytes'] end if attributes.key?(:'attack_blocked_req_header_bytes') self.attack_blocked_req_header_bytes = attributes[:'attack_blocked_req_header_bytes'] end if attributes.key?(:'attack_passed_req_body_bytes') self.attack_passed_req_body_bytes = attributes[:'attack_passed_req_body_bytes'] end if attributes.key?(:'attack_passed_req_header_bytes') self.attack_passed_req_header_bytes = attributes[:'attack_passed_req_header_bytes'] end if attributes.key?(:'attack_resp_synth_bytes') self.attack_resp_synth_bytes = attributes[:'attack_resp_synth_bytes'] end if attributes.key?(:'imgopto') self.imgopto = attributes[:'imgopto'] end if attributes.key?(:'imgopto_resp_body_bytes') self.imgopto_resp_body_bytes = attributes[:'imgopto_resp_body_bytes'] end if attributes.key?(:'imgopto_resp_header_bytes') self.imgopto_resp_header_bytes = attributes[:'imgopto_resp_header_bytes'] end if attributes.key?(:'imgopto_shield') self.imgopto_shield = attributes[:'imgopto_shield'] end if attributes.key?(:'imgopto_shield_resp_body_bytes') self.imgopto_shield_resp_body_bytes = attributes[:'imgopto_shield_resp_body_bytes'] end if attributes.key?(:'imgopto_shield_resp_header_bytes') self.imgopto_shield_resp_header_bytes = attributes[:'imgopto_shield_resp_header_bytes'] end if attributes.key?(:'imgopto_transforms') self.imgopto_transforms = attributes[:'imgopto_transforms'] end if attributes.key?(:'imgvideo') self.imgvideo = attributes[:'imgvideo'] end if attributes.key?(:'imgvideo_frames') self.imgvideo_frames = attributes[:'imgvideo_frames'] end if attributes.key?(:'imgvideo_resp_header_bytes') self.imgvideo_resp_header_bytes = attributes[:'imgvideo_resp_header_bytes'] end if attributes.key?(:'imgvideo_resp_body_bytes') self.imgvideo_resp_body_bytes = attributes[:'imgvideo_resp_body_bytes'] end if attributes.key?(:'imgvideo_shield_resp_header_bytes') self.imgvideo_shield_resp_header_bytes = attributes[:'imgvideo_shield_resp_header_bytes'] end if attributes.key?(:'imgvideo_shield_resp_body_bytes') self.imgvideo_shield_resp_body_bytes = attributes[:'imgvideo_shield_resp_body_bytes'] end if attributes.key?(:'imgvideo_shield') self.imgvideo_shield = attributes[:'imgvideo_shield'] end if attributes.key?(:'imgvideo_shield_frames') self.imgvideo_shield_frames = attributes[:'imgvideo_shield_frames'] end if attributes.key?(:'status_200') self.status_200 = attributes[:'status_200'] end if attributes.key?(:'status_204') self.status_204 = attributes[:'status_204'] end if attributes.key?(:'status_206') self.status_206 = attributes[:'status_206'] end if attributes.key?(:'status_301') self.status_301 = attributes[:'status_301'] end if attributes.key?(:'status_302') self.status_302 = attributes[:'status_302'] end if attributes.key?(:'status_304') self.status_304 = attributes[:'status_304'] end if attributes.key?(:'status_400') self.status_400 = attributes[:'status_400'] end if attributes.key?(:'status_401') self.status_401 = attributes[:'status_401'] end if attributes.key?(:'status_403') self.status_403 = attributes[:'status_403'] end if attributes.key?(:'status_404') self.status_404 = attributes[:'status_404'] end if attributes.key?(:'status_406') self.status_406 = attributes[:'status_406'] end if attributes.key?(:'status_416') self.status_416 = attributes[:'status_416'] end if attributes.key?(:'status_429') self.status_429 = attributes[:'status_429'] end if attributes.key?(:'status_500') self.status_500 = attributes[:'status_500'] end if attributes.key?(:'status_501') self.status_501 = attributes[:'status_501'] end if attributes.key?(:'status_502') self.status_502 = attributes[:'status_502'] end if attributes.key?(:'status_503') self.status_503 = attributes[:'status_503'] end if attributes.key?(:'status_504') self.status_504 = attributes[:'status_504'] end if attributes.key?(:'status_505') self.status_505 = attributes[:'status_505'] end if attributes.key?(:'status_1xx') self.status_1xx = attributes[:'status_1xx'] end if attributes.key?(:'status_2xx') self.status_2xx = attributes[:'status_2xx'] end if attributes.key?(:'status_3xx') self.status_3xx = attributes[:'status_3xx'] end if attributes.key?(:'status_4xx') self.status_4xx = attributes[:'status_4xx'] end if attributes.key?(:'status_5xx') self.status_5xx = attributes[:'status_5xx'] end if attributes.key?(:'object_size_1k') self.object_size_1k = attributes[:'object_size_1k'] end if attributes.key?(:'object_size_10k') self.object_size_10k = attributes[:'object_size_10k'] end if attributes.key?(:'object_size_100k') self.object_size_100k = attributes[:'object_size_100k'] end if attributes.key?(:'object_size_1m') self.object_size_1m = attributes[:'object_size_1m'] end if attributes.key?(:'object_size_10m') self.object_size_10m = attributes[:'object_size_10m'] end if attributes.key?(:'object_size_100m') self.object_size_100m = attributes[:'object_size_100m'] end if attributes.key?(:'object_size_1g') self.object_size_1g = attributes[:'object_size_1g'] end if attributes.key?(:'recv_sub_time') self.recv_sub_time = attributes[:'recv_sub_time'] end if attributes.key?(:'recv_sub_count') self.recv_sub_count = attributes[:'recv_sub_count'] end if attributes.key?(:'hash_sub_time') self.hash_sub_time = attributes[:'hash_sub_time'] end if attributes.key?(:'hash_sub_count') self.hash_sub_count = attributes[:'hash_sub_count'] end if attributes.key?(:'miss_sub_time') self.miss_sub_time = attributes[:'miss_sub_time'] end if attributes.key?(:'miss_sub_count') self.miss_sub_count = attributes[:'miss_sub_count'] end if attributes.key?(:'fetch_sub_time') self.fetch_sub_time = attributes[:'fetch_sub_time'] end if attributes.key?(:'fetch_sub_count') self.fetch_sub_count = attributes[:'fetch_sub_count'] end if attributes.key?(:'pass_sub_time') self.pass_sub_time = attributes[:'pass_sub_time'] end if attributes.key?(:'pass_sub_count') self.pass_sub_count = attributes[:'pass_sub_count'] end if attributes.key?(:'pipe_sub_time') self.pipe_sub_time = attributes[:'pipe_sub_time'] end if attributes.key?(:'pipe_sub_count') self.pipe_sub_count = attributes[:'pipe_sub_count'] end if attributes.key?(:'deliver_sub_time') self.deliver_sub_time = attributes[:'deliver_sub_time'] end if attributes.key?(:'deliver_sub_count') self.deliver_sub_count = attributes[:'deliver_sub_count'] end if attributes.key?(:'error_sub_time') self.error_sub_time = attributes[:'error_sub_time'] end if attributes.key?(:'error_sub_count') self.error_sub_count = attributes[:'error_sub_count'] end if attributes.key?(:'hit_sub_time') self.hit_sub_time = attributes[:'hit_sub_time'] end if attributes.key?(:'hit_sub_count') self.hit_sub_count = attributes[:'hit_sub_count'] end if attributes.key?(:'prehash_sub_time') self.prehash_sub_time = attributes[:'prehash_sub_time'] end if attributes.key?(:'prehash_sub_count') self.prehash_sub_count = attributes[:'prehash_sub_count'] end if attributes.key?(:'predeliver_sub_time') self.predeliver_sub_time = attributes[:'predeliver_sub_time'] end if attributes.key?(:'predeliver_sub_count') self.predeliver_sub_count = attributes[:'predeliver_sub_count'] end if attributes.key?(:'tls_handshake_sent_bytes') self.tls_handshake_sent_bytes = attributes[:'tls_handshake_sent_bytes'] end if attributes.key?(:'hit_resp_body_bytes') self.hit_resp_body_bytes = attributes[:'hit_resp_body_bytes'] end if attributes.key?(:'miss_resp_body_bytes') self.miss_resp_body_bytes = attributes[:'miss_resp_body_bytes'] end if attributes.key?(:'pass_resp_body_bytes') self.pass_resp_body_bytes = attributes[:'pass_resp_body_bytes'] end if attributes.key?(:'segblock_origin_fetches') self.segblock_origin_fetches = attributes[:'segblock_origin_fetches'] end if attributes.key?(:'segblock_shield_fetches') self.segblock_shield_fetches = attributes[:'segblock_shield_fetches'] end if attributes.key?(:'compute_requests') self.compute_requests = attributes[:'compute_requests'] end if attributes.key?(:'compute_request_time_ms') self.compute_request_time_ms = attributes[:'compute_request_time_ms'] end if attributes.key?(:'compute_request_time_billed_ms') self.compute_request_time_billed_ms = attributes[:'compute_request_time_billed_ms'] end if attributes.key?(:'compute_ram_used') self.compute_ram_used = attributes[:'compute_ram_used'] end if attributes.key?(:'compute_execution_time_ms') self.compute_execution_time_ms = attributes[:'compute_execution_time_ms'] end if attributes.key?(:'compute_req_header_bytes') self.compute_req_header_bytes = attributes[:'compute_req_header_bytes'] end if attributes.key?(:'compute_req_body_bytes') self.compute_req_body_bytes = attributes[:'compute_req_body_bytes'] end if attributes.key?(:'compute_resp_header_bytes') self.compute_resp_header_bytes = attributes[:'compute_resp_header_bytes'] end if attributes.key?(:'compute_resp_body_bytes') self.compute_resp_body_bytes = attributes[:'compute_resp_body_bytes'] end if attributes.key?(:'compute_resp_status_1xx') self.compute_resp_status_1xx = attributes[:'compute_resp_status_1xx'] end if attributes.key?(:'compute_resp_status_2xx') self.compute_resp_status_2xx = attributes[:'compute_resp_status_2xx'] end if attributes.key?(:'compute_resp_status_3xx') self.compute_resp_status_3xx = attributes[:'compute_resp_status_3xx'] end if attributes.key?(:'compute_resp_status_4xx') self.compute_resp_status_4xx = attributes[:'compute_resp_status_4xx'] end if attributes.key?(:'compute_resp_status_5xx') self.compute_resp_status_5xx = attributes[:'compute_resp_status_5xx'] end if attributes.key?(:'compute_bereq_header_bytes') self.compute_bereq_header_bytes = attributes[:'compute_bereq_header_bytes'] end if attributes.key?(:'compute_bereq_body_bytes') self.compute_bereq_body_bytes = attributes[:'compute_bereq_body_bytes'] end if attributes.key?(:'compute_beresp_header_bytes') self.compute_beresp_header_bytes = attributes[:'compute_beresp_header_bytes'] end if attributes.key?(:'compute_beresp_body_bytes') self.compute_beresp_body_bytes = attributes[:'compute_beresp_body_bytes'] end if attributes.key?(:'compute_bereqs') self.compute_bereqs = attributes[:'compute_bereqs'] end if attributes.key?(:'compute_bereq_errors') self.compute_bereq_errors = attributes[:'compute_bereq_errors'] end if attributes.key?(:'compute_resource_limit_exceeded') self.compute_resource_limit_exceeded = attributes[:'compute_resource_limit_exceeded'] end if attributes.key?(:'compute_heap_limit_exceeded') self.compute_heap_limit_exceeded = attributes[:'compute_heap_limit_exceeded'] end if attributes.key?(:'compute_stack_limit_exceeded') self.compute_stack_limit_exceeded = attributes[:'compute_stack_limit_exceeded'] end if attributes.key?(:'compute_globals_limit_exceeded') self.compute_globals_limit_exceeded = attributes[:'compute_globals_limit_exceeded'] end if attributes.key?(:'compute_guest_errors') self.compute_guest_errors = attributes[:'compute_guest_errors'] end if attributes.key?(:'compute_runtime_errors') self.compute_runtime_errors = attributes[:'compute_runtime_errors'] end if attributes.key?(:'edge_hit_resp_body_bytes') self.edge_hit_resp_body_bytes = attributes[:'edge_hit_resp_body_bytes'] end if attributes.key?(:'edge_hit_resp_header_bytes') self.edge_hit_resp_header_bytes = attributes[:'edge_hit_resp_header_bytes'] end if attributes.key?(:'edge_miss_resp_body_bytes') self.edge_miss_resp_body_bytes = attributes[:'edge_miss_resp_body_bytes'] end if attributes.key?(:'edge_miss_resp_header_bytes') self.edge_miss_resp_header_bytes = attributes[:'edge_miss_resp_header_bytes'] end if attributes.key?(:'origin_cache_fetch_resp_body_bytes') self.origin_cache_fetch_resp_body_bytes = attributes[:'origin_cache_fetch_resp_body_bytes'] end if attributes.key?(:'origin_cache_fetch_resp_header_bytes') self.origin_cache_fetch_resp_header_bytes = attributes[:'origin_cache_fetch_resp_header_bytes'] end if attributes.key?(:'shield_hit_requests') self.shield_hit_requests = attributes[:'shield_hit_requests'] end if attributes.key?(:'shield_miss_requests') self.shield_miss_requests = attributes[:'shield_miss_requests'] end if attributes.key?(:'shield_hit_resp_header_bytes') self.shield_hit_resp_header_bytes = attributes[:'shield_hit_resp_header_bytes'] end if attributes.key?(:'shield_hit_resp_body_bytes') self.shield_hit_resp_body_bytes = attributes[:'shield_hit_resp_body_bytes'] end if attributes.key?(:'shield_miss_resp_header_bytes') self.shield_miss_resp_header_bytes = attributes[:'shield_miss_resp_header_bytes'] end if attributes.key?(:'shield_miss_resp_body_bytes') self.shield_miss_resp_body_bytes = attributes[:'shield_miss_resp_body_bytes'] end if attributes.key?(:'websocket_req_header_bytes') self.websocket_req_header_bytes = attributes[:'websocket_req_header_bytes'] end if attributes.key?(:'websocket_req_body_bytes') self.websocket_req_body_bytes = attributes[:'websocket_req_body_bytes'] end if attributes.key?(:'websocket_resp_header_bytes') self.websocket_resp_header_bytes = attributes[:'websocket_resp_header_bytes'] end if attributes.key?(:'websocket_resp_body_bytes') self.websocket_resp_body_bytes = attributes[:'websocket_resp_body_bytes'] end if attributes.key?(:'websocket_bereq_header_bytes') self.websocket_bereq_header_bytes = attributes[:'websocket_bereq_header_bytes'] end if attributes.key?(:'websocket_bereq_body_bytes') self.websocket_bereq_body_bytes = attributes[:'websocket_bereq_body_bytes'] end if attributes.key?(:'websocket_beresp_header_bytes') self.websocket_beresp_header_bytes = attributes[:'websocket_beresp_header_bytes'] end if attributes.key?(:'websocket_beresp_body_bytes') self.websocket_beresp_body_bytes = attributes[:'websocket_beresp_body_bytes'] end if attributes.key?(:'websocket_conn_time_ms') self.websocket_conn_time_ms = attributes[:'websocket_conn_time_ms'] end if attributes.key?(:'fanout_recv_publishes') self.fanout_recv_publishes = attributes[:'fanout_recv_publishes'] end if attributes.key?(:'fanout_send_publishes') self.fanout_send_publishes = attributes[:'fanout_send_publishes'] end if attributes.key?(:'kv_store_class_a_operations') self.kv_store_class_a_operations = attributes[:'kv_store_class_a_operations'] end if attributes.key?(:'kv_store_class_b_operations') self.kv_store_class_b_operations = attributes[:'kv_store_class_b_operations'] end if attributes.key?(:'object_store_class_a_operations') self.object_store_class_a_operations = attributes[:'object_store_class_a_operations'] end if attributes.key?(:'object_store_class_b_operations') self.object_store_class_b_operations = attributes[:'object_store_class_b_operations'] end if attributes.key?(:'fanout_req_header_bytes') self.fanout_req_header_bytes = attributes[:'fanout_req_header_bytes'] end if attributes.key?(:'fanout_req_body_bytes') self.fanout_req_body_bytes = attributes[:'fanout_req_body_bytes'] end if attributes.key?(:'fanout_resp_header_bytes') self.fanout_resp_header_bytes = attributes[:'fanout_resp_header_bytes'] end if attributes.key?(:'fanout_resp_body_bytes') self.fanout_resp_body_bytes = attributes[:'fanout_resp_body_bytes'] end if attributes.key?(:'fanout_bereq_header_bytes') self.fanout_bereq_header_bytes = attributes[:'fanout_bereq_header_bytes'] end if attributes.key?(:'fanout_bereq_body_bytes') self.fanout_bereq_body_bytes = attributes[:'fanout_bereq_body_bytes'] end if attributes.key?(:'fanout_beresp_header_bytes') self.fanout_beresp_header_bytes = attributes[:'fanout_beresp_header_bytes'] end if attributes.key?(:'fanout_beresp_body_bytes') self.fanout_beresp_body_bytes = attributes[:'fanout_beresp_body_bytes'] end if attributes.key?(:'fanout_conn_time_ms') self.fanout_conn_time_ms = attributes[:'fanout_conn_time_ms'] end if attributes.key?(:'ddos_action_limit_streams_connections') self.ddos_action_limit_streams_connections = attributes[:'ddos_action_limit_streams_connections'] end if attributes.key?(:'ddos_action_limit_streams_requests') self.ddos_action_limit_streams_requests = attributes[:'ddos_action_limit_streams_requests'] end if attributes.key?(:'ddos_action_tarpit_accept') self.ddos_action_tarpit_accept = attributes[:'ddos_action_tarpit_accept'] end if attributes.key?(:'ddos_action_tarpit') self.ddos_action_tarpit = attributes[:'ddos_action_tarpit'] end if attributes.key?(:'ddos_action_close') self.ddos_action_close = attributes[:'ddos_action_close'] 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_challenge_complete_tokens_issued') self.bot_challenge_complete_tokens_issued = attributes[:'bot_challenge_complete_tokens_issued'] 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?(:'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?(:'origin_offload') self.origin_offload = attributes[:'origin_offload'] end if attributes.key?(:'request_denied_get_head_body') self.request_denied_get_head_body = attributes[:'request_denied_get_head_body'] end if attributes.key?(:'service_id') self.service_id = attributes[:'service_id'] end if attributes.key?(:'start_time') self.start_time = attributes[:'start_time'] end end |
Instance Attribute Details
#all_edge_hit_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service.
741 742 743 |
# File 'lib/fastly/models/results.rb', line 741 def all_edge_hit_requests @all_edge_hit_requests end |
#all_edge_miss_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service.
744 745 746 |
# File 'lib/fastly/models/results.rb', line 744 def all_edge_miss_requests @all_edge_miss_requests end |
#all_error_requests ⇒ Object
Number of cache errors for a VCL service.
735 736 737 |
# File 'lib/fastly/models/results.rb', line 735 def all_error_requests @all_error_requests end |
#all_hit_requests ⇒ Object
Number of cache hits for a VCL service.
726 727 728 |
# File 'lib/fastly/models/results.rb', line 726 def all_hit_requests @all_hit_requests end |
#all_miss_requests ⇒ Object
Number of cache misses for a VCL service.
729 730 731 |
# File 'lib/fastly/models/results.rb', line 729 def all_miss_requests @all_miss_requests end |
#all_pass_requests ⇒ Object
Number of requests that passed through the CDN without being cached for a VCL service.
732 733 734 |
# File 'lib/fastly/models/results.rb', line 732 def all_pass_requests @all_pass_requests end |
#all_status_1xx ⇒ Object
Number of "Informational" category status codes delivered for all sources.
747 748 749 |
# File 'lib/fastly/models/results.rb', line 747 def all_status_1xx @all_status_1xx end |
#all_status_2xx ⇒ Object
Number of "Success" status codes delivered for all sources.
750 751 752 |
# File 'lib/fastly/models/results.rb', line 750 def all_status_2xx @all_status_2xx end |
#all_status_3xx ⇒ Object
Number of "Redirection" codes delivered for all sources.
753 754 755 |
# File 'lib/fastly/models/results.rb', line 753 def all_status_3xx @all_status_3xx end |
#all_status_4xx ⇒ Object
Number of "Client Error" codes delivered for all sources.
756 757 758 |
# File 'lib/fastly/models/results.rb', line 756 def all_status_4xx @all_status_4xx end |
#all_status_5xx ⇒ Object
Number of "Server Error" codes delivered for all sources.
759 760 761 |
# File 'lib/fastly/models/results.rb', line 759 def all_status_5xx @all_status_5xx end |
#all_synth_requests ⇒ Object
Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement) for a VCL service.
738 739 740 |
# File 'lib/fastly/models/results.rb', line 738 def all_synth_requests @all_synth_requests end |
#attack_blocked_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule that was blocked.
231 232 233 |
# File 'lib/fastly/models/results.rb', line 231 def attack_blocked_req_body_bytes @attack_blocked_req_body_bytes end |
#attack_blocked_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule that was blocked.
234 235 236 |
# File 'lib/fastly/models/results.rb', line 234 def attack_blocked_req_header_bytes @attack_blocked_req_header_bytes end |
#attack_logged_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule that was logged.
225 226 227 |
# File 'lib/fastly/models/results.rb', line 225 def attack_logged_req_body_bytes @attack_logged_req_body_bytes end |
#attack_logged_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule that was logged.
228 229 230 |
# File 'lib/fastly/models/results.rb', line 228 def attack_logged_req_header_bytes @attack_logged_req_header_bytes end |
#attack_passed_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule that was passed.
237 238 239 |
# File 'lib/fastly/models/results.rb', line 237 def attack_passed_req_body_bytes @attack_passed_req_body_bytes end |
#attack_passed_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule that was passed.
240 241 242 |
# File 'lib/fastly/models/results.rb', line 240 def attack_passed_req_header_bytes @attack_passed_req_header_bytes end |
#attack_req_body_bytes ⇒ Object
Total body bytes received from requests that triggered a WAF rule.
219 220 221 |
# File 'lib/fastly/models/results.rb', line 219 def attack_req_body_bytes @attack_req_body_bytes end |
#attack_req_header_bytes ⇒ Object
Total header bytes received from requests that triggered a WAF rule.
222 223 224 |
# File 'lib/fastly/models/results.rb', line 222 def attack_req_header_bytes @attack_req_header_bytes end |
#attack_resp_synth_bytes ⇒ Object
Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.
243 244 245 |
# File 'lib/fastly/models/results.rb', line 243 def attack_resp_synth_bytes @attack_resp_synth_bytes end |
#bandwidth ⇒ Object
Total bytes delivered (‘resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes` + `fanout_resp_header_bytes` + `fanout_resp_body_bytes` + `fanout_bereq_header_bytes` + `fanout_bereq_body_bytes`).
48 49 50 |
# File 'lib/fastly/models/results.rb', line 48 def bandwidth @bandwidth end |
#bereq_body_bytes ⇒ Object
Total body bytes sent to origin.
69 70 71 |
# File 'lib/fastly/models/results.rb', line 69 def bereq_body_bytes @bereq_body_bytes end |
#bereq_header_bytes ⇒ Object
Total header bytes sent to origin.
72 73 74 |
# File 'lib/fastly/models/results.rb', line 72 def bereq_header_bytes @bereq_header_bytes end |
#body_size ⇒ Object
Total body bytes delivered (alias for resp_body_bytes).
51 52 53 |
# File 'lib/fastly/models/results.rb', line 51 def body_size @body_size end |
#bot_challenge_complete_tokens_checked ⇒ Object
The number of challenge-complete tokens checked.
681 682 683 |
# File 'lib/fastly/models/results.rb', line 681 def bot_challenge_complete_tokens_checked @bot_challenge_complete_tokens_checked end |
#bot_challenge_complete_tokens_disabled ⇒ Object
The number of challenge-complete tokens not checked because the feature was disabled.
684 685 686 |
# File 'lib/fastly/models/results.rb', line 684 def bot_challenge_complete_tokens_disabled @bot_challenge_complete_tokens_disabled end |
#bot_challenge_complete_tokens_failed ⇒ Object
The number of challenge-complete tokens that failed validation.
678 679 680 |
# File 'lib/fastly/models/results.rb', line 678 def bot_challenge_complete_tokens_failed @bot_challenge_complete_tokens_failed end |
#bot_challenge_complete_tokens_issued ⇒ Object
The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success.
687 688 689 |
# File 'lib/fastly/models/results.rb', line 687 def bot_challenge_complete_tokens_issued @bot_challenge_complete_tokens_issued end |
#bot_challenge_complete_tokens_passed ⇒ Object
The number of challenge-complete tokens that passed validation.
675 676 677 |
# File 'lib/fastly/models/results.rb', line 675 def bot_challenge_complete_tokens_passed @bot_challenge_complete_tokens_passed end |
#bot_challenge_starts ⇒ Object
The number of challenge-start tokens created.
672 673 674 |
# File 'lib/fastly/models/results.rb', line 672 def bot_challenge_starts @bot_challenge_starts end |
#bot_challenges_failed ⇒ Object
The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
696 697 698 |
# File 'lib/fastly/models/results.rb', line 696 def bot_challenges_failed @bot_challenges_failed end |
#bot_challenges_issued ⇒ Object
The number of challenges issued. For example, the issuance of a CAPTCHA challenge.
690 691 692 |
# File 'lib/fastly/models/results.rb', line 690 def bot_challenges_issued @bot_challenges_issued end |
#bot_challenges_succeeded ⇒ Object
The number of successful challenge solutions processed. For example, a correct CAPTCHA solution.
693 694 695 |
# File 'lib/fastly/models/results.rb', line 693 def bot_challenges_succeeded @bot_challenges_succeeded end |
#compute_bereq_body_bytes ⇒ Object
Total body bytes sent to backends (origins) by the Compute platform.
513 514 515 |
# File 'lib/fastly/models/results.rb', line 513 def compute_bereq_body_bytes @compute_bereq_body_bytes end |
#compute_bereq_errors ⇒ Object
Number of backend request errors, including timeouts.
525 526 527 |
# File 'lib/fastly/models/results.rb', line 525 def compute_bereq_errors @compute_bereq_errors end |
#compute_bereq_header_bytes ⇒ Object
Total header bytes sent to backends (origins) by the Compute platform.
510 511 512 |
# File 'lib/fastly/models/results.rb', line 510 def compute_bereq_header_bytes @compute_bereq_header_bytes end |
#compute_bereqs ⇒ Object
Number of backend requests started.
522 523 524 |
# File 'lib/fastly/models/results.rb', line 522 def compute_bereqs @compute_bereqs end |
#compute_beresp_body_bytes ⇒ Object
Total body bytes received from backends (origins) by the Compute platform.
519 520 521 |
# File 'lib/fastly/models/results.rb', line 519 def compute_beresp_body_bytes @compute_beresp_body_bytes end |
#compute_beresp_header_bytes ⇒ Object
Total header bytes received from backends (origins) by the Compute platform.
516 517 518 |
# File 'lib/fastly/models/results.rb', line 516 def compute_beresp_header_bytes @compute_beresp_header_bytes end |
#compute_execution_time_ms ⇒ Object
The amount of active CPU time used to process your requests (in milliseconds).
480 481 482 |
# File 'lib/fastly/models/results.rb', line 480 def compute_execution_time_ms @compute_execution_time_ms end |
#compute_globals_limit_exceeded ⇒ Object
Number of times a guest exceeded its globals limit.
537 538 539 |
# File 'lib/fastly/models/results.rb', line 537 def compute_globals_limit_exceeded @compute_globals_limit_exceeded end |
#compute_guest_errors ⇒ Object
Number of times a service experienced a guest code error.
540 541 542 |
# File 'lib/fastly/models/results.rb', line 540 def compute_guest_errors @compute_guest_errors end |
#compute_heap_limit_exceeded ⇒ Object
Number of times a guest exceeded its heap limit.
531 532 533 |
# File 'lib/fastly/models/results.rb', line 531 def compute_heap_limit_exceeded @compute_heap_limit_exceeded end |
#compute_ram_used ⇒ Object
The amount of RAM used for your service by Fastly (in bytes).
477 478 479 |
# File 'lib/fastly/models/results.rb', line 477 def compute_ram_used @compute_ram_used end |
#compute_req_body_bytes ⇒ Object
Total body bytes received by the Compute platform.
486 487 488 |
# File 'lib/fastly/models/results.rb', line 486 def compute_req_body_bytes @compute_req_body_bytes end |
#compute_req_header_bytes ⇒ Object
Total header bytes received by the Compute platform.
483 484 485 |
# File 'lib/fastly/models/results.rb', line 483 def compute_req_header_bytes @compute_req_header_bytes end |
#compute_request_time_billed_ms ⇒ Object
The total amount of request processing time you will be billed for, measured in 50 millisecond increments.
474 475 476 |
# File 'lib/fastly/models/results.rb', line 474 def compute_request_time_billed_ms @compute_request_time_billed_ms end |
#compute_request_time_ms ⇒ Object
The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).
471 472 473 |
# File 'lib/fastly/models/results.rb', line 471 def compute_request_time_ms @compute_request_time_ms end |
#compute_requests ⇒ Object
The total number of requests that were received for your service by Fastly.
468 469 470 |
# File 'lib/fastly/models/results.rb', line 468 def compute_requests @compute_requests end |
#compute_resource_limit_exceeded ⇒ Object
Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.
528 529 530 |
# File 'lib/fastly/models/results.rb', line 528 def compute_resource_limit_exceeded @compute_resource_limit_exceeded end |
#compute_resp_body_bytes ⇒ Object
Total body bytes sent from Compute to end user.
492 493 494 |
# File 'lib/fastly/models/results.rb', line 492 def compute_resp_body_bytes @compute_resp_body_bytes end |
#compute_resp_header_bytes ⇒ Object
Total header bytes sent from Compute to end user.
489 490 491 |
# File 'lib/fastly/models/results.rb', line 489 def compute_resp_header_bytes @compute_resp_header_bytes end |
#compute_resp_status_1xx ⇒ Object
Number of "Informational" category status codes delivered by the Compute platform.
495 496 497 |
# File 'lib/fastly/models/results.rb', line 495 def compute_resp_status_1xx @compute_resp_status_1xx end |
#compute_resp_status_2xx ⇒ Object
Number of "Success" category status codes delivered by the Compute platform.
498 499 500 |
# File 'lib/fastly/models/results.rb', line 498 def compute_resp_status_2xx @compute_resp_status_2xx end |
#compute_resp_status_3xx ⇒ Object
Number of "Redirection" category status codes delivered by the Compute platform.
501 502 503 |
# File 'lib/fastly/models/results.rb', line 501 def compute_resp_status_3xx @compute_resp_status_3xx end |
#compute_resp_status_4xx ⇒ Object
Number of "Client Error" category status codes delivered by the Compute platform.
504 505 506 |
# File 'lib/fastly/models/results.rb', line 504 def compute_resp_status_4xx @compute_resp_status_4xx end |
#compute_resp_status_5xx ⇒ Object
Number of "Server Error" category status codes delivered by the Compute platform.
507 508 509 |
# File 'lib/fastly/models/results.rb', line 507 def compute_resp_status_5xx @compute_resp_status_5xx end |
#compute_runtime_errors ⇒ Object
Number of times a service experienced a guest runtime error.
543 544 545 |
# File 'lib/fastly/models/results.rb', line 543 def compute_runtime_errors @compute_runtime_errors end |
#compute_stack_limit_exceeded ⇒ Object
Number of times a guest exceeded its stack limit.
534 535 536 |
# File 'lib/fastly/models/results.rb', line 534 def compute_stack_limit_exceeded @compute_stack_limit_exceeded end |
#ddos_action_blackhole ⇒ Object
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 670 671 |
# File 'lib/fastly/models/results.rb', line 669 def ddos_action_blackhole @ddos_action_blackhole end |
#ddos_action_close ⇒ Object
The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent.
666 667 668 |
# File 'lib/fastly/models/results.rb', line 666 def ddos_action_close @ddos_action_close end |
#ddos_action_downgrade ⇒ Object
The number of times the downgrade action was taken. The downgrade action restricts the client to http1.
699 700 701 |
# File 'lib/fastly/models/results.rb', line 699 def ddos_action_downgrade @ddos_action_downgrade end |
#ddos_action_downgraded_connections ⇒ Object
The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1.
702 703 704 |
# File 'lib/fastly/models/results.rb', line 702 def ddos_action_downgraded_connections @ddos_action_downgraded_connections end |
#ddos_action_limit_streams_connections ⇒ Object
For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection.
654 655 656 |
# File 'lib/fastly/models/results.rb', line 654 def ddos_action_limit_streams_connections @ddos_action_limit_streams_connections end |
#ddos_action_limit_streams_requests ⇒ Object
For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection.
657 658 659 |
# File 'lib/fastly/models/results.rb', line 657 def ddos_action_limit_streams_requests @ddos_action_limit_streams_requests end |
#ddos_action_tarpit ⇒ Object
The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.
663 664 665 |
# File 'lib/fastly/models/results.rb', line 663 def ddos_action_tarpit @ddos_action_tarpit end |
#ddos_action_tarpit_accept ⇒ Object
The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.
660 661 662 |
# File 'lib/fastly/models/results.rb', line 660 def ddos_action_tarpit_accept @ddos_action_tarpit_accept end |
#deliver_sub_count ⇒ Object
Number of executions of the ‘vcl_deliver` Varnish subroutine.
423 424 425 |
# File 'lib/fastly/models/results.rb', line 423 def deliver_sub_count @deliver_sub_count end |
#deliver_sub_time ⇒ Object
Time spent inside the ‘vcl_deliver` Varnish subroutine (in seconds).
420 421 422 |
# File 'lib/fastly/models/results.rb', line 420 def deliver_sub_time @deliver_sub_time end |
#edge_hit_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a hit at the edge.
108 109 110 |
# File 'lib/fastly/models/results.rb', line 108 def edge_hit_requests @edge_hit_requests end |
#edge_hit_resp_body_bytes ⇒ Object
Body bytes delivered for edge hits.
546 547 548 |
# File 'lib/fastly/models/results.rb', line 546 def edge_hit_resp_body_bytes @edge_hit_resp_body_bytes end |
#edge_hit_resp_header_bytes ⇒ Object
Header bytes delivered for edge hits.
549 550 551 |
# File 'lib/fastly/models/results.rb', line 549 def edge_hit_resp_header_bytes @edge_hit_resp_header_bytes end |
#edge_miss_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a miss at the edge.
111 112 113 |
# File 'lib/fastly/models/results.rb', line 111 def edge_miss_requests @edge_miss_requests end |
#edge_miss_resp_body_bytes ⇒ Object
Body bytes delivered for edge misses.
552 553 554 |
# File 'lib/fastly/models/results.rb', line 552 def edge_miss_resp_body_bytes @edge_miss_resp_body_bytes end |
#edge_miss_resp_header_bytes ⇒ Object
Header bytes delivered for edge misses.
555 556 557 |
# File 'lib/fastly/models/results.rb', line 555 def edge_miss_resp_header_bytes @edge_miss_resp_header_bytes end |
#edge_requests ⇒ Object
Number of requests sent by end users to Fastly.
99 100 101 |
# File 'lib/fastly/models/results.rb', line 99 def edge_requests @edge_requests end |
#edge_resp_body_bytes ⇒ Object
Total body bytes delivered from Fastly to the end user.
105 106 107 |
# File 'lib/fastly/models/results.rb', line 105 def edge_resp_body_bytes @edge_resp_body_bytes end |
#edge_resp_header_bytes ⇒ Object
Total header bytes delivered from Fastly to the end user.
102 103 104 |
# File 'lib/fastly/models/results.rb', line 102 def edge_resp_header_bytes @edge_resp_header_bytes end |
#error_sub_count ⇒ Object
Number of executions of the ‘vcl_error` Varnish subroutine.
429 430 431 |
# File 'lib/fastly/models/results.rb', line 429 def error_sub_count @error_sub_count end |
#error_sub_time ⇒ Object
Time spent inside the ‘vcl_error` Varnish subroutine (in seconds).
426 427 428 |
# File 'lib/fastly/models/results.rb', line 426 def error_sub_time @error_sub_time end |
#errors ⇒ Object
Number of cache errors.
39 40 41 |
# File 'lib/fastly/models/results.rb', line 39 def errors @errors end |
#fanout_bereq_body_bytes ⇒ Object
Total body or message content bytes sent to backends over Fanout connections.
642 643 644 |
# File 'lib/fastly/models/results.rb', line 642 def fanout_bereq_body_bytes @fanout_bereq_body_bytes end |
#fanout_bereq_header_bytes ⇒ Object
Total header bytes sent to backends over Fanout connections.
639 640 641 |
# File 'lib/fastly/models/results.rb', line 639 def fanout_bereq_header_bytes @fanout_bereq_header_bytes end |
#fanout_beresp_body_bytes ⇒ Object
Total body or message content bytes received from backends over Fanout connections.
648 649 650 |
# File 'lib/fastly/models/results.rb', line 648 def fanout_beresp_body_bytes @fanout_beresp_body_bytes end |
#fanout_beresp_header_bytes ⇒ Object
Total header bytes received from backends over Fanout connections.
645 646 647 |
# File 'lib/fastly/models/results.rb', line 645 def fanout_beresp_header_bytes @fanout_beresp_header_bytes end |
#fanout_conn_time_ms ⇒ Object
Total duration of Fanout connections with end users.
651 652 653 |
# File 'lib/fastly/models/results.rb', line 651 def fanout_conn_time_ms @fanout_conn_time_ms end |
#fanout_recv_publishes ⇒ Object
Total published messages received from the publish API endpoint.
609 610 611 |
# File 'lib/fastly/models/results.rb', line 609 def fanout_recv_publishes @fanout_recv_publishes end |
#fanout_req_body_bytes ⇒ Object
Total body or message content bytes received from end users over Fanout connections.
630 631 632 |
# File 'lib/fastly/models/results.rb', line 630 def fanout_req_body_bytes @fanout_req_body_bytes end |
#fanout_req_header_bytes ⇒ Object
Total header bytes received from end users over Fanout connections.
627 628 629 |
# File 'lib/fastly/models/results.rb', line 627 def fanout_req_header_bytes @fanout_req_header_bytes end |
#fanout_resp_body_bytes ⇒ Object
Total body or message content bytes sent to end users over Fanout connections, excluding published message content.
636 637 638 |
# File 'lib/fastly/models/results.rb', line 636 def fanout_resp_body_bytes @fanout_resp_body_bytes end |
#fanout_resp_header_bytes ⇒ Object
Total header bytes sent to end users over Fanout connections.
633 634 635 |
# File 'lib/fastly/models/results.rb', line 633 def fanout_resp_header_bytes @fanout_resp_header_bytes end |
#fanout_send_publishes ⇒ Object
Total published messages sent to end users.
612 613 614 |
# File 'lib/fastly/models/results.rb', line 612 def fanout_send_publishes @fanout_send_publishes end |
#fetch_sub_count ⇒ Object
Number of executions of the ‘vcl_fetch` Varnish subroutine.
405 406 407 |
# File 'lib/fastly/models/results.rb', line 405 def fetch_sub_count @fetch_sub_count end |
#fetch_sub_time ⇒ Object
Time spent inside the ‘vcl_fetch` Varnish subroutine (in seconds).
402 403 404 |
# File 'lib/fastly/models/results.rb', line 402 def fetch_sub_time @fetch_sub_time end |
#hash_sub_count ⇒ Object
Number of executions of the ‘vcl_hash` Varnish subroutine.
393 394 395 |
# File 'lib/fastly/models/results.rb', line 393 def hash_sub_count @hash_sub_count end |
#hash_sub_time ⇒ Object
Time spent inside the ‘vcl_hash` Varnish subroutine (in seconds).
390 391 392 |
# File 'lib/fastly/models/results.rb', line 390 def hash_sub_time @hash_sub_time end |
#header_size ⇒ Object
Total header bytes delivered (alias for resp_header_bytes).
54 55 56 |
# File 'lib/fastly/models/results.rb', line 54 def header_size @header_size end |
#hit_ratio ⇒ Object
Ratio of cache hits to cache misses (between 0 and 1).
45 46 47 |
# File 'lib/fastly/models/results.rb', line 45 def hit_ratio @hit_ratio end |
#hit_resp_body_bytes ⇒ Object
Total body bytes delivered for cache hits.
453 454 455 |
# File 'lib/fastly/models/results.rb', line 453 def hit_resp_body_bytes @hit_resp_body_bytes end |
#hit_sub_count ⇒ Object
Number of executions of the ‘vcl_hit` Varnish subroutine.
435 436 437 |
# File 'lib/fastly/models/results.rb', line 435 def hit_sub_count @hit_sub_count end |
#hit_sub_time ⇒ Object
Time spent inside the ‘vcl_hit` Varnish subroutine (in seconds).
432 433 434 |
# File 'lib/fastly/models/results.rb', line 432 def hit_sub_time @hit_sub_time end |
#hits ⇒ Object
Number of cache hits.
21 22 23 |
# File 'lib/fastly/models/results.rb', line 21 def hits @hits end |
#hits_time ⇒ Object
Total amount of time spent processing cache hits (in seconds).
24 25 26 |
# File 'lib/fastly/models/results.rb', line 24 def hits_time @hits_time end |
#http2 ⇒ Object
Number of requests received over HTTP/2.
204 205 206 |
# File 'lib/fastly/models/results.rb', line 204 def http2 @http2 end |
#http3 ⇒ Object
Number of requests received over HTTP/3.
207 208 209 |
# File 'lib/fastly/models/results.rb', line 207 def http3 @http3 end |
#imgopto ⇒ Object
Number of responses that came from the Fastly Image Optimizer service. If the service receives 10 requests for an image, this stat will be 10 regardless of how many times the image was transformed.
246 247 248 |
# File 'lib/fastly/models/results.rb', line 246 def imgopto @imgopto end |
#imgopto_resp_body_bytes ⇒ Object
Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic.
249 250 251 |
# File 'lib/fastly/models/results.rb', line 249 def imgopto_resp_body_bytes @imgopto_resp_body_bytes end |
#imgopto_resp_header_bytes ⇒ Object
Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic.
252 253 254 |
# File 'lib/fastly/models/results.rb', line 252 def imgopto_resp_header_bytes @imgopto_resp_header_bytes end |
#imgopto_shield ⇒ Object
Number of responses that came from the Fastly Image Optimizer service via a shield.
255 256 257 |
# File 'lib/fastly/models/results.rb', line 255 def imgopto_shield @imgopto_shield end |
#imgopto_shield_resp_body_bytes ⇒ Object
Total body bytes delivered via a shield from the Fastly Image Optimizer service.
258 259 260 |
# File 'lib/fastly/models/results.rb', line 258 def imgopto_shield_resp_body_bytes @imgopto_shield_resp_body_bytes end |
#imgopto_shield_resp_header_bytes ⇒ Object
Total header bytes delivered via a shield from the Fastly Image Optimizer service.
261 262 263 |
# File 'lib/fastly/models/results.rb', line 261 def imgopto_shield_resp_header_bytes @imgopto_shield_resp_header_bytes end |
#imgopto_transforms ⇒ Object
Number of transforms performed by the Fastly Image Optimizer service.
264 265 266 |
# File 'lib/fastly/models/results.rb', line 264 def imgopto_transforms @imgopto_transforms end |
#imgvideo ⇒ Object
Number of video responses that came from the Fastly Image Optimizer service.
267 268 269 |
# File 'lib/fastly/models/results.rb', line 267 def imgvideo @imgvideo end |
#imgvideo_frames ⇒ Object
Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
270 271 272 |
# File 'lib/fastly/models/results.rb', line 270 def imgvideo_frames @imgvideo_frames end |
#imgvideo_resp_body_bytes ⇒ Object
Total body bytes of video delivered from the Fastly Image Optimizer service.
276 277 278 |
# File 'lib/fastly/models/results.rb', line 276 def imgvideo_resp_body_bytes @imgvideo_resp_body_bytes end |
#imgvideo_resp_header_bytes ⇒ Object
Total header bytes of video delivered from the Fastly Image Optimizer service.
273 274 275 |
# File 'lib/fastly/models/results.rb', line 273 def imgvideo_resp_header_bytes @imgvideo_resp_header_bytes end |
#imgvideo_shield ⇒ Object
Number of video responses delivered via a shield that came from the Fastly Image Optimizer service.
285 286 287 |
# File 'lib/fastly/models/results.rb', line 285 def imgvideo_shield @imgvideo_shield end |
#imgvideo_shield_frames ⇒ Object
Number of video frames delivered via a shield that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
288 289 290 |
# File 'lib/fastly/models/results.rb', line 288 def imgvideo_shield_frames @imgvideo_shield_frames end |
#imgvideo_shield_resp_body_bytes ⇒ Object
Total body bytes of video delivered via a shield from the Fastly Image Optimizer service.
282 283 284 |
# File 'lib/fastly/models/results.rb', line 282 def imgvideo_shield_resp_body_bytes @imgvideo_shield_resp_body_bytes end |
#imgvideo_shield_resp_header_bytes ⇒ Object
Total header bytes of video delivered via a shield from the Fastly Image Optimizer service.
279 280 281 |
# File 'lib/fastly/models/results.rb', line 279 def imgvideo_shield_resp_header_bytes @imgvideo_shield_resp_header_bytes end |
#ipv6 ⇒ Object
Number of requests that were received over IPv6.
165 166 167 |
# File 'lib/fastly/models/results.rb', line 165 def ipv6 @ipv6 end |
#kv_store_class_a_operations ⇒ Object
The total number of class a operations for the KV store.
615 616 617 |
# File 'lib/fastly/models/results.rb', line 615 def kv_store_class_a_operations @kv_store_class_a_operations end |
#kv_store_class_b_operations ⇒ Object
The total number of class b operations for the KV store.
618 619 620 |
# File 'lib/fastly/models/results.rb', line 618 def kv_store_class_b_operations @kv_store_class_b_operations end |
#log ⇒ Object
Number of log lines sent.
198 199 200 |
# File 'lib/fastly/models/results.rb', line 198 def log @log end |
#log_bytes ⇒ Object
Total log bytes sent.
201 202 203 |
# File 'lib/fastly/models/results.rb', line 201 def log_bytes @log_bytes end |
#miss ⇒ Object
Number of cache misses.
27 28 29 |
# File 'lib/fastly/models/results.rb', line 27 def miss @miss end |
#miss_resp_body_bytes ⇒ Object
Total body bytes delivered for cache misses.
456 457 458 |
# File 'lib/fastly/models/results.rb', line 456 def miss_resp_body_bytes @miss_resp_body_bytes end |
#miss_sub_count ⇒ Object
Number of executions of the ‘vcl_miss` Varnish subroutine.
399 400 401 |
# File 'lib/fastly/models/results.rb', line 399 def miss_sub_count @miss_sub_count end |
#miss_sub_time ⇒ Object
Time spent inside the ‘vcl_miss` Varnish subroutine (in seconds).
396 397 398 |
# File 'lib/fastly/models/results.rb', line 396 def miss_sub_time @miss_sub_time end |
#miss_time ⇒ Object
Total amount of time spent processing cache misses (in seconds).
30 31 32 |
# File 'lib/fastly/models/results.rb', line 30 def miss_time @miss_time end |
#object_size_100k ⇒ Object
Number of objects served that were between 10KB and 100KB in size.
369 370 371 |
# File 'lib/fastly/models/results.rb', line 369 def object_size_100k @object_size_100k end |
#object_size_100m ⇒ Object
Number of objects served that were between 10MB and 100MB in size.
378 379 380 |
# File 'lib/fastly/models/results.rb', line 378 def object_size_100m @object_size_100m end |
#object_size_10k ⇒ Object
Number of objects served that were between 1KB and 10KB in size.
366 367 368 |
# File 'lib/fastly/models/results.rb', line 366 def object_size_10k @object_size_10k end |
#object_size_10m ⇒ Object
Number of objects served that were between 1MB and 10MB in size.
375 376 377 |
# File 'lib/fastly/models/results.rb', line 375 def object_size_10m @object_size_10m end |
#object_size_1g ⇒ Object
Number of objects served that were between 100MB and 1GB in size.
381 382 383 |
# File 'lib/fastly/models/results.rb', line 381 def object_size_1g @object_size_1g end |
#object_size_1k ⇒ Object
Number of objects served that were under 1KB in size.
363 364 365 |
# File 'lib/fastly/models/results.rb', line 363 def object_size_1k @object_size_1k end |
#object_size_1m ⇒ Object
Number of objects served that were between 100KB and 1MB in size.
372 373 374 |
# File 'lib/fastly/models/results.rb', line 372 def object_size_1m @object_size_1m end |
#object_store_class_a_operations ⇒ Object
Use kv_store_class_a_operations.
621 622 623 |
# File 'lib/fastly/models/results.rb', line 621 def object_store_class_a_operations @object_store_class_a_operations end |
#object_store_class_b_operations ⇒ Object
Use kv_store_class_b_operations.
624 625 626 |
# File 'lib/fastly/models/results.rb', line 624 def object_store_class_b_operations @object_store_class_b_operations end |
#origin_cache_fetch_resp_body_bytes ⇒ Object
Body bytes received from origin for cacheable content.
558 559 560 |
# File 'lib/fastly/models/results.rb', line 558 def origin_cache_fetch_resp_body_bytes @origin_cache_fetch_resp_body_bytes end |
#origin_cache_fetch_resp_header_bytes ⇒ Object
Header bytes received from an origin for cacheable content.
561 562 563 |
# File 'lib/fastly/models/results.rb', line 561 def origin_cache_fetch_resp_header_bytes @origin_cache_fetch_resp_header_bytes end |
#origin_cache_fetches ⇒ Object
The total number of completed requests made to backends (origins) that returned cacheable content.
132 133 134 |
# File 'lib/fastly/models/results.rb', line 132 def origin_cache_fetches @origin_cache_fetches end |
#origin_fetch_body_bytes ⇒ Object
Total request body bytes sent to origin.
120 121 122 |
# File 'lib/fastly/models/results.rb', line 120 def origin_fetch_body_bytes @origin_fetch_body_bytes end |
#origin_fetch_header_bytes ⇒ Object
Total request header bytes sent to origin.
117 118 119 |
# File 'lib/fastly/models/results.rb', line 117 def origin_fetch_header_bytes @origin_fetch_header_bytes end |
#origin_fetch_resp_body_bytes ⇒ Object
Total body bytes received from origin.
126 127 128 |
# File 'lib/fastly/models/results.rb', line 126 def origin_fetch_resp_body_bytes @origin_fetch_resp_body_bytes end |
#origin_fetch_resp_header_bytes ⇒ Object
Total header bytes received from origin.
123 124 125 |
# File 'lib/fastly/models/results.rb', line 123 def origin_fetch_resp_header_bytes @origin_fetch_resp_header_bytes end |
#origin_fetches ⇒ Object
Number of requests sent to origin.
114 115 116 |
# File 'lib/fastly/models/results.rb', line 114 def origin_fetches @origin_fetches end |
#origin_offload ⇒ Object
Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((‘edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`).
762 763 764 |
# File 'lib/fastly/models/results.rb', line 762 def origin_offload @origin_offload end |
#origin_revalidations ⇒ Object
Number of responses received from origin with a ‘304` status code in response to an `If-Modified-Since` or `If-None-Match` request. Under regular scenarios, a revalidation will imply a cache hit. However, if using Fastly Image Optimizer or segmented caching this may result in a cache miss.
129 130 131 |
# File 'lib/fastly/models/results.rb', line 129 def origin_revalidations @origin_revalidations end |
#otfp ⇒ Object
Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand.
168 169 170 |
# File 'lib/fastly/models/results.rb', line 168 def otfp @otfp end |
#otfp_deliver_time ⇒ Object
Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
186 187 188 |
# File 'lib/fastly/models/results.rb', line 186 def otfp_deliver_time @otfp_deliver_time end |
#otfp_manifests ⇒ Object
Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand.
183 184 185 |
# File 'lib/fastly/models/results.rb', line 183 def otfp_manifests @otfp_manifests end |
#otfp_resp_body_bytes ⇒ Object
Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
171 172 173 |
# File 'lib/fastly/models/results.rb', line 171 def otfp_resp_body_bytes @otfp_resp_body_bytes end |
#otfp_resp_header_bytes ⇒ Object
Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
174 175 176 |
# File 'lib/fastly/models/results.rb', line 174 def otfp_resp_header_bytes @otfp_resp_header_bytes end |
#otfp_shield_resp_body_bytes ⇒ Object
Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
177 178 179 |
# File 'lib/fastly/models/results.rb', line 177 def otfp_shield_resp_body_bytes @otfp_shield_resp_body_bytes end |
#otfp_shield_resp_header_bytes ⇒ Object
Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
180 181 182 |
# File 'lib/fastly/models/results.rb', line 180 def otfp_shield_resp_header_bytes @otfp_shield_resp_header_bytes end |
#otfp_shield_time ⇒ Object
Total amount of time spent delivering a response via a shield from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
189 190 191 |
# File 'lib/fastly/models/results.rb', line 189 def otfp_shield_time @otfp_shield_time end |
#pass ⇒ Object
Number of requests that passed through the CDN without being cached.
33 34 35 |
# File 'lib/fastly/models/results.rb', line 33 def pass @pass end |
#pass_resp_body_bytes ⇒ Object
Total body bytes delivered for cache passes.
459 460 461 |
# File 'lib/fastly/models/results.rb', line 459 def pass_resp_body_bytes @pass_resp_body_bytes end |
#pass_sub_count ⇒ Object
Number of executions of the ‘vcl_pass` Varnish subroutine.
411 412 413 |
# File 'lib/fastly/models/results.rb', line 411 def pass_sub_count @pass_sub_count end |
#pass_sub_time ⇒ Object
Time spent inside the ‘vcl_pass` Varnish subroutine (in seconds).
408 409 410 |
# File 'lib/fastly/models/results.rb', line 408 def pass_sub_time @pass_sub_time end |
#pass_time ⇒ Object
Total amount of time spent processing cache passes (in seconds).
36 37 38 |
# File 'lib/fastly/models/results.rb', line 36 def pass_time @pass_time end |
#pci ⇒ Object
Number of responses with the PCI flag turned on.
195 196 197 |
# File 'lib/fastly/models/results.rb', line 195 def pci @pci end |
#pipe ⇒ Object
Optional. Pipe operations performed (legacy feature).
78 79 80 |
# File 'lib/fastly/models/results.rb', line 78 def pipe @pipe end |
#pipe_sub_count ⇒ Object
Number of executions of the ‘vcl_pipe` Varnish subroutine.
417 418 419 |
# File 'lib/fastly/models/results.rb', line 417 def pipe_sub_count @pipe_sub_count end |
#pipe_sub_time ⇒ Object
Time spent inside the ‘vcl_pipe` Varnish subroutine (in seconds).
414 415 416 |
# File 'lib/fastly/models/results.rb', line 414 def pipe_sub_time @pipe_sub_time end |
#predeliver_sub_count ⇒ Object
Number of executions of the ‘vcl_predeliver` Varnish subroutine.
447 448 449 |
# File 'lib/fastly/models/results.rb', line 447 def predeliver_sub_count @predeliver_sub_count end |
#predeliver_sub_time ⇒ Object
Time spent inside the ‘vcl_predeliver` Varnish subroutine (in seconds).
444 445 446 |
# File 'lib/fastly/models/results.rb', line 444 def predeliver_sub_time @predeliver_sub_time end |
#prehash_sub_count ⇒ Object
Number of executions of the ‘vcl_prehash` Varnish subroutine.
441 442 443 |
# File 'lib/fastly/models/results.rb', line 441 def prehash_sub_count @prehash_sub_count end |
#prehash_sub_time ⇒ Object
Time spent inside the ‘vcl_prehash` Varnish subroutine (in seconds).
438 439 440 |
# File 'lib/fastly/models/results.rb', line 438 def prehash_sub_time @prehash_sub_time end |
#recv_sub_count ⇒ Object
Number of executions of the ‘vcl_recv` Varnish subroutine.
387 388 389 |
# File 'lib/fastly/models/results.rb', line 387 def recv_sub_count @recv_sub_count end |
#recv_sub_time ⇒ Object
Time spent inside the ‘vcl_recv` Varnish subroutine (in seconds).
384 385 386 |
# File 'lib/fastly/models/results.rb', line 384 def recv_sub_time @recv_sub_time end |
#req_body_bytes ⇒ Object
Total body bytes received.
57 58 59 |
# File 'lib/fastly/models/results.rb', line 57 def req_body_bytes @req_body_bytes end |
#req_header_bytes ⇒ Object
Total header bytes received.
60 61 62 |
# File 'lib/fastly/models/results.rb', line 60 def req_header_bytes @req_header_bytes end |
#request_denied_get_head_body ⇒ Object
Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body.
765 766 767 |
# File 'lib/fastly/models/results.rb', line 765 def request_denied_get_head_body @request_denied_get_head_body end |
#requests ⇒ Object
Number of requests processed.
18 19 20 |
# File 'lib/fastly/models/results.rb', line 18 def requests @requests end |
#resp_body_bytes ⇒ Object
Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes).
63 64 65 |
# File 'lib/fastly/models/results.rb', line 63 def resp_body_bytes @resp_body_bytes end |
#resp_header_bytes ⇒ Object
Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes).
66 67 68 |
# File 'lib/fastly/models/results.rb', line 66 def resp_header_bytes @resp_header_bytes end |
#restarts ⇒ Object
Number of restarts performed.
42 43 44 |
# File 'lib/fastly/models/results.rb', line 42 def restarts @restarts end |
#segblock_origin_fetches ⇒ Object
Number of ‘Range` requests to origin for segments of resources when using segmented caching.
462 463 464 |
# File 'lib/fastly/models/results.rb', line 462 def segblock_origin_fetches @segblock_origin_fetches end |
#segblock_shield_fetches ⇒ Object
Number of ‘Range` requests to a shield for segments of resources when using segmented caching.
465 466 467 |
# File 'lib/fastly/models/results.rb', line 465 def segblock_shield_fetches @segblock_shield_fetches end |
#service_id ⇒ Object
Returns the value of attribute service_id.
767 768 769 |
# File 'lib/fastly/models/results.rb', line 767 def service_id @service_id end |
#shield ⇒ Object
Number of requests from edge to the shield POP.
135 136 137 |
# File 'lib/fastly/models/results.rb', line 135 def shield @shield end |
#shield_cache_fetches ⇒ Object
The total number of completed requests made to shields that returned cacheable content.
162 163 164 |
# File 'lib/fastly/models/results.rb', line 162 def shield_cache_fetches @shield_cache_fetches end |
#shield_fetch_body_bytes ⇒ Object
Total request body bytes sent to a shield.
150 151 152 |
# File 'lib/fastly/models/results.rb', line 150 def shield_fetch_body_bytes @shield_fetch_body_bytes end |
#shield_fetch_header_bytes ⇒ Object
Total request header bytes sent to a shield.
147 148 149 |
# File 'lib/fastly/models/results.rb', line 147 def shield_fetch_header_bytes @shield_fetch_header_bytes end |
#shield_fetch_resp_body_bytes ⇒ Object
Total response body bytes sent from a shield to the edge.
156 157 158 |
# File 'lib/fastly/models/results.rb', line 156 def shield_fetch_resp_body_bytes @shield_fetch_resp_body_bytes end |
#shield_fetch_resp_header_bytes ⇒ Object
Total response header bytes sent from a shield to the edge.
153 154 155 |
# File 'lib/fastly/models/results.rb', line 153 def shield_fetch_resp_header_bytes @shield_fetch_resp_header_bytes end |
#shield_fetches ⇒ Object
Number of requests made from one Fastly POP to another, as part of shielding.
144 145 146 |
# File 'lib/fastly/models/results.rb', line 144 def shield_fetches @shield_fetches end |
#shield_hit_requests ⇒ Object
Number of requests that resulted in a hit at a shield.
564 565 566 |
# File 'lib/fastly/models/results.rb', line 564 def shield_hit_requests @shield_hit_requests end |
#shield_hit_resp_body_bytes ⇒ Object
Body bytes delivered for shield hits.
573 574 575 |
# File 'lib/fastly/models/results.rb', line 573 def shield_hit_resp_body_bytes @shield_hit_resp_body_bytes end |
#shield_hit_resp_header_bytes ⇒ Object
Header bytes delivered for shield hits.
570 571 572 |
# File 'lib/fastly/models/results.rb', line 570 def shield_hit_resp_header_bytes @shield_hit_resp_header_bytes end |
#shield_miss_requests ⇒ Object
Number of requests that resulted in a miss at a shield.
567 568 569 |
# File 'lib/fastly/models/results.rb', line 567 def shield_miss_requests @shield_miss_requests end |
#shield_miss_resp_body_bytes ⇒ Object
Body bytes delivered for shield misses.
579 580 581 |
# File 'lib/fastly/models/results.rb', line 579 def shield_miss_resp_body_bytes @shield_miss_resp_body_bytes end |
#shield_miss_resp_header_bytes ⇒ Object
Header bytes delivered for shield misses.
576 577 578 |
# File 'lib/fastly/models/results.rb', line 576 def shield_miss_resp_header_bytes @shield_miss_resp_header_bytes end |
#shield_resp_body_bytes ⇒ Object
Total body bytes delivered via a shield.
138 139 140 |
# File 'lib/fastly/models/results.rb', line 138 def shield_resp_body_bytes @shield_resp_body_bytes end |
#shield_resp_header_bytes ⇒ Object
Total header bytes delivered via a shield.
141 142 143 |
# File 'lib/fastly/models/results.rb', line 141 def shield_resp_header_bytes @shield_resp_header_bytes end |
#shield_revalidations ⇒ Object
Number of responses received from origin with a ‘304` status code, in response to an `If-Modified-Since` or `If-None-Match` request to a shield. Under regular scenarios, a revalidation will imply a cache hit. However, if using segmented caching this may result in a cache miss.
159 160 161 |
# File 'lib/fastly/models/results.rb', line 159 def shield_revalidations @shield_revalidations end |
#start_time ⇒ Object
Timestamp for the start of the time period being reported
770 771 772 |
# File 'lib/fastly/models/results.rb', line 770 def start_time @start_time end |
#status_1xx ⇒ Object
Number of "Informational" category status codes delivered.
348 349 350 |
# File 'lib/fastly/models/results.rb', line 348 def status_1xx @status_1xx end |
#status_200 ⇒ Object
Number of responses sent with status code 200 (Success).
291 292 293 |
# File 'lib/fastly/models/results.rb', line 291 def status_200 @status_200 end |
#status_204 ⇒ Object
Number of responses sent with status code 204 (No Content).
294 295 296 |
# File 'lib/fastly/models/results.rb', line 294 def status_204 @status_204 end |
#status_206 ⇒ Object
Number of responses sent with status code 206 (Partial Content).
297 298 299 |
# File 'lib/fastly/models/results.rb', line 297 def status_206 @status_206 end |
#status_2xx ⇒ Object
Number of "Success" status codes delivered.
351 352 353 |
# File 'lib/fastly/models/results.rb', line 351 def status_2xx @status_2xx end |
#status_301 ⇒ Object
Number of responses sent with status code 301 (Moved Permanently).
300 301 302 |
# File 'lib/fastly/models/results.rb', line 300 def status_301 @status_301 end |
#status_302 ⇒ Object
Number of responses sent with status code 302 (Found).
303 304 305 |
# File 'lib/fastly/models/results.rb', line 303 def status_302 @status_302 end |
#status_304 ⇒ Object
Number of responses sent with status code 304 (Not Modified).
306 307 308 |
# File 'lib/fastly/models/results.rb', line 306 def status_304 @status_304 end |
#status_3xx ⇒ Object
Number of "Redirection" codes delivered.
354 355 356 |
# File 'lib/fastly/models/results.rb', line 354 def status_3xx @status_3xx end |
#status_400 ⇒ Object
Number of responses sent with status code 400 (Bad Request).
309 310 311 |
# File 'lib/fastly/models/results.rb', line 309 def status_400 @status_400 end |
#status_401 ⇒ Object
Number of responses sent with status code 401 (Unauthorized).
312 313 314 |
# File 'lib/fastly/models/results.rb', line 312 def status_401 @status_401 end |
#status_403 ⇒ Object
Number of responses sent with status code 403 (Forbidden).
315 316 317 |
# File 'lib/fastly/models/results.rb', line 315 def status_403 @status_403 end |
#status_404 ⇒ Object
Number of responses sent with status code 404 (Not Found).
318 319 320 |
# File 'lib/fastly/models/results.rb', line 318 def status_404 @status_404 end |
#status_406 ⇒ Object
Number of responses sent with status code 406 (Not Acceptable).
321 322 323 |
# File 'lib/fastly/models/results.rb', line 321 def status_406 @status_406 end |
#status_416 ⇒ Object
Number of responses sent with status code 416 (Range Not Satisfiable).
324 325 326 |
# File 'lib/fastly/models/results.rb', line 324 def status_416 @status_416 end |
#status_429 ⇒ Object
Number of responses sent with status code 429 (Too Many Requests).
327 328 329 |
# File 'lib/fastly/models/results.rb', line 327 def status_429 @status_429 end |
#status_4xx ⇒ Object
Number of "Client Error" codes delivered.
357 358 359 |
# File 'lib/fastly/models/results.rb', line 357 def status_4xx @status_4xx end |
#status_500 ⇒ Object
Number of responses sent with status code 500 (Internal Server Error).
330 331 332 |
# File 'lib/fastly/models/results.rb', line 330 def status_500 @status_500 end |
#status_501 ⇒ Object
Number of responses sent with status code 501 (Not Implemented).
333 334 335 |
# File 'lib/fastly/models/results.rb', line 333 def status_501 @status_501 end |
#status_502 ⇒ Object
Number of responses sent with status code 502 (Bad Gateway).
336 337 338 |
# File 'lib/fastly/models/results.rb', line 336 def status_502 @status_502 end |
#status_503 ⇒ Object
Number of responses sent with status code 503 (Service Unavailable).
339 340 341 |
# File 'lib/fastly/models/results.rb', line 339 def status_503 @status_503 end |
#status_504 ⇒ Object
Number of responses sent with status code 504 (Gateway Timeout).
342 343 344 |
# File 'lib/fastly/models/results.rb', line 342 def status_504 @status_504 end |
#status_505 ⇒ Object
Number of responses sent with status code 505 (HTTP Version Not Supported).
345 346 347 |
# File 'lib/fastly/models/results.rb', line 345 def status_505 @status_505 end |
#status_5xx ⇒ Object
Number of "Server Error" codes delivered.
360 361 362 |
# File 'lib/fastly/models/results.rb', line 360 def status_5xx @status_5xx end |
#synth ⇒ Object
Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement).
81 82 83 |
# File 'lib/fastly/models/results.rb', line 81 def synth @synth end |
#tls ⇒ Object
Number of requests that were received over TLS.
84 85 86 |
# File 'lib/fastly/models/results.rb', line 84 def tls @tls end |
#tls_handshake_sent_bytes ⇒ Object
Number of bytes transferred during TLS handshake.
450 451 452 |
# File 'lib/fastly/models/results.rb', line 450 def tls_handshake_sent_bytes @tls_handshake_sent_bytes end |
#tls_v10 ⇒ Object
Number of requests received over TLS 1.0.
87 88 89 |
# File 'lib/fastly/models/results.rb', line 87 def tls_v10 @tls_v10 end |
#tls_v11 ⇒ Object
Number of requests received over TLS 1.1.
90 91 92 |
# File 'lib/fastly/models/results.rb', line 90 def tls_v11 @tls_v11 end |
#tls_v12 ⇒ Object
Number of requests received over TLS 1.2.
93 94 95 |
# File 'lib/fastly/models/results.rb', line 93 def tls_v12 @tls_v12 end |
#tls_v13 ⇒ Object
Number of requests received over TLS 1.3.
96 97 98 |
# File 'lib/fastly/models/results.rb', line 96 def tls_v13 @tls_v13 end |
#uncacheable ⇒ Object
Number of requests that were designated uncachable.
75 76 77 |
# File 'lib/fastly/models/results.rb', line 75 def uncacheable @uncacheable end |
#vcl_on_compute_edge_hit_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute.
720 721 722 |
# File 'lib/fastly/models/results.rb', line 720 def vcl_on_compute_edge_hit_requests @vcl_on_compute_edge_hit_requests end |
#vcl_on_compute_edge_miss_requests ⇒ Object
Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute.
723 724 725 |
# File 'lib/fastly/models/results.rb', line 723 def vcl_on_compute_edge_miss_requests @vcl_on_compute_edge_miss_requests end |
#vcl_on_compute_error_requests ⇒ Object
Number of cache errors for a VCL service running on Compute.
714 715 716 |
# File 'lib/fastly/models/results.rb', line 714 def vcl_on_compute_error_requests @vcl_on_compute_error_requests end |
#vcl_on_compute_hit_requests ⇒ Object
Number of cache hits for a VCL service running on Compute.
705 706 707 |
# File 'lib/fastly/models/results.rb', line 705 def vcl_on_compute_hit_requests @vcl_on_compute_hit_requests end |
#vcl_on_compute_miss_requests ⇒ Object
Number of cache misses for a VCL service running on Compute.
708 709 710 |
# File 'lib/fastly/models/results.rb', line 708 def vcl_on_compute_miss_requests @vcl_on_compute_miss_requests end |
#vcl_on_compute_pass_requests ⇒ Object
Number of requests that passed through the CDN without being cached for a VCL service running on Compute.
711 712 713 |
# File 'lib/fastly/models/results.rb', line 711 def vcl_on_compute_pass_requests @vcl_on_compute_pass_requests end |
#vcl_on_compute_synth_requests ⇒ Object
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.
717 718 719 |
# File 'lib/fastly/models/results.rb', line 717 def vcl_on_compute_synth_requests @vcl_on_compute_synth_requests end |
#video ⇒ Object
Number of responses with the video segment or video manifest MIME type (i.e., application/x-mpegurl, application/vnd.apple.mpegurl, application/f4m, application/dash+xml, application/vnd.ms-sstr+xml, ideo/mp2t, audio/aac, video/f4f, video/x-flv, video/mp4, audio/mp4).
192 193 194 |
# File 'lib/fastly/models/results.rb', line 192 def video @video end |
#waf_blocked ⇒ Object
Number of requests that triggered a WAF rule and were blocked.
213 214 215 |
# File 'lib/fastly/models/results.rb', line 213 def waf_blocked @waf_blocked end |
#waf_logged ⇒ Object
Number of requests that triggered a WAF rule and were logged.
210 211 212 |
# File 'lib/fastly/models/results.rb', line 210 def waf_logged @waf_logged end |
#waf_passed ⇒ Object
Number of requests that triggered a WAF rule and were passed.
216 217 218 |
# File 'lib/fastly/models/results.rb', line 216 def waf_passed @waf_passed end |
#websocket_bereq_body_bytes ⇒ Object
Total message content bytes sent to backends over passthrough WebSocket connections.
597 598 599 |
# File 'lib/fastly/models/results.rb', line 597 def websocket_bereq_body_bytes @websocket_bereq_body_bytes end |
#websocket_bereq_header_bytes ⇒ Object
Total header bytes sent to backends over passthrough WebSocket connections.
594 595 596 |
# File 'lib/fastly/models/results.rb', line 594 def websocket_bereq_header_bytes @websocket_bereq_header_bytes end |
#websocket_beresp_body_bytes ⇒ Object
Total message content bytes received from backends over passthrough WebSocket connections.
603 604 605 |
# File 'lib/fastly/models/results.rb', line 603 def websocket_beresp_body_bytes @websocket_beresp_body_bytes end |
#websocket_beresp_header_bytes ⇒ Object
Total header bytes received from backends over passthrough WebSocket connections.
600 601 602 |
# File 'lib/fastly/models/results.rb', line 600 def websocket_beresp_header_bytes @websocket_beresp_header_bytes end |
#websocket_conn_time_ms ⇒ Object
Total duration of passthrough WebSocket connections with end users.
606 607 608 |
# File 'lib/fastly/models/results.rb', line 606 def websocket_conn_time_ms @websocket_conn_time_ms end |
#websocket_req_body_bytes ⇒ Object
Total message content bytes received from end users over passthrough WebSocket connections.
585 586 587 |
# File 'lib/fastly/models/results.rb', line 585 def websocket_req_body_bytes @websocket_req_body_bytes end |
#websocket_req_header_bytes ⇒ Object
Total header bytes received from end users over passthrough WebSocket connections.
582 583 584 |
# File 'lib/fastly/models/results.rb', line 582 def websocket_req_header_bytes @websocket_req_header_bytes end |
#websocket_resp_body_bytes ⇒ Object
Total message content bytes sent to end users over passthrough WebSocket connections.
591 592 593 |
# File 'lib/fastly/models/results.rb', line 591 def websocket_resp_body_bytes @websocket_resp_body_bytes end |
#websocket_resp_header_bytes ⇒ Object
Total header bytes sent to end users over passthrough WebSocket connections.
588 589 590 |
# File 'lib/fastly/models/results.rb', line 588 def websocket_resp_header_bytes @websocket_resp_header_bytes end |
Class Method Details
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
1031 1032 1033 |
# File 'lib/fastly/models/results.rb', line 1031 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/fastly/models/results.rb', line 773 def self.attribute_map { :'requests' => :'requests', :'hits' => :'hits', :'hits_time' => :'hits_time', :'miss' => :'miss', :'miss_time' => :'miss_time', :'pass' => :'pass', :'pass_time' => :'pass_time', :'errors' => :'errors', :'restarts' => :'restarts', :'hit_ratio' => :'hit_ratio', :'bandwidth' => :'bandwidth', :'body_size' => :'body_size', :'header_size' => :'header_size', :'req_body_bytes' => :'req_body_bytes', :'req_header_bytes' => :'req_header_bytes', :'resp_body_bytes' => :'resp_body_bytes', :'resp_header_bytes' => :'resp_header_bytes', :'bereq_body_bytes' => :'bereq_body_bytes', :'bereq_header_bytes' => :'bereq_header_bytes', :'uncacheable' => :'uncacheable', :'pipe' => :'pipe', :'synth' => :'synth', :'tls' => :'tls', :'tls_v10' => :'tls_v10', :'tls_v11' => :'tls_v11', :'tls_v12' => :'tls_v12', :'tls_v13' => :'tls_v13', :'edge_requests' => :'edge_requests', :'edge_resp_header_bytes' => :'edge_resp_header_bytes', :'edge_resp_body_bytes' => :'edge_resp_body_bytes', :'edge_hit_requests' => :'edge_hit_requests', :'edge_miss_requests' => :'edge_miss_requests', :'origin_fetches' => :'origin_fetches', :'origin_fetch_header_bytes' => :'origin_fetch_header_bytes', :'origin_fetch_body_bytes' => :'origin_fetch_body_bytes', :'origin_fetch_resp_header_bytes' => :'origin_fetch_resp_header_bytes', :'origin_fetch_resp_body_bytes' => :'origin_fetch_resp_body_bytes', :'origin_revalidations' => :'origin_revalidations', :'origin_cache_fetches' => :'origin_cache_fetches', :'shield' => :'shield', :'shield_resp_body_bytes' => :'shield_resp_body_bytes', :'shield_resp_header_bytes' => :'shield_resp_header_bytes', :'shield_fetches' => :'shield_fetches', :'shield_fetch_header_bytes' => :'shield_fetch_header_bytes', :'shield_fetch_body_bytes' => :'shield_fetch_body_bytes', :'shield_fetch_resp_header_bytes' => :'shield_fetch_resp_header_bytes', :'shield_fetch_resp_body_bytes' => :'shield_fetch_resp_body_bytes', :'shield_revalidations' => :'shield_revalidations', :'shield_cache_fetches' => :'shield_cache_fetches', :'ipv6' => :'ipv6', :'otfp' => :'otfp', :'otfp_resp_body_bytes' => :'otfp_resp_body_bytes', :'otfp_resp_header_bytes' => :'otfp_resp_header_bytes', :'otfp_shield_resp_body_bytes' => :'otfp_shield_resp_body_bytes', :'otfp_shield_resp_header_bytes' => :'otfp_shield_resp_header_bytes', :'otfp_manifests' => :'otfp_manifests', :'otfp_deliver_time' => :'otfp_deliver_time', :'otfp_shield_time' => :'otfp_shield_time', :'video' => :'video', :'pci' => :'pci', :'log' => :'log', :'log_bytes' => :'log_bytes', :'http2' => :'http2', :'http3' => :'http3', :'waf_logged' => :'waf_logged', :'waf_blocked' => :'waf_blocked', :'waf_passed' => :'waf_passed', :'attack_req_body_bytes' => :'attack_req_body_bytes', :'attack_req_header_bytes' => :'attack_req_header_bytes', :'attack_logged_req_body_bytes' => :'attack_logged_req_body_bytes', :'attack_logged_req_header_bytes' => :'attack_logged_req_header_bytes', :'attack_blocked_req_body_bytes' => :'attack_blocked_req_body_bytes', :'attack_blocked_req_header_bytes' => :'attack_blocked_req_header_bytes', :'attack_passed_req_body_bytes' => :'attack_passed_req_body_bytes', :'attack_passed_req_header_bytes' => :'attack_passed_req_header_bytes', :'attack_resp_synth_bytes' => :'attack_resp_synth_bytes', :'imgopto' => :'imgopto', :'imgopto_resp_body_bytes' => :'imgopto_resp_body_bytes', :'imgopto_resp_header_bytes' => :'imgopto_resp_header_bytes', :'imgopto_shield' => :'imgopto_shield', :'imgopto_shield_resp_body_bytes' => :'imgopto_shield_resp_body_bytes', :'imgopto_shield_resp_header_bytes' => :'imgopto_shield_resp_header_bytes', :'imgopto_transforms' => :'imgopto_transforms', :'imgvideo' => :'imgvideo', :'imgvideo_frames' => :'imgvideo_frames', :'imgvideo_resp_header_bytes' => :'imgvideo_resp_header_bytes', :'imgvideo_resp_body_bytes' => :'imgvideo_resp_body_bytes', :'imgvideo_shield_resp_header_bytes' => :'imgvideo_shield_resp_header_bytes', :'imgvideo_shield_resp_body_bytes' => :'imgvideo_shield_resp_body_bytes', :'imgvideo_shield' => :'imgvideo_shield', :'imgvideo_shield_frames' => :'imgvideo_shield_frames', :'status_200' => :'status_200', :'status_204' => :'status_204', :'status_206' => :'status_206', :'status_301' => :'status_301', :'status_302' => :'status_302', :'status_304' => :'status_304', :'status_400' => :'status_400', :'status_401' => :'status_401', :'status_403' => :'status_403', :'status_404' => :'status_404', :'status_406' => :'status_406', :'status_416' => :'status_416', :'status_429' => :'status_429', :'status_500' => :'status_500', :'status_501' => :'status_501', :'status_502' => :'status_502', :'status_503' => :'status_503', :'status_504' => :'status_504', :'status_505' => :'status_505', :'status_1xx' => :'status_1xx', :'status_2xx' => :'status_2xx', :'status_3xx' => :'status_3xx', :'status_4xx' => :'status_4xx', :'status_5xx' => :'status_5xx', :'object_size_1k' => :'object_size_1k', :'object_size_10k' => :'object_size_10k', :'object_size_100k' => :'object_size_100k', :'object_size_1m' => :'object_size_1m', :'object_size_10m' => :'object_size_10m', :'object_size_100m' => :'object_size_100m', :'object_size_1g' => :'object_size_1g', :'recv_sub_time' => :'recv_sub_time', :'recv_sub_count' => :'recv_sub_count', :'hash_sub_time' => :'hash_sub_time', :'hash_sub_count' => :'hash_sub_count', :'miss_sub_time' => :'miss_sub_time', :'miss_sub_count' => :'miss_sub_count', :'fetch_sub_time' => :'fetch_sub_time', :'fetch_sub_count' => :'fetch_sub_count', :'pass_sub_time' => :'pass_sub_time', :'pass_sub_count' => :'pass_sub_count', :'pipe_sub_time' => :'pipe_sub_time', :'pipe_sub_count' => :'pipe_sub_count', :'deliver_sub_time' => :'deliver_sub_time', :'deliver_sub_count' => :'deliver_sub_count', :'error_sub_time' => :'error_sub_time', :'error_sub_count' => :'error_sub_count', :'hit_sub_time' => :'hit_sub_time', :'hit_sub_count' => :'hit_sub_count', :'prehash_sub_time' => :'prehash_sub_time', :'prehash_sub_count' => :'prehash_sub_count', :'predeliver_sub_time' => :'predeliver_sub_time', :'predeliver_sub_count' => :'predeliver_sub_count', :'tls_handshake_sent_bytes' => :'tls_handshake_sent_bytes', :'hit_resp_body_bytes' => :'hit_resp_body_bytes', :'miss_resp_body_bytes' => :'miss_resp_body_bytes', :'pass_resp_body_bytes' => :'pass_resp_body_bytes', :'segblock_origin_fetches' => :'segblock_origin_fetches', :'segblock_shield_fetches' => :'segblock_shield_fetches', :'compute_requests' => :'compute_requests', :'compute_request_time_ms' => :'compute_request_time_ms', :'compute_request_time_billed_ms' => :'compute_request_time_billed_ms', :'compute_ram_used' => :'compute_ram_used', :'compute_execution_time_ms' => :'compute_execution_time_ms', :'compute_req_header_bytes' => :'compute_req_header_bytes', :'compute_req_body_bytes' => :'compute_req_body_bytes', :'compute_resp_header_bytes' => :'compute_resp_header_bytes', :'compute_resp_body_bytes' => :'compute_resp_body_bytes', :'compute_resp_status_1xx' => :'compute_resp_status_1xx', :'compute_resp_status_2xx' => :'compute_resp_status_2xx', :'compute_resp_status_3xx' => :'compute_resp_status_3xx', :'compute_resp_status_4xx' => :'compute_resp_status_4xx', :'compute_resp_status_5xx' => :'compute_resp_status_5xx', :'compute_bereq_header_bytes' => :'compute_bereq_header_bytes', :'compute_bereq_body_bytes' => :'compute_bereq_body_bytes', :'compute_beresp_header_bytes' => :'compute_beresp_header_bytes', :'compute_beresp_body_bytes' => :'compute_beresp_body_bytes', :'compute_bereqs' => :'compute_bereqs', :'compute_bereq_errors' => :'compute_bereq_errors', :'compute_resource_limit_exceeded' => :'compute_resource_limit_exceeded', :'compute_heap_limit_exceeded' => :'compute_heap_limit_exceeded', :'compute_stack_limit_exceeded' => :'compute_stack_limit_exceeded', :'compute_globals_limit_exceeded' => :'compute_globals_limit_exceeded', :'compute_guest_errors' => :'compute_guest_errors', :'compute_runtime_errors' => :'compute_runtime_errors', :'edge_hit_resp_body_bytes' => :'edge_hit_resp_body_bytes', :'edge_hit_resp_header_bytes' => :'edge_hit_resp_header_bytes', :'edge_miss_resp_body_bytes' => :'edge_miss_resp_body_bytes', :'edge_miss_resp_header_bytes' => :'edge_miss_resp_header_bytes', :'origin_cache_fetch_resp_body_bytes' => :'origin_cache_fetch_resp_body_bytes', :'origin_cache_fetch_resp_header_bytes' => :'origin_cache_fetch_resp_header_bytes', :'shield_hit_requests' => :'shield_hit_requests', :'shield_miss_requests' => :'shield_miss_requests', :'shield_hit_resp_header_bytes' => :'shield_hit_resp_header_bytes', :'shield_hit_resp_body_bytes' => :'shield_hit_resp_body_bytes', :'shield_miss_resp_header_bytes' => :'shield_miss_resp_header_bytes', :'shield_miss_resp_body_bytes' => :'shield_miss_resp_body_bytes', :'websocket_req_header_bytes' => :'websocket_req_header_bytes', :'websocket_req_body_bytes' => :'websocket_req_body_bytes', :'websocket_resp_header_bytes' => :'websocket_resp_header_bytes', :'websocket_resp_body_bytes' => :'websocket_resp_body_bytes', :'websocket_bereq_header_bytes' => :'websocket_bereq_header_bytes', :'websocket_bereq_body_bytes' => :'websocket_bereq_body_bytes', :'websocket_beresp_header_bytes' => :'websocket_beresp_header_bytes', :'websocket_beresp_body_bytes' => :'websocket_beresp_body_bytes', :'websocket_conn_time_ms' => :'websocket_conn_time_ms', :'fanout_recv_publishes' => :'fanout_recv_publishes', :'fanout_send_publishes' => :'fanout_send_publishes', :'kv_store_class_a_operations' => :'kv_store_class_a_operations', :'kv_store_class_b_operations' => :'kv_store_class_b_operations', :'object_store_class_a_operations' => :'object_store_class_a_operations', :'object_store_class_b_operations' => :'object_store_class_b_operations', :'fanout_req_header_bytes' => :'fanout_req_header_bytes', :'fanout_req_body_bytes' => :'fanout_req_body_bytes', :'fanout_resp_header_bytes' => :'fanout_resp_header_bytes', :'fanout_resp_body_bytes' => :'fanout_resp_body_bytes', :'fanout_bereq_header_bytes' => :'fanout_bereq_header_bytes', :'fanout_bereq_body_bytes' => :'fanout_bereq_body_bytes', :'fanout_beresp_header_bytes' => :'fanout_beresp_header_bytes', :'fanout_beresp_body_bytes' => :'fanout_beresp_body_bytes', :'fanout_conn_time_ms' => :'fanout_conn_time_ms', :'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', :'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_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', :'origin_offload' => :'origin_offload', :'request_denied_get_head_body' => :'request_denied_get_head_body', :'service_id' => :'service_id', :'start_time' => :'start_time' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
2611 2612 2613 |
# File 'lib/fastly/models/results.rb', line 2611 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.fastly_nullable ⇒ Object
List of attributes with nullable: true
1294 1295 1296 1297 1298 |
# File 'lib/fastly/models/results.rb', line 1294 def self.fastly_nullable Set.new([ :'hit_ratio', ]) end |
.fastly_types ⇒ Object
Attribute type mapping.
1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 |
# File 'lib/fastly/models/results.rb', line 1036 def self.fastly_types { :'requests' => :'Integer', :'hits' => :'Integer', :'hits_time' => :'Float', :'miss' => :'Integer', :'miss_time' => :'Float', :'pass' => :'Integer', :'pass_time' => :'Float', :'errors' => :'Integer', :'restarts' => :'Integer', :'hit_ratio' => :'Float', :'bandwidth' => :'Integer', :'body_size' => :'Integer', :'header_size' => :'Integer', :'req_body_bytes' => :'Integer', :'req_header_bytes' => :'Integer', :'resp_body_bytes' => :'Integer', :'resp_header_bytes' => :'Integer', :'bereq_body_bytes' => :'Integer', :'bereq_header_bytes' => :'Integer', :'uncacheable' => :'Integer', :'pipe' => :'Integer', :'synth' => :'Integer', :'tls' => :'Integer', :'tls_v10' => :'Integer', :'tls_v11' => :'Integer', :'tls_v12' => :'Integer', :'tls_v13' => :'Integer', :'edge_requests' => :'Integer', :'edge_resp_header_bytes' => :'Integer', :'edge_resp_body_bytes' => :'Integer', :'edge_hit_requests' => :'Integer', :'edge_miss_requests' => :'Integer', :'origin_fetches' => :'Integer', :'origin_fetch_header_bytes' => :'Integer', :'origin_fetch_body_bytes' => :'Integer', :'origin_fetch_resp_header_bytes' => :'Integer', :'origin_fetch_resp_body_bytes' => :'Integer', :'origin_revalidations' => :'Integer', :'origin_cache_fetches' => :'Integer', :'shield' => :'Integer', :'shield_resp_body_bytes' => :'Integer', :'shield_resp_header_bytes' => :'Integer', :'shield_fetches' => :'Integer', :'shield_fetch_header_bytes' => :'Integer', :'shield_fetch_body_bytes' => :'Integer', :'shield_fetch_resp_header_bytes' => :'Integer', :'shield_fetch_resp_body_bytes' => :'Integer', :'shield_revalidations' => :'Integer', :'shield_cache_fetches' => :'Integer', :'ipv6' => :'Integer', :'otfp' => :'Integer', :'otfp_resp_body_bytes' => :'Integer', :'otfp_resp_header_bytes' => :'Integer', :'otfp_shield_resp_body_bytes' => :'Integer', :'otfp_shield_resp_header_bytes' => :'Integer', :'otfp_manifests' => :'Integer', :'otfp_deliver_time' => :'Float', :'otfp_shield_time' => :'Float', :'video' => :'Integer', :'pci' => :'Integer', :'log' => :'Integer', :'log_bytes' => :'Integer', :'http2' => :'Integer', :'http3' => :'Integer', :'waf_logged' => :'Integer', :'waf_blocked' => :'Integer', :'waf_passed' => :'Integer', :'attack_req_body_bytes' => :'Integer', :'attack_req_header_bytes' => :'Integer', :'attack_logged_req_body_bytes' => :'Integer', :'attack_logged_req_header_bytes' => :'Integer', :'attack_blocked_req_body_bytes' => :'Integer', :'attack_blocked_req_header_bytes' => :'Integer', :'attack_passed_req_body_bytes' => :'Integer', :'attack_passed_req_header_bytes' => :'Integer', :'attack_resp_synth_bytes' => :'Integer', :'imgopto' => :'Integer', :'imgopto_resp_body_bytes' => :'Integer', :'imgopto_resp_header_bytes' => :'Integer', :'imgopto_shield' => :'Integer', :'imgopto_shield_resp_body_bytes' => :'Integer', :'imgopto_shield_resp_header_bytes' => :'Integer', :'imgopto_transforms' => :'Integer', :'imgvideo' => :'Integer', :'imgvideo_frames' => :'Integer', :'imgvideo_resp_header_bytes' => :'Integer', :'imgvideo_resp_body_bytes' => :'Integer', :'imgvideo_shield_resp_header_bytes' => :'Integer', :'imgvideo_shield_resp_body_bytes' => :'Integer', :'imgvideo_shield' => :'Integer', :'imgvideo_shield_frames' => :'Integer', :'status_200' => :'Integer', :'status_204' => :'Integer', :'status_206' => :'Integer', :'status_301' => :'Integer', :'status_302' => :'Integer', :'status_304' => :'Integer', :'status_400' => :'Integer', :'status_401' => :'Integer', :'status_403' => :'Integer', :'status_404' => :'Integer', :'status_406' => :'Integer', :'status_416' => :'Integer', :'status_429' => :'Integer', :'status_500' => :'Integer', :'status_501' => :'Integer', :'status_502' => :'Integer', :'status_503' => :'Integer', :'status_504' => :'Integer', :'status_505' => :'Integer', :'status_1xx' => :'Integer', :'status_2xx' => :'Integer', :'status_3xx' => :'Integer', :'status_4xx' => :'Integer', :'status_5xx' => :'Integer', :'object_size_1k' => :'Integer', :'object_size_10k' => :'Integer', :'object_size_100k' => :'Integer', :'object_size_1m' => :'Integer', :'object_size_10m' => :'Integer', :'object_size_100m' => :'Integer', :'object_size_1g' => :'Integer', :'recv_sub_time' => :'Float', :'recv_sub_count' => :'Integer', :'hash_sub_time' => :'Float', :'hash_sub_count' => :'Integer', :'miss_sub_time' => :'Float', :'miss_sub_count' => :'Integer', :'fetch_sub_time' => :'Float', :'fetch_sub_count' => :'Integer', :'pass_sub_time' => :'Float', :'pass_sub_count' => :'Integer', :'pipe_sub_time' => :'Float', :'pipe_sub_count' => :'Integer', :'deliver_sub_time' => :'Float', :'deliver_sub_count' => :'Integer', :'error_sub_time' => :'Float', :'error_sub_count' => :'Integer', :'hit_sub_time' => :'Float', :'hit_sub_count' => :'Integer', :'prehash_sub_time' => :'Float', :'prehash_sub_count' => :'Integer', :'predeliver_sub_time' => :'Float', :'predeliver_sub_count' => :'Integer', :'tls_handshake_sent_bytes' => :'Integer', :'hit_resp_body_bytes' => :'Integer', :'miss_resp_body_bytes' => :'Integer', :'pass_resp_body_bytes' => :'Integer', :'segblock_origin_fetches' => :'Integer', :'segblock_shield_fetches' => :'Integer', :'compute_requests' => :'Integer', :'compute_request_time_ms' => :'Float', :'compute_request_time_billed_ms' => :'Float', :'compute_ram_used' => :'Integer', :'compute_execution_time_ms' => :'Float', :'compute_req_header_bytes' => :'Integer', :'compute_req_body_bytes' => :'Integer', :'compute_resp_header_bytes' => :'Integer', :'compute_resp_body_bytes' => :'Integer', :'compute_resp_status_1xx' => :'Integer', :'compute_resp_status_2xx' => :'Integer', :'compute_resp_status_3xx' => :'Integer', :'compute_resp_status_4xx' => :'Integer', :'compute_resp_status_5xx' => :'Integer', :'compute_bereq_header_bytes' => :'Integer', :'compute_bereq_body_bytes' => :'Integer', :'compute_beresp_header_bytes' => :'Integer', :'compute_beresp_body_bytes' => :'Integer', :'compute_bereqs' => :'Integer', :'compute_bereq_errors' => :'Integer', :'compute_resource_limit_exceeded' => :'Integer', :'compute_heap_limit_exceeded' => :'Integer', :'compute_stack_limit_exceeded' => :'Integer', :'compute_globals_limit_exceeded' => :'Integer', :'compute_guest_errors' => :'Integer', :'compute_runtime_errors' => :'Integer', :'edge_hit_resp_body_bytes' => :'Integer', :'edge_hit_resp_header_bytes' => :'Integer', :'edge_miss_resp_body_bytes' => :'Integer', :'edge_miss_resp_header_bytes' => :'Integer', :'origin_cache_fetch_resp_body_bytes' => :'Integer', :'origin_cache_fetch_resp_header_bytes' => :'Integer', :'shield_hit_requests' => :'Integer', :'shield_miss_requests' => :'Integer', :'shield_hit_resp_header_bytes' => :'Integer', :'shield_hit_resp_body_bytes' => :'Integer', :'shield_miss_resp_header_bytes' => :'Integer', :'shield_miss_resp_body_bytes' => :'Integer', :'websocket_req_header_bytes' => :'Integer', :'websocket_req_body_bytes' => :'Integer', :'websocket_resp_header_bytes' => :'Integer', :'websocket_resp_body_bytes' => :'Integer', :'websocket_bereq_header_bytes' => :'Integer', :'websocket_bereq_body_bytes' => :'Integer', :'websocket_beresp_header_bytes' => :'Integer', :'websocket_beresp_body_bytes' => :'Integer', :'websocket_conn_time_ms' => :'Integer', :'fanout_recv_publishes' => :'Integer', :'fanout_send_publishes' => :'Integer', :'kv_store_class_a_operations' => :'Integer', :'kv_store_class_b_operations' => :'Integer', :'object_store_class_a_operations' => :'Integer', :'object_store_class_b_operations' => :'Integer', :'fanout_req_header_bytes' => :'Integer', :'fanout_req_body_bytes' => :'Integer', :'fanout_resp_header_bytes' => :'Integer', :'fanout_resp_body_bytes' => :'Integer', :'fanout_bereq_header_bytes' => :'Integer', :'fanout_bereq_body_bytes' => :'Integer', :'fanout_beresp_header_bytes' => :'Integer', :'fanout_beresp_body_bytes' => :'Integer', :'fanout_conn_time_ms' => :'Integer', :'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', :'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_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', :'origin_offload' => :'Float', :'request_denied_get_head_body' => :'Integer', :'service_id' => :'String', :'start_time' => :'Integer' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 |
# File 'lib/fastly/models/results.rb', line 2339 def ==(o) return true if self.equal?(o) self.class == o.class && requests == o.requests && hits == o.hits && hits_time == o.hits_time && miss == o.miss && miss_time == o.miss_time && pass == o.pass && pass_time == o.pass_time && errors == o.errors && restarts == o.restarts && hit_ratio == o.hit_ratio && bandwidth == o.bandwidth && body_size == o.body_size && header_size == o.header_size && req_body_bytes == o.req_body_bytes && req_header_bytes == o.req_header_bytes && resp_body_bytes == o.resp_body_bytes && resp_header_bytes == o.resp_header_bytes && bereq_body_bytes == o.bereq_body_bytes && bereq_header_bytes == o.bereq_header_bytes && uncacheable == o.uncacheable && pipe == o.pipe && synth == o.synth && tls == o.tls && tls_v10 == o.tls_v10 && tls_v11 == o.tls_v11 && tls_v12 == o.tls_v12 && tls_v13 == o.tls_v13 && edge_requests == o.edge_requests && edge_resp_header_bytes == o.edge_resp_header_bytes && edge_resp_body_bytes == o.edge_resp_body_bytes && edge_hit_requests == o.edge_hit_requests && edge_miss_requests == o.edge_miss_requests && origin_fetches == o.origin_fetches && origin_fetch_header_bytes == o.origin_fetch_header_bytes && origin_fetch_body_bytes == o.origin_fetch_body_bytes && origin_fetch_resp_header_bytes == o.origin_fetch_resp_header_bytes && origin_fetch_resp_body_bytes == o.origin_fetch_resp_body_bytes && origin_revalidations == o.origin_revalidations && origin_cache_fetches == o.origin_cache_fetches && shield == o.shield && shield_resp_body_bytes == o.shield_resp_body_bytes && shield_resp_header_bytes == o.shield_resp_header_bytes && shield_fetches == o.shield_fetches && shield_fetch_header_bytes == o.shield_fetch_header_bytes && shield_fetch_body_bytes == o.shield_fetch_body_bytes && shield_fetch_resp_header_bytes == o.shield_fetch_resp_header_bytes && shield_fetch_resp_body_bytes == o.shield_fetch_resp_body_bytes && shield_revalidations == o.shield_revalidations && shield_cache_fetches == o.shield_cache_fetches && ipv6 == o.ipv6 && otfp == o.otfp && otfp_resp_body_bytes == o.otfp_resp_body_bytes && otfp_resp_header_bytes == o.otfp_resp_header_bytes && otfp_shield_resp_body_bytes == o.otfp_shield_resp_body_bytes && otfp_shield_resp_header_bytes == o.otfp_shield_resp_header_bytes && otfp_manifests == o.otfp_manifests && otfp_deliver_time == o.otfp_deliver_time && otfp_shield_time == o.otfp_shield_time && video == o.video && pci == o.pci && log == o.log && log_bytes == o.log_bytes && http2 == o.http2 && http3 == o.http3 && waf_logged == o.waf_logged && waf_blocked == o.waf_blocked && waf_passed == o.waf_passed && attack_req_body_bytes == o.attack_req_body_bytes && attack_req_header_bytes == o.attack_req_header_bytes && attack_logged_req_body_bytes == o.attack_logged_req_body_bytes && attack_logged_req_header_bytes == o.attack_logged_req_header_bytes && attack_blocked_req_body_bytes == o.attack_blocked_req_body_bytes && attack_blocked_req_header_bytes == o.attack_blocked_req_header_bytes && attack_passed_req_body_bytes == o.attack_passed_req_body_bytes && attack_passed_req_header_bytes == o.attack_passed_req_header_bytes && attack_resp_synth_bytes == o.attack_resp_synth_bytes && imgopto == o.imgopto && imgopto_resp_body_bytes == o.imgopto_resp_body_bytes && imgopto_resp_header_bytes == o.imgopto_resp_header_bytes && imgopto_shield == o.imgopto_shield && imgopto_shield_resp_body_bytes == o.imgopto_shield_resp_body_bytes && imgopto_shield_resp_header_bytes == o.imgopto_shield_resp_header_bytes && imgopto_transforms == o.imgopto_transforms && imgvideo == o.imgvideo && imgvideo_frames == o.imgvideo_frames && imgvideo_resp_header_bytes == o.imgvideo_resp_header_bytes && imgvideo_resp_body_bytes == o.imgvideo_resp_body_bytes && imgvideo_shield_resp_header_bytes == o.imgvideo_shield_resp_header_bytes && imgvideo_shield_resp_body_bytes == o.imgvideo_shield_resp_body_bytes && imgvideo_shield == o.imgvideo_shield && imgvideo_shield_frames == o.imgvideo_shield_frames && status_200 == o.status_200 && status_204 == o.status_204 && status_206 == o.status_206 && status_301 == o.status_301 && status_302 == o.status_302 && status_304 == o.status_304 && status_400 == o.status_400 && status_401 == o.status_401 && status_403 == o.status_403 && status_404 == o.status_404 && status_406 == o.status_406 && status_416 == o.status_416 && status_429 == o.status_429 && status_500 == o.status_500 && status_501 == o.status_501 && status_502 == o.status_502 && status_503 == o.status_503 && status_504 == o.status_504 && status_505 == o.status_505 && status_1xx == o.status_1xx && status_2xx == o.status_2xx && status_3xx == o.status_3xx && status_4xx == o.status_4xx && status_5xx == o.status_5xx && object_size_1k == o.object_size_1k && object_size_10k == o.object_size_10k && object_size_100k == o.object_size_100k && object_size_1m == o.object_size_1m && object_size_10m == o.object_size_10m && object_size_100m == o.object_size_100m && object_size_1g == o.object_size_1g && recv_sub_time == o.recv_sub_time && recv_sub_count == o.recv_sub_count && hash_sub_time == o.hash_sub_time && hash_sub_count == o.hash_sub_count && miss_sub_time == o.miss_sub_time && miss_sub_count == o.miss_sub_count && fetch_sub_time == o.fetch_sub_time && fetch_sub_count == o.fetch_sub_count && pass_sub_time == o.pass_sub_time && pass_sub_count == o.pass_sub_count && pipe_sub_time == o.pipe_sub_time && pipe_sub_count == o.pipe_sub_count && deliver_sub_time == o.deliver_sub_time && deliver_sub_count == o.deliver_sub_count && error_sub_time == o.error_sub_time && error_sub_count == o.error_sub_count && hit_sub_time == o.hit_sub_time && hit_sub_count == o.hit_sub_count && prehash_sub_time == o.prehash_sub_time && prehash_sub_count == o.prehash_sub_count && predeliver_sub_time == o.predeliver_sub_time && predeliver_sub_count == o.predeliver_sub_count && tls_handshake_sent_bytes == o.tls_handshake_sent_bytes && hit_resp_body_bytes == o.hit_resp_body_bytes && miss_resp_body_bytes == o.miss_resp_body_bytes && pass_resp_body_bytes == o.pass_resp_body_bytes && segblock_origin_fetches == o.segblock_origin_fetches && segblock_shield_fetches == o.segblock_shield_fetches && compute_requests == o.compute_requests && compute_request_time_ms == o.compute_request_time_ms && compute_request_time_billed_ms == o.compute_request_time_billed_ms && compute_ram_used == o.compute_ram_used && compute_execution_time_ms == o.compute_execution_time_ms && compute_req_header_bytes == o.compute_req_header_bytes && compute_req_body_bytes == o.compute_req_body_bytes && compute_resp_header_bytes == o.compute_resp_header_bytes && compute_resp_body_bytes == o.compute_resp_body_bytes && compute_resp_status_1xx == o.compute_resp_status_1xx && compute_resp_status_2xx == o.compute_resp_status_2xx && compute_resp_status_3xx == o.compute_resp_status_3xx && compute_resp_status_4xx == o.compute_resp_status_4xx && compute_resp_status_5xx == o.compute_resp_status_5xx && compute_bereq_header_bytes == o.compute_bereq_header_bytes && compute_bereq_body_bytes == o.compute_bereq_body_bytes && compute_beresp_header_bytes == o.compute_beresp_header_bytes && compute_beresp_body_bytes == o.compute_beresp_body_bytes && compute_bereqs == o.compute_bereqs && compute_bereq_errors == o.compute_bereq_errors && compute_resource_limit_exceeded == o.compute_resource_limit_exceeded && compute_heap_limit_exceeded == o.compute_heap_limit_exceeded && compute_stack_limit_exceeded == o.compute_stack_limit_exceeded && compute_globals_limit_exceeded == o.compute_globals_limit_exceeded && compute_guest_errors == o.compute_guest_errors && compute_runtime_errors == o.compute_runtime_errors && edge_hit_resp_body_bytes == o.edge_hit_resp_body_bytes && edge_hit_resp_header_bytes == o.edge_hit_resp_header_bytes && edge_miss_resp_body_bytes == o.edge_miss_resp_body_bytes && edge_miss_resp_header_bytes == o.edge_miss_resp_header_bytes && origin_cache_fetch_resp_body_bytes == o.origin_cache_fetch_resp_body_bytes && origin_cache_fetch_resp_header_bytes == o.origin_cache_fetch_resp_header_bytes && shield_hit_requests == o.shield_hit_requests && shield_miss_requests == o.shield_miss_requests && shield_hit_resp_header_bytes == o.shield_hit_resp_header_bytes && shield_hit_resp_body_bytes == o.shield_hit_resp_body_bytes && shield_miss_resp_header_bytes == o.shield_miss_resp_header_bytes && shield_miss_resp_body_bytes == o.shield_miss_resp_body_bytes && websocket_req_header_bytes == o.websocket_req_header_bytes && websocket_req_body_bytes == o.websocket_req_body_bytes && websocket_resp_header_bytes == o.websocket_resp_header_bytes && websocket_resp_body_bytes == o.websocket_resp_body_bytes && websocket_bereq_header_bytes == o.websocket_bereq_header_bytes && websocket_bereq_body_bytes == o.websocket_bereq_body_bytes && websocket_beresp_header_bytes == o.websocket_beresp_header_bytes && websocket_beresp_body_bytes == o.websocket_beresp_body_bytes && websocket_conn_time_ms == o.websocket_conn_time_ms && fanout_recv_publishes == o.fanout_recv_publishes && fanout_send_publishes == o.fanout_send_publishes && kv_store_class_a_operations == o.kv_store_class_a_operations && kv_store_class_b_operations == o.kv_store_class_b_operations && object_store_class_a_operations == o.object_store_class_a_operations && object_store_class_b_operations == o.object_store_class_b_operations && fanout_req_header_bytes == o.fanout_req_header_bytes && fanout_req_body_bytes == o.fanout_req_body_bytes && fanout_resp_header_bytes == o.fanout_resp_header_bytes && fanout_resp_body_bytes == o.fanout_resp_body_bytes && fanout_bereq_header_bytes == o.fanout_bereq_header_bytes && fanout_bereq_body_bytes == o.fanout_bereq_body_bytes && fanout_beresp_header_bytes == o.fanout_beresp_header_bytes && fanout_beresp_body_bytes == o.fanout_beresp_body_bytes && fanout_conn_time_ms == o.fanout_conn_time_ms && 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 && 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_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 && origin_offload == o.origin_offload && request_denied_get_head_body == o.request_denied_get_head_body && service_id == o.service_id && start_time == o.start_time end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 |
# File 'lib/fastly/models/results.rb', line 2641 def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = Fastly.const_get(type) klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 |
# File 'lib/fastly/models/results.rb', line 2712 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 |
# File 'lib/fastly/models/results.rb', line 2618 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.fastly_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end |
#eql?(o) ⇒ Boolean
2598 2599 2600 |
# File 'lib/fastly/models/results.rb', line 2598 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
2604 2605 2606 |
# File 'lib/fastly/models/results.rb', line 2604 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, 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, origin_offload, request_denied_get_head_body, service_id, start_time].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
2326 2327 2328 2329 |
# File 'lib/fastly/models/results.rb', line 2326 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
2688 2689 2690 |
# File 'lib/fastly/models/results.rb', line 2688 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/fastly/models/results.rb', line 2694 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.fastly_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
2682 2683 2684 |
# File 'lib/fastly/models/results.rb', line 2682 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
2333 2334 2335 |
# File 'lib/fastly/models/results.rb', line 2333 def valid? true end |