fastly 7.1.1 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +6 -5
  5. data/docs/HistoricalDdos.md +13 -0
  6. data/docs/HistoricalDdosMeta.md +13 -0
  7. data/docs/HistoricalFieldResultsAttributes.md +9 -0
  8. data/docs/KvStoreApi.md +15 -15
  9. data/docs/LoggingLogentriesAdditional.md +1 -1
  10. data/docs/LoggingLogentriesApi.md +4 -4
  11. data/docs/LoggingLogentriesResponse.md +1 -1
  12. data/docs/PlatformDdosDataItems.md +10 -0
  13. data/docs/PlatformDdosEntry.md +10 -0
  14. data/docs/PlatformDdosResponse.md +13 -0
  15. data/docs/PlatformDdosResponseAllOf.md +10 -0
  16. data/docs/RealtimeEntryAggregated.md +9 -0
  17. data/docs/RealtimeMeasurements.md +9 -0
  18. data/docs/Results.md +9 -0
  19. data/docs/SchemasSnippetResponse.md +1 -1
  20. data/docs/SchemasSnippetResponseCommon.md +15 -0
  21. data/docs/Snippet.md +1 -1
  22. data/docs/SnippetAllOf.md +10 -0
  23. data/docs/SnippetApi.md +6 -6
  24. data/docs/SnippetCommon.md +13 -0
  25. data/docs/SnippetResponse.md +1 -1
  26. data/docs/SnippetResponseCommon.md +15 -0
  27. data/docs/{SnippetResponseAllOf.md → SnippetResponseCommonAllOf.md} +1 -1
  28. data/docs/SnippetResponsePost.md +20 -0
  29. data/docs/SnippetWithDynamicNumber.md +14 -0
  30. data/docs/SnippetWithDynamicNumberAllOf.md +10 -0
  31. data/docs/ValuesDdos.md +15 -0
  32. data/docs/WholePlatformDdosHistoricalApi.md +56 -0
  33. data/lib/fastly/api/kv_store_api.rb +14 -14
  34. data/lib/fastly/api/logging_logentries_api.rb +4 -4
  35. data/lib/fastly/api/snippet_api.rb +17 -17
  36. data/lib/fastly/api/whole_platform_ddos_historical_api.rb +89 -0
  37. data/lib/fastly/configuration.rb +6 -0
  38. data/lib/fastly/models/historical_ddos.rb +249 -0
  39. data/lib/fastly/models/historical_ddos_meta.rb +248 -0
  40. data/lib/fastly/models/historical_field_results_attributes.rb +91 -1
  41. data/lib/fastly/models/logging_logentries_additional.rb +1 -1
  42. data/lib/fastly/models/logging_logentries_response.rb +1 -1
  43. data/lib/fastly/models/platform_ddos_data_items.rb +216 -0
  44. data/lib/fastly/models/platform_ddos_entry.rb +219 -0
  45. data/lib/fastly/models/platform_ddos_response.rb +257 -0
  46. data/lib/fastly/models/platform_ddos_response_all_of.rb +219 -0
  47. data/lib/fastly/models/realtime_entry_aggregated.rb +94 -4
  48. data/lib/fastly/models/realtime_measurements.rb +94 -4
  49. data/lib/fastly/models/results.rb +94 -4
  50. data/lib/fastly/models/schemas_snippet_response.rb +25 -26
  51. data/lib/fastly/models/schemas_snippet_response_common.rb +276 -0
  52. data/lib/fastly/models/snippet.rb +34 -26
  53. data/lib/fastly/models/snippet_all_of.rb +251 -0
  54. data/lib/fastly/models/snippet_common.rb +283 -0
  55. data/lib/fastly/models/snippet_response.rb +24 -25
  56. data/lib/fastly/models/snippet_response_common.rb +276 -0
  57. data/lib/fastly/models/{snippet_response_all_of.rb → snippet_response_common_all_of.rb} +3 -3
  58. data/lib/fastly/models/snippet_response_post.rb +374 -0
  59. data/lib/fastly/models/snippet_with_dynamic_number.rb +313 -0
  60. data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +251 -0
  61. data/lib/fastly/models/values_ddos.rb +268 -0
  62. data/lib/fastly/version.rb +1 -1
  63. data/lib/fastly.rb +16 -1
  64. data/sig.json +1 -1
  65. metadata +34 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68e8838b14560a805edeee4b5b98b0551631fb3e08a8c413e4c0295a188f3552
4
- data.tar.gz: 77af692b4e7b48508e661cfc61863cb932a4aa1c75ab67913d861bb0d798f319
3
+ metadata.gz: c51fd6de296c895b5292180b11c39a13a37eb55358b496d53032bd1ebac8332d
4
+ data.tar.gz: 859489fb6bac8a1b724077ef601f8640572b7925cea62f8c24b5b0a1de1401f1
5
5
  SHA512:
6
- metadata.gz: ab8de311186aac5f7009ab67c7ac2d38bac773e52c2a0982c83e6e556f5f53d1e9d1149864350fa7f59f15023a16aadba42712450199b58686374e3b6e3659f8
7
- data.tar.gz: 2304c5196c3d20ff4444e98fb46c0097e81d532e2cde25cf6880455ca661055ce654a4e1ec17b62646166d7a3c125d87a39d649a1887bd6becbee01feed9bb01
6
+ metadata.gz: c1fca4d1fffd3f8055f601ba5856f577bb18498960d1c8e2018a83191f540fe1bd2e9590dab39e6e47adfb3e00cc5481834e7a5fdfb929949e38ba2e9c91f4ea
7
+ data.tar.gz: c68f0ba0192cd4b3a6674e3612cc6fb80bc50cc60800338f7c6076be86951696ac7e2aace7de839ab5b66084205f74bf6a9ae74623577094711eb10657eb3f55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [v7.2.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.2.0) (2023-10-24)
4
+
5
+ **Enhancements:**
6
+
7
+ - feat(stats): add historical DDoS metrics.
8
+ - feat(stats): add bot challenges.
9
+
10
+ **Bug fixes:**
11
+
12
+ - fix(snippets): ensure POST response's dynamic field is numerical.
13
+
3
14
  ## [v7.1.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.1.1) (2023-09-01)
4
15
 
5
16
  **Enhancements:**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (7.1.1)
4
+ fastly (7.2.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -12,7 +12,7 @@ GEM
12
12
  coderay (1.1.3)
13
13
  ethon (0.16.0)
14
14
  ffi (>= 1.15.0)
15
- ffi (1.15.5)
15
+ ffi (1.16.3)
16
16
  jaro_winkler (1.5.4)
17
17
  method_source (1.0.0)
18
18
  parallel (1.21.0)
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', '~> 7.1.1'
11
+ gem 'fastly', '~> 7.2.0'
12
12
  ```
13
13
 
14
14
  Then run `bundle install`.
@@ -227,10 +227,10 @@ Class | Method | Description
227
227
  [*Fastly::InvitationsApi*](docs/InvitationsApi.md) | [**create_invitation**](docs/InvitationsApi.md#create_invitation) | Create an invitation
228
228
  [*Fastly::InvitationsApi*](docs/InvitationsApi.md) | [**delete_invitation**](docs/InvitationsApi.md#delete_invitation) | Delete an invitation
229
229
  [*Fastly::InvitationsApi*](docs/InvitationsApi.md) | [**list_invitations**](docs/InvitationsApi.md#list_invitations) | List invitations
230
- [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**create_store**](docs/KvStoreApi.md#create_store) | Create an kv store.
231
- [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**delete_store**](docs/KvStoreApi.md#delete_store) | Delete an kv store.
232
- [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_store**](docs/KvStoreApi.md#get_store) | Describe an kv store.
233
- [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_stores**](docs/KvStoreApi.md#get_stores) | List kv stores.
230
+ [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**create_store**](docs/KvStoreApi.md#create_store) | Create a KV store.
231
+ [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**delete_store**](docs/KvStoreApi.md#delete_store) | Delete a KV store.
232
+ [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_store**](docs/KvStoreApi.md#get_store) | Describe a KV store.
233
+ [*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_stores**](docs/KvStoreApi.md#get_stores) | List KV stores.
234
234
  [*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**delete_key_from_store**](docs/KvStoreItemApi.md#delete_key_from_store) | Delete kv store item.
235
235
  [*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**get_keys**](docs/KvStoreItemApi.md#get_keys) | List kv store keys.
236
236
  [*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**get_value_for_key**](docs/KvStoreItemApi.md#get_value_for_key) | Get the value of an kv store item
@@ -588,6 +588,7 @@ Class | Method | Description
588
588
  [*Fastly::WafRulesApi*](docs/WafRulesApi.md) | [**get_waf_rule**](docs/WafRulesApi.md#get_waf_rule) | Get a rule
589
589
  [*Fastly::WafRulesApi*](docs/WafRulesApi.md) | [**list_waf_rules**](docs/WafRulesApi.md#list_waf_rules) | List available WAF rules
590
590
  [*Fastly::WafTagsApi*](docs/WafTagsApi.md) | [**list_waf_tags**](docs/WafTagsApi.md#list_waf_tags) | List tags
591
+ [*Fastly::WholePlatformDdosHistoricalApi*](docs/WholePlatformDdosHistoricalApi.md) | [**get_platform_ddos_historical**](docs/WholePlatformDdosHistoricalApi.md#get_platform_ddos_historical) | Get historical DDoS metrics for the entire Fastly platform
591
592
 
592
593
 
593
594
  ## Issues
@@ -0,0 +1,13 @@
1
+ # Fastly::HistoricalDdos
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | Whether or not we were able to successfully execute the query. | [optional] |
8
+ | **meta** | [**HistoricalDdosMeta**](HistoricalDdosMeta.md) | | [optional] |
9
+ | **msg** | **String** | If the query was not successful, this will provide a string that explains why. | [optional] |
10
+ | **data** | [**Array<PlatformDdosDataItems>**](PlatformDdosDataItems.md) | A list of [entries](#entry-data-model). | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,13 @@
1
+ # Fastly::HistoricalDdosMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **start** | **String** | Start time that was used to perform the query as an ISO-8601-formatted date and time. | [optional] |
8
+ | **_end** | **String** | End time that was used to perform the query as an ISO-8601-formatted date and time. | [optional] |
9
+ | **downsample** | **String** | Downsample that was used to perform the query. One of `hour` or `day`. | [optional] |
10
+ | **metric** | **String** | A comma-separated list of the metrics that were requested. | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -220,6 +220,15 @@
220
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
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
222
  | **ddos_action_blackhole** | **Integer** | The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped). | [optional] |
223
+ | **bot_challenge_starts** | **Integer** | The number of challenge-start tokens created. | [optional] |
224
+ | **bot_challenge_complete_tokens_passed** | **Integer** | The number of challenge-complete tokens that passed validation. | [optional] |
225
+ | **bot_challenge_complete_tokens_failed** | **Integer** | The number of challenge-complete tokens that failed validation. | [optional] |
226
+ | **bot_challenge_complete_tokens_checked** | **Integer** | The number of challenge-complete tokens checked. | [optional] |
227
+ | **bot_challenge_complete_tokens_disabled** | **Integer** | The number of challenge-complete tokens not checked because the feature was disabled. | [optional] |
228
+ | **bot_challenge_complete_tokens_issued** | **Integer** | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. | [optional] |
229
+ | **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
230
+ | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
231
+ | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
223
232
  | **service_id** | [**ReadOnlyIdService**](ReadOnlyIdService.md) | | [optional] |
224
233
  | **start_time** | **Integer** | | [optional] |
225
234
 
data/docs/KvStoreApi.md CHANGED
@@ -10,19 +10,19 @@ api_instance = Fastly::KvStoreApi.new
10
10
 
11
11
  | Method | HTTP request | Description |
12
12
  | ------ | ------------ | ----------- |
13
- | [**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create an kv store. |
14
- | [**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete an kv store. |
15
- | [**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe an kv store. |
16
- | [**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List kv stores. |
13
+ | [**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create a KV store. |
14
+ | [**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store. |
15
+ | [**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe a KV store. |
16
+ | [**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List KV stores. |
17
17
 
18
18
 
19
19
  ## `create_store()`
20
20
 
21
21
  ```ruby
22
- create_store(opts): <StoreResponse> # Create an kv store.
22
+ create_store(opts): <StoreResponse> # Create a KV store.
23
23
  ```
24
24
 
25
- Create a new kv store.
25
+ Create a new KV store.
26
26
 
27
27
  ### Examples
28
28
 
@@ -34,7 +34,7 @@ opts = {
34
34
  }
35
35
 
36
36
  begin
37
- # Create an kv store.
37
+ # Create a KV store.
38
38
  result = api_instance.create_store(opts)
39
39
  p result
40
40
  rescue Fastly::ApiError => e
@@ -58,10 +58,10 @@ end
58
58
  ## `delete_store()`
59
59
 
60
60
  ```ruby
61
- delete_store(opts) # Delete an kv store.
61
+ delete_store(opts) # Delete a KV store.
62
62
  ```
63
63
 
64
- 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).
64
+ A KV store must be empty before it can be deleted. Deleting a KV store that still contains keys will result in a `409` (Conflict).
65
65
 
66
66
  ### Examples
67
67
 
@@ -72,7 +72,7 @@ opts = {
72
72
  }
73
73
 
74
74
  begin
75
- # Delete an kv store.
75
+ # Delete a KV store.
76
76
  api_instance.delete_store(opts)
77
77
  rescue Fastly::ApiError => e
78
78
  puts "Error when calling KvStoreApi->delete_store: #{e}"
@@ -94,10 +94,10 @@ nil (empty response body)
94
94
  ## `get_store()`
95
95
 
96
96
  ```ruby
97
- get_store(opts): <StoreResponse> # Describe an kv store.
97
+ get_store(opts): <StoreResponse> # Describe a KV store.
98
98
  ```
99
99
 
100
- Get an kv store by ID.
100
+ Get a KV store by ID.
101
101
 
102
102
  ### Examples
103
103
 
@@ -108,7 +108,7 @@ opts = {
108
108
  }
109
109
 
110
110
  begin
111
- # Describe an kv store.
111
+ # Describe a KV store.
112
112
  result = api_instance.get_store(opts)
113
113
  p result
114
114
  rescue Fastly::ApiError => e
@@ -131,7 +131,7 @@ end
131
131
  ## `get_stores()`
132
132
 
133
133
  ```ruby
134
- get_stores(opts): <InlineResponse2003> # List kv stores.
134
+ get_stores(opts): <InlineResponse2003> # List KV stores.
135
135
  ```
136
136
 
137
137
  Get all stores for a given customer.
@@ -146,7 +146,7 @@ opts = {
146
146
  }
147
147
 
148
148
  begin
149
- # List kv stores.
149
+ # List KV stores.
150
150
  result = api_instance.get_stores(opts)
151
151
  p result
152
152
  rescue Fastly::ApiError => e
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **port** | **Integer** | The port number. | [optional][default to 20000] |
8
- | **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] |
8
+ | **token** | **String** | Use token based authentication. | [optional] |
9
9
  | **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
10
10
  | **region** | **String** | The region to which to stream logs. | [optional] |
11
11
 
@@ -38,7 +38,7 @@ opts = {
38
38
  format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
39
39
  format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
40
40
  port: 56, # Integer | The port number.
41
- token: 'token_example', # String | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
41
+ token: 'token_example', # String | Use token based authentication.
42
42
  use_tls: Fastly::LoggingUseTls::no_tls, # LoggingUseTls |
43
43
  region: 'US', # String | The region to which to stream logs.
44
44
  }
@@ -64,7 +64,7 @@ end
64
64
  | **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to &#39;%h %l %u %t \&quot;%r\&quot; %&amp;gt;s %b&#39;] |
65
65
  | **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
66
66
  | **port** | **Integer** | The port number. | [optional][default to 20000] |
67
- | **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] |
67
+ | **token** | **String** | Use token based authentication. | [optional] |
68
68
  | **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
69
69
  | **region** | **String** | The region to which to stream logs. | [optional] |
70
70
 
@@ -217,7 +217,7 @@ opts = {
217
217
  format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
218
218
  format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
219
219
  port: 56, # Integer | The port number.
220
- token: 'token_example', # String | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
220
+ token: 'token_example', # String | Use token based authentication.
221
221
  use_tls: Fastly::LoggingUseTls::no_tls, # LoggingUseTls |
222
222
  region: 'US', # String | The region to which to stream logs.
223
223
  }
@@ -244,7 +244,7 @@ end
244
244
  | **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to &#39;%h %l %u %t \&quot;%r\&quot; %&amp;gt;s %b&#39;] |
245
245
  | **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
246
246
  | **port** | **Integer** | The port number. | [optional][default to 20000] |
247
- | **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] |
247
+ | **token** | **String** | Use token based authentication. | [optional] |
248
248
  | **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
249
249
  | **region** | **String** | The region to which to stream logs. | [optional] |
250
250
 
@@ -10,7 +10,7 @@
10
10
  | **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to &#39;%h %l %u %t \&quot;%r\&quot; %&amp;gt;s %b&#39;] |
11
11
  | **format_version** | **String** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to &#39;2&#39;] |
12
12
  | **port** | **Integer** | The port number. | [optional][default to 20000] |
13
- | **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] |
13
+ | **token** | **String** | Use token based authentication. | [optional] |
14
14
  | **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
15
15
  | **region** | **String** | The region to which to stream logs. | [optional] |
16
16
  | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
@@ -0,0 +1,10 @@
1
+ # Fastly::PlatformDdosDataItems
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **values** | [**Values**](Values.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::PlatformDdosEntry
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **values** | [**Array&lt;ValuesDdos&gt;**](ValuesDdos.md) | An array of values representing the metric values at each point in time. Note that this dataset is sparse: only the keys with non-zero values will be included in the record. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,13 @@
1
+ # Fastly::PlatformDdosResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | Whether or not we were able to successfully execute the query. | [optional] |
8
+ | **meta** | [**HistoricalDdosMeta**](HistoricalDdosMeta.md) | | [optional] |
9
+ | **msg** | **String** | If the query was not successful, this will provide a string that explains why. | [optional] |
10
+ | **data** | [**Array&lt;PlatformDdosEntry&gt;**](PlatformDdosEntry.md) | A list of timeseries. | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,10 @@
1
+ # Fastly::PlatformDdosResponseAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;PlatformDdosEntry&gt;**](PlatformDdosEntry.md) | A list of timeseries. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -222,6 +222,15 @@
222
222
  | **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
223
223
  | **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] |
224
224
  | **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] |
225
+ | **bot_challenge_starts** | **Integer** | The number of challenge-start tokens created. | [optional] |
226
+ | **bot_challenge_complete_tokens_passed** | **Integer** | The number of challenge-complete tokens that passed validation. | [optional] |
227
+ | **bot_challenge_complete_tokens_failed** | **Integer** | The number of challenge-complete tokens that failed validation. | [optional] |
228
+ | **bot_challenge_complete_tokens_checked** | **Integer** | The number of challenge-complete tokens checked. | [optional] |
229
+ | **bot_challenge_complete_tokens_disabled** | **Integer** | The number of challenge-complete tokens not checked because the feature was disabled. | [optional] |
230
+ | **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
231
+ | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
232
+ | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
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] |
225
234
 
226
235
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
227
236
 
@@ -222,6 +222,15 @@
222
222
  | **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
223
223
  | **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] |
224
224
  | **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] |
225
+ | **bot_challenge_starts** | **Integer** | The number of challenge-start tokens created. | [optional] |
226
+ | **bot_challenge_complete_tokens_passed** | **Integer** | The number of challenge-complete tokens that passed validation. | [optional] |
227
+ | **bot_challenge_complete_tokens_failed** | **Integer** | The number of challenge-complete tokens that failed validation. | [optional] |
228
+ | **bot_challenge_complete_tokens_checked** | **Integer** | The number of challenge-complete tokens checked. | [optional] |
229
+ | **bot_challenge_complete_tokens_disabled** | **Integer** | The number of challenge-complete tokens not checked because the feature was disabled. | [optional] |
230
+ | **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
231
+ | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
232
+ | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
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] |
225
234
 
226
235
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
227
236
 
data/docs/Results.md CHANGED
@@ -220,6 +220,15 @@
220
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
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
222
  | **ddos_action_blackhole** | **Integer** | The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped). | [optional] |
223
+ | **bot_challenge_starts** | **Integer** | The number of challenge-start tokens created. | [optional] |
224
+ | **bot_challenge_complete_tokens_passed** | **Integer** | The number of challenge-complete tokens that passed validation. | [optional] |
225
+ | **bot_challenge_complete_tokens_failed** | **Integer** | The number of challenge-complete tokens that failed validation. | [optional] |
226
+ | **bot_challenge_complete_tokens_checked** | **Integer** | The number of challenge-complete tokens checked. | [optional] |
227
+ | **bot_challenge_complete_tokens_disabled** | **Integer** | The number of challenge-complete tokens not checked because the feature was disabled. | [optional] |
228
+ | **bot_challenge_complete_tokens_issued** | **Integer** | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. | [optional] |
229
+ | **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
230
+ | **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
231
+ | **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
223
232
 
224
233
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
225
234
 
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | The name for the snippet. | [optional] |
8
- | **dynamic** | **String** | Sets the snippet version. | [optional] |
9
8
  | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
10
9
  | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
11
10
  | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
11
+ | **dynamic** | **String** | Sets the snippet version. | [optional] |
12
12
  | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
13
13
  | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
14
14
  | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
@@ -0,0 +1,15 @@
1
+ # Fastly::SchemasSnippetResponseCommon
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
8
+ | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
9
+ | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
10
+ | **service_id** | **String** | | [optional][readonly] |
11
+ | **version** | **String** | String representing the number identifying a version of the service. | [optional][readonly] |
12
+ | **id** | **String** | | [optional][readonly] |
13
+
14
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
15
+
data/docs/Snippet.md CHANGED
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | The name for the snippet. | [optional] |
8
- | **dynamic** | **String** | Sets the snippet version. | [optional] |
9
8
  | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
10
9
  | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
11
10
  | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
11
+ | **dynamic** | **String** | Sets the snippet version. | [optional] |
12
12
 
13
13
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14
14
 
@@ -0,0 +1,10 @@
1
+ # Fastly::SnippetAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dynamic** | **String** | Sets the snippet version. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
data/docs/SnippetApi.md CHANGED
@@ -22,7 +22,7 @@ api_instance = Fastly::SnippetApi.new
22
22
  ## `create_snippet()`
23
23
 
24
24
  ```ruby
25
- create_snippet(opts): <SnippetResponse> # Create a snippet
25
+ create_snippet(opts): <SnippetResponsePost> # Create a snippet
26
26
  ```
27
27
 
28
28
  Create a snippet for a particular service and version.
@@ -35,10 +35,10 @@ opts = {
35
35
  service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
36
36
  version_id: 56, # Integer | Integer identifying a service version.
37
37
  name: 'name_example', # String | The name for the snippet.
38
- dynamic: '0', # String | Sets the snippet version.
39
38
  type: 'init', # String | The location in generated VCL where the snippet should be placed.
40
39
  content: 'content_example', # String | The VCL code that specifies exactly what the snippet does.
41
40
  priority: 'priority_example', # String | Priority determines execution order. Lower numbers execute first.
41
+ dynamic: '0', # String | Sets the snippet version.
42
42
  }
43
43
 
44
44
  begin
@@ -57,14 +57,14 @@ end
57
57
  | **service_id** | **String** | Alphanumeric string identifying the service. | |
58
58
  | **version_id** | **Integer** | Integer identifying a service version. | |
59
59
  | **name** | **String** | The name for the snippet. | [optional] |
60
- | **dynamic** | **String** | Sets the snippet version. | [optional] |
61
60
  | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
62
61
  | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
63
62
  | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
63
+ | **dynamic** | **String** | Sets the snippet version. | [optional] |
64
64
 
65
65
  ### Return type
66
66
 
67
- [**SnippetResponse**](SnippetResponse.md)
67
+ [**SnippetResponsePost**](SnippetResponsePost.md)
68
68
 
69
69
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
70
70
  [[Back to README]](../../README.md)
@@ -285,10 +285,10 @@ opts = {
285
285
  service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
286
286
  snippet_id: 'snippet_id_example', # String | Alphanumeric string identifying a VCL Snippet.
287
287
  name: 'name_example', # String | The name for the snippet.
288
- dynamic: '0', # String | Sets the snippet version.
289
288
  type: 'init', # String | The location in generated VCL where the snippet should be placed.
290
289
  content: 'content_example', # String | The VCL code that specifies exactly what the snippet does.
291
290
  priority: 'priority_example', # String | Priority determines execution order. Lower numbers execute first.
291
+ dynamic: '0', # String | Sets the snippet version.
292
292
  }
293
293
 
294
294
  begin
@@ -307,10 +307,10 @@ end
307
307
  | **service_id** | **String** | Alphanumeric string identifying the service. | |
308
308
  | **snippet_id** | **String** | Alphanumeric string identifying a VCL Snippet. | |
309
309
  | **name** | **String** | The name for the snippet. | [optional] |
310
- | **dynamic** | **String** | Sets the snippet version. | [optional] |
311
310
  | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
312
311
  | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
313
312
  | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
313
+ | **dynamic** | **String** | Sets the snippet version. | [optional] |
314
314
 
315
315
  ### Return type
316
316
 
@@ -0,0 +1,13 @@
1
+ # Fastly::SnippetCommon
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name for the snippet. | [optional] |
8
+ | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
9
+ | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
10
+ | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | The name for the snippet. | [optional] |
8
- | **dynamic** | **String** | Sets the snippet version. | [optional] |
9
8
  | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
10
9
  | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
11
10
  | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
11
+ | **dynamic** | **String** | Sets the snippet version. | [optional] |
12
12
  | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
13
13
  | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
14
14
  | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
@@ -0,0 +1,15 @@
1
+ # Fastly::SnippetResponseCommon
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
8
+ | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
9
+ | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
10
+ | **service_id** | **String** | | [optional][readonly] |
11
+ | **version** | **String** | String representing the number identifying a version of the service. | [optional][readonly] |
12
+ | **id** | **String** | | [optional][readonly] |
13
+
14
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
15
+
@@ -1,4 +1,4 @@
1
- # Fastly::SnippetResponseAllOf
1
+ # Fastly::SnippetResponseCommonAllOf
2
2
 
3
3
  ## Properties
4
4
 
@@ -0,0 +1,20 @@
1
+ # Fastly::SnippetResponsePost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name for the snippet. | [optional] |
8
+ | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
9
+ | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
10
+ | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
11
+ | **dynamic** | **Float** | Sets the snippet version. | [optional] |
12
+ | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
13
+ | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
14
+ | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
15
+ | **service_id** | **String** | | [optional][readonly] |
16
+ | **version** | **String** | String representing the number identifying a version of the service. | [optional][readonly] |
17
+ | **id** | **String** | | [optional][readonly] |
18
+
19
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
20
+
@@ -0,0 +1,14 @@
1
+ # Fastly::SnippetWithDynamicNumber
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name for the snippet. | [optional] |
8
+ | **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
9
+ | **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
10
+ | **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to &#39;100&#39;] |
11
+ | **dynamic** | **Float** | Sets the snippet version. | [optional] |
12
+
13
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14
+
@@ -0,0 +1,10 @@
1
+ # Fastly::SnippetWithDynamicNumberAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dynamic** | **Float** | Sets the snippet version. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,15 @@
1
+ # Fastly::ValuesDdos
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **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] |
8
+ | **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] |
9
+ | **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] |
10
+ | **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
11
+ | **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] |
12
+ | **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] |
13
+
14
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
15
+