Skip to content

Commit 88ecced

Browse files
author
github-actions
committed
Generated v15.1.0
1 parent 1837fc9 commit 88ecced

File tree

90 files changed

+5699
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+5699
-98
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## [v15.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v15.1.0) (2025-12-09)
4+
5+
**Enhancements:**
6+
7+
- feat(realtime, historical): Add new metrics `imgopto_compute_requests`, `dns_billable_responses_count`,
8+
`dns_nonbillable_responses_count`, and `upgrade`.
9+
- feat(products[ngwaf]): Add new parameter `traffic_ramp` to `enable-product-ngwaf`.
10+
- feat(products[ddos_protection]): Add new parameter `mode` to `enable-product-ddos-protection`.
11+
- feat(kv_store): Add `kv-store-put` operation.
12+
- feat(iam_roles): Add `DisplayName` field to model.
13+
- feat(domain_research): Add new Domain Research API.
14+
- feat(ddos_protection): Add `requests_allowed` and `requests_detected` fields to DDoS Protection event API.
15+
16+
- feat(products): Add `domain_research` product to enablement API.
17+
18+
19+
20+
**Documentation:**
21+
22+
- doc(enabled-products): Add support for optional enablement parameters for some products.
23+
24+
325
## [v15.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v15.0.0) (2025-10-31)
426

527
**Bug fixes:**

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
88
To install via RubyGems, add the following to your project's `Gemfile`:
99

1010
```ruby
11-
gem 'fastly', '~> 15.0.0'
11+
gem 'fastly', '~> 15.1.0'
1212
```
1313

1414
Then run `bundle install`.
@@ -191,6 +191,8 @@ Class | Method | Description
191191
[*Fastly::DomainInspectorRealtimeApi*](docs/DomainInspectorRealtimeApi.md) | [**get_domain_inspector_last_max_entries**](docs/DomainInspectorRealtimeApi.md#get_domain_inspector_last_max_entries) | Get a limited number of real-time domain data entries
192192
[*Fastly::DomainInspectorRealtimeApi*](docs/DomainInspectorRealtimeApi.md) | [**get_domain_inspector_last_second**](docs/DomainInspectorRealtimeApi.md#get_domain_inspector_last_second) | Get real-time domain data from a specified time
193193
[*Fastly::DomainOwnershipsApi*](docs/DomainOwnershipsApi.md) | [**list_domain_ownerships**](docs/DomainOwnershipsApi.md#list_domain_ownerships) | List domain-ownerships
194+
[*Fastly::DomainResearchApi*](docs/DomainResearchApi.md) | [**domain_status**](docs/DomainResearchApi.md#domain_status) | Domain status
195+
[*Fastly::DomainResearchApi*](docs/DomainResearchApi.md) | [**suggest_domains**](docs/DomainResearchApi.md#suggest_domains) | Suggest domains
194196
[*Fastly::EventsApi*](docs/EventsApi.md) | [**get_event**](docs/EventsApi.md#get_event) | Get an event
195197
[*Fastly::EventsApi*](docs/EventsApi.md) | [**list_events**](docs/EventsApi.md#list_events) | List events
196198
[*Fastly::GzipApi*](docs/GzipApi.md) | [**create_gzip_config**](docs/GzipApi.md#create_gzip_config) | Create a gzip configuration
@@ -255,6 +257,7 @@ Class | Method | Description
255257
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_delete**](docs/KvStoreApi.md#kv_store_delete) | Delete a KV store.
256258
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_get**](docs/KvStoreApi.md#kv_store_get) | Describe a KV store.
257259
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_list**](docs/KvStoreApi.md#kv_store_list) | List all KV stores.
260+
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_put**](docs/KvStoreApi.md#kv_store_put) | Update a KV store.
258261
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**kv_store_delete_item**](docs/KvStoreItemApi.md#kv_store_delete_item) | Delete an item.
259262
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**kv_store_get_item**](docs/KvStoreItemApi.md#kv_store_get_item) | Get an item.
260263
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**kv_store_list_item_keys**](docs/KvStoreItemApi.md#kv_store_list_item_keys) | List item keys.
@@ -400,6 +403,7 @@ Class | Method | Description
400403
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**get_log_syslog**](docs/LoggingSyslogApi.md#get_log_syslog) | Get a syslog log endpoint
401404
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**list_log_syslog**](docs/LoggingSyslogApi.md#list_log_syslog) | List Syslog log endpoints
402405
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**update_log_syslog**](docs/LoggingSyslogApi.md#update_log_syslog) | Update a syslog log endpoint
406+
[*Fastly::MetricsPlatformApi*](docs/MetricsPlatformApi.md) | [**get_platform_metrics_service_historical**](docs/MetricsPlatformApi.md#get_platform_metrics_service_historical) | Get historical time series metrics for a single service
403407
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**create_mutual_tls_authentication**](docs/MutualAuthenticationApi.md#create_mutual_tls_authentication) | Create a Mutual Authentication
404408
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**delete_mutual_tls**](docs/MutualAuthenticationApi.md#delete_mutual_tls) | Delete a Mutual TLS
405409
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**get_mutual_authentication**](docs/MutualAuthenticationApi.md#get_mutual_authentication) | Get a Mutual Authentication
@@ -455,6 +459,9 @@ Class | Method | Description
455459
[*Fastly::ProductDomainInspectorApi*](docs/ProductDomainInspectorApi.md) | [**enable_product_domain_inspector**](docs/ProductDomainInspectorApi.md#enable_product_domain_inspector) | Enable product
456460
[*Fastly::ProductDomainInspectorApi*](docs/ProductDomainInspectorApi.md) | [**get_product_domain_inspector**](docs/ProductDomainInspectorApi.md#get_product_domain_inspector) | Get product enablement status
457461
[*Fastly::ProductDomainInspectorApi*](docs/ProductDomainInspectorApi.md) | [**get_services_product_domain_inspector**](docs/ProductDomainInspectorApi.md#get_services_product_domain_inspector) | Get services with product enabled
462+
[*Fastly::ProductDomainResearchApi*](docs/ProductDomainResearchApi.md) | [**disable_product_domain_research**](docs/ProductDomainResearchApi.md#disable_product_domain_research) | Disable product
463+
[*Fastly::ProductDomainResearchApi*](docs/ProductDomainResearchApi.md) | [**enable_domain_research**](docs/ProductDomainResearchApi.md#enable_domain_research) | Enable product
464+
[*Fastly::ProductDomainResearchApi*](docs/ProductDomainResearchApi.md) | [**get_domain_research**](docs/ProductDomainResearchApi.md#get_domain_research) | Get product enablement status
458465
[*Fastly::ProductFanoutApi*](docs/ProductFanoutApi.md) | [**disable_product_fanout**](docs/ProductFanoutApi.md#disable_product_fanout) | Disable product
459466
[*Fastly::ProductFanoutApi*](docs/ProductFanoutApi.md) | [**enable_product_fanout**](docs/ProductFanoutApi.md#enable_product_fanout) | Enable product
460467
[*Fastly::ProductFanoutApi*](docs/ProductFanoutApi.md) | [**get_product_fanout**](docs/ProductFanoutApi.md#get_product_fanout) | Get product enablement status
@@ -646,8 +653,6 @@ The fastly-ruby API client currently does not support the following endpoints:
646653
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
647654
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
648655
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
649-
- [`/domains/v1/tools/status`](https://www.fastly.com/documentation/reference/api/) (GET)
650-
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
651656
- [`/ngwaf/v1/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
652657
- [`/ngwaf/v1/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (GET, POST)
653658
- [`/ngwaf/v1/signals/{signal_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/signals) (DELETE, GET, PATCH)
@@ -660,6 +665,8 @@ The fastly-ruby API client currently does not support the following endpoints:
660665
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
661666
- [`/ngwaf/v1/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET, PATCH)
662667
- [`/ngwaf/v1/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET)
668+
- [`/ngwaf/v1/workspaces/{workspace_id}/header-links/{header_link_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/header-links) (DELETE, GET, PUT)
669+
- [`/ngwaf/v1/workspaces/{workspace_id}/header-links`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/header-links) (GET, POST)
663670
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (DELETE, GET, PATCH)
664671
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (GET, POST)
665672
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}/report`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (POST)

docs/DdosProtectionEvent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
99
| **id** | **String** | Unique ID of the event. | [optional] |
1010
| **name** | **String** | A human-readable name for the event. | [optional] |
11+
| **requests_allowed** | **Integer** | Number of requests classified as non-attack traffic for an event. | [optional] |
12+
| **requests_detected** | **Integer** | Number of requests classified as DDoS attack traffic for an event. | [optional] |
1113
| **customer_id** | **String** | Alphanumeric string identifying the customer. | [optional] |
1214
| **service_id** | **String** | Alphanumeric string identifying the service. | [optional] |
1315
| **started_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |

docs/DdosProtectionEventAllOf.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
| ---- | ---- | ----------- | ----- |
77
| **id** | **String** | Unique ID of the event. | [optional] |
88
| **name** | **String** | A human-readable name for the event. | [optional] |
9+
| **requests_allowed** | **Integer** | Number of requests classified as non-attack traffic for an event. | [optional] |
10+
| **requests_detected** | **Integer** | Number of requests classified as DDoS attack traffic for an event. | [optional] |
911
| **customer_id** | **String** | Alphanumeric string identifying the customer. | [optional] |
1012
| **service_id** | **String** | Alphanumeric string identifying the service. | [optional] |
1113
| **started_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Fastly::DdosProtectionRequestEnableMode
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **mode** | **String** | Operation mode | [optional] |
8+
9+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10+

docs/DomainInspectorHistoricalApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ opts = {
3737
group_by: 'domain', # String | Dimensions to return in the query. Multiple dimensions may be separated by commas. For example, `group_by=domain` will return one timeseries for every domain, as a total across all datacenters (POPs).
3838
limit: 'limit_example', # String | Number of results per page. The maximum is 200.
3939
cursor: 'cursor_example', # String | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
40-
region: 'usa', # String | Limit query to one or more specific geographic regions. Values should be comma-separated.
40+
region: 'africa_std', # String | Limit query to one or more specific geographic regions. Values should be comma-separated.
4141
datacenter: 'SJC,STP', # String | Limit query to one or more specific POPs. Values should be comma-separated.
4242
domain: 'domain_1.com,domain_2.com', # String | Limit query to one or more specific domains. Values should be comma-separated.
4343
}

docs/DomainResearchApi.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Fastly::DomainResearchApi
2+
3+
4+
```ruby
5+
require 'fastly'
6+
api_instance = Fastly::DomainResearchApi.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+
[**domain_status**](DomainResearchApi.md#domain_status) | **GET** /domain-management/v1/tools/status | Domain status
17+
[**suggest_domains**](DomainResearchApi.md#suggest_domains) | **GET** /domain-management/v1/tools/suggest | Suggest domains
18+
19+
20+
## `domain_status()`
21+
22+
```ruby
23+
domain_status(opts): <Status> # Domain status
24+
```
25+
26+
The `Status` method checks the availability status of a single domain name.
27+
28+
### Examples
29+
30+
```ruby
31+
api_instance = Fastly::DomainResearchApi.new
32+
opts = {
33+
domain: 'acmecoffee.shop', # String |
34+
scope: 'estimate', # String |
35+
}
36+
37+
begin
38+
# Domain status
39+
result = api_instance.domain_status(opts)
40+
p result
41+
rescue Fastly::ApiError => e
42+
puts "Error when calling DomainResearchApi->domain_status: #{e}"
43+
end
44+
```
45+
46+
### Options
47+
48+
| Name | Type | Description | Notes |
49+
| ---- | ---- | ----------- | ----- |
50+
| **domain** | **String** | | |
51+
| **scope** | **String** | | [optional] |
52+
53+
### Return type
54+
55+
[**Status**](Status.md)
56+
57+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
58+
[[Back to README]](../../README.md)
59+
## `suggest_domains()`
60+
61+
```ruby
62+
suggest_domains(opts): <InlineResponse2006> # Suggest domains
63+
```
64+
65+
The `Suggest` method performs a real-time query of the search term(s) against the [known zone database](http://zonedb.org), making recommendations, stemming, and applying Unicode folding, IDN normalization, registrar supported-zone restrictions, and other refinements. **Note:** `Suggest` method responses do not include domain availability status.
66+
67+
### Examples
68+
69+
```ruby
70+
api_instance = Fastly::DomainResearchApi.new
71+
opts = {
72+
query: 'foo%20bar', # String |
73+
defaults: 'club', # String |
74+
keywords: 'food,kitchen', # String |
75+
location: 'de', # String |
76+
vendor: 'dnsimple.com', # String |
77+
}
78+
79+
begin
80+
# Suggest domains
81+
result = api_instance.suggest_domains(opts)
82+
p result
83+
rescue Fastly::ApiError => e
84+
puts "Error when calling DomainResearchApi->suggest_domains: #{e}"
85+
end
86+
```
87+
88+
### Options
89+
90+
| Name | Type | Description | Notes |
91+
| ---- | ---- | ----------- | ----- |
92+
| **query** | **String** | | |
93+
| **defaults** | **String** | | [optional] |
94+
| **keywords** | **String** | | [optional] |
95+
| **location** | **String** | | [optional] |
96+
| **vendor** | **String** | | [optional] |
97+
98+
### Return type
99+
100+
[**InlineResponse2006**](InlineResponse2006.md)
101+
102+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
103+
[[Back to README]](../../README.md)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Fastly::DomainResearchResponseBodyEnable
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **product** | [**DomainResearchResponseProductProduct**](DomainResearchResponseProductProduct.md) | | [optional] |
8+
| **customer** | [**AiAcceleratorResponseCustomerCustomer**](AiAcceleratorResponseCustomerCustomer.md) | | [optional] |
9+
| **_links** | [**DomainResearchResponseLinksLinks**](DomainResearchResponseLinksLinks.md) | | [optional] |
10+
11+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Fastly::DomainResearchResponseCustomer
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **customer** | [**AiAcceleratorResponseCustomerCustomer**](AiAcceleratorResponseCustomerCustomer.md) | | [optional] |
8+
9+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Fastly::DomainResearchResponseLinks
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **_links** | [**DomainResearchResponseLinksLinks**](DomainResearchResponseLinksLinks.md) | | [optional] |
8+
9+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10+

0 commit comments

Comments
 (0)