fastly 8.1.0 → 8.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: 3ce351bd6d34fdd049199acbe89e004d0d05a427ba4ba307d32b2398e84c4308
4
- data.tar.gz: b5dc263092f2e9f13c6dab5057e0d2fd8dbcc5b3140e10d6373a608cf8c6a945
3
+ metadata.gz: b0aa4fb2fc255dcf5ef8ce8b193145e626ae3d383671bfbb30e8afa56cc26543
4
+ data.tar.gz: 40a21a10cc9b94ad6de74c3b9e88ac8a9c84aec8d004d5d2460d4ac5fb534877
5
5
  SHA512:
6
- metadata.gz: e6ca1b922a73409536a6ab908243acd6c208258acc87791e6d3080984a00a8451be6fafca0af09ec84339d7c30a7417cf2beb08a9977d37d2a5008dfd78cdeac
7
- data.tar.gz: 8fd33c6c71ea7fb56f19b55336c37a29064fa87bb6669ccc4ea20abf0c9ea62a23f245e2c739e9757412a894407688535dac466908d5b4ae0facafeb1cce55cf
6
+ metadata.gz: 5e50a741c8b363ed6d28c8f002a06427a0932cf8a440d1520c9cf8251354d32f625a4d015b690e63a3a3af3e8ed6bc7b19ce1e2d9f99e632a5c4bca50b0c1d40
7
+ data.tar.gz: c3548661cef3935d47f3980b539d4556fac66c65c70b4f60ef7abe722cae4939134d86633d149576cc997cc66a15a5b08585c525c3c1298dd62254d575f73b73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [v8.2.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v8.2.0) (2024-04-25)
4
+
5
+ **Bug fixes:**
6
+
7
+ - bugfix(billing_address, invitations): Correct customer relationship schema to be single entry rather than array
8
+ - bugfix(request_settings): Mark request_settings fields as nullable: bypass_busy_wait, force_miss, geo_headers,
9
+ max_stale_age, timer_support, and xff
10
+
11
+ **Enhancements:**
12
+
13
+ - feat(generator): The API Client Generator now uses a new automatic changelog generation process.
14
+ - feat(historical, realtime): Add the following new metrics: `ddos_action_downgrade`,
15
+ `ddos_action_downgraded_connections`, `vcl_on_compute_hit_requests`, `vcl_on_compute_miss_requests`,
16
+ `vcl_on_compute_pass_requests`, `vcl_on_compute_error_requests`, `vcl_on_compute_synth_requests`,
17
+ `vcl_on_compute_edge_hit_requests`, `vcl_on_compute_edge_miss_requests`, `all_hit_requests`,
18
+ `all_miss_requests`, `all_pass_requests`, `all_error_requests`, `all_synth_requests`, `all_edge_hit_requests`,
19
+ `all_edge_miss_requests`, `all_status_1xx`, `all_status_2xx`, `all_status_3xx`, `all_status_4xx`, and
20
+ `all_status_5xx`.
21
+ - feat(backend): Add `tcp_keepalive_*` properties to the Backend API, which allow configuring TCP keepalives for
22
+ backend connections.
23
+
24
+ **Documentation:**
25
+
26
+ - doc(realtime): Correct description of miss_histogram structure in real-time stats.
27
+
3
28
  ## [v8.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v8.1.0) (2024-02-28)
4
29
 
5
30
  **Enhancements:**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (8.1.0)
4
+ fastly (8.2.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
8
8
  To install via RubyGems, add the following to your project's `Gemfile`:
9
9
 
10
10
  ```ruby
11
- gem 'fastly', '~> 8.1.0'
11
+ gem 'fastly', '~> 8.2.0'
12
12
  ```
13
13
 
14
14
  Then run `bundle install`.
@@ -601,6 +601,12 @@ The fastly-ruby API client currently does not support the following endpoints:
601
601
  - [`/alerts/definitions/{definition_id}`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (DELETE, GET, PUT)
602
602
  - [`/alerts/definitions`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (GET, POST)
603
603
  - [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
604
+ - [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
605
+ - [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
606
+ - [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
607
+ - [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
608
+ - [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
609
+ - [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
604
610
  - [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
605
611
  - [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
606
612
  - [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
data/docs/Backend.md CHANGED
@@ -33,6 +33,10 @@
33
33
  | **ssl_client_key** | **String** | Client key attached to origin. | [optional] |
34
34
  | **ssl_hostname** | **String** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional] |
35
35
  | **ssl_sni_hostname** | **String** | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | [optional] |
36
+ | **tcp_keepalive_enable** | **Boolean** | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | [optional] |
37
+ | **tcp_keepalive_interval** | **Integer** | Interval in seconds between subsequent keepalive probes. | [optional] |
38
+ | **tcp_keepalive_probes** | **Integer** | Number of unacknowledged probes to send before considering the connection dead. | [optional] |
39
+ | **tcp_keepalive_time** | **Integer** | Interval in seconds between the last data packet sent and the first keepalive probe. | [optional] |
36
40
  | **use_ssl** | **Boolean** | Whether or not to require TLS for connections to this backend. | [optional] |
37
41
  | **weight** | **Integer** | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true. | [optional] |
38
42
 
data/docs/BackendApi.md CHANGED
@@ -61,6 +61,10 @@ opts = {
61
61
  ssl_client_key: 'ssl_client_key_example', # String | Client key attached to origin.
62
62
  ssl_hostname: 'ssl_hostname_example', # String | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
63
63
  ssl_sni_hostname: 'ssl_sni_hostname_example', # String | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
64
+ tcp_keepalive_enable: true, # Boolean | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
65
+ tcp_keepalive_interval: 56, # Integer | Interval in seconds between subsequent keepalive probes.
66
+ tcp_keepalive_probes: 56, # Integer | Number of unacknowledged probes to send before considering the connection dead.
67
+ tcp_keepalive_time: 56, # Integer | Interval in seconds between the last data packet sent and the first keepalive probe.
64
68
  use_ssl: true, # Boolean | Whether or not to require TLS for connections to this backend.
65
69
  weight: 56, # Integer | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
66
70
  }
@@ -109,6 +113,10 @@ end
109
113
  | **ssl_client_key** | **String** | Client key attached to origin. | [optional] |
110
114
  | **ssl_hostname** | **String** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional] |
111
115
  | **ssl_sni_hostname** | **String** | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | [optional] |
116
+ | **tcp_keepalive_enable** | **Boolean** | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | [optional] |
117
+ | **tcp_keepalive_interval** | **Integer** | Interval in seconds between subsequent keepalive probes. | [optional] |
118
+ | **tcp_keepalive_probes** | **Integer** | Number of unacknowledged probes to send before considering the connection dead. | [optional] |
119
+ | **tcp_keepalive_time** | **Integer** | Interval in seconds between the last data packet sent and the first keepalive probe. | [optional] |
112
120
  | **use_ssl** | **Boolean** | Whether or not to require TLS for connections to this backend. | [optional] |
113
121
  | **weight** | **Integer** | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true. | [optional] |
114
122
 
@@ -284,6 +292,10 @@ opts = {
284
292
  ssl_client_key: 'ssl_client_key_example', # String | Client key attached to origin.
285
293
  ssl_hostname: 'ssl_hostname_example', # String | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
286
294
  ssl_sni_hostname: 'ssl_sni_hostname_example', # String | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
295
+ tcp_keepalive_enable: true, # Boolean | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
296
+ tcp_keepalive_interval: 56, # Integer | Interval in seconds between subsequent keepalive probes.
297
+ tcp_keepalive_probes: 56, # Integer | Number of unacknowledged probes to send before considering the connection dead.
298
+ tcp_keepalive_time: 56, # Integer | Interval in seconds between the last data packet sent and the first keepalive probe.
287
299
  use_ssl: true, # Boolean | Whether or not to require TLS for connections to this backend.
288
300
  weight: 56, # Integer | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
289
301
  }
@@ -333,6 +345,10 @@ end
333
345
  | **ssl_client_key** | **String** | Client key attached to origin. | [optional] |
334
346
  | **ssl_hostname** | **String** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional] |
335
347
  | **ssl_sni_hostname** | **String** | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | [optional] |
348
+ | **tcp_keepalive_enable** | **Boolean** | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | [optional] |
349
+ | **tcp_keepalive_interval** | **Integer** | Interval in seconds between subsequent keepalive probes. | [optional] |
350
+ | **tcp_keepalive_probes** | **Integer** | Number of unacknowledged probes to send before considering the connection dead. | [optional] |
351
+ | **tcp_keepalive_time** | **Integer** | Interval in seconds between the last data packet sent and the first keepalive probe. | [optional] |
336
352
  | **use_ssl** | **Boolean** | Whether or not to require TLS for connections to this backend. | [optional] |
337
353
  | **weight** | **Integer** | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true. | [optional] |
338
354
 
@@ -33,6 +33,10 @@
33
33
  | **ssl_client_key** | **String** | Client key attached to origin. | [optional] |
34
34
  | **ssl_hostname** | **String** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional] |
35
35
  | **ssl_sni_hostname** | **String** | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | [optional] |
36
+ | **tcp_keepalive_enable** | **Boolean** | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | [optional] |
37
+ | **tcp_keepalive_interval** | **Integer** | Interval in seconds between subsequent keepalive probes. | [optional] |
38
+ | **tcp_keepalive_probes** | **Integer** | Number of unacknowledged probes to send before considering the connection dead. | [optional] |
39
+ | **tcp_keepalive_time** | **Integer** | Interval in seconds between the last data packet sent and the first keepalive probe. | [optional] |
36
40
  | **use_ssl** | **Boolean** | Whether or not to require TLS for connections to this backend. | [optional] |
37
41
  | **weight** | **Integer** | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true. | [optional] |
38
42
  | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
@@ -18,7 +18,7 @@
18
18
  | **errors** | **Integer** | Number of cache errors. | [optional] |
19
19
  | **hits_time** | **Float** | Total amount of time spent processing cache hits (in seconds). | [optional] |
20
20
  | **miss_time** | **Float** | Total amount of time spent processing cache misses (in seconds). | [optional] |
21
- | **miss_histogram** | **Hash<String, Object>** | A histogram. Each key represents the upper bound of a span of 10 milliseconds and the values represent the number of requests to origin during that 10ms period. Any origin request that takes more than 60 seconds to return will be in the 60000 bucket. | [optional] |
21
+ | **miss_histogram** | **Hash<String, Object>** | A histogram. The value in each bucket is the number of requests to the origin whose responses arrived during the time period represented by the bucket. The key of each bucket represents the upper bound (in response time) of that bucket. The buckets vary in width and cover the time periods 0-10ms (in 1ms increments), 10-250ms (in 10ms increments), 250-1,000ms (in 50ms increments), 1,000-3,000ms (in 100ms increments), 3,000-10,000ms (in 500 ms increments), 10,000-20,000ms (in 1,000ms increments), 20,000-60,000ms (in 5,000ms increments), and 60,000ms through infinity (in a single bucket). | [optional] |
22
22
  | **compute_requests** | **Integer** | The total number of requests that were received for your service by Fastly. | [optional] |
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] |
@@ -231,6 +231,27 @@
231
231
  | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
232
232
  | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
233
233
  | **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] |
234
+ | **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
235
+ | **ddos_action_downgraded_connections** | **Integer** | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. | [optional] |
236
+ | **vcl_on_compute_hit_requests** | **Integer** | Number of cache hits for a VCL service running on Compute. | [optional] |
237
+ | **vcl_on_compute_miss_requests** | **Integer** | Number of cache misses for a VCL service running on Compute. | [optional] |
238
+ | **vcl_on_compute_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. | [optional] |
239
+ | **vcl_on_compute_error_requests** | **Integer** | Number of cache errors for a VCL service running on Compute. | [optional] |
240
+ | **vcl_on_compute_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. | [optional] |
241
+ | **vcl_on_compute_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. | [optional] |
242
+ | **vcl_on_compute_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. | [optional] |
243
+ | **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
244
+ | **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
245
+ | **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
246
+ | **all_error_requests** | **Integer** | Number of cache errors for a VCL service. | [optional] |
247
+ | **all_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. | [optional] |
248
+ | **all_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. | [optional] |
249
+ | **all_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. | [optional] |
250
+ | **all_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered for all sources. | [optional] |
251
+ | **all_status_2xx** | **Integer** | Number of \"Success\" status codes delivered for all sources. | [optional] |
252
+ | **all_status_3xx** | **Integer** | Number of \"Redirection\" codes delivered for all sources. | [optional] |
253
+ | **all_status_4xx** | **Integer** | Number of \"Client Error\" codes delivered for all sources. | [optional] |
254
+ | **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
234
255
 
235
256
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
236
257
 
@@ -18,7 +18,7 @@
18
18
  | **errors** | **Integer** | Number of cache errors. | [optional] |
19
19
  | **hits_time** | **Float** | Total amount of time spent processing cache hits (in seconds). | [optional] |
20
20
  | **miss_time** | **Float** | Total amount of time spent processing cache misses (in seconds). | [optional] |
21
- | **miss_histogram** | **Hash<String, Object>** | A histogram. Each key represents the upper bound of a span of 10 milliseconds and the values represent the number of requests to origin during that 10ms period. Any origin request that takes more than 60 seconds to return will be in the 60000 bucket. | [optional] |
21
+ | **miss_histogram** | **Hash<String, Object>** | A histogram. The value in each bucket is the number of requests to the origin whose responses arrived during the time period represented by the bucket. The key of each bucket represents the upper bound (in response time) of that bucket. The buckets vary in width and cover the time periods 0-10ms (in 1ms increments), 10-250ms (in 10ms increments), 250-1,000ms (in 50ms increments), 1,000-3,000ms (in 100ms increments), 3,000-10,000ms (in 500 ms increments), 10,000-20,000ms (in 1,000ms increments), 20,000-60,000ms (in 5,000ms increments), and 60,000ms through infinity (in a single bucket). | [optional] |
22
22
  | **compute_requests** | **Integer** | The total number of requests that were received for your service by Fastly. | [optional] |
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] |
@@ -231,6 +231,27 @@
231
231
  | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
232
232
  | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
233
233
  | **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] |
234
+ | **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
235
+ | **ddos_action_downgraded_connections** | **Integer** | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. | [optional] |
236
+ | **vcl_on_compute_hit_requests** | **Integer** | Number of cache hits for a VCL service running on Compute. | [optional] |
237
+ | **vcl_on_compute_miss_requests** | **Integer** | Number of cache misses for a VCL service running on Compute. | [optional] |
238
+ | **vcl_on_compute_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. | [optional] |
239
+ | **vcl_on_compute_error_requests** | **Integer** | Number of cache errors for a VCL service running on Compute. | [optional] |
240
+ | **vcl_on_compute_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. | [optional] |
241
+ | **vcl_on_compute_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. | [optional] |
242
+ | **vcl_on_compute_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. | [optional] |
243
+ | **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
244
+ | **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
245
+ | **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
246
+ | **all_error_requests** | **Integer** | Number of cache errors for a VCL service. | [optional] |
247
+ | **all_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. | [optional] |
248
+ | **all_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. | [optional] |
249
+ | **all_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. | [optional] |
250
+ | **all_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered for all sources. | [optional] |
251
+ | **all_status_2xx** | **Integer** | Number of \"Success\" status codes delivered for all sources. | [optional] |
252
+ | **all_status_3xx** | **Integer** | Number of \"Redirection\" codes delivered for all sources. | [optional] |
253
+ | **all_status_4xx** | **Integer** | Number of \"Client Error\" codes delivered for all sources. | [optional] |
254
+ | **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
234
255
 
235
256
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
236
257
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array<RelationshipMemberCustomer>**](RelationshipMemberCustomer.md) | | [optional] |
7
+ | **data** | [**RelationshipMemberCustomer**](RelationshipMemberCustomer.md) | | [optional] |
8
8
 
9
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
10
 
data/docs/Results.md CHANGED
@@ -231,6 +231,27 @@
231
231
  | **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
232
232
  | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
233
233
  | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
234
+ | **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
235
+ | **ddos_action_downgraded_connections** | **Integer** | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. | [optional] |
236
+ | **vcl_on_compute_hit_requests** | **Integer** | Number of cache hits for a VCL service running on Compute. | [optional] |
237
+ | **vcl_on_compute_miss_requests** | **Integer** | Number of cache misses for a VCL service running on Compute. | [optional] |
238
+ | **vcl_on_compute_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. | [optional] |
239
+ | **vcl_on_compute_error_requests** | **Integer** | Number of cache errors for a VCL service running on Compute. | [optional] |
240
+ | **vcl_on_compute_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. | [optional] |
241
+ | **vcl_on_compute_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. | [optional] |
242
+ | **vcl_on_compute_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. | [optional] |
243
+ | **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
244
+ | **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
245
+ | **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
246
+ | **all_error_requests** | **Integer** | Number of cache errors for a VCL service. | [optional] |
247
+ | **all_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service. | [optional] |
248
+ | **all_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service. | [optional] |
249
+ | **all_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service. | [optional] |
250
+ | **all_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered for all sources. | [optional] |
251
+ | **all_status_2xx** | **Integer** | Number of \"Success\" status codes delivered for all sources. | [optional] |
252
+ | **all_status_3xx** | **Integer** | Number of \"Redirection\" codes delivered for all sources. | [optional] |
253
+ | **all_status_4xx** | **Integer** | Number of \"Client Error\" codes delivered for all sources. | [optional] |
254
+ | **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
234
255
  | **service_id** | **String** | | [optional][readonly] |
235
256
  | **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
236
257
 
@@ -50,6 +50,10 @@ module Fastly
50
50
  # @option opts [String] :ssl_client_key Client key attached to origin.
51
51
  # @option opts [String] :ssl_hostname Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
52
52
  # @option opts [String] :ssl_sni_hostname Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
53
+ # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
54
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
55
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
56
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
53
57
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
54
58
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
55
59
  # @return [BackendResponse]
@@ -91,6 +95,10 @@ module Fastly
91
95
  # @option opts [String] :ssl_client_key Client key attached to origin.
92
96
  # @option opts [String] :ssl_hostname Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
93
97
  # @option opts [String] :ssl_sni_hostname Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
98
+ # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
99
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
100
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
101
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
94
102
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
95
103
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
96
104
  # @return [Array<(BackendResponse, Integer, Hash)>] BackendResponse data, response status code and response headers
@@ -161,6 +169,10 @@ module Fastly
161
169
  form_params['ssl_client_key'] = opts[:'ssl_client_key'] if !opts[:'ssl_client_key'].nil?
162
170
  form_params['ssl_hostname'] = opts[:'ssl_hostname'] if !opts[:'ssl_hostname'].nil?
163
171
  form_params['ssl_sni_hostname'] = opts[:'ssl_sni_hostname'] if !opts[:'ssl_sni_hostname'].nil?
172
+ form_params['tcp_keepalive_enable'] = opts[:'tcp_keepalive_enable'] if !opts[:'tcp_keepalive_enable'].nil?
173
+ form_params['tcp_keepalive_interval'] = opts[:'tcp_keepalive_interval'] if !opts[:'tcp_keepalive_interval'].nil?
174
+ form_params['tcp_keepalive_probes'] = opts[:'tcp_keepalive_probes'] if !opts[:'tcp_keepalive_probes'].nil?
175
+ form_params['tcp_keepalive_time'] = opts[:'tcp_keepalive_time'] if !opts[:'tcp_keepalive_time'].nil?
164
176
  form_params['use_ssl'] = opts[:'use_ssl'] if !opts[:'use_ssl'].nil?
165
177
  form_params['weight'] = opts[:'weight'] if !opts[:'weight'].nil?
166
178
 
@@ -448,6 +460,10 @@ module Fastly
448
460
  # @option opts [String] :ssl_client_key Client key attached to origin.
449
461
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
450
462
  # @option opts [String] :ssl_sni_hostname Overrides &#x60;ssl_hostname&#x60;, but only for SNI in the handshake. Does not affect cert validation at all.
463
+ # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
464
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
465
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
466
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
451
467
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
452
468
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If &#x60;auto_loadbalance&#x60; is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have &#x60;auto_loadbalance&#x60; set to true.
453
469
  # @return [BackendResponse]
@@ -490,6 +506,10 @@ module Fastly
490
506
  # @option opts [String] :ssl_client_key Client key attached to origin.
491
507
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
492
508
  # @option opts [String] :ssl_sni_hostname Overrides &#x60;ssl_hostname&#x60;, but only for SNI in the handshake. Does not affect cert validation at all.
509
+ # @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
510
+ # @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
511
+ # @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
512
+ # @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
493
513
  # @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
494
514
  # @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If &#x60;auto_loadbalance&#x60; is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have &#x60;auto_loadbalance&#x60; set to true.
495
515
  # @return [Array<(BackendResponse, Integer, Hash)>] BackendResponse data, response status code and response headers
@@ -565,6 +585,10 @@ module Fastly
565
585
  form_params['ssl_client_key'] = opts[:'ssl_client_key'] if !opts[:'ssl_client_key'].nil?
566
586
  form_params['ssl_hostname'] = opts[:'ssl_hostname'] if !opts[:'ssl_hostname'].nil?
567
587
  form_params['ssl_sni_hostname'] = opts[:'ssl_sni_hostname'] if !opts[:'ssl_sni_hostname'].nil?
588
+ form_params['tcp_keepalive_enable'] = opts[:'tcp_keepalive_enable'] if !opts[:'tcp_keepalive_enable'].nil?
589
+ form_params['tcp_keepalive_interval'] = opts[:'tcp_keepalive_interval'] if !opts[:'tcp_keepalive_interval'].nil?
590
+ form_params['tcp_keepalive_probes'] = opts[:'tcp_keepalive_probes'] if !opts[:'tcp_keepalive_probes'].nil?
591
+ form_params['tcp_keepalive_time'] = opts[:'tcp_keepalive_time'] if !opts[:'tcp_keepalive_time'].nil?
568
592
  form_params['use_ssl'] = opts[:'use_ssl'] if !opts[:'use_ssl'].nil?
569
593
  form_params['weight'] = opts[:'weight'] if !opts[:'weight'].nil?
570
594
 
@@ -100,6 +100,18 @@ module Fastly
100
100
  # Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
101
101
  attr_accessor :ssl_sni_hostname
102
102
 
103
+ # Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
104
+ attr_accessor :tcp_keepalive_enable
105
+
106
+ # Interval in seconds between subsequent keepalive probes.
107
+ attr_accessor :tcp_keepalive_interval
108
+
109
+ # Number of unacknowledged probes to send before considering the connection dead.
110
+ attr_accessor :tcp_keepalive_probes
111
+
112
+ # Interval in seconds between the last data packet sent and the first keepalive probe.
113
+ attr_accessor :tcp_keepalive_time
114
+
103
115
  # Whether or not to require TLS for connections to this backend.
104
116
  attr_accessor :use_ssl
105
117
 
@@ -138,6 +150,10 @@ module Fastly
138
150
  :'ssl_client_key' => :'ssl_client_key',
139
151
  :'ssl_hostname' => :'ssl_hostname',
140
152
  :'ssl_sni_hostname' => :'ssl_sni_hostname',
153
+ :'tcp_keepalive_enable' => :'tcp_keepalive_enable',
154
+ :'tcp_keepalive_interval' => :'tcp_keepalive_interval',
155
+ :'tcp_keepalive_probes' => :'tcp_keepalive_probes',
156
+ :'tcp_keepalive_time' => :'tcp_keepalive_time',
141
157
  :'use_ssl' => :'use_ssl',
142
158
  :'weight' => :'weight'
143
159
  }
@@ -180,6 +196,10 @@ module Fastly
180
196
  :'ssl_client_key' => :'String',
181
197
  :'ssl_hostname' => :'String',
182
198
  :'ssl_sni_hostname' => :'String',
199
+ :'tcp_keepalive_enable' => :'Boolean',
200
+ :'tcp_keepalive_interval' => :'Integer',
201
+ :'tcp_keepalive_probes' => :'Integer',
202
+ :'tcp_keepalive_time' => :'Integer',
183
203
  :'use_ssl' => :'Boolean',
184
204
  :'weight' => :'Integer'
185
205
  }
@@ -208,6 +228,9 @@ module Fastly
208
228
  :'ssl_client_key',
209
229
  :'ssl_hostname',
210
230
  :'ssl_sni_hostname',
231
+ :'tcp_keepalive_interval',
232
+ :'tcp_keepalive_probes',
233
+ :'tcp_keepalive_time',
211
234
  ])
212
235
  end
213
236
 
@@ -344,6 +367,22 @@ module Fastly
344
367
  self.ssl_sni_hostname = attributes[:'ssl_sni_hostname']
345
368
  end
346
369
 
370
+ if attributes.key?(:'tcp_keepalive_enable')
371
+ self.tcp_keepalive_enable = attributes[:'tcp_keepalive_enable']
372
+ end
373
+
374
+ if attributes.key?(:'tcp_keepalive_interval')
375
+ self.tcp_keepalive_interval = attributes[:'tcp_keepalive_interval']
376
+ end
377
+
378
+ if attributes.key?(:'tcp_keepalive_probes')
379
+ self.tcp_keepalive_probes = attributes[:'tcp_keepalive_probes']
380
+ end
381
+
382
+ if attributes.key?(:'tcp_keepalive_time')
383
+ self.tcp_keepalive_time = attributes[:'tcp_keepalive_time']
384
+ end
385
+
347
386
  if attributes.key?(:'use_ssl')
348
387
  self.use_ssl = attributes[:'use_ssl']
349
388
  end
@@ -417,6 +456,10 @@ module Fastly
417
456
  ssl_client_key == o.ssl_client_key &&
418
457
  ssl_hostname == o.ssl_hostname &&
419
458
  ssl_sni_hostname == o.ssl_sni_hostname &&
459
+ tcp_keepalive_enable == o.tcp_keepalive_enable &&
460
+ tcp_keepalive_interval == o.tcp_keepalive_interval &&
461
+ tcp_keepalive_probes == o.tcp_keepalive_probes &&
462
+ tcp_keepalive_time == o.tcp_keepalive_time &&
420
463
  use_ssl == o.use_ssl &&
421
464
  weight == o.weight
422
465
  end
@@ -430,7 +473,7 @@ module Fastly
430
473
  # Calculates hash code according to all attributes.
431
474
  # @return [Integer] Hash code
432
475
  def hash
433
- [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, share_key, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, use_ssl, weight].hash
476
+ [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, share_key, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, tcp_keepalive_enable, tcp_keepalive_interval, tcp_keepalive_probes, tcp_keepalive_time, use_ssl, weight].hash
434
477
  end
435
478
 
436
479
  # Builds the object from hash
@@ -100,6 +100,18 @@ module Fastly
100
100
  # Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
101
101
  attr_accessor :ssl_sni_hostname
102
102
 
103
+ # Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
104
+ attr_accessor :tcp_keepalive_enable
105
+
106
+ # Interval in seconds between subsequent keepalive probes.
107
+ attr_accessor :tcp_keepalive_interval
108
+
109
+ # Number of unacknowledged probes to send before considering the connection dead.
110
+ attr_accessor :tcp_keepalive_probes
111
+
112
+ # Interval in seconds between the last data packet sent and the first keepalive probe.
113
+ attr_accessor :tcp_keepalive_time
114
+
103
115
  # Whether or not to require TLS for connections to this backend.
104
116
  attr_accessor :use_ssl
105
117
 
@@ -154,6 +166,10 @@ module Fastly
154
166
  :'ssl_client_key' => :'ssl_client_key',
155
167
  :'ssl_hostname' => :'ssl_hostname',
156
168
  :'ssl_sni_hostname' => :'ssl_sni_hostname',
169
+ :'tcp_keepalive_enable' => :'tcp_keepalive_enable',
170
+ :'tcp_keepalive_interval' => :'tcp_keepalive_interval',
171
+ :'tcp_keepalive_probes' => :'tcp_keepalive_probes',
172
+ :'tcp_keepalive_time' => :'tcp_keepalive_time',
157
173
  :'use_ssl' => :'use_ssl',
158
174
  :'weight' => :'weight',
159
175
  :'created_at' => :'created_at',
@@ -202,6 +218,10 @@ module Fastly
202
218
  :'ssl_client_key' => :'String',
203
219
  :'ssl_hostname' => :'String',
204
220
  :'ssl_sni_hostname' => :'String',
221
+ :'tcp_keepalive_enable' => :'Boolean',
222
+ :'tcp_keepalive_interval' => :'Integer',
223
+ :'tcp_keepalive_probes' => :'Integer',
224
+ :'tcp_keepalive_time' => :'Integer',
205
225
  :'use_ssl' => :'Boolean',
206
226
  :'weight' => :'Integer',
207
227
  :'created_at' => :'Time',
@@ -236,6 +256,9 @@ module Fastly
236
256
  :'ssl_client_key',
237
257
  :'ssl_hostname',
238
258
  :'ssl_sni_hostname',
259
+ :'tcp_keepalive_interval',
260
+ :'tcp_keepalive_probes',
261
+ :'tcp_keepalive_time',
239
262
  :'created_at',
240
263
  :'deleted_at',
241
264
  :'updated_at',
@@ -385,6 +408,22 @@ module Fastly
385
408
  self.ssl_sni_hostname = attributes[:'ssl_sni_hostname']
386
409
  end
387
410
 
411
+ if attributes.key?(:'tcp_keepalive_enable')
412
+ self.tcp_keepalive_enable = attributes[:'tcp_keepalive_enable']
413
+ end
414
+
415
+ if attributes.key?(:'tcp_keepalive_interval')
416
+ self.tcp_keepalive_interval = attributes[:'tcp_keepalive_interval']
417
+ end
418
+
419
+ if attributes.key?(:'tcp_keepalive_probes')
420
+ self.tcp_keepalive_probes = attributes[:'tcp_keepalive_probes']
421
+ end
422
+
423
+ if attributes.key?(:'tcp_keepalive_time')
424
+ self.tcp_keepalive_time = attributes[:'tcp_keepalive_time']
425
+ end
426
+
388
427
  if attributes.key?(:'use_ssl')
389
428
  self.use_ssl = attributes[:'use_ssl']
390
429
  end
@@ -482,6 +521,10 @@ module Fastly
482
521
  ssl_client_key == o.ssl_client_key &&
483
522
  ssl_hostname == o.ssl_hostname &&
484
523
  ssl_sni_hostname == o.ssl_sni_hostname &&
524
+ tcp_keepalive_enable == o.tcp_keepalive_enable &&
525
+ tcp_keepalive_interval == o.tcp_keepalive_interval &&
526
+ tcp_keepalive_probes == o.tcp_keepalive_probes &&
527
+ tcp_keepalive_time == o.tcp_keepalive_time &&
485
528
  use_ssl == o.use_ssl &&
486
529
  weight == o.weight &&
487
530
  created_at == o.created_at &&
@@ -501,7 +544,7 @@ module Fastly
501
544
  # Calculates hash code according to all attributes.
502
545
  # @return [Integer] Hash code
503
546
  def hash
504
- [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, share_key, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, use_ssl, weight, created_at, deleted_at, updated_at, service_id, version, locked].hash
547
+ [address, auto_loadbalance, between_bytes_timeout, client_cert, comment, connect_timeout, first_byte_timeout, healthcheck, hostname, ipv4, ipv6, keepalive_time, max_conn, max_tls_version, min_tls_version, name, override_host, port, request_condition, share_key, shield, ssl_ca_cert, ssl_cert_hostname, ssl_check_cert, ssl_ciphers, ssl_client_cert, ssl_client_key, ssl_hostname, ssl_sni_hostname, tcp_keepalive_enable, tcp_keepalive_interval, tcp_keepalive_probes, tcp_keepalive_time, use_ssl, weight, created_at, deleted_at, updated_at, service_id, version, locked].hash
505
548
  end
506
549
 
507
550
  # Builds the object from hash