fastly 8.10.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -1
- data/Gemfile.lock +1 -1
- data/README.md +15 -4
- data/docs/AccessKey.md +12 -0
- data/docs/AccessKeyResponse.md +15 -0
- data/docs/AclsInComputeApi.md +2 -2
- data/docs/BillingUsageMetricsApi.md +13 -19
- data/docs/ComputeAclUpdate.md +10 -0
- data/docs/DimensionAttributesCountryStats.md +12 -0
- data/docs/DimensionAttributesRate.md +10 -0
- data/docs/DimensionBrowser.md +10 -0
- data/docs/DimensionContentType.md +10 -0
- data/docs/DimensionCountry.md +10 -0
- data/docs/DimensionDevice.md +10 -0
- data/docs/DimensionOs.md +10 -0
- data/docs/DimensionResponse.md +10 -0
- data/docs/DimensionStatusCode.md +10 -0
- data/docs/DimensionUrl.md +10 -0
- data/docs/EnabledProductsApi.md +5 -5
- data/docs/FilterFieldItem.md +12 -0
- data/docs/GetLogInsightsResponse.md +11 -0
- data/docs/GetLogRecordsResponse.md +11 -0
- data/docs/GetLogRecordsResponseMeta.md +10 -0
- data/docs/GetLogRecordsResponseMetaFilters.md +16 -0
- data/docs/InsightsApi.md +69 -0
- data/docs/KvStoreItemApi.md +2 -0
- data/docs/LogExplorerApi.md +65 -0
- data/docs/LogInsights.md +12 -0
- data/docs/LogInsightsDimensionAttributes.md +49 -0
- data/docs/LogInsightsDimensions.md +61 -0
- data/docs/LogInsightsMeta.md +10 -0
- data/docs/LogInsightsMetaFilter.md +14 -0
- data/docs/LogInsightsValues.md +65 -0
- data/docs/LogPropertyServiceId.md +9 -0
- data/docs/LogRecord.md +37 -0
- data/docs/LoggingGrafanacloudlogsAdditional.md +14 -0
- data/docs/LoggingGrafanacloudlogsApi.md +259 -0
- data/docs/LoggingGrafanacloudlogsResponse.md +23 -0
- data/docs/ObjectStorageAccessKeysApi.md +163 -0
- data/docs/RealtimeEntryAggregated.md +3 -7
- data/docs/RealtimeMeasurements.md +3 -7
- data/docs/Results.md +3 -7
- data/docs/SetConfiguration.md +1 -0
- data/docs/Usagemetric.md +18 -0
- data/docs/Usagemetrics.md +10 -0
- data/docs/ValueField.md +59 -0
- data/docs/Values503Responses.md +12 -0
- data/docs/ValuesBandwidth.md +11 -0
- data/docs/ValuesBrowser.md +11 -0
- data/docs/ValuesCacheHitRatio.md +10 -0
- data/docs/ValuesCountryStats.md +12 -0
- data/docs/ValuesDuration.md +12 -0
- data/docs/ValuesMisses.md +10 -0
- data/docs/ValuesRate.md +10 -0
- data/docs/ValuesRequests.md +10 -0
- data/docs/ValuesStatusCodes.md +12 -0
- data/lib/fastly/api/acls_in_compute_api.rb +3 -3
- data/lib/fastly/api/billing_usage_metrics_api.rb +30 -57
- data/lib/fastly/api/enabled_products_api.rb +10 -10
- data/lib/fastly/api/insights_api.rb +125 -0
- data/lib/fastly/api/kv_store_item_api.rb +3 -0
- data/lib/fastly/api/log_explorer_api.rb +109 -0
- data/lib/fastly/api/logging_grafanacloudlogs_api.rb +471 -0
- data/lib/fastly/api/object_storage_access_keys_api.rb +263 -0
- data/lib/fastly/configuration.rb +67 -1
- data/lib/fastly/models/access_key.rb +248 -0
- data/lib/fastly/models/access_key_response.rb +269 -0
- data/lib/fastly/models/compute_acl_list_entries.rb +1 -1
- data/lib/fastly/models/compute_acl_lookup.rb +1 -1
- data/lib/fastly/models/compute_acl_update.rb +219 -0
- data/lib/fastly/models/compute_acl_update_entry.rb +1 -1
- data/lib/fastly/models/dimension_attributes_country_stats.rb +237 -0
- data/lib/fastly/models/dimension_attributes_rate.rb +217 -0
- data/lib/fastly/models/dimension_browser.rb +217 -0
- data/lib/fastly/models/dimension_content_type.rb +217 -0
- data/lib/fastly/models/dimension_country.rb +217 -0
- data/lib/fastly/models/dimension_device.rb +217 -0
- data/lib/fastly/models/dimension_os.rb +217 -0
- data/lib/fastly/models/dimension_response.rb +217 -0
- data/lib/fastly/models/dimension_status_code.rb +217 -0
- data/lib/fastly/models/dimension_url.rb +217 -0
- data/lib/fastly/models/filter_field_item.rb +271 -0
- data/lib/fastly/models/get_log_insights_response.rb +227 -0
- data/lib/fastly/models/get_log_records_response.rb +227 -0
- data/lib/fastly/models/get_log_records_response_meta.rb +216 -0
- data/lib/fastly/models/get_log_records_response_meta_filters.rb +307 -0
- data/lib/fastly/models/log_insights.rb +234 -0
- data/lib/fastly/models/log_insights_dimension_attributes.rb +103 -0
- data/lib/fastly/models/log_insights_dimensions.rb +109 -0
- data/lib/fastly/models/log_insights_meta.rb +217 -0
- data/lib/fastly/models/log_insights_meta_filter.rb +284 -0
- data/lib/fastly/models/log_insights_values.rb +111 -0
- data/lib/fastly/models/log_property_service_id.rb +208 -0
- data/lib/fastly/models/log_record.rb +486 -0
- data/lib/fastly/models/logging_grafanacloudlogs_additional.rb +257 -0
- data/lib/fastly/models/logging_grafanacloudlogs_response.rb +408 -0
- data/lib/fastly/models/realtime_entry_aggregated.rb +34 -74
- data/lib/fastly/models/realtime_measurements.rb +34 -74
- data/lib/fastly/models/results.rb +31 -71
- data/lib/fastly/models/set_configuration.rb +14 -4
- data/lib/fastly/models/usagemetric.rb +297 -0
- data/lib/fastly/models/usagemetrics.rb +218 -0
- data/lib/fastly/models/value_field.rb +108 -0
- data/lib/fastly/models/values503_responses.rb +237 -0
- data/lib/fastly/models/values_bandwidth.rb +227 -0
- data/lib/fastly/models/values_browser.rb +227 -0
- data/lib/fastly/models/values_cache_hit_ratio.rb +217 -0
- data/lib/fastly/models/values_country_stats.rb +237 -0
- data/lib/fastly/models/values_duration.rb +237 -0
- data/lib/fastly/models/values_misses.rb +217 -0
- data/lib/fastly/models/values_rate.rb +217 -0
- data/lib/fastly/models/values_requests.rb +217 -0
- data/lib/fastly/models/values_status_codes.rb +237 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +45 -0
- data/sig.json +1 -1
- metadata +92 -2
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Fastly::ObjectStorageAccessKeysApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::ObjectStorageAccessKeysApi.new
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Methods
|
|
10
|
+
|
|
11
|
+
> [!NOTE]
|
|
12
|
+
> All URIs are relative to `https://api.fastly.com`
|
|
13
|
+
|
|
14
|
+
Method | HTTP request | Description
|
|
15
|
+
------ | ------------ | -----------
|
|
16
|
+
[**create_access_key**](ObjectStorageAccessKeysApi.md#create_access_key) | **POST** /resources/object-storage/access-keys | Create an access key
|
|
17
|
+
[**delete_access_key**](ObjectStorageAccessKeysApi.md#delete_access_key) | **DELETE** /resources/object-storage/access-keys/{access_key} | Delete an access key
|
|
18
|
+
[**get_access_key**](ObjectStorageAccessKeysApi.md#get_access_key) | **GET** /resources/object-storage/access-keys/{access_key} | Get an access key
|
|
19
|
+
[**list_access_keys**](ObjectStorageAccessKeysApi.md#list_access_keys) | **GET** /resources/object-storage/access-keys | List access keys
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## `create_access_key()`
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
create_access_key(opts): <AccessKeyResponse> # Create an access key
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Create an access key.
|
|
29
|
+
|
|
30
|
+
### Examples
|
|
31
|
+
|
|
32
|
+
```ruby
|
|
33
|
+
api_instance = Fastly::ObjectStorageAccessKeysApi.new
|
|
34
|
+
opts = {
|
|
35
|
+
access_key: Fastly::AccessKey.new({description: 'description_example', permission: 'permission_example'}), # AccessKey |
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
begin
|
|
39
|
+
# Create an access key
|
|
40
|
+
result = api_instance.create_access_key(opts)
|
|
41
|
+
p result
|
|
42
|
+
rescue Fastly::ApiError => e
|
|
43
|
+
puts "Error when calling ObjectStorageAccessKeysApi->create_access_key: #{e}"
|
|
44
|
+
end
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Options
|
|
48
|
+
|
|
49
|
+
| Name | Type | Description | Notes |
|
|
50
|
+
| ---- | ---- | ----------- | ----- |
|
|
51
|
+
| **access_key** | [**AccessKey**](AccessKey.md) | | [optional] |
|
|
52
|
+
|
|
53
|
+
### Return type
|
|
54
|
+
|
|
55
|
+
[**AccessKeyResponse**](AccessKeyResponse.md)
|
|
56
|
+
|
|
57
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
58
|
+
[[Back to README]](../../README.md)
|
|
59
|
+
## `delete_access_key()`
|
|
60
|
+
|
|
61
|
+
```ruby
|
|
62
|
+
delete_access_key(opts) # Delete an access key
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Delete an access key.
|
|
66
|
+
|
|
67
|
+
### Examples
|
|
68
|
+
|
|
69
|
+
```ruby
|
|
70
|
+
api_instance = Fastly::ObjectStorageAccessKeysApi.new
|
|
71
|
+
opts = {
|
|
72
|
+
access_key: 'access_key_example', # String |
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
begin
|
|
76
|
+
# Delete an access key
|
|
77
|
+
api_instance.delete_access_key(opts)
|
|
78
|
+
rescue Fastly::ApiError => e
|
|
79
|
+
puts "Error when calling ObjectStorageAccessKeysApi->delete_access_key: #{e}"
|
|
80
|
+
end
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Options
|
|
84
|
+
|
|
85
|
+
| Name | Type | Description | Notes |
|
|
86
|
+
| ---- | ---- | ----------- | ----- |
|
|
87
|
+
| **access_key** | **String** | | |
|
|
88
|
+
|
|
89
|
+
### Return type
|
|
90
|
+
|
|
91
|
+
nil (empty response body)
|
|
92
|
+
|
|
93
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
94
|
+
[[Back to README]](../../README.md)
|
|
95
|
+
## `get_access_key()`
|
|
96
|
+
|
|
97
|
+
```ruby
|
|
98
|
+
get_access_key(opts): <AccessKey> # Get an access key
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Get an access key by its identifier.
|
|
102
|
+
|
|
103
|
+
### Examples
|
|
104
|
+
|
|
105
|
+
```ruby
|
|
106
|
+
api_instance = Fastly::ObjectStorageAccessKeysApi.new
|
|
107
|
+
opts = {
|
|
108
|
+
access_key: 'access_key_example', # String |
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
begin
|
|
112
|
+
# Get an access key
|
|
113
|
+
result = api_instance.get_access_key(opts)
|
|
114
|
+
p result
|
|
115
|
+
rescue Fastly::ApiError => e
|
|
116
|
+
puts "Error when calling ObjectStorageAccessKeysApi->get_access_key: #{e}"
|
|
117
|
+
end
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Options
|
|
121
|
+
|
|
122
|
+
| Name | Type | Description | Notes |
|
|
123
|
+
| ---- | ---- | ----------- | ----- |
|
|
124
|
+
| **access_key** | **String** | | |
|
|
125
|
+
|
|
126
|
+
### Return type
|
|
127
|
+
|
|
128
|
+
[**AccessKey**](AccessKey.md)
|
|
129
|
+
|
|
130
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
131
|
+
[[Back to README]](../../README.md)
|
|
132
|
+
## `list_access_keys()`
|
|
133
|
+
|
|
134
|
+
```ruby
|
|
135
|
+
list_access_keys: <AccessKeyResponse> # List access keys
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
List access keys.
|
|
139
|
+
|
|
140
|
+
### Examples
|
|
141
|
+
|
|
142
|
+
```ruby
|
|
143
|
+
api_instance = Fastly::ObjectStorageAccessKeysApi.new
|
|
144
|
+
|
|
145
|
+
begin
|
|
146
|
+
# List access keys
|
|
147
|
+
result = api_instance.list_access_keys
|
|
148
|
+
p result
|
|
149
|
+
rescue Fastly::ApiError => e
|
|
150
|
+
puts "Error when calling ObjectStorageAccessKeysApi->list_access_keys: #{e}"
|
|
151
|
+
end
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Options
|
|
155
|
+
|
|
156
|
+
This endpoint does not need any parameter.
|
|
157
|
+
|
|
158
|
+
### Return type
|
|
159
|
+
|
|
160
|
+
[**AccessKeyResponse**](AccessKeyResponse.md)
|
|
161
|
+
|
|
162
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
163
|
+
[[Back to README]](../../README.md)
|
|
@@ -233,13 +233,6 @@
|
|
|
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
234
|
| **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
|
|
235
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
236
|
| **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
|
|
244
237
|
| **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
|
|
245
238
|
| **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
|
|
@@ -254,6 +247,9 @@
|
|
|
254
247
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
|
255
248
|
| **origin_offload** | **Float** | Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`). | [optional] |
|
|
256
249
|
| **request_denied_get_head_body** | **Integer** | Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body. | [optional] |
|
|
250
|
+
| **service_ddos_requests_detected** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service. | [optional] |
|
|
251
|
+
| **service_ddos_requests_mitigated** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform. | [optional] |
|
|
252
|
+
| **service_ddos_requests_allowed** | **Integer** | Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected. | [optional] |
|
|
257
253
|
|
|
258
254
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
259
255
|
|
|
@@ -233,13 +233,6 @@
|
|
|
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
234
|
| **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
|
|
235
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
236
|
| **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
|
|
244
237
|
| **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
|
|
245
238
|
| **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
|
|
@@ -254,6 +247,9 @@
|
|
|
254
247
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
|
255
248
|
| **origin_offload** | **Float** | Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`). | [optional] |
|
|
256
249
|
| **request_denied_get_head_body** | **Integer** | Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body. | [optional] |
|
|
250
|
+
| **service_ddos_requests_detected** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service. | [optional] |
|
|
251
|
+
| **service_ddos_requests_mitigated** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform. | [optional] |
|
|
252
|
+
| **service_ddos_requests_allowed** | **Integer** | Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected. | [optional] |
|
|
257
253
|
|
|
258
254
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
259
255
|
|
data/docs/Results.md
CHANGED
|
@@ -233,13 +233,6 @@
|
|
|
233
233
|
| **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
|
|
234
234
|
| **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
|
|
235
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
236
|
| **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
|
|
244
237
|
| **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
|
|
245
238
|
| **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
|
|
@@ -254,6 +247,9 @@
|
|
|
254
247
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
|
255
248
|
| **origin_offload** | **Float** | Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`). | [optional] |
|
|
256
249
|
| **request_denied_get_head_body** | **Integer** | Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body. | [optional] |
|
|
250
|
+
| **service_ddos_requests_detected** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service. | [optional] |
|
|
251
|
+
| **service_ddos_requests_mitigated** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform. | [optional] |
|
|
252
|
+
| **service_ddos_requests_allowed** | **Integer** | Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected. | [optional] |
|
|
257
253
|
| **service_id** | **String** | | [optional][readonly] |
|
|
258
254
|
| **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
|
|
259
255
|
|
data/docs/SetConfiguration.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **workspace_id** | **String** | The new workspace_id. Required in the `PUT` request body when `product_id` is `ngwaf`. Optional in the `PATCH` request body for `ngwaf`. | [optional] |
|
|
8
8
|
| **traffic_ramp** | **String** | The new traffic ramp. Optional in the `PATCH` request body for `ngwaf`. | [optional] |
|
|
9
|
+
| **mode** | **String** | The new mode to run the product in. One of `block`, `log`, or `off`. Optional in the `PATCH` request body for `ddos_protection`. | [optional] |
|
|
9
10
|
|
|
10
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
12
|
|
data/docs/Usagemetric.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Fastly::Usagemetric
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **month** | **String** | The year and month of the usage element. | [optional] |
|
|
8
|
+
| **usage_type** | **String** | The usage type identifier for the usage. This is a single, billable metric for the product. | [optional] |
|
|
9
|
+
| **name** | **String** | Full name of the product usage type as it might appear on a customer's invoice. | [optional] |
|
|
10
|
+
| **region** | **String** | The geographical area applicable for regionally based products. | [optional] |
|
|
11
|
+
| **unit** | **String** | The unit for the usage as shown on an invoice. If there is no explicit unit, this field will be \"unit\" (e.g., a request with `product_id` of 'cdn_usage' and `usage_type` of 'North America Requests' has no unit, and will return \"unit\"). | [optional] |
|
|
12
|
+
| **quantity** | **Float** | The quantity of the usage for the product. | [optional] |
|
|
13
|
+
| **raw_quantity** | **Float** | The raw units measured for the product. | [optional] |
|
|
14
|
+
| **product_id** | **String** | The product identifier associated with the usage type. This corresponds to a Fastly product offering. | [optional] |
|
|
15
|
+
| **last_updated_at** | **String** | The date when the usage metric was last updated. | [optional] |
|
|
16
|
+
|
|
17
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
18
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::Usagemetrics
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<Usagemetric>**](Usagemetric.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
data/docs/ValueField.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Fastly::ValueField
|
|
2
|
+
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `fastly_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'fastly'
|
|
13
|
+
|
|
14
|
+
Fastly::ValueField.fastly_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'Array<Float>',
|
|
18
|
+
# :'Array<Integer>',
|
|
19
|
+
# :'Array<String>',
|
|
20
|
+
# :'Boolean',
|
|
21
|
+
# :'Float',
|
|
22
|
+
# :'Integer',
|
|
23
|
+
# :'String'
|
|
24
|
+
# ]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### build
|
|
28
|
+
|
|
29
|
+
Find the appropriate object from the `fastly_one_of` list and casts the data into it.
|
|
30
|
+
|
|
31
|
+
#### Example
|
|
32
|
+
|
|
33
|
+
```ruby
|
|
34
|
+
require 'fastly'
|
|
35
|
+
|
|
36
|
+
Fastly::ValueField.build(data)
|
|
37
|
+
# => #<Array<Float>:0x00007fdd4aab02a0>
|
|
38
|
+
|
|
39
|
+
Fastly::ValueField.build(data_that_doesnt_match)
|
|
40
|
+
# => nil
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
#### Parameters
|
|
44
|
+
|
|
45
|
+
| Name | Type | Description |
|
|
46
|
+
| ---- | ---- | ----------- |
|
|
47
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
48
|
+
|
|
49
|
+
#### Return type
|
|
50
|
+
|
|
51
|
+
- `Array<Float>`
|
|
52
|
+
- `Array<Integer>`
|
|
53
|
+
- `Array<String>`
|
|
54
|
+
- `Boolean`
|
|
55
|
+
- `Float`
|
|
56
|
+
- `Integer`
|
|
57
|
+
- `String`
|
|
58
|
+
- `nil` (if no type matches)
|
|
59
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::Values503Responses
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **url** | **String** | The HTTP request path. | [optional] |
|
|
8
|
+
| **rate_per_url** | **Float** | The rate at which the reason in this dimension occurs among responses to this URL with a 503 status code. | [optional] |
|
|
9
|
+
| **_503_rate_per_url** | **Float** | The rate at which 503 status codes are returned for this URL. | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::ValuesBandwidth
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **average_bandwidth_bytes** | **Float** | The average bandwidth in bytes for responses to requests to the URL in the current dimension. | [optional] |
|
|
8
|
+
| **bandwidth_percentage** | **Float** | The total bandwidth percentage for all responses to requests to the URL in the current dimension. | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::ValuesBrowser
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **browser_version** | **String** | The version of the client's browser. | [optional] |
|
|
8
|
+
| **rate** | **Float** | The percentage of requests by this version of the browser specified in the dimension. | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::ValuesCacheHitRatio
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **cache_hit_ratio** | **Float** | The cache hit ratio for the URL specified in the dimension. | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::ValuesCountryStats
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **region** | **String** | The client's country subdivision code as defined by ISO 3166-2. | [optional] |
|
|
8
|
+
| **region_chr** | **Float** | The cache hit ratio for the region. | [optional] |
|
|
9
|
+
| **region_error_rate** | **Float** | The error rate for the region. | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::ValuesDuration
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **average_response_time** | **Float** | The average time in seconds to respond to requests to the URL in the current dimension. | [optional] |
|
|
8
|
+
| **p95_response_time** | **Float** | The P95 time in seconds to respond to requests to the URL in the current dimension. | [optional] |
|
|
9
|
+
| **response_time_percentage** | **Float** | The total percentage of time to respond to all requests to the URL in the current dimension. | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::ValuesMisses
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **miss_rate** | **Float** | The miss rate for requests to the URL in the current dimension. | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
data/docs/ValuesRate.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::ValuesRate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **rate** | **Float** | The percentage of requests matching the value in the current dimension. | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::ValuesRequests
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **request_percentage** | **Float** | The percentage of all requests made to the URL in the current dimension. | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::ValuesStatusCodes
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **url** | **String** | The HTTP request path. | [optional] |
|
|
8
|
+
| **rate_per_status** | **Float** | The URL accounts for this percentage of the status code in this dimension. | [optional] |
|
|
9
|
+
| **rate_per_url** | **Float** | The rate at which the status code in this dimension occurs for this URL. | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
|
@@ -402,7 +402,7 @@ module Fastly
|
|
|
402
402
|
# Update an ACL
|
|
403
403
|
# Update an ACL.
|
|
404
404
|
# @option opts [String] :acl_id (required)
|
|
405
|
-
# @option opts [
|
|
405
|
+
# @option opts [ComputeAclUpdate] :compute_acl_update
|
|
406
406
|
# @return [nil]
|
|
407
407
|
def compute_acl_update_acls(opts = {})
|
|
408
408
|
compute_acl_update_acls_with_http_info(opts)
|
|
@@ -412,7 +412,7 @@ module Fastly
|
|
|
412
412
|
# Update an ACL
|
|
413
413
|
# Update an ACL.
|
|
414
414
|
# @option opts [String] :acl_id (required)
|
|
415
|
-
# @option opts [
|
|
415
|
+
# @option opts [ComputeAclUpdate] :compute_acl_update
|
|
416
416
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
417
417
|
def compute_acl_update_acls_with_http_info(opts = {})
|
|
418
418
|
if @api_client.config.debugging
|
|
@@ -442,7 +442,7 @@ module Fastly
|
|
|
442
442
|
form_params = opts[:form_params] || {}
|
|
443
443
|
|
|
444
444
|
# http body (model)
|
|
445
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
445
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'compute_acl_update'])
|
|
446
446
|
|
|
447
447
|
# return_type
|
|
448
448
|
return_type = opts[:debug_return_type]
|