fastly 17.0.0 → 17.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b29a29bcd8fd6ea6a17eff9615710837ef28af88879f6c70a2bdc0353cac828
4
- data.tar.gz: 5e4611d4292ff2ef6d9eb754506cdf3114a8b2094e06017af1f5d5a1c5c65939
3
+ metadata.gz: bab0bf4b232b45e15812a63183ea11182e21fb361cbbe268d2aaf9d930864736
4
+ data.tar.gz: 9777f185429cdde34e8fcc4045c16bbf6d74758e9090fd43cdc39b3b44875a34
5
5
  SHA512:
6
- metadata.gz: 4681a66d59e85da43c6b4744f8a0a03a7ad41e1e0be4caf6a05c53061d6c4856bf094556c08308f941760fe04e3ea6d523edc66b7dcbafe5728ad2fe35c563d7
7
- data.tar.gz: 49ca13484bb3473cfc48644584526e466daba7ae78de61dc677b5cb2a6b41f8da24f128444f43f1e00dfaee83d086afb1e69dbbc339c058ceb9315a81fecc3cb
6
+ metadata.gz: ca995fe5e8cf656ca944f9237488bc07f52bd21de8e8910815526a0c789ecc6440c722dc614e57ca48170b523a39f4ab21098ad4335476c5303bf7fc03f5b4e0
7
+ data.tar.gz: '094092a5abc655f5dc2b3b3bf7fce5226ecf142f35709cf5ed496e93ef2f55f58ef60ec6eac963fe37792a130d5edc8548ee3f993c80e4a406c3715c5c593aa6'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [v17.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v17.1.0) (2026-08-18)
4
+
5
+ **Enhancements:**
6
+
7
+ - feat(historical, realtime): Add new Private Access Token (PAT) challenge metrics: `bot_challenges_pats_issued` and `bot_challenges_pats_succeeded`.
8
+ - feat(domain_inspector_historical, domain_inspector_realtime): Add new metrics describing the distribution of HTTP and TLS versions used by incoming requests: `http2`, `http3`, `tls_v10`, `tls_v11`, `tls_v12`, and `tls_v13`.
9
+
10
+ - feat(ngwaf_rules): Add `created_by` to rule responses.
11
+ - feat(ngwaf_signals): Add `created_by` to signal responses.
12
+ - feat(ngwaf): Document missing error response codes across several Next-Gen WAF endpoints.
13
+
14
+ - feat(logging_endpoint_errors): Add new Logging Endpoint Errors API for creating error records and streaming recent errors from logging endpoints.
15
+
16
+
17
+ **Documentation:**
18
+
19
+ - doc(config_store, config_store_item, secret_store, secret_store_item): Update links to the config store and secret store documentation guides.
20
+
21
+
3
22
  ## [v17.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v17.0.0) (2026-07-17)
4
23
 
5
24
  **Breaking Changes:**
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fastly (17.0.0)
4
+ fastly (17.1.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
8
8
  To install via RubyGems, add the following to your project's `Gemfile`:
9
9
 
10
10
  ```ruby
11
- gem 'fastly', '~> 17.0.0'
11
+ gem 'fastly', '~> 17.1.0'
12
12
  ```
13
13
 
14
14
  Then run `bundle install`.
@@ -349,6 +349,7 @@ Class | Method | Description
349
349
  [*Fastly::LoggingElasticsearchApi*](docs/LoggingElasticsearchApi.md) | [**get_log_elasticsearch**](docs/LoggingElasticsearchApi.md#get_log_elasticsearch) | Get an Elasticsearch log endpoint
350
350
  [*Fastly::LoggingElasticsearchApi*](docs/LoggingElasticsearchApi.md) | [**list_log_elasticsearch**](docs/LoggingElasticsearchApi.md#list_log_elasticsearch) | List Elasticsearch log endpoints
351
351
  [*Fastly::LoggingElasticsearchApi*](docs/LoggingElasticsearchApi.md) | [**update_log_elasticsearch**](docs/LoggingElasticsearchApi.md#update_log_elasticsearch) | Update an Elasticsearch log endpoint
352
+ [*Fastly::LoggingEndpointErrorsApi*](docs/LoggingEndpointErrorsApi.md) | [**get_log_endpoint_errors**](docs/LoggingEndpointErrorsApi.md#get_log_endpoint_errors) | Stream Log Endpoint Errors
352
353
  [*Fastly::LoggingFtpApi*](docs/LoggingFtpApi.md) | [**create_log_ftp**](docs/LoggingFtpApi.md#create_log_ftp) | Create an FTP log endpoint
353
354
  [*Fastly::LoggingFtpApi*](docs/LoggingFtpApi.md) | [**delete_log_ftp**](docs/LoggingFtpApi.md#delete_log_ftp) | Delete an FTP log endpoint
354
355
  [*Fastly::LoggingFtpApi*](docs/LoggingFtpApi.md) | [**get_log_ftp**](docs/LoggingFtpApi.md#get_log_ftp) | Get an FTP log endpoint
@@ -131,6 +131,12 @@
131
131
  | **compute_resp_status_505** | **Integer** | Number of responses delivered with status code 505 (HTTP Version Not Supported) by the Compute platform. | [optional] |
132
132
  | **compute_resp_status_530** | **Integer** | Number of responses delivered with status code 530 by the Compute platform. | [optional] |
133
133
  | **compute_resp_status_5xx** | **Integer** | Number of \"Server Error\" category status codes delivered by the Compute platform. | [optional] |
134
+ | **http2** | **Integer** | Number of requests received over HTTP/2. | [optional] |
135
+ | **http3** | **Integer** | Number of requests received over HTTP/3. | [optional] |
136
+ | **tls_v10** | **Integer** | Number of requests received over TLS 1.0. | [optional] |
137
+ | **tls_v11** | **Integer** | Number of requests received over TLS 1.1. | [optional] |
138
+ | **tls_v12** | **Integer** | Number of requests received over TLS 1.2. | [optional] |
139
+ | **tls_v13** | **Integer** | Number of requests received over TLS 1.3. | [optional] |
134
140
 
135
141
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
136
142
 
@@ -0,0 +1,13 @@
1
+ # Fastly::ErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | A URI reference that identifies the problem type. | [optional] |
8
+ | **title** | **String** | A short, human-readable summary of the problem type. | [optional] |
9
+ | **detail** | **String** | A human-readable explanation specific to this occurrence of the problem. | [optional] |
10
+ | **errors** | [**Array<ErrorResponseErrors>**](ErrorResponseErrors.md) | | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,12 @@
1
+ # Fastly::ErrorResponseErrors
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object** | **String** | | [optional] |
8
+ | **property** | **String** | | [optional] |
9
+ | **reason** | **String** | | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
data/docs/LogError.md ADDED
@@ -0,0 +1,15 @@
1
+ # Fastly::LogError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sequence_number** | **Integer** | Sequence number for ordering messages. | [optional] |
8
+ | **error_time_us** | **Integer** | Timestamp of the error in microseconds. | [optional] |
9
+ | **stream** | **String** | The stream type, always 'logging_error' for logging endpoint errors. | [optional] |
10
+ | **message** | **String** | User-friendly error message. | [optional] |
11
+ | **endpoint** | **String** | Name of the logging endpoint that generated the error. | [optional] |
12
+ | **details** | **String** | Additional error details as a JSON string. | [optional] |
13
+
14
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
15
+
@@ -0,0 +1,11 @@
1
+ # Fastly::LogErrorBatch
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **batch_id** | **String** | Unique identifier for this batch of logs. | [optional] |
8
+ | **logs** | [**Array<LogError>**](LogError.md) | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,61 @@
1
+ # Fastly::LoggingEndpointErrorsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::LoggingEndpointErrorsApi.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
+ [**get_log_endpoint_errors**](LoggingEndpointErrorsApi.md#get_log_endpoint_errors) | **GET** /observability/service/{service_id}/logging/errors | Stream Log Endpoint Errors
17
+
18
+
19
+ ## `get_log_endpoint_errors()`
20
+
21
+ ```ruby
22
+ get_log_endpoint_errors(opts): String # Stream Log Endpoint Errors
23
+ ```
24
+
25
+ Provides a near real-time stream of log errors through a hybrid short-polling model. A client should make an initial request using the `from` parameter to specify a start time. The `to` parameter should be used alongside the `from` parameter since the default bucket is 10 seconds. For pagination, use the URLs provided in the Link header of the response. These contain updated `from` timestamps for retrieving the next or previous page of logs. Defaults to `application/x-ndjson` format. Use `Accept: application/json` header to request standard JSON array format instead.
26
+
27
+ ### Examples
28
+
29
+ ```ruby
30
+ api_instance = Fastly::LoggingEndpointErrorsApi.new
31
+ opts = {
32
+ service_id: 'SU1Z0isxPaozGVKXdv0eY', # String |
33
+ from: 1756123200, # Integer |
34
+ to: 1756209600, # Integer |
35
+ filter_endpoint: 'MyS3,BigQuery', # String |
36
+ }
37
+
38
+ begin
39
+ # Stream Log Endpoint Errors
40
+ result = api_instance.get_log_endpoint_errors(opts)
41
+ p result
42
+ rescue Fastly::ApiError => e
43
+ puts "Error when calling LoggingEndpointErrorsApi->get_log_endpoint_errors: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Options
48
+
49
+ | Name | Type | Description | Notes |
50
+ | ---- | ---- | ----------- | ----- |
51
+ | **service_id** | **String** | | |
52
+ | **from** | **Integer** | | [optional] |
53
+ | **to** | **Integer** | | [optional] |
54
+ | **filter_endpoint** | **String** | | [optional] |
55
+
56
+ ### Return type
57
+
58
+ **String**
59
+
60
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
61
+ [[Back to README]](../../README.md)
@@ -340,6 +340,8 @@
340
340
  | **compute_service_bereq_conn_error** | **Integer** | Number of backend requests from a Compute service that failed at the TCP connection level. Sum of `compute_service_bereq_conn_timeout_error`, `compute_service_bereq_conn_refused_error`, and `compute_service_bereq_conn_other_error`. | [optional] |
341
341
  | **compute_service_bereq_tls_error** | **Integer** | Number of backend requests from a Compute service that failed during the TLS handshake or session with the origin. Sum of `compute_service_bereq_tls_server_cert_error` and `compute_service_bereq_tls_other_error`. | [optional] |
342
342
  | **compute_service_bereq_http_error** | **Integer** | Number of backend requests from a Compute service that failed at the HTTP protocol level. Sum of `compute_service_bereq_http_proto_v1_error`, `compute_service_bereq_http_proto_v2_error`, `compute_service_bereq_http_incomplete_error`, `compute_service_bereq_http_timeout_error`, and `compute_service_bereq_http_other_error`. | [optional] |
343
+ | **bot_challenges_pats_issued** | **Integer** | Number of Private Access Token challenges issued. | [optional] |
344
+ | **bot_challenges_pats_succeeded** | **Integer** | Number of successful Private Access Token challenge solutions processed. | [optional] |
343
345
 
344
346
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
345
347
 
@@ -340,6 +340,8 @@
340
340
  | **compute_service_bereq_conn_error** | **Integer** | Number of backend requests from a Compute service that failed at the TCP connection level. Sum of `compute_service_bereq_conn_timeout_error`, `compute_service_bereq_conn_refused_error`, and `compute_service_bereq_conn_other_error`. | [optional] |
341
341
  | **compute_service_bereq_tls_error** | **Integer** | Number of backend requests from a Compute service that failed during the TLS handshake or session with the origin. Sum of `compute_service_bereq_tls_server_cert_error` and `compute_service_bereq_tls_other_error`. | [optional] |
342
342
  | **compute_service_bereq_http_error** | **Integer** | Number of backend requests from a Compute service that failed at the HTTP protocol level. Sum of `compute_service_bereq_http_proto_v1_error`, `compute_service_bereq_http_proto_v2_error`, `compute_service_bereq_http_incomplete_error`, `compute_service_bereq_http_timeout_error`, and `compute_service_bereq_http_other_error`. | [optional] |
343
+ | **bot_challenges_pats_issued** | **Integer** | Number of Private Access Token challenges issued. | [optional] |
344
+ | **bot_challenges_pats_succeeded** | **Integer** | Number of successful Private Access Token challenge solutions processed. | [optional] |
343
345
 
344
346
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
345
347
 
@@ -340,6 +340,8 @@
340
340
  | **compute_service_bereq_conn_error** | **Integer** | Number of backend requests from a Compute service that failed at the TCP connection level. Sum of `compute_service_bereq_conn_timeout_error`, `compute_service_bereq_conn_refused_error`, and `compute_service_bereq_conn_other_error`. | [optional] |
341
341
  | **compute_service_bereq_tls_error** | **Integer** | Number of backend requests from a Compute service that failed during the TLS handshake or session with the origin. Sum of `compute_service_bereq_tls_server_cert_error` and `compute_service_bereq_tls_other_error`. | [optional] |
342
342
  | **compute_service_bereq_http_error** | **Integer** | Number of backend requests from a Compute service that failed at the HTTP protocol level. Sum of `compute_service_bereq_http_proto_v1_error`, `compute_service_bereq_http_proto_v2_error`, `compute_service_bereq_http_incomplete_error`, `compute_service_bereq_http_timeout_error`, and `compute_service_bereq_http_other_error`. | [optional] |
343
+ | **bot_challenges_pats_issued** | **Integer** | Number of Private Access Token challenges issued. | [optional] |
344
+ | **bot_challenges_pats_succeeded** | **Integer** | Number of successful Private Access Token challenge solutions processed. | [optional] |
343
345
 
344
346
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
345
347
 
data/docs/Results.md CHANGED
@@ -347,6 +347,8 @@
347
347
  | **compute_service_bereq_conn_error** | **Integer** | Number of backend requests from a Compute service that failed at the TCP connection level. Sum of `compute_service_bereq_conn_timeout_error`, `compute_service_bereq_conn_refused_error`, and `compute_service_bereq_conn_other_error`. | [optional] |
348
348
  | **compute_service_bereq_tls_error** | **Integer** | Number of backend requests from a Compute service that failed during the TLS handshake or session with the origin. Sum of `compute_service_bereq_tls_server_cert_error` and `compute_service_bereq_tls_other_error`. | [optional] |
349
349
  | **compute_service_bereq_http_error** | **Integer** | Number of backend requests from a Compute service that failed at the HTTP protocol level. Sum of `compute_service_bereq_http_proto_v1_error`, `compute_service_bereq_http_proto_v2_error`, `compute_service_bereq_http_incomplete_error`, `compute_service_bereq_http_timeout_error`, and `compute_service_bereq_http_other_error`. | [optional] |
350
+ | **bot_challenges_pats_issued** | **Integer** | Number of Private Access Token challenges issued. | [optional] |
351
+ | **bot_challenges_pats_succeeded** | **Integer** | Number of successful Private Access Token challenge solutions processed. | [optional] |
350
352
  | **service_id** | **String** | | [optional][readonly] |
351
353
  | **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
352
354
 
data/docs/Values.md CHANGED
@@ -131,6 +131,12 @@
131
131
  | **compute_resp_status_505** | **Integer** | Number of responses delivered with status code 505 (HTTP Version Not Supported) by the Compute platform. | [optional] |
132
132
  | **compute_resp_status_530** | **Integer** | Number of responses delivered with status code 530 by the Compute platform. | [optional] |
133
133
  | **compute_resp_status_5xx** | **Integer** | Number of \"Server Error\" category status codes delivered by the Compute platform. | [optional] |
134
+ | **http2** | **Integer** | Number of requests received over HTTP/2. | [optional] |
135
+ | **http3** | **Integer** | Number of requests received over HTTP/3. | [optional] |
136
+ | **tls_v10** | **Integer** | Number of requests received over TLS 1.0. | [optional] |
137
+ | **tls_v11** | **Integer** | Number of requests received over TLS 1.1. | [optional] |
138
+ | **tls_v12** | **Integer** | Number of requests received over TLS 1.2. | [optional] |
139
+ | **tls_v13** | **Integer** | Number of requests received over TLS 1.3. | [optional] |
134
140
 
135
141
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
136
142
 
@@ -0,0 +1,92 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'cgi'
12
+
13
+ module Fastly
14
+ class LoggingEndpointErrorsApi
15
+ attr_accessor :api_client
16
+
17
+ def initialize(api_client = ApiClient.default)
18
+ @api_client = api_client
19
+ end
20
+ # Stream Log Endpoint Errors
21
+ # Provides a near real-time stream of log errors through a hybrid short-polling model. A client should make an initial request using the `from` parameter to specify a start time. The `to` parameter should be used alongside the `from` parameter since the default bucket is 10 seconds. For pagination, use the URLs provided in the Link header of the response. These contain updated `from` timestamps for retrieving the next or previous page of logs. Defaults to `application/x-ndjson` format. Use `Accept: application/json` header to request standard JSON array format instead.
22
+ # @option opts [String] :service_id (required)
23
+ # @option opts [Integer] :from
24
+ # @option opts [Integer] :to
25
+ # @option opts [String] :filter_endpoint
26
+ # @return [String]
27
+ def get_log_endpoint_errors(opts = {})
28
+ data, _status_code, _headers = get_log_endpoint_errors_with_http_info(opts)
29
+ data
30
+ end
31
+
32
+ # Stream Log Endpoint Errors
33
+ # Provides a near real-time stream of log errors through a hybrid short-polling model. A client should make an initial request using the `from` parameter to specify a start time. The `to` parameter should be used alongside the `from` parameter since the default bucket is 10 seconds. For pagination, use the URLs provided in the Link header of the response. These contain updated `from` timestamps for retrieving the next or previous page of logs. Defaults to `application/x-ndjson` format. Use `Accept: application/json` header to request standard JSON array format instead.
34
+ # @option opts [String] :service_id (required)
35
+ # @option opts [Integer] :from
36
+ # @option opts [Integer] :to
37
+ # @option opts [String] :filter_endpoint
38
+ # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
39
+ def get_log_endpoint_errors_with_http_info(opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: LoggingEndpointErrorsApi.get_log_endpoint_errors ...'
42
+ end
43
+ # unbox the parameters from the hash
44
+ service_id = opts[:'service_id']
45
+ # verify the required parameter 'service_id' is set
46
+ if @api_client.config.client_side_validation && service_id.nil?
47
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling LoggingEndpointErrorsApi.get_log_endpoint_errors"
48
+ end
49
+ # resource path
50
+ local_var_path = '/observability/service/{service_id}/logging/errors'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s))
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+ query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil?
55
+ query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
56
+ query_params[:'filter[endpoint]'] = opts[:'filter_endpoint'] if !opts[:'filter_endpoint'].nil?
57
+
58
+ # header parameters
59
+ header_params = opts[:header_params] || {}
60
+ # HTTP header 'Accept' (if needed)
61
+ header_params['Accept'] = @api_client.select_header_accept(['application/x-ndjson', 'application/json'])
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body]
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type] || 'String'
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || ['token']
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"LoggingEndpointErrorsApi.get_log_endpoint_errors",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: LoggingEndpointErrorsApi#get_log_endpoint_errors\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+ end
92
+ end
@@ -1964,6 +1964,12 @@ module Fastly
1964
1964
  description: "No description provided",
1965
1965
  }
1966
1966
  ],
1967
+ "LoggingEndpointErrorsApi.get_log_endpoint_errors": [
1968
+ {
1969
+ url: "https://api.fastly.com",
1970
+ description: "No description provided",
1971
+ }
1972
+ ],
1967
1973
  "LoggingFtpApi.create_log_ftp": [
1968
1974
  {
1969
1975
  url: "https://api.fastly.com",
@@ -395,6 +395,24 @@ module Fastly
395
395
  # Number of \"Server Error\" category status codes delivered by the Compute platform.
396
396
  attr_accessor :compute_resp_status_5xx
397
397
 
398
+ # Number of requests received over HTTP/2.
399
+ attr_accessor :http2
400
+
401
+ # Number of requests received over HTTP/3.
402
+ attr_accessor :http3
403
+
404
+ # Number of requests received over TLS 1.0.
405
+ attr_accessor :tls_v10
406
+
407
+ # Number of requests received over TLS 1.1.
408
+ attr_accessor :tls_v11
409
+
410
+ # Number of requests received over TLS 1.2.
411
+ attr_accessor :tls_v12
412
+
413
+ # Number of requests received over TLS 1.3.
414
+ attr_accessor :tls_v13
415
+
398
416
  # Attribute mapping from ruby-style variable name to JSON key.
399
417
  def self.attribute_map
400
418
  {
@@ -524,7 +542,13 @@ module Fastly
524
542
  :'compute_resp_status_504' => :'compute_resp_status_504',
525
543
  :'compute_resp_status_505' => :'compute_resp_status_505',
526
544
  :'compute_resp_status_530' => :'compute_resp_status_530',
527
- :'compute_resp_status_5xx' => :'compute_resp_status_5xx'
545
+ :'compute_resp_status_5xx' => :'compute_resp_status_5xx',
546
+ :'http2' => :'http2',
547
+ :'http3' => :'http3',
548
+ :'tls_v10' => :'tls_v10',
549
+ :'tls_v11' => :'tls_v11',
550
+ :'tls_v12' => :'tls_v12',
551
+ :'tls_v13' => :'tls_v13'
528
552
  }
529
553
  end
530
554
 
@@ -662,7 +686,13 @@ module Fastly
662
686
  :'compute_resp_status_504' => :'Integer',
663
687
  :'compute_resp_status_505' => :'Integer',
664
688
  :'compute_resp_status_530' => :'Integer',
665
- :'compute_resp_status_5xx' => :'Integer'
689
+ :'compute_resp_status_5xx' => :'Integer',
690
+ :'http2' => :'Integer',
691
+ :'http3' => :'Integer',
692
+ :'tls_v10' => :'Integer',
693
+ :'tls_v11' => :'Integer',
694
+ :'tls_v12' => :'Integer',
695
+ :'tls_v13' => :'Integer'
666
696
  }
667
697
  end
668
698
 
@@ -1194,6 +1224,30 @@ module Fastly
1194
1224
  if attributes.key?(:'compute_resp_status_5xx')
1195
1225
  self.compute_resp_status_5xx = attributes[:'compute_resp_status_5xx']
1196
1226
  end
1227
+
1228
+ if attributes.key?(:'http2')
1229
+ self.http2 = attributes[:'http2']
1230
+ end
1231
+
1232
+ if attributes.key?(:'http3')
1233
+ self.http3 = attributes[:'http3']
1234
+ end
1235
+
1236
+ if attributes.key?(:'tls_v10')
1237
+ self.tls_v10 = attributes[:'tls_v10']
1238
+ end
1239
+
1240
+ if attributes.key?(:'tls_v11')
1241
+ self.tls_v11 = attributes[:'tls_v11']
1242
+ end
1243
+
1244
+ if attributes.key?(:'tls_v12')
1245
+ self.tls_v12 = attributes[:'tls_v12']
1246
+ end
1247
+
1248
+ if attributes.key?(:'tls_v13')
1249
+ self.tls_v13 = attributes[:'tls_v13']
1250
+ end
1197
1251
  end
1198
1252
 
1199
1253
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -1340,7 +1394,13 @@ module Fastly
1340
1394
  compute_resp_status_504 == o.compute_resp_status_504 &&
1341
1395
  compute_resp_status_505 == o.compute_resp_status_505 &&
1342
1396
  compute_resp_status_530 == o.compute_resp_status_530 &&
1343
- compute_resp_status_5xx == o.compute_resp_status_5xx
1397
+ compute_resp_status_5xx == o.compute_resp_status_5xx &&
1398
+ http2 == o.http2 &&
1399
+ http3 == o.http3 &&
1400
+ tls_v10 == o.tls_v10 &&
1401
+ tls_v11 == o.tls_v11 &&
1402
+ tls_v12 == o.tls_v12 &&
1403
+ tls_v13 == o.tls_v13
1344
1404
  end
1345
1405
 
1346
1406
  # @see the `==` method
@@ -1352,7 +1412,7 @@ module Fastly
1352
1412
  # Calculates hash code according to all attributes.
1353
1413
  # @return [Integer] Hash code
1354
1414
  def hash
1355
- [edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_530, requests, resp_header_bytes, resp_body_bytes, bereq_header_bytes, bereq_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, bandwidth, edge_hit_ratio, origin_offload, origin_status_200, origin_status_204, origin_status_206, origin_status_301, origin_status_302, origin_status_304, origin_status_400, origin_status_401, origin_status_403, origin_status_404, origin_status_416, origin_status_429, origin_status_500, origin_status_501, origin_status_502, origin_status_503, origin_status_504, origin_status_505, origin_status_530, origin_status_1xx, origin_status_2xx, origin_status_3xx, origin_status_4xx, origin_status_5xx, compute_bereq_body_bytes, compute_bereq_errors, compute_bereq_header_bytes, compute_bereqs, compute_beresp_body_bytes, compute_beresp_header_bytes, compute_execution_time_ms, compute_origin_status_1xx, compute_origin_status_200, compute_origin_status_204, compute_origin_status_206, compute_origin_status_2xx, compute_origin_status_301, compute_origin_status_302, compute_origin_status_304, compute_origin_status_3xx, compute_origin_status_400, compute_origin_status_401, compute_origin_status_403, compute_origin_status_404, compute_origin_status_416, compute_origin_status_429, compute_origin_status_4xx, compute_origin_status_500, compute_origin_status_501, compute_origin_status_502, compute_origin_status_503, compute_origin_status_504, compute_origin_status_505, compute_origin_status_530, compute_origin_status_5xx, compute_req_body_bytes, compute_req_header_bytes, compute_request_time_billed_ms, compute_request_time_ms, compute_request, compute_resp_body_bytes, compute_resp_header_bytes, compute_resp_status_103, compute_resp_status_1xx, compute_resp_status_200, compute_resp_status_204, compute_resp_status_206, compute_resp_status_2xx, compute_resp_status_301, compute_resp_status_302, compute_resp_status_304, compute_resp_status_3xx, compute_resp_status_400, compute_resp_status_401, compute_resp_status_403, compute_resp_status_404, compute_resp_status_416, compute_resp_status_429, compute_resp_status_4xx, compute_resp_status_500, compute_resp_status_501, compute_resp_status_502, compute_resp_status_503, compute_resp_status_504, compute_resp_status_505, compute_resp_status_530, compute_resp_status_5xx].hash
1415
+ [edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_530, requests, resp_header_bytes, resp_body_bytes, bereq_header_bytes, bereq_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, bandwidth, edge_hit_ratio, origin_offload, origin_status_200, origin_status_204, origin_status_206, origin_status_301, origin_status_302, origin_status_304, origin_status_400, origin_status_401, origin_status_403, origin_status_404, origin_status_416, origin_status_429, origin_status_500, origin_status_501, origin_status_502, origin_status_503, origin_status_504, origin_status_505, origin_status_530, origin_status_1xx, origin_status_2xx, origin_status_3xx, origin_status_4xx, origin_status_5xx, compute_bereq_body_bytes, compute_bereq_errors, compute_bereq_header_bytes, compute_bereqs, compute_beresp_body_bytes, compute_beresp_header_bytes, compute_execution_time_ms, compute_origin_status_1xx, compute_origin_status_200, compute_origin_status_204, compute_origin_status_206, compute_origin_status_2xx, compute_origin_status_301, compute_origin_status_302, compute_origin_status_304, compute_origin_status_3xx, compute_origin_status_400, compute_origin_status_401, compute_origin_status_403, compute_origin_status_404, compute_origin_status_416, compute_origin_status_429, compute_origin_status_4xx, compute_origin_status_500, compute_origin_status_501, compute_origin_status_502, compute_origin_status_503, compute_origin_status_504, compute_origin_status_505, compute_origin_status_530, compute_origin_status_5xx, compute_req_body_bytes, compute_req_header_bytes, compute_request_time_billed_ms, compute_request_time_ms, compute_request, compute_resp_body_bytes, compute_resp_header_bytes, compute_resp_status_103, compute_resp_status_1xx, compute_resp_status_200, compute_resp_status_204, compute_resp_status_206, compute_resp_status_2xx, compute_resp_status_301, compute_resp_status_302, compute_resp_status_304, compute_resp_status_3xx, compute_resp_status_400, compute_resp_status_401, compute_resp_status_403, compute_resp_status_404, compute_resp_status_416, compute_resp_status_429, compute_resp_status_4xx, compute_resp_status_500, compute_resp_status_501, compute_resp_status_502, compute_resp_status_503, compute_resp_status_504, compute_resp_status_505, compute_resp_status_530, compute_resp_status_5xx, http2, http3, tls_v10, tls_v11, tls_v12, tls_v13].hash
1356
1416
  end
1357
1417
 
1358
1418
  # Builds the object from hash