fastly 8.5.0 → 8.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +15 -2
  5. data/docs/{RelationshipTlsDnsRecord.md → AsyncResponse.md} +3 -2
  6. data/docs/BillingInvoicesApi.md +37 -4
  7. data/docs/BillingUsageMetricsApi.md +111 -0
  8. data/docs/CreateDashboardRequest.md +12 -0
  9. data/docs/Dashboard.md +17 -0
  10. data/docs/DashboardItem.md +15 -0
  11. data/docs/DashboardItemPropertyDataSource.md +11 -0
  12. data/docs/DashboardItemPropertyDataSourcePropertyConfig.md +10 -0
  13. data/docs/DashboardItemPropertyVisualization.md +11 -0
  14. data/docs/DashboardItemPropertyVisualizationPropertyConfig.md +12 -0
  15. data/docs/{RelationshipTlsDnsRecords.md → DashboardPropertyCreatedBy.md} +1 -2
  16. data/docs/{RelationshipTlsDnsRecordDnsRecord.md → DashboardPropertyUpdatedBy.md} +1 -2
  17. data/docs/DomainInspectorMeasurements.md +1 -1
  18. data/docs/{InvoiceResponse.md → EomInvoiceResponse.md} +1 -1
  19. data/docs/GetServiceLevelUsageResponse.md +10 -0
  20. data/docs/GetServiceLevelUsageTypesResponse.md +10 -0
  21. data/docs/IncludedWithTlsConfiguration.md +10 -0
  22. data/docs/IncludedWithTlsConfigurationItem.md +12 -0
  23. data/docs/ListDashboardsResponse.md +11 -0
  24. data/docs/{ListInvoicesResponse.md → ListEomInvoicesResponse.md} +1 -1
  25. data/docs/MtdInvoiceResponse.md +15 -0
  26. data/docs/Mtdinvoice.md +15 -0
  27. data/docs/Mtdlineitems.md +18 -0
  28. data/docs/ObservabilityCustomDashboardsApi.md +203 -0
  29. data/docs/RealtimeEntryAggregated.md +1 -0
  30. data/docs/RealtimeMeasurements.md +1 -0
  31. data/docs/RelationshipDefaultEcdsaTlsCertificate.md +10 -0
  32. data/docs/RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificate.md +10 -0
  33. data/docs/RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificateData.md +11 -0
  34. data/docs/RelationshipDefaultTlsCertificate.md +10 -0
  35. data/docs/RelationshipDefaultTlsCertificateDefaultCertificate.md +10 -0
  36. data/docs/RelationshipDefaultTlsCertificateDefaultCertificateData.md +11 -0
  37. data/docs/RelationshipTlsDnsRecordsRequest.md +10 -0
  38. data/docs/RelationshipTlsDnsRecordsRequestDnsRecords.md +10 -0
  39. data/docs/RelationshipTlsDnsRecordsRequestDnsRecordsData.md +11 -0
  40. data/docs/RelationshipTlsDnsRecordsResponse.md +10 -0
  41. data/docs/RelationshipTlsDnsRecordsResponseDnsRecords.md +10 -0
  42. data/docs/{RelationshipMemberTlsDnsRecord.md → RelationshipTlsDnsRecordsResponseDnsRecordsData.md} +1 -1
  43. data/docs/Results.md +1 -0
  44. data/docs/Serviceusagemetric.md +13 -0
  45. data/docs/Serviceusagemetrics.md +10 -0
  46. data/docs/ServiceusagemetricsData.md +16 -0
  47. data/docs/Serviceusagetype.md +11 -0
  48. data/docs/Serviceusagetypes.md +10 -0
  49. data/docs/TlsCertificateBlobResponse.md +10 -0
  50. data/docs/TlsCertificatesApi.md +38 -0
  51. data/docs/TlsDnsRecord.md +1 -2
  52. data/docs/UpdateDashboardRequest.md +12 -0
  53. data/docs/Values.md +1 -1
  54. data/lib/fastly/api/billing_invoices_api.rb +62 -6
  55. data/lib/fastly/api/billing_usage_metrics_api.rb +213 -0
  56. data/lib/fastly/api/observability_custom_dashboards_api.rb +333 -0
  57. data/lib/fastly/api/tls_certificates_api.rb +63 -0
  58. data/lib/fastly/configuration.rb +54 -0
  59. data/lib/fastly/models/async_response.rb +225 -0
  60. data/lib/fastly/models/create_dashboard_request.rb +245 -0
  61. data/lib/fastly/models/dashboard.rb +290 -0
  62. data/lib/fastly/models/dashboard_item.rb +368 -0
  63. data/lib/fastly/models/dashboard_item_property_data_source.rb +271 -0
  64. data/lib/fastly/models/dashboard_item_property_data_source_property_config.rb +244 -0
  65. data/lib/fastly/models/dashboard_item_property_visualization.rb +271 -0
  66. data/lib/fastly/models/dashboard_item_property_visualization_property_config.rb +303 -0
  67. data/lib/fastly/models/dashboard_property_created_by.rb +208 -0
  68. data/lib/fastly/models/dashboard_property_updated_by.rb +208 -0
  69. data/lib/fastly/models/domain_inspector_measurements.rb +1 -1
  70. data/lib/fastly/models/{invoice_response.rb → eom_invoice_response.rb} +3 -3
  71. data/lib/fastly/models/get_service_level_usage_response.rb +223 -0
  72. data/lib/fastly/models/get_service_level_usage_types_response.rb +225 -0
  73. data/lib/fastly/models/included_with_tls_configuration.rb +218 -0
  74. data/lib/fastly/models/included_with_tls_configuration_item.rb +237 -0
  75. data/lib/fastly/models/invoicelineitems.rb +5 -5
  76. data/lib/fastly/models/list_dashboards_response.rb +229 -0
  77. data/lib/fastly/models/{list_invoices_response.rb → list_eom_invoices_response.rb} +3 -3
  78. data/lib/fastly/models/mtd_invoice_response.rb +275 -0
  79. data/lib/fastly/models/mtdinvoice.rb +268 -0
  80. data/lib/fastly/models/mtdlineitems.rb +297 -0
  81. data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
  82. data/lib/fastly/models/realtime_measurements.rb +14 -4
  83. data/lib/fastly/models/relationship_default_ecdsa_tls_certificate.rb +216 -0
  84. data/lib/fastly/models/relationship_default_ecdsa_tls_certificate_default_ecdsa_certificate.rb +216 -0
  85. data/lib/fastly/models/relationship_default_ecdsa_tls_certificate_default_ecdsa_certificate_data.rb +228 -0
  86. data/lib/fastly/models/relationship_default_tls_certificate.rb +216 -0
  87. data/lib/fastly/models/relationship_default_tls_certificate_default_certificate.rb +216 -0
  88. data/lib/fastly/models/relationship_default_tls_certificate_default_certificate_data.rb +228 -0
  89. data/lib/fastly/models/{relationship_tls_dns_records.rb → relationship_tls_dns_records_request.rb} +4 -4
  90. data/lib/fastly/models/relationship_tls_dns_records_request_dns_records.rb +218 -0
  91. data/lib/fastly/models/{relationship_member_tls_dns_record.rb → relationship_tls_dns_records_request_dns_records_data.rb} +3 -3
  92. data/lib/fastly/models/relationship_tls_dns_records_response.rb +216 -0
  93. data/lib/fastly/models/relationship_tls_dns_records_response_dns_records.rb +218 -0
  94. data/lib/fastly/models/relationship_tls_dns_records_response_dns_records_data.rb +227 -0
  95. data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
  96. data/lib/fastly/models/results.rb +11 -1
  97. data/lib/fastly/models/serviceusagemetric.rb +246 -0
  98. data/lib/fastly/models/{relationship_tls_dns_record.rb → serviceusagemetrics.rb} +10 -10
  99. data/lib/fastly/models/serviceusagemetrics_data.rb +276 -0
  100. data/lib/fastly/models/serviceusagetype.rb +227 -0
  101. data/lib/fastly/models/{relationship_tls_dns_record_dns_record.rb → serviceusagetypes.rb} +4 -4
  102. data/lib/fastly/models/tls_certificate_blob_response.rb +217 -0
  103. data/lib/fastly/models/tls_dns_record.rb +48 -12
  104. data/lib/fastly/models/update_dashboard_request.rb +240 -0
  105. data/lib/fastly/models/values.rb +1 -1
  106. data/lib/fastly/version.rb +1 -1
  107. data/lib/fastly.rb +41 -6
  108. data/sig.json +1 -1
  109. metadata +84 -14
@@ -0,0 +1,203 @@
1
+ # Fastly::ObservabilityCustomDashboardsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::ObservabilityCustomDashboardsApi.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_dashboard**](ObservabilityCustomDashboardsApi.md#create_dashboard) | **POST** /observability/dashboards | Create a new dashboard
17
+ [**delete_dashboard**](ObservabilityCustomDashboardsApi.md#delete_dashboard) | **DELETE** /observability/dashboards/{dashboard_id} | Delete an existing dashboard
18
+ [**get_dashboard**](ObservabilityCustomDashboardsApi.md#get_dashboard) | **GET** /observability/dashboards/{dashboard_id} | Retrieve a dashboard by ID
19
+ [**list_dashboards**](ObservabilityCustomDashboardsApi.md#list_dashboards) | **GET** /observability/dashboards | List all custom dashboards
20
+ [**update_dashboard**](ObservabilityCustomDashboardsApi.md#update_dashboard) | **PATCH** /observability/dashboards/{dashboard_id} | Update an existing dashboard
21
+
22
+
23
+ ## `create_dashboard()`
24
+
25
+ ```ruby
26
+ create_dashboard(opts): <Dashboard> # Create a new dashboard
27
+ ```
28
+
29
+ Create a new dashboard
30
+
31
+ ### Examples
32
+
33
+ ```ruby
34
+ api_instance = Fastly::ObservabilityCustomDashboardsApi.new
35
+ opts = {
36
+ create_dashboard_request: Fastly::CreateDashboardRequest.new({name: 'name_example'}), # CreateDashboardRequest |
37
+ }
38
+
39
+ begin
40
+ # Create a new dashboard
41
+ result = api_instance.create_dashboard(opts)
42
+ p result
43
+ rescue Fastly::ApiError => e
44
+ puts "Error when calling ObservabilityCustomDashboardsApi->create_dashboard: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Options
49
+
50
+ | Name | Type | Description | Notes |
51
+ | ---- | ---- | ----------- | ----- |
52
+ | **create_dashboard_request** | [**CreateDashboardRequest**](CreateDashboardRequest.md) | | [optional] |
53
+
54
+ ### Return type
55
+
56
+ [**Dashboard**](Dashboard.md)
57
+
58
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
59
+ [[Back to README]](../../README.md)
60
+ ## `delete_dashboard()`
61
+
62
+ ```ruby
63
+ delete_dashboard(opts) # Delete an existing dashboard
64
+ ```
65
+
66
+ Delete an existing dashboard
67
+
68
+ ### Examples
69
+
70
+ ```ruby
71
+ api_instance = Fastly::ObservabilityCustomDashboardsApi.new
72
+ opts = {
73
+ dashboard_id: '2eGFXF4F4kTxd4gU39Bg3e', # String |
74
+ }
75
+
76
+ begin
77
+ # Delete an existing dashboard
78
+ api_instance.delete_dashboard(opts)
79
+ rescue Fastly::ApiError => e
80
+ puts "Error when calling ObservabilityCustomDashboardsApi->delete_dashboard: #{e}"
81
+ end
82
+ ```
83
+
84
+ ### Options
85
+
86
+ | Name | Type | Description | Notes |
87
+ | ---- | ---- | ----------- | ----- |
88
+ | **dashboard_id** | **String** | | |
89
+
90
+ ### Return type
91
+
92
+ nil (empty response body)
93
+
94
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
95
+ [[Back to README]](../../README.md)
96
+ ## `get_dashboard()`
97
+
98
+ ```ruby
99
+ get_dashboard(opts): <Dashboard> # Retrieve a dashboard by ID
100
+ ```
101
+
102
+ Retrieve a dashboard by ID
103
+
104
+ ### Examples
105
+
106
+ ```ruby
107
+ api_instance = Fastly::ObservabilityCustomDashboardsApi.new
108
+ opts = {
109
+ dashboard_id: '2eGFXF4F4kTxd4gU39Bg3e', # String |
110
+ }
111
+
112
+ begin
113
+ # Retrieve a dashboard by ID
114
+ result = api_instance.get_dashboard(opts)
115
+ p result
116
+ rescue Fastly::ApiError => e
117
+ puts "Error when calling ObservabilityCustomDashboardsApi->get_dashboard: #{e}"
118
+ end
119
+ ```
120
+
121
+ ### Options
122
+
123
+ | Name | Type | Description | Notes |
124
+ | ---- | ---- | ----------- | ----- |
125
+ | **dashboard_id** | **String** | | |
126
+
127
+ ### Return type
128
+
129
+ [**Dashboard**](Dashboard.md)
130
+
131
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
132
+ [[Back to README]](../../README.md)
133
+ ## `list_dashboards()`
134
+
135
+ ```ruby
136
+ list_dashboards: <ListDashboardsResponse> # List all custom dashboards
137
+ ```
138
+
139
+ List all custom dashboards
140
+
141
+ ### Examples
142
+
143
+ ```ruby
144
+ api_instance = Fastly::ObservabilityCustomDashboardsApi.new
145
+
146
+ begin
147
+ # List all custom dashboards
148
+ result = api_instance.list_dashboards
149
+ p result
150
+ rescue Fastly::ApiError => e
151
+ puts "Error when calling ObservabilityCustomDashboardsApi->list_dashboards: #{e}"
152
+ end
153
+ ```
154
+
155
+ ### Options
156
+
157
+ This endpoint does not need any parameter.
158
+
159
+ ### Return type
160
+
161
+ [**ListDashboardsResponse**](ListDashboardsResponse.md)
162
+
163
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
164
+ [[Back to README]](../../README.md)
165
+ ## `update_dashboard()`
166
+
167
+ ```ruby
168
+ update_dashboard(opts): <Dashboard> # Update an existing dashboard
169
+ ```
170
+
171
+ Update an existing dashboard
172
+
173
+ ### Examples
174
+
175
+ ```ruby
176
+ api_instance = Fastly::ObservabilityCustomDashboardsApi.new
177
+ opts = {
178
+ dashboard_id: '2eGFXF4F4kTxd4gU39Bg3e', # String |
179
+ update_dashboard_request: Fastly::UpdateDashboardRequest.new, # UpdateDashboardRequest |
180
+ }
181
+
182
+ begin
183
+ # Update an existing dashboard
184
+ result = api_instance.update_dashboard(opts)
185
+ p result
186
+ rescue Fastly::ApiError => e
187
+ puts "Error when calling ObservabilityCustomDashboardsApi->update_dashboard: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Options
192
+
193
+ | Name | Type | Description | Notes |
194
+ | ---- | ---- | ----------- | ----- |
195
+ | **dashboard_id** | **String** | | |
196
+ | **update_dashboard_request** | [**UpdateDashboardRequest**](UpdateDashboardRequest.md) | | [optional] |
197
+
198
+ ### Return type
199
+
200
+ [**Dashboard**](Dashboard.md)
201
+
202
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
203
+ [[Back to README]](../../README.md)
@@ -252,6 +252,7 @@
252
252
  | **all_status_3xx** | **Integer** | Number of \&quot;Redirection\&quot; codes delivered for all sources. | [optional] |
253
253
  | **all_status_4xx** | **Integer** | Number of \&quot;Client Error\&quot; codes delivered for all sources. | [optional] |
254
254
  | **all_status_5xx** | **Integer** | Number of \&quot;Server Error\&quot; codes delivered for all sources. | [optional] |
255
+ | **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] |
255
256
 
256
257
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
257
258
 
@@ -252,6 +252,7 @@
252
252
  | **all_status_3xx** | **Integer** | Number of \&quot;Redirection\&quot; codes delivered for all sources. | [optional] |
253
253
  | **all_status_4xx** | **Integer** | Number of \&quot;Client Error\&quot; codes delivered for all sources. | [optional] |
254
254
  | **all_status_5xx** | **Integer** | Number of \&quot;Server Error\&quot; codes delivered for all sources. | [optional] |
255
+ | **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] |
255
256
 
256
257
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
257
258
 
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipDefaultEcdsaTlsCertificate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **default_ecdsa_certificate** | [**RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificate**](RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificate.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificateData**](RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificateData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,11 @@
1
+ # Fastly::RelationshipDefaultEcdsaTlsCertificateDefaultEcdsaCertificateData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**TypeTlsCertificate**](TypeTlsCertificate.md) | | [optional][default to &#39;tls_certificate&#39;] |
8
+ | **id** | **String** | Alphanumeric string identifying the default ECDSA TLS certificate. | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipDefaultTlsCertificate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **default_certificate** | [**RelationshipDefaultTlsCertificateDefaultCertificate**](RelationshipDefaultTlsCertificateDefaultCertificate.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipDefaultTlsCertificateDefaultCertificate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**RelationshipDefaultTlsCertificateDefaultCertificateData**](RelationshipDefaultTlsCertificateDefaultCertificateData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,11 @@
1
+ # Fastly::RelationshipDefaultTlsCertificateDefaultCertificateData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**TypeTlsCertificate**](TypeTlsCertificate.md) | | [optional][default to &#39;tls_certificate&#39;] |
8
+ | **id** | **String** | Alphanumeric string identifying the default TLS certificate. | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipTlsDnsRecordsRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dns_records** | [**RelationshipTlsDnsRecordsRequestDnsRecords**](RelationshipTlsDnsRecordsRequestDnsRecords.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipTlsDnsRecordsRequestDnsRecords
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;RelationshipTlsDnsRecordsRequestDnsRecordsData&gt;**](RelationshipTlsDnsRecordsRequestDnsRecordsData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,11 @@
1
+ # Fastly::RelationshipTlsDnsRecordsRequestDnsRecordsData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**TypeTlsDnsRecord**](TypeTlsDnsRecord.md) | | [optional][default to &#39;dns_record&#39;] |
8
+ | **id** | **String** | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipTlsDnsRecordsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dns_records** | [**RelationshipTlsDnsRecordsResponseDnsRecords**](RelationshipTlsDnsRecordsResponseDnsRecords.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::RelationshipTlsDnsRecordsResponseDnsRecords
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;RelationshipTlsDnsRecordsResponseDnsRecordsData&gt;**](RelationshipTlsDnsRecordsResponseDnsRecordsData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -1,4 +1,4 @@
1
- # Fastly::RelationshipMemberTlsDnsRecord
1
+ # Fastly::RelationshipTlsDnsRecordsResponseDnsRecordsData
2
2
 
3
3
  ## Properties
4
4
 
data/docs/Results.md CHANGED
@@ -252,6 +252,7 @@
252
252
  | **all_status_3xx** | **Integer** | Number of \&quot;Redirection\&quot; codes delivered for all sources. | [optional] |
253
253
  | **all_status_4xx** | **Integer** | Number of \&quot;Client Error\&quot; codes delivered for all sources. | [optional] |
254
254
  | **all_status_5xx** | **Integer** | Number of \&quot;Server Error\&quot; codes delivered for all sources. | [optional] |
255
+ | **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] |
255
256
  | **service_id** | **String** | | [optional][readonly] |
256
257
  | **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
257
258
 
@@ -0,0 +1,13 @@
1
+ # Fastly::Serviceusagemetric
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | | [optional][readonly] |
8
+ | **service_id** | **String** | Service ID associated with the usage. | [optional] |
9
+ | **service_name** | **String** | Name of the service associated with the usage. | [optional] |
10
+ | **usage_units** | **Float** | The quantity of the usage for the billing period. Amount will be in the units provided in the parent object (e.g., a quantity of `1.3` with a unit of `gb` would have a usage amount of 1.3 gigabytes). | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,10 @@
1
+ # Fastly::Serviceusagemetrics
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**ServiceusagemetricsData**](ServiceusagemetricsData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,16 @@
1
+ # Fastly::ServiceusagemetricsData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | | [optional][readonly] |
8
+ | **start_time** | **Time** | Date and time (in ISO 8601 format) for initiation point of a billing cycle, signifying the start of charges for a service or subscription. | [optional] |
9
+ | **end_time** | **Time** | Date and time (in ISO 8601 format) for termination point of a billing cycle, signifying the end of charges for a service or subscription. | [optional] |
10
+ | **usage_type** | **String** | The usage type identifier for the usage. This is a single, billable metric for the product. | [optional] |
11
+ | **unit** | **String** | The unit for the usage as shown on an invoice. If there is no explicit unit, this field will be \&quot;unit\&quot; (e.g., a request with `product_id` of &#39;cdn_usage&#39; and `usage_type` of &#39;North America Requests&#39; has no unit, and will return \&quot;unit\&quot;). | [optional] |
12
+ | **details** | [**Array&lt;Serviceusagemetric&gt;**](Serviceusagemetric.md) | | [optional] |
13
+ | **meta** | [**Metadata**](Metadata.md) | | [optional] |
14
+
15
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
16
+
@@ -0,0 +1,11 @@
1
+ # Fastly::Serviceusagetype
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **product_id** | **String** | The product identifier associated with the usage type. This corresponds to a Fastly product offering. | [optional] |
8
+ | **name** | **String** | Full name of the product usage type as it might appear on a customer&#39;s invoice. | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::Serviceusagetypes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;Serviceusagetype&gt;**](Serviceusagetype.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::TlsCertificateBlobResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cert_blob** | **String** | A certificate blob | [optional][readonly] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -16,6 +16,7 @@ Method | HTTP request | Description
16
16
  [**create_tls_cert**](TlsCertificatesApi.md#create_tls_cert) | **POST** /tls/certificates | Create a TLS certificate
17
17
  [**delete_tls_cert**](TlsCertificatesApi.md#delete_tls_cert) | **DELETE** /tls/certificates/{tls_certificate_id} | Delete a TLS certificate
18
18
  [**get_tls_cert**](TlsCertificatesApi.md#get_tls_cert) | **GET** /tls/certificates/{tls_certificate_id} | Get a TLS certificate
19
+ [**get_tls_cert_blob**](TlsCertificatesApi.md#get_tls_cert_blob) | **GET** /tls/certificates/{tls_certificate_id}/blob | Get a TLS certificate blob (Limited Availability)
19
20
  [**list_tls_certs**](TlsCertificatesApi.md#list_tls_certs) | **GET** /tls/certificates | List TLS certificates
20
21
  [**update_tls_cert**](TlsCertificatesApi.md#update_tls_cert) | **PATCH** /tls/certificates/{tls_certificate_id} | Update a TLS certificate
21
22
 
@@ -128,6 +129,43 @@ end
128
129
 
129
130
  [**TlsCertificateResponse**](TlsCertificateResponse.md)
130
131
 
132
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
133
+ [[Back to README]](../../README.md)
134
+ ## `get_tls_cert_blob()`
135
+
136
+ ```ruby
137
+ get_tls_cert_blob(opts): <TlsCertificateBlobResponse> # Get a TLS certificate blob (Limited Availability)
138
+ ```
139
+
140
+ Retrieve a TLS certificate blob. This feature is part of a [limited availability](https://docs.fastly.com/products/fastly-product-lifecycle#limited-availability) release.
141
+
142
+ ### Examples
143
+
144
+ ```ruby
145
+ api_instance = Fastly::TlsCertificatesApi.new
146
+ opts = {
147
+ tls_certificate_id: 'tls_certificate_id_example', # String | Alphanumeric string identifying a TLS certificate.
148
+ }
149
+
150
+ begin
151
+ # Get a TLS certificate blob (Limited Availability)
152
+ result = api_instance.get_tls_cert_blob(opts)
153
+ p result
154
+ rescue Fastly::ApiError => e
155
+ puts "Error when calling TlsCertificatesApi->get_tls_cert_blob: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Options
160
+
161
+ | Name | Type | Description | Notes |
162
+ | ---- | ---- | ----------- | ----- |
163
+ | **tls_certificate_id** | **String** | Alphanumeric string identifying a TLS certificate. | |
164
+
165
+ ### Return type
166
+
167
+ [**TlsCertificateBlobResponse**](TlsCertificateBlobResponse.md)
168
+
131
169
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
132
170
  [[Back to README]](../../README.md)
133
171
  ## `list_tls_certs()`
data/docs/TlsDnsRecord.md CHANGED
@@ -4,8 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | The IP address or hostname of the DNS record. | [optional] |
8
- | **region** | **String** | Specifies the regions that will be used to route traffic. Select DNS Records with a `global` region to route traffic to the most performant point of presence (POP) worldwide (global pricing will apply). Select DNS records with a `us-eu` region to exclusively land traffic on North American and European POPs. | [optional] |
7
+ | **region** | **String** | Specifies the regions that will be used to route traffic. Select DNS records with a `global` region to route traffic to the most performant point of presence (POP) worldwide (global pricing will apply). Select DNS records with a `na/eu` region to exclusively land traffic on North American and European POPs. | [optional] |
9
8
  | **record_type** | **String** | The type of the DNS record. `A` specifies an IPv4 address to be used for an A record to be used for apex domains (e.g., `example.com`). `AAAA` specifies an IPv6 address for use in an A record for apex domains. `CNAME` specifies the hostname to be used for a CNAME record for subdomains or wildcard domains (e.g., `www.example.com` or `*.example.com`). | [optional] |
10
9
 
11
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
1
+ # Fastly::UpdateDashboardRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | A human-readable name | [optional] |
8
+ | **description** | **String** | A short description of the dashboard | [optional] |
9
+ | **items** | [**Array&lt;DashboardItem&gt;**](DashboardItem.md) | A list of [dashboard items](#dashboard-item). | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
data/docs/Values.md CHANGED
@@ -42,7 +42,7 @@
42
42
  | **origin_fetch_resp_body_bytes** | **Integer** | Total body bytes received from origin. | [optional] |
43
43
  | **bandwidth** | **Integer** | Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes`). | [optional] |
44
44
  | **edge_hit_ratio** | **Float** | Ratio of cache hits to cache misses at the edge, between 0 and 1 (`edge_hit_requests` / (`edge_hit_requests` + `edge_miss_requests`)). | [optional] |
45
- | **origin_offload** | **Float** | Ratio of response bytes delivered from the edge compared to what is delivered from origin, 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] |
45
+ | **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`). Previously, Origin Offload used a different formula. [Learn more](https://www.fastly.com/documentation/reference/changes/2024/06/add-origin_offload-metric). | [optional] |
46
46
  | **origin_status_200** | **Integer** | Number of responses received from origin with status code 200 (Success). | [optional] |
47
47
  | **origin_status_204** | **Integer** | Number of responses received from origin with status code 204 (No Content). | [optional] |
48
48
  | **origin_status_206** | **Integer** | Number of responses received from origin with status code 206 (Partial Content). | [optional] |
@@ -20,7 +20,7 @@ module Fastly
20
20
  # Get invoice by ID.
21
21
  # Returns invoice associated with the invoice id.
22
22
  # @option opts [String] :invoice_id Alphanumeric string identifying the invoice. (required)
23
- # @return [InvoiceResponse]
23
+ # @return [EomInvoiceResponse]
24
24
  def get_invoice_by_invoice_id(opts = {})
25
25
  data, _status_code, _headers = get_invoice_by_invoice_id_with_http_info(opts)
26
26
  data
@@ -29,7 +29,7 @@ module Fastly
29
29
  # Get invoice by ID.
30
30
  # Returns invoice associated with the invoice id.
31
31
  # @option opts [String] :invoice_id Alphanumeric string identifying the invoice. (required)
32
- # @return [Array<(InvoiceResponse, Integer, Hash)>] InvoiceResponse data, response status code and response headers
32
+ # @return [Array<(EomInvoiceResponse, Integer, Hash)>] EomInvoiceResponse data, response status code and response headers
33
33
  def get_invoice_by_invoice_id_with_http_info(opts = {})
34
34
  if @api_client.config.debugging
35
35
  @api_client.config.logger.debug 'Calling API: BillingInvoicesApi.get_invoice_by_invoice_id ...'
@@ -58,7 +58,7 @@ module Fastly
58
58
  post_body = opts[:debug_body]
59
59
 
60
60
  # return_type
61
- return_type = opts[:debug_return_type] || 'InvoiceResponse'
61
+ return_type = opts[:debug_return_type] || 'EomInvoiceResponse'
62
62
 
63
63
  # auth_names
64
64
  auth_names = opts[:debug_auth_names] || ['token']
@@ -80,13 +80,69 @@ module Fastly
80
80
  return data, status_code, headers
81
81
  end
82
82
 
83
+ # Get month-to-date invoice.
84
+ # Returns month-to-date invoice for the current month.
85
+ # @return [MtdInvoiceResponse]
86
+ def get_month_to_date_invoice(opts = {})
87
+ data, _status_code, _headers = get_month_to_date_invoice_with_http_info(opts)
88
+ data
89
+ end
90
+
91
+ # Get month-to-date invoice.
92
+ # Returns month-to-date invoice for the current month.
93
+ # @return [Array<(MtdInvoiceResponse, Integer, Hash)>] MtdInvoiceResponse data, response status code and response headers
94
+ def get_month_to_date_invoice_with_http_info(opts = {})
95
+ if @api_client.config.debugging
96
+ @api_client.config.logger.debug 'Calling API: BillingInvoicesApi.get_month_to_date_invoice ...'
97
+ end
98
+ # unbox the parameters from the hash
99
+ # resource path
100
+ local_var_path = '/billing/v3/invoices/month-to-date'
101
+
102
+ # query parameters
103
+ query_params = opts[:query_params] || {}
104
+
105
+ # header parameters
106
+ header_params = opts[:header_params] || {}
107
+ # HTTP header 'Accept' (if needed)
108
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
109
+
110
+ # form parameters
111
+ form_params = opts[:form_params] || {}
112
+
113
+ # http body (model)
114
+ post_body = opts[:debug_body]
115
+
116
+ # return_type
117
+ return_type = opts[:debug_return_type] || 'MtdInvoiceResponse'
118
+
119
+ # auth_names
120
+ auth_names = opts[:debug_auth_names] || ['token']
121
+
122
+ new_options = opts.merge(
123
+ :operation => :"BillingInvoicesApi.get_month_to_date_invoice",
124
+ :header_params => header_params,
125
+ :query_params => query_params,
126
+ :form_params => form_params,
127
+ :body => post_body,
128
+ :auth_names => auth_names,
129
+ :return_type => return_type
130
+ )
131
+
132
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
133
+ if @api_client.config.debugging
134
+ @api_client.config.logger.debug "API called: BillingInvoicesApi#get_month_to_date_invoice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
135
+ end
136
+ return data, status_code, headers
137
+ end
138
+
83
139
  # List of invoices.
84
140
  # Returns the list of invoices, sorted by billing start date (newest to oldest).
85
141
  # @option opts [String] :billing_start_date
86
142
  # @option opts [String] :billing_end_date
87
143
  # @option opts [String] :limit Number of results per page. The maximum is 200. (default to '100')
88
144
  # @option opts [String] :cursor Cursor value from the &#x60;next_cursor&#x60; field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
89
- # @return [ListInvoicesResponse]
145
+ # @return [ListEomInvoicesResponse]
90
146
  def list_invoices(opts = {})
91
147
  data, _status_code, _headers = list_invoices_with_http_info(opts)
92
148
  data
@@ -98,7 +154,7 @@ module Fastly
98
154
  # @option opts [String] :billing_end_date
99
155
  # @option opts [String] :limit Number of results per page. The maximum is 200. (default to '100')
100
156
  # @option opts [String] :cursor Cursor value from the &#x60;next_cursor&#x60; field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
101
- # @return [Array<(ListInvoicesResponse, Integer, Hash)>] ListInvoicesResponse data, response status code and response headers
157
+ # @return [Array<(ListEomInvoicesResponse, Integer, Hash)>] ListEomInvoicesResponse data, response status code and response headers
102
158
  def list_invoices_with_http_info(opts = {})
103
159
  if @api_client.config.debugging
104
160
  @api_client.config.logger.debug 'Calling API: BillingInvoicesApi.list_invoices ...'
@@ -126,7 +182,7 @@ module Fastly
126
182
  post_body = opts[:debug_body]
127
183
 
128
184
  # return_type
129
- return_type = opts[:debug_return_type] || 'ListInvoicesResponse'
185
+ return_type = opts[:debug_return_type] || 'ListEomInvoicesResponse'
130
186
 
131
187
  # auth_names
132
188
  auth_names = opts[:debug_auth_names] || ['token']