fastly 7.1.0 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +6 -5
  5. data/docs/EventsApi.md +8 -0
  6. data/docs/HistoricalDdos.md +13 -0
  7. data/docs/HistoricalDdosMeta.md +13 -0
  8. data/docs/HistoricalFieldResultsAttributes.md +9 -0
  9. data/docs/KvStoreApi.md +15 -15
  10. data/docs/LoggingLogentriesAdditional.md +1 -1
  11. data/docs/LoggingLogentriesApi.md +4 -4
  12. data/docs/LoggingLogentriesResponse.md +1 -1
  13. data/docs/PlatformDdosDataItems.md +10 -0
  14. data/docs/PlatformDdosEntry.md +10 -0
  15. data/docs/PlatformDdosResponse.md +13 -0
  16. data/docs/PlatformDdosResponseAllOf.md +10 -0
  17. data/docs/RealtimeEntryAggregated.md +9 -0
  18. data/docs/RealtimeMeasurements.md +9 -0
  19. data/docs/Results.md +9 -0
  20. data/docs/SchemasSnippetResponse.md +1 -1
  21. data/docs/SchemasSnippetResponseCommon.md +15 -0
  22. data/docs/Snippet.md +1 -1
  23. data/docs/SnippetAllOf.md +10 -0
  24. data/docs/SnippetApi.md +6 -6
  25. data/docs/SnippetCommon.md +13 -0
  26. data/docs/SnippetResponse.md +1 -1
  27. data/docs/SnippetResponseCommon.md +15 -0
  28. data/docs/{SnippetResponseAllOf.md → SnippetResponseCommonAllOf.md} +1 -1
  29. data/docs/SnippetResponsePost.md +20 -0
  30. data/docs/SnippetWithDynamicNumber.md +14 -0
  31. data/docs/SnippetWithDynamicNumberAllOf.md +10 -0
  32. data/docs/ValuesDdos.md +15 -0
  33. data/docs/WholePlatformDdosHistoricalApi.md +56 -0
  34. data/lib/fastly/api/events_api.rb +12 -0
  35. data/lib/fastly/api/kv_store_api.rb +14 -14
  36. data/lib/fastly/api/logging_logentries_api.rb +4 -4
  37. data/lib/fastly/api/snippet_api.rb +17 -17
  38. data/lib/fastly/api/whole_platform_ddos_historical_api.rb +89 -0
  39. data/lib/fastly/configuration.rb +6 -0
  40. data/lib/fastly/models/historical_ddos.rb +249 -0
  41. data/lib/fastly/models/historical_ddos_meta.rb +248 -0
  42. data/lib/fastly/models/historical_field_results_attributes.rb +91 -1
  43. data/lib/fastly/models/logging_logentries_additional.rb +1 -1
  44. data/lib/fastly/models/logging_logentries_response.rb +1 -1
  45. data/lib/fastly/models/platform_ddos_data_items.rb +216 -0
  46. data/lib/fastly/models/platform_ddos_entry.rb +219 -0
  47. data/lib/fastly/models/platform_ddos_response.rb +257 -0
  48. data/lib/fastly/models/platform_ddos_response_all_of.rb +219 -0
  49. data/lib/fastly/models/realtime_entry_aggregated.rb +94 -4
  50. data/lib/fastly/models/realtime_measurements.rb +94 -4
  51. data/lib/fastly/models/results.rb +94 -4
  52. data/lib/fastly/models/schemas_snippet_response.rb +25 -26
  53. data/lib/fastly/models/schemas_snippet_response_common.rb +276 -0
  54. data/lib/fastly/models/snippet.rb +34 -26
  55. data/lib/fastly/models/snippet_all_of.rb +251 -0
  56. data/lib/fastly/models/snippet_common.rb +283 -0
  57. data/lib/fastly/models/snippet_response.rb +24 -25
  58. data/lib/fastly/models/snippet_response_common.rb +276 -0
  59. data/lib/fastly/models/{snippet_response_all_of.rb → snippet_response_common_all_of.rb} +3 -3
  60. data/lib/fastly/models/snippet_response_post.rb +374 -0
  61. data/lib/fastly/models/snippet_with_dynamic_number.rb +313 -0
  62. data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +251 -0
  63. data/lib/fastly/models/values_ddos.rb +268 -0
  64. data/lib/fastly/version.rb +1 -1
  65. data/lib/fastly.rb +16 -1
  66. data/sig.json +1 -1
  67. metadata +34 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '05963046f4baeae8c192d334a5527c4248a97a7d5bf1de383dfe9e94dcfce871'
4
- data.tar.gz: 4cd53d320fbc8c8c1d896b46eeca7f63a83f92dc6f972feba486cf7a27f2354f
3
+ metadata.gz: c51fd6de296c895b5292180b11c39a13a37eb55358b496d53032bd1ebac8332d
4
+ data.tar.gz: 859489fb6bac8a1b724077ef601f8640572b7925cea62f8c24b5b0a1de1401f1
5
5
  SHA512:
6
- metadata.gz: aa75b2d3bfcfb2d5b42bc731ae31465dd10824fd8013f0de6d9d45f5d0190923f1ff391c63606732cf0ced1c619802f848f731473fc730cc9d7c30d102b44a96
7
- data.tar.gz: c2e9eaa6cb121d0bfe5b8662dc41b54a00a52e423f54ceafaf26e127e3b1d91ca4e31fac31b4fb7fb57ea2f0bb3dcfe13073014f2ca0565c69abeec6effb823a
6
+ metadata.gz: c1fca4d1fffd3f8055f601ba5856f577bb18498960d1c8e2018a83191f540fe1bd2e9590dab39e6e47adfb3e00cc5481834e7a5fdfb929949e38ba2e9c91f4ea
7
+ data.tar.gz: c68f0ba0192cd4b3a6674e3612cc6fb80bc50cc60800338f7c6076be86951696ac7e2aace7de839ab5b66084205f74bf6a9ae74623577094711eb10657eb3f55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
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
+
14
+ ## [v7.1.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.1.1) (2023-09-01)
15
+
16
+ **Enhancements:**
17
+
18
+ - feat(events): support extra created_at filters.
19
+
3
20
  ## [v7.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.1.0) (2023-09-01)
4
21
 
5
22
  **Enhancements:**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (7.1.0)
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.0'
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
data/docs/EventsApi.md CHANGED
@@ -70,6 +70,10 @@ opts = {
70
70
  filter_user_id: 'filter_user_id_example', # String | Limit the results returned to a specific user.
71
71
  filter_token_id: 'filter_token_id_example', # String | Limit the returned events to a specific token.
72
72
  filter_created_at: 'filter_created_at_example', # String | Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
73
+ filter_created_at_lte: 'filter_created_at_lte_example', # String | Return events on and before a date and time in ISO 8601 format.
74
+ filter_created_at_lt: 'filter_created_at_lt_example', # String | Return events before a date and time in ISO 8601 format.
75
+ filter_created_at_gte: 'filter_created_at_gte_example', # String | Return events on and after a date and time in ISO 8601 format.
76
+ filter_created_at_gt: 'filter_created_at_gt_example', # String | Return events after a date and time in ISO 8601 format.
73
77
  page_number: 1, # Integer | Current page.
74
78
  page_size: 20, # Integer | Number of records per page.
75
79
  sort: 'created_at', # String | The order in which to list the results by creation date.
@@ -94,6 +98,10 @@ end
94
98
  | **filter_user_id** | **String** | Limit the results returned to a specific user. | [optional] |
95
99
  | **filter_token_id** | **String** | Limit the returned events to a specific token. | [optional] |
96
100
  | **filter_created_at** | **String** | Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12). | [optional] |
101
+ | **filter_created_at_lte** | **String** | Return events on and before a date and time in ISO 8601 format. | [optional] |
102
+ | **filter_created_at_lt** | **String** | Return events before a date and time in ISO 8601 format. | [optional] |
103
+ | **filter_created_at_gte** | **String** | Return events on and after a date and time in ISO 8601 format. | [optional] |
104
+ | **filter_created_at_gt** | **String** | Return events after a date and time in ISO 8601 format. | [optional] |
97
105
  | **page_number** | **Integer** | Current page. | [optional] |
98
106
  | **page_size** | **Integer** | Number of records per page. | [optional][default to 20] |
99
107
  | **sort** | **String** | The order in which to list the results by creation date. | [optional][default to 'created_at'] |
@@ -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
+