lib/fastly/models/realtime_measurements.rb in fastly-4.0.0.alpha4 vs lib/fastly/models/realtime_measurements.rb in fastly-4.0.0

- old
+ new

@@ -237,10 +237,13 @@ attr_accessor :status_403 # Number of responses sent with status code 404 (Not Found). attr_accessor :status_404 + # Number of responses sent with status code 406 (Not Acceptable). + attr_accessor :status_406 + # Number of responses sent with status code 416 (Range Not Satisfiable). attr_accessor :status_416 # Number of responses sent with status code 429 (Too Many Requests). attr_accessor :status_429 @@ -570,10 +573,76 @@ attr_accessor :shield_miss_resp_header_bytes # Body bytes delivered for shield misses. attr_accessor :shield_miss_resp_body_bytes + # Total header bytes received from end users over passthrough WebSocket connections. + attr_accessor :websocket_req_header_bytes + + # Total message content bytes received from end users over passthrough WebSocket connections. + attr_accessor :websocket_req_body_bytes + + # Total header bytes sent to end users over passthrough WebSocket connections. + attr_accessor :websocket_resp_header_bytes + + # Total header bytes sent to backends over passthrough WebSocket connections. + attr_accessor :websocket_bereq_header_bytes + + # Total message content bytes sent to backends over passthrough WebSocket connections. + attr_accessor :websocket_bereq_body_bytes + + # Total header bytes received from backends over passthrough WebSocket connections. + attr_accessor :websocket_beresp_header_bytes + + # Total message content bytes received from backends over passthrough WebSocket connections. + attr_accessor :websocket_beresp_body_bytes + + # Total duration of passthrough WebSocket connections with end users. + attr_accessor :websocket_conn_time_ms + + # Total message content bytes sent to end users over passthrough WebSocket connections. + attr_accessor :websocket_resp_body_bytes + + # Total published messages received from the publish API endpoint. + attr_accessor :fanout_recv_publishes + + # Total published messages sent to end users. + attr_accessor :fanout_send_publishes + + # The total number of reads received for the object store. + attr_accessor :object_store_read_requests + + # The total number of writes received for the object store. + 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 + + # Total header bytes sent to end users over Fanout connections. + attr_accessor :fanout_resp_header_bytes + + # Total body or message content bytes sent to end users over Fanout connections, excluding published message content. + attr_accessor :fanout_resp_body_bytes + + # Total header bytes sent to backends over Fanout connections. + attr_accessor :fanout_bereq_header_bytes + + # Total body or message content bytes sent to backends over Fanout connections. + attr_accessor :fanout_bereq_body_bytes + + # Total header bytes received from backends over Fanout connections. + attr_accessor :fanout_beresp_header_bytes + + # Total body or message content bytes received from backends over Fanout connections. + attr_accessor :fanout_beresp_body_bytes + + # Total duration of Fanout connections with end users. + attr_accessor :fanout_conn_time_ms + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'requests' => :'requests', :'logging' => :'logging', @@ -648,10 +717,11 @@ :'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', @@ -758,11 +828,33 @@ :'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' + :'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_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', + :'websocket_resp_body_bytes' => :'websocket_resp_body_bytes', + :'fanout_recv_publishes' => :'fanout_recv_publishes', + :'fanout_send_publishes' => :'fanout_send_publishes', + :'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', + :'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' } end # Returns all the JSON keys this model knows about def self.acceptable_attributes @@ -845,10 +937,11 @@ :'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', @@ -955,11 +1048,33 @@ :'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' + :'shield_miss_resp_body_bytes' => :'Integer', + :'websocket_req_header_bytes' => :'Integer', + :'websocket_req_body_bytes' => :'Integer', + :'websocket_resp_header_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', + :'websocket_resp_body_bytes' => :'Integer', + :'fanout_recv_publishes' => :'Integer', + :'fanout_send_publishes' => :'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', + :'fanout_bereq_body_bytes' => :'Integer', + :'fanout_beresp_header_bytes' => :'Integer', + :'fanout_beresp_body_bytes' => :'Integer', + :'fanout_conn_time_ms' => :'Integer' } end # List of attributes with nullable: true def self.fastly_nullable @@ -1280,10 +1395,14 @@ 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') @@ -1723,10 +1842,98 @@ 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_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?(:'websocket_resp_body_bytes') + self.websocket_resp_body_bytes = attributes[:'websocket_resp_body_bytes'] + 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?(:'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') + 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 end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properties with the reasons def list_invalid_properties @@ -1818,10 +2025,11 @@ 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 && @@ -1928,11 +2136,33 @@ 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 + 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_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 && + websocket_resp_body_bytes == o.websocket_resp_body_bytes && + fanout_recv_publishes == o.fanout_recv_publishes && + fanout_send_publishes == o.fanout_send_publishes && + 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 && + 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 end # @see the `==` method # @param [Object] Object to be compared def eql?(o) @@ -1940,10 +2170,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes].hash + [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, 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].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself