lib/fastly/models/results.rb in fastly-5.1.1 vs lib/fastly/models/results.rb in fastly-5.2.0

- old
+ new

@@ -462,10 +462,13 @@ attr_accessor :compute_requests # The total, actual amount of time used to process your requests, including active CPU time (in milliseconds). attr_accessor :compute_request_time_ms + # The total amount of request processing time you will be billed for, measured in 50 millisecond increments. + attr_accessor :compute_request_time_billed_ms + # The amount of RAM used for your service by Fastly (in bytes). attr_accessor :compute_ram_used # The amount of active CPU time used to process your requests (in milliseconds). attr_accessor :compute_execution_time_ms @@ -600,22 +603,22 @@ attr_accessor :fanout_recv_publishes # Total published messages sent to end users. attr_accessor :fanout_send_publishes - # The total number of class a operations for the object store. + # The total number of class a operations for the KV store. + attr_accessor :kv_store_class_a_operations + + # The total number of class b operations for the KV store. + attr_accessor :kv_store_class_b_operations + + # Use kv_store_class_a_operations. attr_accessor :object_store_class_a_operations - # The total number of class b operations for the object store. + # Use kv_store_class_b_operations. attr_accessor :object_store_class_b_operations - # Use object_store_class_b_operations. - attr_accessor :object_store_read_requests - - # Use object_store_class_a_operations. - attr_accessor :object_store_write_requests - # Total header bytes received from end users over Fanout connections. attr_accessor :fanout_req_header_bytes # Total body or message content bytes received from end users over Fanout connections. attr_accessor :fanout_req_body_bytes @@ -810,10 +813,11 @@ :'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', @@ -856,14 +860,14 @@ :'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', - :'object_store_read_requests' => :'object_store_read_requests', - :'object_store_write_requests' => :'object_store_write_requests', :'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', @@ -1036,10 +1040,11 @@ :'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', @@ -1082,14 +1087,14 @@ :'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', - :'object_store_read_requests' => :'Integer', - :'object_store_write_requests' => :'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', @@ -1726,10 +1731,14 @@ 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') @@ -1910,26 +1919,26 @@ 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?(:'object_store_read_requests') - self.object_store_read_requests = attributes[:'object_store_read_requests'] - end - - if attributes.key?(:'object_store_write_requests') - self.object_store_write_requests = attributes[:'object_store_write_requests'] - 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') @@ -2155,10 +2164,11 @@ 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 && @@ -2201,14 +2211,14 @@ 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 && - object_store_read_requests == o.object_store_read_requests && - object_store_write_requests == o.object_store_write_requests && 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 && @@ -2231,10 +2241,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, 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_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, object_store_class_a_operations, object_store_class_b_operations, object_store_read_requests, object_store_write_requests, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole].hash + [requests, 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_resp_body_bytes, imgopto_shield_resp_header_bytes, 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].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself