fastly 5.1.1 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db8e5417ece0e6ea7ae0ae66c558513d458cde749e745707de6faddad5ed7403
4
- data.tar.gz: ffb1143b08f03aa7af86554883277bcaaddef3d3c343e1a5878f2810f7db91ab
3
+ metadata.gz: 250adb1721501db7232e237000ca05f3cecb3653619f3ee2f8d3bca8d21df550
4
+ data.tar.gz: 481dd33ffb90da36fedf9617ec305bccd5de161d1a43d1d09bd5ad14c430d619
5
5
  SHA512:
6
- metadata.gz: 24c752858e709856a39d8b15443e61331afb1212826fad1243817e6b8a99365015ffedc22a16de74ee4c843cea7a43009aaf3c0488332f200a73b0e74356371d
7
- data.tar.gz: 5b23e6683d575420c74f810081180447319442e50026e9b51889e6d594503d1c17985e840f7378088cd2ddba6b81cc1c6995e65a2431ccfa193953eb8bd47b35
6
+ metadata.gz: f0c87b55d04c7ee645196152f0f615304c93e92e7540a84ba8e855a944563d18dbb2c2428b9f811a0bc30bfb4da79c1a5af6bf47a5cc4649bf96987139f2ba5a
7
+ data.tar.gz: 463ccacb50f8675795df9511dd01fbb7cd34d44434f78dd2dd0f3c4029692fd76f203efde77dd5de496174344574e80a923b04a37349586490930b352657954d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [v5.2.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v5.2.0) (2023-06-20)
4
+
5
+ **Enhancements:**
6
+
7
+ - feat(realtime_measurements): add billable request processing time.
8
+ - feat(tokens): add support for the 'get token' endpoint.
9
+
10
+ **Bug fixes:**
11
+
12
+ - fix(config): add realtime hostname.
13
+ - fix(historical_stats): generate field results model.
14
+ - fix(kv_store): remove the 'force' property from the 'delete store' endpoint.
15
+ - feat(realtime_measurements): rename object store to kv store.
16
+
3
17
  ## [v5.1.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v5.1.1) (2023-05-22)
4
18
 
5
19
  **Bug fixes:**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (5.1.1)
4
+ fastly (5.2.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -2,17 +2,13 @@
2
2
 
3
3
  A Ruby client library for interacting with most facets of the [Fastly API](https://developer.fastly.com/reference/api).
4
4
 
5
- > NOTE: This 4.x release is a new [generated API client](https://dev.to/fastly/better-fastly-api-clients-with-openapi-generator-3lno) for the Fastly API.
6
- > The previous 3.x version is no longer supported, but can be found at https://github.com/fastly/fastly-ruby/tree/v3.x.
7
-
8
-
9
5
 
10
6
  ## Installation
11
7
 
12
8
  To install via RubyGems, add the following to your project's `Gemfile`:
13
9
 
14
10
  ```ruby
15
- gem 'fastly', '~> 5.1.1'
11
+ gem 'fastly', '~> 5.2.0'
16
12
  ```
17
13
 
18
14
  Then run `bundle install`.
@@ -437,6 +433,7 @@ Class | Method | Description
437
433
  [*Fastly::TlsSubscriptionsApi*](docs/TlsSubscriptionsApi.md) | [**get_tls_sub**](docs/TlsSubscriptionsApi.md#get_tls_sub) | Get a TLS subscription
438
434
  [*Fastly::TlsSubscriptionsApi*](docs/TlsSubscriptionsApi.md) | [**list_tls_subs**](docs/TlsSubscriptionsApi.md#list_tls_subs) | List TLS subscriptions
439
435
  [*Fastly::TlsSubscriptionsApi*](docs/TlsSubscriptionsApi.md) | [**patch_tls_sub**](docs/TlsSubscriptionsApi.md#patch_tls_sub) | Update a TLS subscription
436
+ [*Fastly::TokensApi*](docs/TokensApi.md) | [**get_token**](docs/TokensApi.md#get_token) | Get a token
440
437
  [*Fastly::TokensApi*](docs/TokensApi.md) | [**get_token_current**](docs/TokensApi.md#get_token_current) | Get the current token
441
438
  [*Fastly::TokensApi*](docs/TokensApi.md) | [**list_tokens_customer**](docs/TokensApi.md#list_tokens_customer) | List tokens for a customer
442
439
  [*Fastly::TokensApi*](docs/TokensApi.md) | [**list_tokens_user**](docs/TokensApi.md#list_tokens_user) | List tokens for the authenticated user
@@ -7,7 +7,7 @@
7
7
  | **status** | **String** | Whether or not we were able to successfully execute the query. | [optional] |
8
8
  | **meta** | [**HistoricalMeta**](HistoricalMeta.md) | | [optional] |
9
9
  | **msg** | **String** | If the query was not successful, this will provide a string that explains why. | [optional] |
10
- | **data** | **Array<Hash<String, String>>** | | [optional] |
10
+ | **data** | [**Array<HistoricalFieldResultsAttributes>**](HistoricalFieldResultsAttributes.md) | | [optional] |
11
11
 
12
12
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
13
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | **Array<Hash<String, String>>** | | [optional] |
7
+ | **data** | [**Array<HistoricalFieldResultsAttributes>**](HistoricalFieldResultsAttributes.md) | | [optional] |
8
8
 
9
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
10
 
@@ -0,0 +1,227 @@
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 Compute@Edge. | [optional] |
161
+ | **compute_req_body_bytes** | **Integer** | Total body bytes received by Compute@Edge. | [optional] |
162
+ | **compute_resp_header_bytes** | **Integer** | Total header bytes sent from Compute@Edge to end user. | [optional] |
163
+ | **compute_resp_body_bytes** | **Integer** | Total body bytes sent from Compute@Edge to end user. | [optional] |
164
+ | **compute_resp_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered by Compute@Edge. | [optional] |
165
+ | **compute_resp_status_2xx** | **Integer** | Number of \"Success\" category status codes delivered by Compute@Edge. | [optional] |
166
+ | **compute_resp_status_3xx** | **Integer** | Number of \"Redirection\" category status codes delivered by Compute@Edge. | [optional] |
167
+ | **compute_resp_status_4xx** | **Integer** | Number of \"Client Error\" category status codes delivered by Compute@Edge. | [optional] |
168
+ | **compute_resp_status_5xx** | **Integer** | Number of \"Server Error\" category status codes delivered by Compute@Edge. | [optional] |
169
+ | **compute_bereq_header_bytes** | **Integer** | Total header bytes sent to backends (origins) by Compute@Edge. | [optional] |
170
+ | **compute_bereq_body_bytes** | **Integer** | Total body bytes sent to backends (origins) by Compute@Edge. | [optional] |
171
+ | **compute_beresp_header_bytes** | **Integer** | Total header bytes received from backends (origins) by Compute@Edge. | [optional] |
172
+ | **compute_beresp_body_bytes** | **Integer** | Total body bytes received from backends (origins) by Compute@Edge. | [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
+ | **service_id** | **String** | | [optional][readonly] |
224
+ | **start_time** | **Integer** | | [optional] |
225
+
226
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
227
+
@@ -0,0 +1,11 @@
1
+ # Fastly::HistoricalFieldResultsAttributesAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **service_id** | **String** | | [optional][readonly] |
8
+ | **start_time** | **Integer** | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
data/docs/KvStoreApi.md CHANGED
@@ -69,7 +69,6 @@ An kv store must be empty before it can be deleted. Deleting an kv store that s
69
69
  api_instance = Fastly::KvStoreApi.new
70
70
  opts = {
71
71
  store_id: 'store_id_example', # String |
72
- force: true, # Boolean |
73
72
  }
74
73
 
75
74
  begin
@@ -85,7 +84,6 @@ end
85
84
  | Name | Type | Description | Notes |
86
85
  | ---- | ---- | ----------- | ----- |
87
86
  | **store_id** | **String** | | |
88
- | **force** | **Boolean** | | [optional] |
89
87
 
90
88
  ### Return type
91
89
 
@@ -31,7 +31,6 @@ api_instance = Fastly::KvStoreItemApi.new
31
31
  opts = {
32
32
  store_id: 'store_id_example', # String |
33
33
  key_name: 'key_name_example', # String |
34
- force: true, # Boolean |
35
34
  }
36
35
 
37
36
  begin
@@ -48,7 +47,6 @@ end
48
47
  | ---- | ---- | ----------- | ----- |
49
48
  | **store_id** | **String** | | |
50
49
  | **key_name** | **String** | | |
51
- | **force** | **Boolean** | | [optional] |
52
50
 
53
51
  ### Return type
54
52
 
@@ -23,6 +23,7 @@
23
23
  | **compute_execution_time_ms** | **Float** | The amount of active CPU time used to process your requests (in milliseconds). | [optional] |
24
24
  | **compute_ram_used** | **Integer** | The amount of RAM used for your service by Fastly (in bytes). | [optional] |
25
25
  | **compute_request_time_ms** | **Float** | The total, actual amount of time used to process your requests, including active CPU time (in milliseconds). | [optional] |
26
+ | **compute_request_time_billed_ms** | **Float** | The total amount of request processing time you will be billed for, measured in 50 millisecond increments. | [optional] |
26
27
  | **shield** | **Integer** | Number of requests from edge to the shield POP. | [optional] |
27
28
  | **ipv6** | **Integer** | Number of requests that were received over IPv6. | [optional] |
28
29
  | **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] |
@@ -202,10 +203,10 @@
202
203
  | **websocket_resp_body_bytes** | **Integer** | Total message content bytes sent to end users over passthrough WebSocket connections. | [optional] |
203
204
  | **fanout_recv_publishes** | **Integer** | Total published messages received from the publish API endpoint. | [optional] |
204
205
  | **fanout_send_publishes** | **Integer** | Total published messages sent to end users. | [optional] |
205
- | **object_store_class_a_operations** | **Integer** | The total number of class a operations for the object store. | [optional] |
206
- | **object_store_class_b_operations** | **Integer** | The total number of class b operations for the object store. | [optional] |
207
- | **object_store_read_requests** | **Integer** | Use object_store_class_b_operations. | [optional] |
208
- | **object_store_write_requests** | **Integer** | Use object_store_class_a_operations. | [optional] |
206
+ | **kv_store_class_a_operations** | **Integer** | The total number of class a operations for the KV store. | [optional] |
207
+ | **kv_store_class_b_operations** | **Integer** | The total number of class b operations for the KV store. | [optional] |
208
+ | **object_store_class_a_operations** | **Integer** | Use kv_store_class_a_operations. | [optional] |
209
+ | **object_store_class_b_operations** | **Integer** | Use kv_store_class_b_operations. | [optional] |
209
210
  | **fanout_req_header_bytes** | **Integer** | Total header bytes received from end users over Fanout connections. | [optional] |
210
211
  | **fanout_req_body_bytes** | **Integer** | Total body or message content bytes received from end users over Fanout connections. | [optional] |
211
212
  | **fanout_resp_header_bytes** | **Integer** | Total header bytes sent to end users over Fanout connections. | [optional] |
data/docs/Results.md CHANGED
@@ -154,6 +154,7 @@
154
154
  | **segblock_shield_fetches** | **Integer** | Number of `Range` requests to a shield for segments of resources when using segmented caching. | [optional] |
155
155
  | **compute_requests** | **Integer** | The total number of requests that were received for your service by Fastly. | [optional] |
156
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] |
157
158
  | **compute_ram_used** | **Integer** | The amount of RAM used for your service by Fastly (in bytes). | [optional] |
158
159
  | **compute_execution_time_ms** | **Float** | The amount of active CPU time used to process your requests (in milliseconds). | [optional] |
159
160
  | **compute_req_header_bytes** | **Integer** | Total header bytes received by Compute@Edge. | [optional] |
@@ -200,10 +201,10 @@
200
201
  | **websocket_conn_time_ms** | **Integer** | Total duration of passthrough WebSocket connections with end users. | [optional] |
201
202
  | **fanout_recv_publishes** | **Integer** | Total published messages received from the publish API endpoint. | [optional] |
202
203
  | **fanout_send_publishes** | **Integer** | Total published messages sent to end users. | [optional] |
203
- | **object_store_class_a_operations** | **Integer** | The total number of class a operations for the object store. | [optional] |
204
- | **object_store_class_b_operations** | **Integer** | The total number of class b operations for the object store. | [optional] |
205
- | **object_store_read_requests** | **Integer** | Use object_store_class_b_operations. | [optional] |
206
- | **object_store_write_requests** | **Integer** | Use object_store_class_a_operations. | [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] |
207
208
  | **fanout_req_header_bytes** | **Integer** | Total header bytes received from end users over Fanout connections. | [optional] |
208
209
  | **fanout_req_body_bytes** | **Integer** | Total body or message content bytes received from end users over Fanout connections. | [optional] |
209
210
  | **fanout_resp_header_bytes** | **Integer** | Total header bytes sent to end users over Fanout connections. | [optional] |
data/docs/TokensApi.md CHANGED
@@ -10,6 +10,7 @@ api_instance = Fastly::TokensApi.new
10
10
 
11
11
  | Method | HTTP request | Description |
12
12
  | ------ | ------------ | ----------- |
13
+ | [**get_token**](TokensApi.md#get_token) | **GET** /tokens/{token_id} | Get a token |
13
14
  | [**get_token_current**](TokensApi.md#get_token_current) | **GET** /tokens/self | Get the current token |
14
15
  | [**list_tokens_customer**](TokensApi.md#list_tokens_customer) | **GET** /customer/{customer_id}/tokens | List tokens for a customer |
15
16
  | [**list_tokens_user**](TokensApi.md#list_tokens_user) | **GET** /tokens | List tokens for the authenticated user |
@@ -17,6 +18,43 @@ api_instance = Fastly::TokensApi.new
17
18
  | [**revoke_token_current**](TokensApi.md#revoke_token_current) | **DELETE** /tokens/self | Revoke the current token |
18
19
 
19
20
 
21
+ ## `get_token()`
22
+
23
+ ```ruby
24
+ get_token(opts): <TokenResponse> # Get a token
25
+ ```
26
+
27
+ Get a single token by its id.
28
+
29
+ ### Examples
30
+
31
+ ```ruby
32
+ api_instance = Fastly::TokensApi.new
33
+ opts = {
34
+ token_id: 'token_id_example', # String | Alphanumeric string identifying a token.
35
+ }
36
+
37
+ begin
38
+ # Get a token
39
+ result = api_instance.get_token(opts)
40
+ p result
41
+ rescue Fastly::ApiError => e
42
+ puts "Error when calling TokensApi->get_token: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Options
47
+
48
+ | Name | Type | Description | Notes |
49
+ | ---- | ---- | ----------- | ----- |
50
+ | **token_id** | **String** | Alphanumeric string identifying a token. | |
51
+
52
+ ### Return type
53
+
54
+ [**TokenResponse**](TokenResponse.md)
55
+
56
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
57
+ [[Back to README]](../../README.md)
20
58
  ## `get_token_current()`
21
59
 
22
60
  ```ruby
@@ -86,7 +86,6 @@ module Fastly
86
86
  # Delete an kv store.
87
87
  # An kv store must be empty before it can be deleted. Deleting an kv store that still contains keys will result in a `409` (Conflict).
88
88
  # @option opts [String] :store_id (required)
89
- # @option opts [Boolean] :force
90
89
  # @return [nil]
91
90
  def delete_store(opts = {})
92
91
  delete_store_with_http_info(opts)
@@ -96,7 +95,6 @@ module Fastly
96
95
  # Delete an kv store.
97
96
  # An kv store must be empty before it can be deleted. Deleting an kv store that still contains keys will result in a &#x60;409&#x60; (Conflict).
98
97
  # @option opts [String] :store_id (required)
99
- # @option opts [Boolean] :force
100
98
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
99
  def delete_store_with_http_info(opts = {})
102
100
  if @api_client.config.debugging
@@ -116,7 +114,6 @@ module Fastly
116
114
 
117
115
  # header parameters
118
116
  header_params = opts[:header_params] || {}
119
- header_params[:'force'] = opts[:'force'] if !opts[:'force'].nil?
120
117
 
121
118
  # form parameters
122
119
  form_params = opts[:form_params] || {}
@@ -21,7 +21,6 @@ module Fastly
21
21
  # Delete an item from an kv store
22
22
  # @option opts [String] :store_id (required)
23
23
  # @option opts [String] :key_name (required)
24
- # @option opts [Boolean] :force
25
24
  # @return [nil]
26
25
  def delete_key_from_store(opts = {})
27
26
  delete_key_from_store_with_http_info(opts)
@@ -32,7 +31,6 @@ module Fastly
32
31
  # Delete an item from an kv store
33
32
  # @option opts [String] :store_id (required)
34
33
  # @option opts [String] :key_name (required)
35
- # @option opts [Boolean] :force
36
34
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
35
  def delete_key_from_store_with_http_info(opts = {})
38
36
  if @api_client.config.debugging
@@ -54,7 +52,6 @@ module Fastly
54
52
 
55
53
  # query parameters
56
54
  query_params = opts[:query_params] || {}
57
- query_params[:'force'] = opts[:'force'] if !opts[:'force'].nil?
58
55
 
59
56
  # header parameters
60
57
  header_params = opts[:header_params] || {}
@@ -17,6 +17,69 @@ module Fastly
17
17
  def initialize(api_client = ApiClient.default)
18
18
  @api_client = api_client
19
19
  end
20
+ # Get a token
21
+ # Get a single token by its id.
22
+ # @option opts [String] :token_id Alphanumeric string identifying a token. (required)
23
+ # @return [TokenResponse]
24
+ def get_token(opts = {})
25
+ data, _status_code, _headers = get_token_with_http_info(opts)
26
+ data
27
+ end
28
+
29
+ # Get a token
30
+ # Get a single token by its id.
31
+ # @option opts [String] :token_id Alphanumeric string identifying a token. (required)
32
+ # @return [Array<(TokenResponse, Integer, Hash)>] TokenResponse data, response status code and response headers
33
+ def get_token_with_http_info(opts = {})
34
+ if @api_client.config.debugging
35
+ @api_client.config.logger.debug 'Calling API: TokensApi.get_token ...'
36
+ end
37
+ # unbox the parameters from the hash
38
+ token_id = opts[:'token_id']
39
+ # verify the required parameter 'token_id' is set
40
+ if @api_client.config.client_side_validation && token_id.nil?
41
+ fail ArgumentError, "Missing the required parameter 'token_id' when calling TokensApi.get_token"
42
+ end
43
+ # resource path
44
+ local_var_path = '/tokens/{token_id}'.sub('{' + 'token_id' + '}', CGI.escape(token_id.to_s))
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+
54
+ # form parameters
55
+ form_params = opts[:form_params] || {}
56
+
57
+ # http body (model)
58
+ post_body = opts[:debug_body]
59
+
60
+ # return_type
61
+ return_type = opts[:debug_return_type] || 'TokenResponse'
62
+
63
+ # auth_names
64
+ auth_names = opts[:debug_auth_names] || ['token']
65
+
66
+ new_options = opts.merge(
67
+ :operation => :"TokensApi.get_token",
68
+ :header_params => header_params,
69
+ :query_params => query_params,
70
+ :form_params => form_params,
71
+ :body => post_body,
72
+ :auth_names => auth_names,
73
+ :return_type => return_type
74
+ )
75
+
76
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
77
+ if @api_client.config.debugging
78
+ @api_client.config.logger.debug "API called: TokensApi#get_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ end
80
+ return data, status_code, headers
81
+ end
82
+
20
83
  # Get the current token
21
84
  # Get a single token based on the access_token used in the request.
22
85
  # @return [TokenResponse]