fastly 7.2.2 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +1 -1
  5. data/docs/HistoricalApi.md +12 -12
  6. data/docs/{HistoricalAggregateResponse.md → HistoricalStatsAggregatedResponse.md} +1 -1
  7. data/docs/{HistoricalAggregateResponseAllOf.md → HistoricalStatsAggregatedResponseAllOf.md} +1 -1
  8. data/docs/{HistoricalResponse.md → HistoricalStatsByServiceResponse.md} +1 -1
  9. data/docs/{HistoricalResponseDataField.md → HistoricalStatsByServiceResponseAllOf.md} +1 -1
  10. data/docs/{HistoricalFieldResponse.md → HistoricalUsageAggregatedResponse.md} +2 -2
  11. data/docs/{HistoricalFieldResponseDataField.md → HistoricalUsageAggregatedResponseAllOf.md} +2 -2
  12. data/docs/{HistoricalUsageResults.md → HistoricalUsageData.md} +1 -1
  13. data/docs/HistoricalUsageMonthResponseData.md +2 -2
  14. data/docs/{HistoricalService.md → HistoricalUsageService.md} +1 -1
  15. data/docs/HistoricalUsageServiceResponse.md +1 -1
  16. data/docs/HistoricalUsageServiceResponseAllOf.md +1 -1
  17. data/docs/Results.md +2 -0
  18. data/lib/fastly/api/historical_api.rb +18 -18
  19. data/lib/fastly/models/{historical_aggregate_response.rb → historical_stats_aggregated_response.rb} +4 -4
  20. data/lib/fastly/models/{historical_aggregate_response_all_of.rb → historical_stats_aggregated_response_all_of.rb} +3 -3
  21. data/lib/fastly/models/{historical_response.rb → historical_stats_by_service_response.rb} +4 -4
  22. data/lib/fastly/models/{historical_response_data_field.rb → historical_stats_by_service_response_all_of.rb} +3 -3
  23. data/lib/fastly/models/{historical_field_response.rb → historical_usage_aggregated_response.rb} +6 -5
  24. data/lib/fastly/models/{historical_field_response_data_field.rb → historical_usage_aggregated_response_all_of.rb} +5 -4
  25. data/lib/fastly/models/{historical_usage_results.rb → historical_usage_data.rb} +4 -3
  26. data/lib/fastly/models/historical_usage_month_response_data.rb +7 -3
  27. data/lib/fastly/models/{historical_service.rb → historical_usage_service.rb} +3 -3
  28. data/lib/fastly/models/historical_usage_service_response.rb +5 -2
  29. data/lib/fastly/models/historical_usage_service_response_all_of.rb +5 -2
  30. data/lib/fastly/models/relationship_mutual_authentication.rb +1 -1
  31. data/lib/fastly/models/relationship_tls_domain.rb +1 -1
  32. data/lib/fastly/models/results.rb +24 -5
  33. data/lib/fastly/version.rb +1 -1
  34. data/lib/fastly.rb +8 -14
  35. data/sig.json +1 -1
  36. metadata +18 -30
  37. data/docs/HistoricalFieldAggregateResponse.md +0 -13
  38. data/docs/HistoricalFieldAggregateResponseAllOf.md +0 -10
  39. data/docs/HistoricalFieldResultsAttributes.md +0 -236
  40. data/docs/HistoricalFieldResultsAttributesAdditional.md +0 -11
  41. data/docs/HistoricalUsageAggregateResponse.md +0 -13
  42. data/docs/ReadOnlyIdService.md +0 -9
  43. data/lib/fastly/models/historical_field_aggregate_response.rb +0 -256
  44. data/lib/fastly/models/historical_field_aggregate_response_all_of.rb +0 -218
  45. data/lib/fastly/models/historical_field_results_attributes.rb +0 -2484
  46. data/lib/fastly/models/historical_field_results_attributes_additional.rb +0 -225
  47. data/lib/fastly/models/historical_usage_aggregate_response.rb +0 -254
  48. data/lib/fastly/models/read_only_id_service.rb +0 -207
@@ -1,236 +0,0 @@
1
- # Fastly::HistoricalFieldResultsAttributes
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **requests** | **Integer** | Number of requests processed. | [optional] |
8
- | **hits** | **Integer** | Number of cache hits. | [optional] |
9
- | **hits_time** | **Float** | Total amount of time spent processing cache hits (in seconds). | [optional] |
10
- | **miss** | **Integer** | Number of cache misses. | [optional] |
11
- | **miss_time** | **Float** | Total amount of time spent processing cache misses (in seconds). | [optional] |
12
- | **pass** | **Integer** | Number of requests that passed through the CDN without being cached. | [optional] |
13
- | **pass_time** | **Float** | Total amount of time spent processing cache passes (in seconds). | [optional] |
14
- | **errors** | **Integer** | Number of cache errors. | [optional] |
15
- | **restarts** | **Integer** | Number of restarts performed. | [optional] |
16
- | **hit_ratio** | **Float** | Ratio of cache hits to cache misses (between 0 and 1). | [optional] |
17
- | **bandwidth** | **Integer** | 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`). | [optional] |
18
- | **body_size** | **Integer** | Total body bytes delivered (alias for resp_body_bytes). | [optional] |
19
- | **header_size** | **Integer** | Total header bytes delivered (alias for resp_header_bytes). | [optional] |
20
- | **req_body_bytes** | **Integer** | Total body bytes received. | [optional] |
21
- | **req_header_bytes** | **Integer** | Total header bytes received. | [optional] |
22
- | **resp_body_bytes** | **Integer** | Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes). | [optional] |
23
- | **resp_header_bytes** | **Integer** | Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes). | [optional] |
24
- | **bereq_body_bytes** | **Integer** | Total body bytes sent to origin. | [optional] |
25
- | **bereq_header_bytes** | **Integer** | Total header bytes sent to origin. | [optional] |
26
- | **uncacheable** | **Integer** | Number of requests that were designated uncachable. | [optional] |
27
- | **pipe** | **Integer** | Optional. Pipe operations performed (legacy feature). | [optional] |
28
- | **synth** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement). | [optional] |
29
- | **tls** | **Integer** | Number of requests that were received over TLS. | [optional] |
30
- | **tls_v10** | **Integer** | Number of requests received over TLS 1.0. | [optional] |
31
- | **tls_v11** | **Integer** | Number of requests received over TLS 1.1. | [optional] |
32
- | **tls_v12** | **Integer** | Number of requests received over TLS 1.2. | [optional] |
33
- | **tls_v13** | **Integer** | Number of requests received over TLS 1.3. | [optional] |
34
- | **edge_requests** | **Integer** | Number of requests sent by end users to Fastly. | [optional] |
35
- | **edge_resp_header_bytes** | **Integer** | Total header bytes delivered from Fastly to the end user. | [optional] |
36
- | **edge_resp_body_bytes** | **Integer** | Total body bytes delivered from Fastly to the end user. | [optional] |
37
- | **edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge. | [optional] |
38
- | **edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge. | [optional] |
39
- | **origin_fetches** | **Integer** | Number of requests sent to origin. | [optional] |
40
- | **origin_fetch_header_bytes** | **Integer** | Total request header bytes sent to origin. | [optional] |
41
- | **origin_fetch_body_bytes** | **Integer** | Total request body bytes sent to origin. | [optional] |
42
- | **origin_fetch_resp_header_bytes** | **Integer** | Total header bytes received from origin. | [optional] |
43
- | **origin_fetch_resp_body_bytes** | **Integer** | Total body bytes received from origin. | [optional] |
44
- | **origin_revalidations** | **Integer** | 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. | [optional] |
45
- | **origin_cache_fetches** | **Integer** | The total number of completed requests made to backends (origins) that returned cacheable content. | [optional] |
46
- | **shield** | **Integer** | Number of requests from edge to the shield POP. | [optional] |
47
- | **shield_resp_body_bytes** | **Integer** | Total body bytes delivered via a shield. | [optional] |
48
- | **shield_resp_header_bytes** | **Integer** | Total header bytes delivered via a shield. | [optional] |
49
- | **shield_fetches** | **Integer** | Number of requests made from one Fastly POP to another, as part of shielding. | [optional] |
50
- | **shield_fetch_header_bytes** | **Integer** | Total request header bytes sent to a shield. | [optional] |
51
- | **shield_fetch_body_bytes** | **Integer** | Total request body bytes sent to a shield. | [optional] |
52
- | **shield_fetch_resp_header_bytes** | **Integer** | Total response header bytes sent from a shield to the edge. | [optional] |
53
- | **shield_fetch_resp_body_bytes** | **Integer** | Total response body bytes sent from a shield to the edge. | [optional] |
54
- | **shield_revalidations** | **Integer** | 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. | [optional] |
55
- | **shield_cache_fetches** | **Integer** | The total number of completed requests made to shields that returned cacheable content. | [optional] |
56
- | **ipv6** | **Integer** | Number of requests that were received over IPv6. | [optional] |
57
- | **otfp** | **Integer** | Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand. | [optional] |
58
- | **otfp_resp_body_bytes** | **Integer** | Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand. | [optional] |
59
- | **otfp_resp_header_bytes** | **Integer** | Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand. | [optional] |
60
- | **otfp_shield_resp_body_bytes** | **Integer** | Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand. | [optional] |
61
- | **otfp_shield_resp_header_bytes** | **Integer** | Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand. | [optional] |
62
- | **otfp_manifests** | **Integer** | Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand. | [optional] |
63
- | **otfp_deliver_time** | **Float** | Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds). | [optional] |
64
- | **otfp_shield_time** | **Float** | 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). | [optional] |
65
- | **video** | **Integer** | 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). | [optional] |
66
- | **pci** | **Integer** | Number of responses with the PCI flag turned on. | [optional] |
67
- | **log** | **Integer** | Number of log lines sent. | [optional] |
68
- | **log_bytes** | **Integer** | Total log bytes sent. | [optional] |
69
- | **http2** | **Integer** | Number of requests received over HTTP/2. | [optional] |
70
- | **http3** | **Integer** | Number of requests received over HTTP/3. | [optional] |
71
- | **waf_logged** | **Integer** | Number of requests that triggered a WAF rule and were logged. | [optional] |
72
- | **waf_blocked** | **Integer** | Number of requests that triggered a WAF rule and were blocked. | [optional] |
73
- | **waf_passed** | **Integer** | Number of requests that triggered a WAF rule and were passed. | [optional] |
74
- | **attack_req_body_bytes** | **Integer** | Total body bytes received from requests that triggered a WAF rule. | [optional] |
75
- | **attack_req_header_bytes** | **Integer** | Total header bytes received from requests that triggered a WAF rule. | [optional] |
76
- | **attack_logged_req_body_bytes** | **Integer** | Total body bytes received from requests that triggered a WAF rule that was logged. | [optional] |
77
- | **attack_logged_req_header_bytes** | **Integer** | Total header bytes received from requests that triggered a WAF rule that was logged. | [optional] |
78
- | **attack_blocked_req_body_bytes** | **Integer** | Total body bytes received from requests that triggered a WAF rule that was blocked. | [optional] |
79
- | **attack_blocked_req_header_bytes** | **Integer** | Total header bytes received from requests that triggered a WAF rule that was blocked. | [optional] |
80
- | **attack_passed_req_body_bytes** | **Integer** | Total body bytes received from requests that triggered a WAF rule that was passed. | [optional] |
81
- | **attack_passed_req_header_bytes** | **Integer** | Total header bytes received from requests that triggered a WAF rule that was passed. | [optional] |
82
- | **attack_resp_synth_bytes** | **Integer** | Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response. | [optional] |
83
- | **imgopto** | **Integer** | 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. | [optional] |
84
- | **imgopto_resp_body_bytes** | **Integer** | Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic. | [optional] |
85
- | **imgopto_resp_header_bytes** | **Integer** | Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic. | [optional] |
86
- | **imgopto_shield_resp_body_bytes** | **Integer** | Total body bytes delivered via a shield from the Fastly Image Optimizer service. | [optional] |
87
- | **imgopto_shield_resp_header_bytes** | **Integer** | Total header bytes delivered via a shield from the Fastly Image Optimizer service. | [optional] |
88
- | **imgvideo** | **Integer** | Number of video responses that came from the Fastly Image Optimizer service. | [optional] |
89
- | **imgvideo_frames** | **Integer** | Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video. | [optional] |
90
- | **imgvideo_resp_header_bytes** | **Integer** | Total header bytes of video delivered from the Fastly Image Optimizer service. | [optional] |
91
- | **imgvideo_resp_body_bytes** | **Integer** | Total body bytes of video delivered from the Fastly Image Optimizer service. | [optional] |
92
- | **imgvideo_shield_resp_header_bytes** | **Integer** | Total header bytes of video delivered via a shield from the Fastly Image Optimizer service. | [optional] |
93
- | **imgvideo_shield_resp_body_bytes** | **Integer** | Total body bytes of video delivered via a shield from the Fastly Image Optimizer service. | [optional] |
94
- | **imgvideo_shield** | **Integer** | Number of video responses delivered via a shield that came from the Fastly Image Optimizer service. | [optional] |
95
- | **imgvideo_shield_frames** | **Integer** | 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. | [optional] |
96
- | **status_200** | **Integer** | Number of responses sent with status code 200 (Success). | [optional] |
97
- | **status_204** | **Integer** | Number of responses sent with status code 204 (No Content). | [optional] |
98
- | **status_206** | **Integer** | Number of responses sent with status code 206 (Partial Content). | [optional] |
99
- | **status_301** | **Integer** | Number of responses sent with status code 301 (Moved Permanently). | [optional] |
100
- | **status_302** | **Integer** | Number of responses sent with status code 302 (Found). | [optional] |
101
- | **status_304** | **Integer** | Number of responses sent with status code 304 (Not Modified). | [optional] |
102
- | **status_400** | **Integer** | Number of responses sent with status code 400 (Bad Request). | [optional] |
103
- | **status_401** | **Integer** | Number of responses sent with status code 401 (Unauthorized). | [optional] |
104
- | **status_403** | **Integer** | Number of responses sent with status code 403 (Forbidden). | [optional] |
105
- | **status_404** | **Integer** | Number of responses sent with status code 404 (Not Found). | [optional] |
106
- | **status_406** | **Integer** | Number of responses sent with status code 406 (Not Acceptable). | [optional] |
107
- | **status_416** | **Integer** | Number of responses sent with status code 416 (Range Not Satisfiable). | [optional] |
108
- | **status_429** | **Integer** | Number of responses sent with status code 429 (Too Many Requests). | [optional] |
109
- | **status_500** | **Integer** | Number of responses sent with status code 500 (Internal Server Error). | [optional] |
110
- | **status_501** | **Integer** | Number of responses sent with status code 501 (Not Implemented). | [optional] |
111
- | **status_502** | **Integer** | Number of responses sent with status code 502 (Bad Gateway). | [optional] |
112
- | **status_503** | **Integer** | Number of responses sent with status code 503 (Service Unavailable). | [optional] |
113
- | **status_504** | **Integer** | Number of responses sent with status code 504 (Gateway Timeout). | [optional] |
114
- | **status_505** | **Integer** | Number of responses sent with status code 505 (HTTP Version Not Supported). | [optional] |
115
- | **status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered. | [optional] |
116
- | **status_2xx** | **Integer** | Number of \"Success\" status codes delivered. | [optional] |
117
- | **status_3xx** | **Integer** | Number of \"Redirection\" codes delivered. | [optional] |
118
- | **status_4xx** | **Integer** | Number of \"Client Error\" codes delivered. | [optional] |
119
- | **status_5xx** | **Integer** | Number of \"Server Error\" codes delivered. | [optional] |
120
- | **object_size_1k** | **Integer** | Number of objects served that were under 1KB in size. | [optional] |
121
- | **object_size_10k** | **Integer** | Number of objects served that were between 1KB and 10KB in size. | [optional] |
122
- | **object_size_100k** | **Integer** | Number of objects served that were between 10KB and 100KB in size. | [optional] |
123
- | **object_size_1m** | **Integer** | Number of objects served that were between 100KB and 1MB in size. | [optional] |
124
- | **object_size_10m** | **Integer** | Number of objects served that were between 1MB and 10MB in size. | [optional] |
125
- | **object_size_100m** | **Integer** | Number of objects served that were between 10MB and 100MB in size. | [optional] |
126
- | **object_size_1g** | **Integer** | Number of objects served that were between 100MB and 1GB in size. | [optional] |
127
- | **recv_sub_time** | **Float** | Time spent inside the `vcl_recv` Varnish subroutine (in seconds). | [optional] |
128
- | **recv_sub_count** | **Integer** | Number of executions of the `vcl_recv` Varnish subroutine. | [optional] |
129
- | **hash_sub_time** | **Float** | Time spent inside the `vcl_hash` Varnish subroutine (in seconds). | [optional] |
130
- | **hash_sub_count** | **Integer** | Number of executions of the `vcl_hash` Varnish subroutine. | [optional] |
131
- | **miss_sub_time** | **Float** | Time spent inside the `vcl_miss` Varnish subroutine (in seconds). | [optional] |
132
- | **miss_sub_count** | **Integer** | Number of executions of the `vcl_miss` Varnish subroutine. | [optional] |
133
- | **fetch_sub_time** | **Float** | Time spent inside the `vcl_fetch` Varnish subroutine (in seconds). | [optional] |
134
- | **fetch_sub_count** | **Integer** | Number of executions of the `vcl_fetch` Varnish subroutine. | [optional] |
135
- | **pass_sub_time** | **Float** | Time spent inside the `vcl_pass` Varnish subroutine (in seconds). | [optional] |
136
- | **pass_sub_count** | **Integer** | Number of executions of the `vcl_pass` Varnish subroutine. | [optional] |
137
- | **pipe_sub_time** | **Float** | Time spent inside the `vcl_pipe` Varnish subroutine (in seconds). | [optional] |
138
- | **pipe_sub_count** | **Integer** | Number of executions of the `vcl_pipe` Varnish subroutine. | [optional] |
139
- | **deliver_sub_time** | **Float** | Time spent inside the `vcl_deliver` Varnish subroutine (in seconds). | [optional] |
140
- | **deliver_sub_count** | **Integer** | Number of executions of the `vcl_deliver` Varnish subroutine. | [optional] |
141
- | **error_sub_time** | **Float** | Time spent inside the `vcl_error` Varnish subroutine (in seconds). | [optional] |
142
- | **error_sub_count** | **Integer** | Number of executions of the `vcl_error` Varnish subroutine. | [optional] |
143
- | **hit_sub_time** | **Float** | Time spent inside the `vcl_hit` Varnish subroutine (in seconds). | [optional] |
144
- | **hit_sub_count** | **Integer** | Number of executions of the `vcl_hit` Varnish subroutine. | [optional] |
145
- | **prehash_sub_time** | **Float** | Time spent inside the `vcl_prehash` Varnish subroutine (in seconds). | [optional] |
146
- | **prehash_sub_count** | **Integer** | Number of executions of the `vcl_prehash` Varnish subroutine. | [optional] |
147
- | **predeliver_sub_time** | **Float** | Time spent inside the `vcl_predeliver` Varnish subroutine (in seconds). | [optional] |
148
- | **predeliver_sub_count** | **Integer** | Number of executions of the `vcl_predeliver` Varnish subroutine. | [optional] |
149
- | **tls_handshake_sent_bytes** | **Integer** | Number of bytes transferred during TLS handshake. | [optional] |
150
- | **hit_resp_body_bytes** | **Integer** | Total body bytes delivered for cache hits. | [optional] |
151
- | **miss_resp_body_bytes** | **Integer** | Total body bytes delivered for cache misses. | [optional] |
152
- | **pass_resp_body_bytes** | **Integer** | Total body bytes delivered for cache passes. | [optional] |
153
- | **segblock_origin_fetches** | **Integer** | Number of `Range` requests to origin for segments of resources when using segmented caching. | [optional] |
154
- | **segblock_shield_fetches** | **Integer** | Number of `Range` requests to a shield for segments of resources when using segmented caching. | [optional] |
155
- | **compute_requests** | **Integer** | The total number of requests that were received for your service by Fastly. | [optional] |
156
- | **compute_request_time_ms** | **Float** | The total, actual amount of time used to process your requests, including active CPU time (in milliseconds). | [optional] |
157
- | **compute_request_time_billed_ms** | **Float** | The total amount of request processing time you will be billed for, measured in 50 millisecond increments. | [optional] |
158
- | **compute_ram_used** | **Integer** | The amount of RAM used for your service by Fastly (in bytes). | [optional] |
159
- | **compute_execution_time_ms** | **Float** | The amount of active CPU time used to process your requests (in milliseconds). | [optional] |
160
- | **compute_req_header_bytes** | **Integer** | Total header bytes received by the Compute platform. | [optional] |
161
- | **compute_req_body_bytes** | **Integer** | Total body bytes received by the Compute platform. | [optional] |
162
- | **compute_resp_header_bytes** | **Integer** | Total header bytes sent from Compute to end user. | [optional] |
163
- | **compute_resp_body_bytes** | **Integer** | Total body bytes sent from Compute to end user. | [optional] |
164
- | **compute_resp_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered by the Compute platform. | [optional] |
165
- | **compute_resp_status_2xx** | **Integer** | Number of \"Success\" category status codes delivered by the Compute platform. | [optional] |
166
- | **compute_resp_status_3xx** | **Integer** | Number of \"Redirection\" category status codes delivered by the Compute platform. | [optional] |
167
- | **compute_resp_status_4xx** | **Integer** | Number of \"Client Error\" category status codes delivered by the Compute platform. | [optional] |
168
- | **compute_resp_status_5xx** | **Integer** | Number of \"Server Error\" category status codes delivered by the Compute platform. | [optional] |
169
- | **compute_bereq_header_bytes** | **Integer** | Total header bytes sent to backends (origins) by the Compute platform. | [optional] |
170
- | **compute_bereq_body_bytes** | **Integer** | Total body bytes sent to backends (origins) by the Compute platform. | [optional] |
171
- | **compute_beresp_header_bytes** | **Integer** | Total header bytes received from backends (origins) by the Compute platform. | [optional] |
172
- | **compute_beresp_body_bytes** | **Integer** | Total body bytes received from backends (origins) by the Compute platform. | [optional] |
173
- | **compute_bereqs** | **Integer** | Number of backend requests started. | [optional] |
174
- | **compute_bereq_errors** | **Integer** | Number of backend request errors, including timeouts. | [optional] |
175
- | **compute_resource_limit_exceeded** | **Integer** | Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout. | [optional] |
176
- | **compute_heap_limit_exceeded** | **Integer** | Number of times a guest exceeded its heap limit. | [optional] |
177
- | **compute_stack_limit_exceeded** | **Integer** | Number of times a guest exceeded its stack limit. | [optional] |
178
- | **compute_globals_limit_exceeded** | **Integer** | Number of times a guest exceeded its globals limit. | [optional] |
179
- | **compute_guest_errors** | **Integer** | Number of times a service experienced a guest code error. | [optional] |
180
- | **compute_runtime_errors** | **Integer** | Number of times a service experienced a guest runtime error. | [optional] |
181
- | **edge_hit_resp_body_bytes** | **Integer** | Body bytes delivered for edge hits. | [optional] |
182
- | **edge_hit_resp_header_bytes** | **Integer** | Header bytes delivered for edge hits. | [optional] |
183
- | **edge_miss_resp_body_bytes** | **Integer** | Body bytes delivered for edge misses. | [optional] |
184
- | **edge_miss_resp_header_bytes** | **Integer** | Header bytes delivered for edge misses. | [optional] |
185
- | **origin_cache_fetch_resp_body_bytes** | **Integer** | Body bytes received from origin for cacheable content. | [optional] |
186
- | **origin_cache_fetch_resp_header_bytes** | **Integer** | Header bytes received from an origin for cacheable content. | [optional] |
187
- | **shield_hit_requests** | **Integer** | Number of requests that resulted in a hit at a shield. | [optional] |
188
- | **shield_miss_requests** | **Integer** | Number of requests that resulted in a miss at a shield. | [optional] |
189
- | **shield_hit_resp_header_bytes** | **Integer** | Header bytes delivered for shield hits. | [optional] |
190
- | **shield_hit_resp_body_bytes** | **Integer** | Body bytes delivered for shield hits. | [optional] |
191
- | **shield_miss_resp_header_bytes** | **Integer** | Header bytes delivered for shield misses. | [optional] |
192
- | **shield_miss_resp_body_bytes** | **Integer** | Body bytes delivered for shield misses. | [optional] |
193
- | **websocket_req_header_bytes** | **Integer** | Total header bytes received from end users over passthrough WebSocket connections. | [optional] |
194
- | **websocket_req_body_bytes** | **Integer** | Total message content bytes received from end users over passthrough WebSocket connections. | [optional] |
195
- | **websocket_resp_header_bytes** | **Integer** | Total header bytes sent to end users over passthrough WebSocket connections. | [optional] |
196
- | **websocket_resp_body_bytes** | **Integer** | Total message content bytes sent to end users over passthrough WebSocket connections. | [optional] |
197
- | **websocket_bereq_header_bytes** | **Integer** | Total header bytes sent to backends over passthrough WebSocket connections. | [optional] |
198
- | **websocket_bereq_body_bytes** | **Integer** | Total message content bytes sent to backends over passthrough WebSocket connections. | [optional] |
199
- | **websocket_beresp_header_bytes** | **Integer** | Total header bytes received from backends over passthrough WebSocket connections. | [optional] |
200
- | **websocket_beresp_body_bytes** | **Integer** | Total message content bytes received from backends over passthrough WebSocket connections. | [optional] |
201
- | **websocket_conn_time_ms** | **Integer** | Total duration of passthrough WebSocket connections with end users. | [optional] |
202
- | **fanout_recv_publishes** | **Integer** | Total published messages received from the publish API endpoint. | [optional] |
203
- | **fanout_send_publishes** | **Integer** | Total published messages sent to end users. | [optional] |
204
- | **kv_store_class_a_operations** | **Integer** | The total number of class a operations for the KV store. | [optional] |
205
- | **kv_store_class_b_operations** | **Integer** | The total number of class b operations for the KV store. | [optional] |
206
- | **object_store_class_a_operations** | **Integer** | Use kv_store_class_a_operations. | [optional] |
207
- | **object_store_class_b_operations** | **Integer** | Use kv_store_class_b_operations. | [optional] |
208
- | **fanout_req_header_bytes** | **Integer** | Total header bytes received from end users over Fanout connections. | [optional] |
209
- | **fanout_req_body_bytes** | **Integer** | Total body or message content bytes received from end users over Fanout connections. | [optional] |
210
- | **fanout_resp_header_bytes** | **Integer** | Total header bytes sent to end users over Fanout connections. | [optional] |
211
- | **fanout_resp_body_bytes** | **Integer** | Total body or message content bytes sent to end users over Fanout connections, excluding published message content. | [optional] |
212
- | **fanout_bereq_header_bytes** | **Integer** | Total header bytes sent to backends over Fanout connections. | [optional] |
213
- | **fanout_bereq_body_bytes** | **Integer** | Total body or message content bytes sent to backends over Fanout connections. | [optional] |
214
- | **fanout_beresp_header_bytes** | **Integer** | Total header bytes received from backends over Fanout connections. | [optional] |
215
- | **fanout_beresp_body_bytes** | **Integer** | Total body or message content bytes received from backends over Fanout connections. | [optional] |
216
- | **fanout_conn_time_ms** | **Integer** | Total duration of Fanout connections with end users. | [optional] |
217
- | **ddos_action_limit_streams_connections** | **Integer** | 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. | [optional] |
218
- | **ddos_action_limit_streams_requests** | **Integer** | 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. | [optional] |
219
- | **ddos_action_tarpit_accept** | **Integer** | The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections. | [optional] |
220
- | **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
221
- | **ddos_action_close** | **Integer** | 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. | [optional] |
222
- | **ddos_action_blackhole** | **Integer** | 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). | [optional] |
223
- | **bot_challenge_starts** | **Integer** | The number of challenge-start tokens created. | [optional] |
224
- | **bot_challenge_complete_tokens_passed** | **Integer** | The number of challenge-complete tokens that passed validation. | [optional] |
225
- | **bot_challenge_complete_tokens_failed** | **Integer** | The number of challenge-complete tokens that failed validation. | [optional] |
226
- | **bot_challenge_complete_tokens_checked** | **Integer** | The number of challenge-complete tokens checked. | [optional] |
227
- | **bot_challenge_complete_tokens_disabled** | **Integer** | The number of challenge-complete tokens not checked because the feature was disabled. | [optional] |
228
- | **bot_challenge_complete_tokens_issued** | **Integer** | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. | [optional] |
229
- | **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
230
- | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
231
- | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
232
- | **service_id** | [**ReadOnlyIdService**](ReadOnlyIdService.md) | | [optional] |
233
- | **start_time** | **Integer** | | [optional] |
234
-
235
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
236
-
@@ -1,11 +0,0 @@
1
- # Fastly::HistoricalFieldResultsAttributesAdditional
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **service_id** | [**ReadOnlyIdService**](ReadOnlyIdService.md) | | [optional] |
8
- | **start_time** | **Integer** | | [optional] |
9
-
10
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
-
@@ -1,13 +0,0 @@
1
- # Fastly::HistoricalUsageAggregateResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **status** | **String** | Whether or not we were able to successfully execute the query. | [optional] |
8
- | **meta** | [**HistoricalMeta**](HistoricalMeta.md) | | [optional] |
9
- | **msg** | **String** | If the query was not successful, this will provide a string that explains why. | [optional] |
10
- | **data** | [**HistoricalUsageResults**](HistoricalUsageResults.md) | | [optional] |
11
-
12
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
-
@@ -1,9 +0,0 @@
1
- # Fastly::ReadOnlyIdService
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
9
-
@@ -1,256 +0,0 @@
1
- =begin
2
- #Fastly API
3
-
4
- #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: oss@fastly.com
8
-
9
- =end
10
-
11
- require 'date'
12
- require 'time'
13
-
14
- module Fastly
15
- class HistoricalFieldAggregateResponse
16
- # Whether or not we were able to successfully execute the query.
17
- attr_accessor :status
18
-
19
- attr_accessor :meta
20
-
21
- # If the query was not successful, this will provide a string that explains why.
22
- attr_accessor :msg
23
-
24
- attr_accessor :data
25
-
26
- # Attribute mapping from ruby-style variable name to JSON key.
27
- def self.attribute_map
28
- {
29
- :'status' => :'status',
30
- :'meta' => :'meta',
31
- :'msg' => :'msg',
32
- :'data' => :'data'
33
- }
34
- end
35
-
36
- # Returns all the JSON keys this model knows about
37
- def self.acceptable_attributes
38
- attribute_map.values
39
- end
40
-
41
- # Attribute type mapping.
42
- def self.fastly_types
43
- {
44
- :'status' => :'String',
45
- :'meta' => :'HistoricalMeta',
46
- :'msg' => :'String',
47
- :'data' => :'Array<HistoricalFieldResultsAttributes>'
48
- }
49
- end
50
-
51
- # List of attributes with nullable: true
52
- def self.fastly_nullable
53
- Set.new([
54
- :'msg',
55
- ])
56
- end
57
-
58
- # List of class defined in allOf (OpenAPI v3)
59
- def self.fastly_all_of
60
- [
61
- :'Historical',
62
- :'HistoricalFieldAggregateResponseAllOf'
63
- ]
64
- end
65
-
66
- # Initializes the object
67
- # @param [Hash] attributes Model attributes in the form of hash
68
- def initialize(attributes = {})
69
- if (!attributes.is_a?(Hash))
70
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::HistoricalFieldAggregateResponse` initialize method"
71
- end
72
-
73
- # check to see if the attribute exists and convert string to symbol for hash key
74
- attributes = attributes.each_with_object({}) { |(k, v), h|
75
- if (!self.class.attribute_map.key?(k.to_sym))
76
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::HistoricalFieldAggregateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
77
- end
78
- h[k.to_sym] = v
79
- }
80
-
81
- if attributes.key?(:'status')
82
- self.status = attributes[:'status']
83
- end
84
-
85
- if attributes.key?(:'meta')
86
- self.meta = attributes[:'meta']
87
- end
88
-
89
- if attributes.key?(:'msg')
90
- self.msg = attributes[:'msg']
91
- end
92
-
93
- if attributes.key?(:'data')
94
- if (value = attributes[:'data']).is_a?(Array)
95
- self.data = value
96
- end
97
- end
98
- end
99
-
100
- # Show invalid properties with the reasons. Usually used together with valid?
101
- # @return Array for valid properties with the reasons
102
- def list_invalid_properties
103
- invalid_properties = Array.new
104
- invalid_properties
105
- end
106
-
107
- # Check to see if the all the properties in the model are valid
108
- # @return true if the model is valid
109
- def valid?
110
- true
111
- end
112
-
113
- # Checks equality by comparing each attribute.
114
- # @param [Object] Object to be compared
115
- def ==(o)
116
- return true if self.equal?(o)
117
- self.class == o.class &&
118
- status == o.status &&
119
- meta == o.meta &&
120
- msg == o.msg &&
121
- data == o.data
122
- end
123
-
124
- # @see the `==` method
125
- # @param [Object] Object to be compared
126
- def eql?(o)
127
- self == o
128
- end
129
-
130
- # Calculates hash code according to all attributes.
131
- # @return [Integer] Hash code
132
- def hash
133
- [status, meta, msg, data].hash
134
- end
135
-
136
- # Builds the object from hash
137
- # @param [Hash] attributes Model attributes in the form of hash
138
- # @return [Object] Returns the model itself
139
- def self.build_from_hash(attributes)
140
- new.build_from_hash(attributes)
141
- end
142
-
143
- # Builds the object from hash
144
- # @param [Hash] attributes Model attributes in the form of hash
145
- # @return [Object] Returns the model itself
146
- def build_from_hash(attributes)
147
- return nil unless attributes.is_a?(Hash)
148
- self.class.fastly_types.each_pair do |key, type|
149
- if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
150
- self.send("#{key}=", nil)
151
- elsif type =~ /\AArray<(.*)>/i
152
- # check to ensure the input is an array given that the attribute
153
- # is documented as an array but the input is not
154
- if attributes[self.class.attribute_map[key]].is_a?(Array)
155
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
156
- end
157
- elsif !attributes[self.class.attribute_map[key]].nil?
158
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
159
- end
160
- end
161
-
162
- self
163
- end
164
-
165
- # Deserializes the data based on type
166
- # @param string type Data type
167
- # @param string value Value to be deserialized
168
- # @return [Object] Deserialized data
169
- def _deserialize(type, value)
170
- case type.to_sym
171
- when :Time
172
- Time.parse(value)
173
- when :Date
174
- Date.parse(value)
175
- when :String
176
- value.to_s
177
- when :Integer
178
- value.to_i
179
- when :Float
180
- value.to_f
181
- when :Boolean
182
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
183
- true
184
- else
185
- false
186
- end
187
- when :Object
188
- # generic object (usually a Hash), return directly
189
- value
190
- when /\AArray<(?<inner_type>.+)>\z/
191
- inner_type = Regexp.last_match[:inner_type]
192
- value.map { |v| _deserialize(inner_type, v) }
193
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
194
- k_type = Regexp.last_match[:k_type]
195
- v_type = Regexp.last_match[:v_type]
196
- {}.tap do |hash|
197
- value.each do |k, v|
198
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
199
- end
200
- end
201
- else # model
202
- # models (e.g. Pet) or oneOf
203
- klass = Fastly.const_get(type)
204
- klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
205
- end
206
- end
207
-
208
- # Returns the string representation of the object
209
- # @return [String] String presentation of the object
210
- def to_s
211
- to_hash.to_s
212
- end
213
-
214
- # to_body is an alias to to_hash (backward compatibility)
215
- # @return [Hash] Returns the object in the form of hash
216
- def to_body
217
- to_hash
218
- end
219
-
220
- # Returns the object in the form of hash
221
- # @return [Hash] Returns the object in the form of hash
222
- def to_hash
223
- hash = {}
224
- self.class.attribute_map.each_pair do |attr, param|
225
- value = self.send(attr)
226
- if value.nil?
227
- is_nullable = self.class.fastly_nullable.include?(attr)
228
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
229
- end
230
-
231
- hash[param] = _to_hash(value)
232
- end
233
- hash
234
- end
235
-
236
- # Outputs non-array value in the form of hash
237
- # For object, use to_hash. Otherwise, just return the value
238
- # @param [Object] value Any valid value
239
- # @return [Hash] Returns the value in the form of hash
240
- def _to_hash(value)
241
- if value.is_a?(Array)
242
- value.compact.map { |v| _to_hash(v) }
243
- elsif value.is_a?(Hash)
244
- {}.tap do |hash|
245
- value.each { |k, v| hash[k] = _to_hash(v) }
246
- end
247
- elsif value.respond_to? :to_hash
248
- value.to_hash
249
- else
250
- value
251
- end
252
- end
253
-
254
- end
255
-
256
- end