fastly 13.1.0 → 15.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.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +48 -0
  3. data/Gemfile.lock +4 -4
  4. data/README.md +26 -12
  5. data/docs/ApiDiscoveryResponseBodyGetAllServices.md +13 -0
  6. data/docs/ApiDiscoveryResponseCustomer.md +10 -0
  7. data/docs/{LogTimeseriesGetResponseMetaFilters.md → ApiDiscoveryResponseCustomerCustomer.md} +3 -2
  8. data/docs/ApiDiscoveryResponseEnable.md +12 -0
  9. data/docs/ApiDiscoveryResponseEnabledServices.md +10 -0
  10. data/docs/ApiDiscoveryResponseLinks.md +10 -0
  11. data/docs/ApiDiscoveryResponseLinksGetAllServices.md +10 -0
  12. data/docs/{LogTimeseriesResultDimensions.md → ApiDiscoveryResponseLinksGetAllServicesLinks.md} +2 -2
  13. data/docs/{DdosProtectionAction.md → ApiDiscoveryResponseLinksLinks.md} +2 -1
  14. data/docs/ApiDiscoveryResponseProduct.md +10 -0
  15. data/docs/ApiDiscoveryResponseProductProduct.md +11 -0
  16. data/docs/ApiDiscoveryResponseService.md +10 -0
  17. data/docs/{BotManagementResponseServiceService.md → ApiDiscoveryResponseServiceService.md} +1 -1
  18. data/docs/AttackReport.md +19 -0
  19. data/docs/AttackSignal.md +12 -0
  20. data/docs/AttackSource.md +13 -0
  21. data/docs/Backend.md +4 -4
  22. data/docs/BackendApi.md +10 -10
  23. data/docs/BackendResponse.md +4 -4
  24. data/docs/BotManagementResponseBodyEnable.md +1 -1
  25. data/docs/BotManagementResponseService.md +1 -1
  26. data/docs/BrotliCompressionResponseBodyEnable.md +1 -1
  27. data/docs/BrotliCompressionResponseService.md +1 -1
  28. data/docs/DdosProtectionApi.md +42 -0
  29. data/docs/DdosProtectionAttributeStats.md +1 -1
  30. data/docs/DdosProtectionInvalidRequest.md +13 -0
  31. data/docs/DdosProtectionNotAuthorized.md +11 -0
  32. data/docs/DdosProtectionResponseConfigure.md +1 -1
  33. data/docs/DdosProtectionResponseEnable.md +1 -1
  34. data/docs/DdosProtectionResponseService.md +1 -1
  35. data/docs/DdosProtectionRule.md +1 -1
  36. data/docs/DdosProtectionRuleAllOf.md +1 -1
  37. data/docs/DdosProtectionRulePatch.md +10 -0
  38. data/docs/DdosProtectionRuleWithStats.md +23 -0
  39. data/docs/DdosProtectionRuleWithStatsAllOf.md +10 -0
  40. data/docs/DdosProtectionTrafficStats.md +1 -0
  41. data/docs/DdosProtectionTrafficStatsAllOf.md +1 -0
  42. data/docs/DmDomainsApi.md +220 -0
  43. data/docs/DomainInspectorResponseBodyEnable.md +1 -1
  44. data/docs/DomainInspectorResponseService.md +1 -1
  45. data/docs/DomainOwnershipsApi.md +2 -2
  46. data/docs/FanoutResponseBodyEnable.md +1 -1
  47. data/docs/FanoutResponseService.md +1 -1
  48. data/docs/Healthcheck.md +1 -1
  49. data/docs/HealthcheckApi.md +4 -4
  50. data/docs/HealthcheckResponse.md +1 -1
  51. data/docs/HistoricalApi.md +2 -0
  52. data/docs/IamRolesApi.md +23 -253
  53. data/docs/IamV1RoleListResponse.md +12 -0
  54. data/docs/IamV1RoleResponse.md +13 -0
  55. data/docs/ImageOptimizerResponseBodyEnable.md +1 -1
  56. data/docs/ImageOptimizerResponseService.md +1 -1
  57. data/docs/InlineResponse20010.md +10 -0
  58. data/docs/InlineResponse2003.md +2 -2
  59. data/docs/InlineResponse2004.md +2 -1
  60. data/docs/InlineResponse2005.md +1 -2
  61. data/docs/InlineResponse2006.md +1 -1
  62. data/docs/InlineResponse2007.md +1 -1
  63. data/docs/InlineResponse2008.md +1 -1
  64. data/docs/InlineResponse2009.md +2 -1
  65. data/docs/InvitationDataAttributes.md +1 -0
  66. data/docs/KvStoreApi.md +4 -2
  67. data/docs/KvStoreItemApi.md +2 -2
  68. data/docs/ListAttackReport.md +11 -0
  69. data/docs/ListAttackReportMeta.md +10 -0
  70. data/docs/{DdosProtectionTrafficAttribute.md → ListSignalReport.md} +2 -1
  71. data/docs/LogExplorerApi.md +1 -1
  72. data/docs/LogExplorerInsightsResponseBodyEnable.md +1 -1
  73. data/docs/LogExplorerInsightsResponseService.md +1 -1
  74. data/docs/LoggingHttpsAdditional.md +1 -0
  75. data/docs/LoggingHttpsApi.md +4 -0
  76. data/docs/LoggingHttpsResponse.md +1 -0
  77. data/docs/NgwafReportsApi.md +99 -0
  78. data/docs/NgwafResponseConfigure.md +1 -1
  79. data/docs/NgwafResponseEnable.md +1 -1
  80. data/docs/NgwafResponseService.md +1 -1
  81. data/docs/ObservabilityTimeseriesApi.md +67 -0
  82. data/docs/OriginInspectorResponseBodyEnable.md +1 -1
  83. data/docs/OriginInspectorResponseService.md +1 -1
  84. data/docs/PoolApi.md +4 -4
  85. data/docs/PoolResponse.md +1 -1
  86. data/docs/PoolResponseCommon.md +1 -1
  87. data/docs/PoolResponsePost.md +1 -1
  88. data/docs/ProductApiDiscoveryApi.md +163 -0
  89. data/docs/RealtimeEntryAggregated.md +1 -0
  90. data/docs/RealtimeMeasurements.md +1 -0
  91. data/docs/RequestBodyForCreate.md +12 -0
  92. data/docs/RequestBodyForUpdate.md +11 -0
  93. data/docs/Results.md +1 -0
  94. data/docs/SchemasUserResponse.md +1 -0
  95. data/docs/SecretStoreApi.md +2 -2
  96. data/docs/SecretStoreItemApi.md +2 -2
  97. data/docs/ServiceAuthorizationsApi.md +2 -2
  98. data/docs/SignalReport.md +13 -0
  99. data/docs/SuccessfulResponseAsObject.md +17 -0
  100. data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
  101. data/docs/TimeseriesGetResponse.md +11 -0
  102. data/docs/TimeseriesMeta.md +13 -0
  103. data/docs/TimeseriesResult.md +11 -0
  104. data/docs/TlsSubscriptionsApi.md +0 -2
  105. data/docs/TopWorkspace.md +12 -0
  106. data/docs/User.md +1 -0
  107. data/docs/UserApi.md +4 -0
  108. data/docs/UserResponse.md +1 -0
  109. data/docs/WebsocketsResponseBodyEnable.md +1 -1
  110. data/docs/WebsocketsResponseService.md +1 -1
  111. data/lib/fastly/api/backend_api.rb +16 -16
  112. data/lib/fastly/api/ddos_protection_api.rb +73 -0
  113. data/lib/fastly/api/dm_domains_api.rb +362 -0
  114. data/lib/fastly/api/domain_ownerships_api.rb +3 -3
  115. data/lib/fastly/api/healthcheck_api.rb +20 -4
  116. data/lib/fastly/api/historical_api.rb +3 -0
  117. data/lib/fastly/api/iam_roles_api.rb +43 -435
  118. data/lib/fastly/api/kv_store_api.rb +6 -3
  119. data/lib/fastly/api/kv_store_item_api.rb +3 -3
  120. data/lib/fastly/api/logging_https_api.rb +6 -0
  121. data/lib/fastly/api/ngwaf_reports_api.rb +161 -0
  122. data/lib/fastly/api/{observability_timeseries_for_logs_api.rb → observability_timeseries_api.rb} +38 -43
  123. data/lib/fastly/api/pool_api.rb +4 -4
  124. data/lib/fastly/api/product_api_discovery_api.rb +263 -0
  125. data/lib/fastly/api/secret_store_api.rb +3 -3
  126. data/lib/fastly/api/secret_store_item_api.rb +3 -3
  127. data/lib/fastly/api/service_authorizations_api.rb +3 -3
  128. data/lib/fastly/api/tls_subscriptions_api.rb +0 -3
  129. data/lib/fastly/api/user_api.rb +6 -0
  130. data/lib/fastly/configuration.rb +75 -39
  131. data/lib/fastly/models/api_discovery_response_body_get_all_services.rb +256 -0
  132. data/lib/fastly/models/api_discovery_response_customer.rb +216 -0
  133. data/lib/fastly/models/api_discovery_response_customer_customer.rb +227 -0
  134. data/lib/fastly/models/api_discovery_response_enable.rb +243 -0
  135. data/lib/fastly/models/{log_timeseries_get_response_meta_filters.rb → api_discovery_response_enabled_services.rb} +12 -13
  136. data/lib/fastly/models/api_discovery_response_links.rb +216 -0
  137. data/lib/fastly/models/api_discovery_response_links_get_all_services.rb +216 -0
  138. data/lib/fastly/models/api_discovery_response_links_get_all_services_links.rb +217 -0
  139. data/lib/fastly/models/api_discovery_response_links_links.rb +217 -0
  140. data/lib/fastly/models/api_discovery_response_product.rb +216 -0
  141. data/lib/fastly/models/api_discovery_response_product_product.rb +227 -0
  142. data/lib/fastly/models/api_discovery_response_service.rb +216 -0
  143. data/lib/fastly/models/{bot_management_response_service_service.rb → api_discovery_response_service_service.rb} +3 -3
  144. data/lib/fastly/models/attack_report.rb +359 -0
  145. data/lib/fastly/models/attack_signal.rb +252 -0
  146. data/lib/fastly/models/attack_source.rb +267 -0
  147. data/lib/fastly/models/backend.rb +7 -1
  148. data/lib/fastly/models/backend_response.rb +7 -1
  149. data/lib/fastly/models/bot_management_response_body_enable.rb +1 -1
  150. data/lib/fastly/models/bot_management_response_service.rb +1 -1
  151. data/lib/fastly/models/brotli_compression_response_body_enable.rb +1 -1
  152. data/lib/fastly/models/brotli_compression_response_service.rb +1 -1
  153. data/lib/fastly/models/ddos_protection_attribute_stats.rb +2 -1
  154. data/lib/fastly/models/ddos_protection_invalid_request.rb +309 -0
  155. data/lib/fastly/models/{log_timeseries_filter_field_item.rb → ddos_protection_not_authorized.rb} +24 -36
  156. data/lib/fastly/models/ddos_protection_response_configure.rb +1 -1
  157. data/lib/fastly/models/ddos_protection_response_enable.rb +1 -1
  158. data/lib/fastly/models/ddos_protection_response_service.rb +1 -1
  159. data/lib/fastly/models/ddos_protection_rule.rb +2 -1
  160. data/lib/fastly/models/ddos_protection_rule_all_of.rb +2 -1
  161. data/lib/fastly/models/ddos_protection_rule_patch.rb +219 -0
  162. data/lib/fastly/models/ddos_protection_rule_with_stats.rb +365 -0
  163. data/lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb +216 -0
  164. data/lib/fastly/models/ddos_protection_traffic_stats.rb +20 -4
  165. data/lib/fastly/models/ddos_protection_traffic_stats_all_of.rb +20 -4
  166. data/lib/fastly/models/domain_inspector_response_body_enable.rb +1 -1
  167. data/lib/fastly/models/domain_inspector_response_service.rb +1 -1
  168. data/lib/fastly/models/fanout_response_body_enable.rb +1 -1
  169. data/lib/fastly/models/fanout_response_service.rb +1 -1
  170. data/lib/fastly/models/healthcheck.rb +25 -1
  171. data/lib/fastly/models/healthcheck_response.rb +25 -1
  172. data/lib/fastly/models/iam_v1_role_list_response.rb +240 -0
  173. data/lib/fastly/models/{iam_role_all_of.rb → iam_v1_role_response.rb} +14 -34
  174. data/lib/fastly/models/image_optimizer_response_body_enable.rb +1 -1
  175. data/lib/fastly/models/image_optimizer_response_service.rb +1 -1
  176. data/lib/fastly/models/inline_response20010.rb +218 -0
  177. data/lib/fastly/models/inline_response2003.rb +11 -1
  178. data/lib/fastly/models/inline_response2004.rb +20 -8
  179. data/lib/fastly/models/inline_response2005.rb +8 -18
  180. data/lib/fastly/models/inline_response2006.rb +1 -1
  181. data/lib/fastly/models/inline_response2007.rb +1 -1
  182. data/lib/fastly/models/inline_response2008.rb +1 -1
  183. data/lib/fastly/models/inline_response2009.rb +13 -4
  184. data/lib/fastly/models/invitation_data_attributes.rb +12 -1
  185. data/lib/fastly/models/{log_timeseries_get_response.rb → list_attack_report.rb} +5 -5
  186. data/lib/fastly/models/list_attack_report_meta.rb +218 -0
  187. data/lib/fastly/models/{log_timeseries_result_dimensions.rb → list_signal_report.rb} +12 -10
  188. data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +1 -1
  189. data/lib/fastly/models/log_explorer_insights_response_service.rb +1 -1
  190. data/lib/fastly/models/logging_https_additional.rb +16 -4
  191. data/lib/fastly/models/logging_https_response.rb +13 -1
  192. data/lib/fastly/models/ngwaf_response_configure.rb +1 -1
  193. data/lib/fastly/models/ngwaf_response_enable.rb +1 -1
  194. data/lib/fastly/models/ngwaf_response_service.rb +1 -1
  195. data/lib/fastly/models/origin_inspector_response_body_enable.rb +1 -1
  196. data/lib/fastly/models/origin_inspector_response_service.rb +1 -1
  197. data/lib/fastly/models/pool_response.rb +1 -1
  198. data/lib/fastly/models/pool_response_common.rb +1 -1
  199. data/lib/fastly/models/pool_response_post.rb +1 -1
  200. data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
  201. data/lib/fastly/models/realtime_measurements.rb +14 -4
  202. data/lib/fastly/models/request_body_for_create.rb +244 -0
  203. data/lib/fastly/models/request_body_for_update.rb +229 -0
  204. data/lib/fastly/models/results.rb +11 -1
  205. data/lib/fastly/models/role_user.rb +2 -0
  206. data/lib/fastly/models/schemas_user_response.rb +13 -1
  207. data/lib/fastly/models/signal_report.rb +249 -0
  208. data/lib/fastly/models/{iam_role.rb → successful_response_as_object.rb} +37 -35
  209. data/lib/fastly/models/successful_response_as_object_all_of.rb +268 -0
  210. data/lib/fastly/models/timeseries_get_response.rb +227 -0
  211. data/lib/fastly/models/{log_timeseries_get_response_meta.rb → timeseries_meta.rb} +23 -32
  212. data/lib/fastly/models/{log_timeseries_result.rb → timeseries_result.rb} +9 -5
  213. data/lib/fastly/models/top_workspace.rb +238 -0
  214. data/lib/fastly/models/user.rb +13 -1
  215. data/lib/fastly/models/user_response.rb +13 -1
  216. data/lib/fastly/models/websockets_response_body_enable.rb +1 -1
  217. data/lib/fastly/models/websockets_response_service.rb +1 -1
  218. data/lib/fastly/version.rb +1 -1
  219. data/lib/fastly.rb +40 -13
  220. data/sig.json +1 -1
  221. metadata +82 -28
  222. data/docs/IamRole.md +0 -17
  223. data/docs/IamRoleAllOf.md +0 -15
  224. data/docs/LogTimeseriesFilterFieldItem.md +0 -12
  225. data/docs/LogTimeseriesGetResponse.md +0 -11
  226. data/docs/LogTimeseriesGetResponseMeta.md +0 -14
  227. data/docs/LogTimeseriesResult.md +0 -11
  228. data/docs/LogTimeseriesValueField.md +0 -59
  229. data/docs/ObservabilityTimeseriesForLogsApi.md +0 -67
  230. data/lib/fastly/models/ddos_protection_action.rb +0 -37
  231. data/lib/fastly/models/ddos_protection_traffic_attribute.rb +0 -40
  232. data/lib/fastly/models/log_timeseries_value_field.rb +0 -108
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.1.0
4
+ version: 15.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-08 00:00:00.000000000 Z
11
+ date: 2025-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -73,7 +73,23 @@ files:
73
73
  - docs/ApexRedirect.md
74
74
  - docs/ApexRedirectAllOf.md
75
75
  - docs/ApexRedirectApi.md
76
+ - docs/ApiDiscoveryResponseBodyGetAllServices.md
77
+ - docs/ApiDiscoveryResponseCustomer.md
78
+ - docs/ApiDiscoveryResponseCustomerCustomer.md
79
+ - docs/ApiDiscoveryResponseEnable.md
80
+ - docs/ApiDiscoveryResponseEnabledServices.md
81
+ - docs/ApiDiscoveryResponseLinks.md
82
+ - docs/ApiDiscoveryResponseLinksGetAllServices.md
83
+ - docs/ApiDiscoveryResponseLinksGetAllServicesLinks.md
84
+ - docs/ApiDiscoveryResponseLinksLinks.md
85
+ - docs/ApiDiscoveryResponseProduct.md
86
+ - docs/ApiDiscoveryResponseProductProduct.md
87
+ - docs/ApiDiscoveryResponseService.md
88
+ - docs/ApiDiscoveryResponseServiceService.md
76
89
  - docs/AsyncResponse.md
90
+ - docs/AttackReport.md
91
+ - docs/AttackSignal.md
92
+ - docs/AttackSource.md
77
93
  - docs/AutomationToken.md
78
94
  - docs/AutomationTokenCreateRequest.md
79
95
  - docs/AutomationTokenCreateRequestAttributes.md
@@ -110,7 +126,6 @@ files:
110
126
  - docs/BotManagementResponseProduct.md
111
127
  - docs/BotManagementResponseProductProduct.md
112
128
  - docs/BotManagementResponseService.md
113
- - docs/BotManagementResponseServiceService.md
114
129
  - docs/BrotliCompressionResponseBodyEnable.md
115
130
  - docs/BrotliCompressionResponseBodyGetAllServices.md
116
131
  - docs/BrotliCompressionResponseCustomer.md
@@ -178,7 +193,6 @@ files:
178
193
  - docs/DashboardItemPropertyVisualizationPropertyConfig.md
179
194
  - docs/DashboardPropertyCreatedBy.md
180
195
  - docs/DashboardPropertyUpdatedBy.md
181
- - docs/DdosProtectionAction.md
182
196
  - docs/DdosProtectionApi.md
183
197
  - docs/DdosProtectionAttributeStats.md
184
198
  - docs/DdosProtectionAttributeValue.md
@@ -186,7 +200,9 @@ files:
186
200
  - docs/DdosProtectionErrorErrors.md
187
201
  - docs/DdosProtectionEvent.md
188
202
  - docs/DdosProtectionEventAllOf.md
203
+ - docs/DdosProtectionInvalidRequest.md
189
204
  - docs/DdosProtectionNotAuthenticated.md
205
+ - docs/DdosProtectionNotAuthorized.md
190
206
  - docs/DdosProtectionNotFound.md
191
207
  - docs/DdosProtectionRequestUpdateConfiguration.md
192
208
  - docs/DdosProtectionResponseBodyGetAllServices.md
@@ -205,7 +221,9 @@ files:
205
221
  - docs/DdosProtectionResponseService.md
206
222
  - docs/DdosProtectionRule.md
207
223
  - docs/DdosProtectionRuleAllOf.md
208
- - docs/DdosProtectionTrafficAttribute.md
224
+ - docs/DdosProtectionRulePatch.md
225
+ - docs/DdosProtectionRuleWithStats.md
226
+ - docs/DdosProtectionRuleWithStatsAllOf.md
209
227
  - docs/DdosProtectionTrafficStats.md
210
228
  - docs/DdosProtectionTrafficStatsAllOf.md
211
229
  - docs/DefaultSettings.md
@@ -239,6 +257,7 @@ files:
239
257
  - docs/DirectorBackendAllOf.md
240
258
  - docs/DirectorBackendApi.md
241
259
  - docs/DirectorResponse.md
260
+ - docs/DmDomainsApi.md
242
261
  - docs/Domain.md
243
262
  - docs/DomainApi.md
244
263
  - docs/DomainInspector.md
@@ -335,8 +354,6 @@ files:
335
354
  - docs/HttpStreamFormat.md
336
355
  - docs/IamPermission.md
337
356
  - docs/IamPermissionsApi.md
338
- - docs/IamRole.md
339
- - docs/IamRoleAllOf.md
340
357
  - docs/IamRolesApi.md
341
358
  - docs/IamServiceGroup.md
342
359
  - docs/IamServiceGroupAllOf.md
@@ -344,6 +361,8 @@ files:
344
361
  - docs/IamUserGroup.md
345
362
  - docs/IamUserGroupAllOf.md
346
363
  - docs/IamUserGroupsApi.md
364
+ - docs/IamV1RoleListResponse.md
365
+ - docs/IamV1RoleResponse.md
347
366
  - docs/ImageOptimizerDefaultSettingsApi.md
348
367
  - docs/ImageOptimizerResponseBodyEnable.md
349
368
  - docs/ImageOptimizerResponseBodyGetAllServices.md
@@ -362,6 +381,7 @@ files:
362
381
  - docs/InlineObject1.md
363
382
  - docs/InlineResponse200.md
364
383
  - docs/InlineResponse2001.md
384
+ - docs/InlineResponse20010.md
365
385
  - docs/InlineResponse2002.md
366
386
  - docs/InlineResponse2003.md
367
387
  - docs/InlineResponse2004.md
@@ -394,9 +414,12 @@ files:
394
414
  - docs/KvStoreItemApi.md
395
415
  - docs/KvStoreRequestCreate.md
396
416
  - docs/KvStoreUpsertBatch.md
417
+ - docs/ListAttackReport.md
418
+ - docs/ListAttackReportMeta.md
397
419
  - docs/ListCustomerAddressesResponse.md
398
420
  - docs/ListDashboardsResponse.md
399
421
  - docs/ListEomInvoicesResponse.md
422
+ - docs/ListSignalReport.md
400
423
  - docs/Listinvoices.md
401
424
  - docs/LogAggregationsFilterFieldItem.md
402
425
  - docs/LogAggregationsGetResponse.md
@@ -424,13 +447,6 @@ files:
424
447
  - docs/LogInsightsValues.md
425
448
  - docs/LogPropertyServiceId.md
426
449
  - docs/LogRecord.md
427
- - docs/LogTimeseriesFilterFieldItem.md
428
- - docs/LogTimeseriesGetResponse.md
429
- - docs/LogTimeseriesGetResponseMeta.md
430
- - docs/LogTimeseriesGetResponseMetaFilters.md
431
- - docs/LogTimeseriesResult.md
432
- - docs/LogTimeseriesResultDimensions.md
433
- - docs/LogTimeseriesValueField.md
434
450
  - docs/LoggingAddressAndPort.md
435
451
  - docs/LoggingAzureblobAdditional.md
436
452
  - docs/LoggingAzureblobApi.md
@@ -549,6 +565,7 @@ files:
549
565
  - docs/MutualAuthenticationResponseDataAllOf.md
550
566
  - docs/MutualAuthenticationsResponse.md
551
567
  - docs/MutualAuthenticationsResponseAllOf.md
568
+ - docs/NgwafReportsApi.md
552
569
  - docs/NgwafRequestEnable.md
553
570
  - docs/NgwafRequestUpdateConfiguration.md
554
571
  - docs/NgwafResponseBodyGetAllServices.md
@@ -574,7 +591,7 @@ files:
574
591
  - docs/ObjectStorageResponseProductProduct.md
575
592
  - docs/ObservabilityAggregationsForLogsApi.md
576
593
  - docs/ObservabilityCustomDashboardsApi.md
577
- - docs/ObservabilityTimeseriesForLogsApi.md
594
+ - docs/ObservabilityTimeseriesApi.md
578
595
  - docs/OriginInspector.md
579
596
  - docs/OriginInspectorDimensions.md
580
597
  - docs/OriginInspectorEntry.md
@@ -623,6 +640,7 @@ files:
623
640
  - docs/PopApi.md
624
641
  - docs/PopCoordinates.md
625
642
  - docs/ProductAiAcceleratorApi.md
643
+ - docs/ProductApiDiscoveryApi.md
626
644
  - docs/ProductBotManagementApi.md
627
645
  - docs/ProductBrotliCompressionApi.md
628
646
  - docs/ProductDdosProtectionApi.md
@@ -730,6 +748,8 @@ files:
730
748
  - docs/RelationshipsForTlsDomain.md
731
749
  - docs/RelationshipsForTlsPrivateKey.md
732
750
  - docs/RelationshipsForTlsSubscription.md
751
+ - docs/RequestBodyForCreate.md
752
+ - docs/RequestBodyForUpdate.md
733
753
  - docs/RequestSettingsAdditional.md
734
754
  - docs/RequestSettingsApi.md
735
755
  - docs/RequestSettingsResponse.md
@@ -801,6 +821,7 @@ files:
801
821
  - docs/Settings.md
802
822
  - docs/SettingsApi.md
803
823
  - docs/SettingsResponse.md
824
+ - docs/SignalReport.md
804
825
  - docs/SigningKey.md
805
826
  - docs/Snippet.md
806
827
  - docs/SnippetApi.md
@@ -813,10 +834,15 @@ files:
813
834
  - docs/StarResponseAllOf.md
814
835
  - docs/Stats.md
815
836
  - docs/StatsApi.md
837
+ - docs/SuccessfulResponseAsObject.md
838
+ - docs/SuccessfulResponseAsObjectAllOf.md
816
839
  - docs/SudoApi.md
817
840
  - docs/SudoGenericTokenError.md
818
841
  - docs/SudoRequest.md
819
842
  - docs/SudoResponse.md
843
+ - docs/TimeseriesGetResponse.md
844
+ - docs/TimeseriesMeta.md
845
+ - docs/TimeseriesResult.md
820
846
  - docs/Timestamps.md
821
847
  - docs/TimestampsNoDelete.md
822
848
  - docs/TlsActivation.md
@@ -904,6 +930,7 @@ files:
904
930
  - docs/TokenResponseAllOf.md
905
931
  - docs/TokensAdditionalProps.md
906
932
  - docs/TokensApi.md
933
+ - docs/TopWorkspace.md
907
934
  - docs/TypeBillingAddress.md
908
935
  - docs/TypeContact.md
909
936
  - docs/TypeCustomer.md
@@ -1003,6 +1030,7 @@ files:
1003
1030
  - lib/fastly/api/diff_api.rb
1004
1031
  - lib/fastly/api/director_api.rb
1005
1032
  - lib/fastly/api/director_backend_api.rb
1033
+ - lib/fastly/api/dm_domains_api.rb
1006
1034
  - lib/fastly/api/domain_api.rb
1007
1035
  - lib/fastly/api/domain_inspector_historical_api.rb
1008
1036
  - lib/fastly/api/domain_inspector_realtime_api.rb
@@ -1052,16 +1080,18 @@ files:
1052
1080
  - lib/fastly/api/logging_sumologic_api.rb
1053
1081
  - lib/fastly/api/logging_syslog_api.rb
1054
1082
  - lib/fastly/api/mutual_authentication_api.rb
1083
+ - lib/fastly/api/ngwaf_reports_api.rb
1055
1084
  - lib/fastly/api/object_storage_access_keys_api.rb
1056
1085
  - lib/fastly/api/observability_aggregations_for_logs_api.rb
1057
1086
  - lib/fastly/api/observability_custom_dashboards_api.rb
1058
- - lib/fastly/api/observability_timeseries_for_logs_api.rb
1087
+ - lib/fastly/api/observability_timeseries_api.rb
1059
1088
  - lib/fastly/api/origin_inspector_historical_api.rb
1060
1089
  - lib/fastly/api/origin_inspector_realtime_api.rb
1061
1090
  - lib/fastly/api/package_api.rb
1062
1091
  - lib/fastly/api/pool_api.rb
1063
1092
  - lib/fastly/api/pop_api.rb
1064
1093
  - lib/fastly/api/product_ai_accelerator_api.rb
1094
+ - lib/fastly/api/product_api_discovery_api.rb
1065
1095
  - lib/fastly/api/product_bot_management_api.rb
1066
1096
  - lib/fastly/api/product_brotli_compression_api.rb
1067
1097
  - lib/fastly/api/product_ddos_protection_api.rb
@@ -1125,7 +1155,23 @@ files:
1125
1155
  - lib/fastly/models/ai_accelerator_response_product_product.rb
1126
1156
  - lib/fastly/models/apex_redirect.rb
1127
1157
  - lib/fastly/models/apex_redirect_all_of.rb
1158
+ - lib/fastly/models/api_discovery_response_body_get_all_services.rb
1159
+ - lib/fastly/models/api_discovery_response_customer.rb
1160
+ - lib/fastly/models/api_discovery_response_customer_customer.rb
1161
+ - lib/fastly/models/api_discovery_response_enable.rb
1162
+ - lib/fastly/models/api_discovery_response_enabled_services.rb
1163
+ - lib/fastly/models/api_discovery_response_links.rb
1164
+ - lib/fastly/models/api_discovery_response_links_get_all_services.rb
1165
+ - lib/fastly/models/api_discovery_response_links_get_all_services_links.rb
1166
+ - lib/fastly/models/api_discovery_response_links_links.rb
1167
+ - lib/fastly/models/api_discovery_response_product.rb
1168
+ - lib/fastly/models/api_discovery_response_product_product.rb
1169
+ - lib/fastly/models/api_discovery_response_service.rb
1170
+ - lib/fastly/models/api_discovery_response_service_service.rb
1128
1171
  - lib/fastly/models/async_response.rb
1172
+ - lib/fastly/models/attack_report.rb
1173
+ - lib/fastly/models/attack_signal.rb
1174
+ - lib/fastly/models/attack_source.rb
1129
1175
  - lib/fastly/models/automation_token.rb
1130
1176
  - lib/fastly/models/automation_token_create_request.rb
1131
1177
  - lib/fastly/models/automation_token_create_request_attributes.rb
@@ -1157,7 +1203,6 @@ files:
1157
1203
  - lib/fastly/models/bot_management_response_product.rb
1158
1204
  - lib/fastly/models/bot_management_response_product_product.rb
1159
1205
  - lib/fastly/models/bot_management_response_service.rb
1160
- - lib/fastly/models/bot_management_response_service_service.rb
1161
1206
  - lib/fastly/models/brotli_compression_response_body_enable.rb
1162
1207
  - lib/fastly/models/brotli_compression_response_body_get_all_services.rb
1163
1208
  - lib/fastly/models/brotli_compression_response_customer.rb
@@ -1217,14 +1262,15 @@ files:
1217
1262
  - lib/fastly/models/dashboard_item_property_visualization_property_config.rb
1218
1263
  - lib/fastly/models/dashboard_property_created_by.rb
1219
1264
  - lib/fastly/models/dashboard_property_updated_by.rb
1220
- - lib/fastly/models/ddos_protection_action.rb
1221
1265
  - lib/fastly/models/ddos_protection_attribute_stats.rb
1222
1266
  - lib/fastly/models/ddos_protection_attribute_value.rb
1223
1267
  - lib/fastly/models/ddos_protection_error.rb
1224
1268
  - lib/fastly/models/ddos_protection_error_errors.rb
1225
1269
  - lib/fastly/models/ddos_protection_event.rb
1226
1270
  - lib/fastly/models/ddos_protection_event_all_of.rb
1271
+ - lib/fastly/models/ddos_protection_invalid_request.rb
1227
1272
  - lib/fastly/models/ddos_protection_not_authenticated.rb
1273
+ - lib/fastly/models/ddos_protection_not_authorized.rb
1228
1274
  - lib/fastly/models/ddos_protection_not_found.rb
1229
1275
  - lib/fastly/models/ddos_protection_request_update_configuration.rb
1230
1276
  - lib/fastly/models/ddos_protection_response_body_get_all_services.rb
@@ -1243,7 +1289,9 @@ files:
1243
1289
  - lib/fastly/models/ddos_protection_response_service.rb
1244
1290
  - lib/fastly/models/ddos_protection_rule.rb
1245
1291
  - lib/fastly/models/ddos_protection_rule_all_of.rb
1246
- - lib/fastly/models/ddos_protection_traffic_attribute.rb
1292
+ - lib/fastly/models/ddos_protection_rule_patch.rb
1293
+ - lib/fastly/models/ddos_protection_rule_with_stats.rb
1294
+ - lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb
1247
1295
  - lib/fastly/models/ddos_protection_traffic_stats.rb
1248
1296
  - lib/fastly/models/ddos_protection_traffic_stats_all_of.rb
1249
1297
  - lib/fastly/models/default_settings.rb
@@ -1356,12 +1404,12 @@ files:
1356
1404
  - lib/fastly/models/http_response_format.rb
1357
1405
  - lib/fastly/models/http_stream_format.rb
1358
1406
  - lib/fastly/models/iam_permission.rb
1359
- - lib/fastly/models/iam_role.rb
1360
- - lib/fastly/models/iam_role_all_of.rb
1361
1407
  - lib/fastly/models/iam_service_group.rb
1362
1408
  - lib/fastly/models/iam_service_group_all_of.rb
1363
1409
  - lib/fastly/models/iam_user_group.rb
1364
1410
  - lib/fastly/models/iam_user_group_all_of.rb
1411
+ - lib/fastly/models/iam_v1_role_list_response.rb
1412
+ - lib/fastly/models/iam_v1_role_response.rb
1365
1413
  - lib/fastly/models/image_optimizer_response_body_enable.rb
1366
1414
  - lib/fastly/models/image_optimizer_response_body_get_all_services.rb
1367
1415
  - lib/fastly/models/image_optimizer_response_customer.rb
@@ -1379,6 +1427,7 @@ files:
1379
1427
  - lib/fastly/models/inline_object1.rb
1380
1428
  - lib/fastly/models/inline_response200.rb
1381
1429
  - lib/fastly/models/inline_response2001.rb
1430
+ - lib/fastly/models/inline_response20010.rb
1382
1431
  - lib/fastly/models/inline_response2002.rb
1383
1432
  - lib/fastly/models/inline_response2003.rb
1384
1433
  - lib/fastly/models/inline_response2004.rb
@@ -1407,9 +1456,12 @@ files:
1407
1456
  - lib/fastly/models/kv_store_details.rb
1408
1457
  - lib/fastly/models/kv_store_request_create.rb
1409
1458
  - lib/fastly/models/kv_store_upsert_batch.rb
1459
+ - lib/fastly/models/list_attack_report.rb
1460
+ - lib/fastly/models/list_attack_report_meta.rb
1410
1461
  - lib/fastly/models/list_customer_addresses_response.rb
1411
1462
  - lib/fastly/models/list_dashboards_response.rb
1412
1463
  - lib/fastly/models/list_eom_invoices_response.rb
1464
+ - lib/fastly/models/list_signal_report.rb
1413
1465
  - lib/fastly/models/listinvoices.rb
1414
1466
  - lib/fastly/models/log_aggregations_filter_field_item.rb
1415
1467
  - lib/fastly/models/log_aggregations_get_response.rb
@@ -1436,13 +1488,6 @@ files:
1436
1488
  - lib/fastly/models/log_insights_values.rb
1437
1489
  - lib/fastly/models/log_property_service_id.rb
1438
1490
  - lib/fastly/models/log_record.rb
1439
- - lib/fastly/models/log_timeseries_filter_field_item.rb
1440
- - lib/fastly/models/log_timeseries_get_response.rb
1441
- - lib/fastly/models/log_timeseries_get_response_meta.rb
1442
- - lib/fastly/models/log_timeseries_get_response_meta_filters.rb
1443
- - lib/fastly/models/log_timeseries_result.rb
1444
- - lib/fastly/models/log_timeseries_result_dimensions.rb
1445
- - lib/fastly/models/log_timeseries_value_field.rb
1446
1491
  - lib/fastly/models/logging_address_and_port.rb
1447
1492
  - lib/fastly/models/logging_azureblob_additional.rb
1448
1493
  - lib/fastly/models/logging_azureblob_response.rb
@@ -1687,6 +1732,8 @@ files:
1687
1732
  - lib/fastly/models/relationships_for_tls_domain.rb
1688
1733
  - lib/fastly/models/relationships_for_tls_private_key.rb
1689
1734
  - lib/fastly/models/relationships_for_tls_subscription.rb
1735
+ - lib/fastly/models/request_body_for_create.rb
1736
+ - lib/fastly/models/request_body_for_update.rb
1690
1737
  - lib/fastly/models/request_settings_additional.rb
1691
1738
  - lib/fastly/models/request_settings_response.rb
1692
1739
  - lib/fastly/models/request_settings_response_all_of.rb
@@ -1749,6 +1796,7 @@ files:
1749
1796
  - lib/fastly/models/serviceusagetypes.rb
1750
1797
  - lib/fastly/models/settings.rb
1751
1798
  - lib/fastly/models/settings_response.rb
1799
+ - lib/fastly/models/signal_report.rb
1752
1800
  - lib/fastly/models/signing_key.rb
1753
1801
  - lib/fastly/models/snippet.rb
1754
1802
  - lib/fastly/models/snippet_response.rb
@@ -1758,9 +1806,14 @@ files:
1758
1806
  - lib/fastly/models/star_response.rb
1759
1807
  - lib/fastly/models/star_response_all_of.rb
1760
1808
  - lib/fastly/models/stats.rb
1809
+ - lib/fastly/models/successful_response_as_object.rb
1810
+ - lib/fastly/models/successful_response_as_object_all_of.rb
1761
1811
  - lib/fastly/models/sudo_generic_token_error.rb
1762
1812
  - lib/fastly/models/sudo_request.rb
1763
1813
  - lib/fastly/models/sudo_response.rb
1814
+ - lib/fastly/models/timeseries_get_response.rb
1815
+ - lib/fastly/models/timeseries_meta.rb
1816
+ - lib/fastly/models/timeseries_result.rb
1764
1817
  - lib/fastly/models/timestamps.rb
1765
1818
  - lib/fastly/models/timestamps_no_delete.rb
1766
1819
  - lib/fastly/models/tls_activation.rb
@@ -1839,6 +1892,7 @@ files:
1839
1892
  - lib/fastly/models/token_response.rb
1840
1893
  - lib/fastly/models/token_response_all_of.rb
1841
1894
  - lib/fastly/models/tokens_additional_props.rb
1895
+ - lib/fastly/models/top_workspace.rb
1842
1896
  - lib/fastly/models/type_billing_address.rb
1843
1897
  - lib/fastly/models/type_contact.rb
1844
1898
  - lib/fastly/models/type_customer.rb
data/docs/IamRole.md DELETED
@@ -1,17 +0,0 @@
1
- # Fastly::IamRole
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
8
- | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
9
- | **id** | **String** | Alphanumeric string identifying the role. | [optional] |
10
- | **object** | **String** | The type of the object. | [optional] |
11
- | **name** | **String** | Name of the role. | [optional] |
12
- | **description** | **String** | Description of the role. | [optional] |
13
- | **custom** | **Boolean** | This attribute is set to `true` if the role is managed by the customer. It is set to `false` if the role was created by Fastly. | [optional] |
14
- | **permissions_count** | **Integer** | Number of permissions assigned to the role. | [optional] |
15
-
16
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
17
-
data/docs/IamRoleAllOf.md DELETED
@@ -1,15 +0,0 @@
1
- # Fastly::IamRoleAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Alphanumeric string identifying the role. | [optional] |
8
- | **object** | **String** | The type of the object. | [optional] |
9
- | **name** | **String** | Name of the role. | [optional] |
10
- | **description** | **String** | Description of the role. | [optional] |
11
- | **custom** | **Boolean** | This attribute is set to `true` if the role is managed by the customer. It is set to `false` if the role was created by Fastly. | [optional] |
12
- | **permissions_count** | **Integer** | Number of permissions assigned to the role. | [optional] |
13
-
14
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
15
-
@@ -1,12 +0,0 @@
1
- # Fastly::LogTimeseriesFilterFieldItem
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **field** | **String** | The log field to which this filter should be applied. | [optional] |
8
- | **operator** | **String** | The comparison operator used for this filter. | [optional] |
9
- | **value** | [**LogTimeseriesValueField**](LogTimeseriesValueField.md) | | [optional] |
10
-
11
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
-
@@ -1,11 +0,0 @@
1
- # Fastly::LogTimeseriesGetResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array<LogTimeseriesResult>**](LogTimeseriesResult.md) | | [optional] |
8
- | **meta** | [**LogTimeseriesGetResponseMeta**](LogTimeseriesGetResponseMeta.md) | | [optional] |
9
-
10
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
-
@@ -1,14 +0,0 @@
1
- # Fastly::LogTimeseriesGetResponseMeta
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **service_id** | **String** | ID of the service for which data was returned. | [optional] |
8
- | **start** | **String** | Start time for the query as supplied in the request. | [optional] |
9
- | **_end** | **String** | End time for the query as supplied in the request. | [optional] |
10
- | **granularity** | **String** | The granularity of the time buckets in the response. | [optional] |
11
- | **filters** | [**LogTimeseriesGetResponseMetaFilters**](LogTimeseriesGetResponseMetaFilters.md) | | [optional] |
12
-
13
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14
-
@@ -1,11 +0,0 @@
1
- # Fastly::LogTimeseriesResult
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **dimensions** | [**LogTimeseriesResultDimensions**](LogTimeseriesResultDimensions.md) | | [optional] |
8
- | **values** | **Hash<String, Object>** | | [optional] |
9
-
10
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
-
@@ -1,59 +0,0 @@
1
- # Fastly::LogTimeseriesValueField
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::LogTimeseriesValueField.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::LogTimeseriesValueField.build(data)
37
- # => #<Array<Float>:0x00007fdd4aab02a0>
38
-
39
- Fastly::LogTimeseriesValueField.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
-
@@ -1,67 +0,0 @@
1
- # Fastly::ObservabilityTimeseriesForLogsApi
2
-
3
-
4
- ```ruby
5
- require 'fastly'
6
- api_instance = Fastly::ObservabilityTimeseriesForLogsApi.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
- [**log_timeseries_get**](ObservabilityTimeseriesForLogsApi.md#log_timeseries_get) | **GET** /observability/timeseries | Retrieve log data as time series
17
-
18
-
19
- ## `log_timeseries_get()`
20
-
21
- ```ruby
22
- log_timeseries_get(opts): <LogTimeseriesGetResponse> # Retrieve log data as time series
23
- ```
24
-
25
- Retrieves log data as time series.
26
-
27
- ### Examples
28
-
29
- ```ruby
30
- api_instance = Fastly::ObservabilityTimeseriesForLogsApi.new
31
- opts = {
32
- source: 'source_example', # String |
33
- service_id: 'service_id_example', # String |
34
- start: 'start_example', # String |
35
- _end: '_end_example', # String |
36
- granularity: 'second', # String |
37
- series: 'series_example', # String |
38
- filter: 'filter_example', # String |
39
- }
40
-
41
- begin
42
- # Retrieve log data as time series
43
- result = api_instance.log_timeseries_get(opts)
44
- p result
45
- rescue Fastly::ApiError => e
46
- puts "Error when calling ObservabilityTimeseriesForLogsApi->log_timeseries_get: #{e}"
47
- end
48
- ```
49
-
50
- ### Options
51
-
52
- | Name | Type | Description | Notes |
53
- | ---- | ---- | ----------- | ----- |
54
- | **source** | **String** | | |
55
- | **service_id** | **String** | | |
56
- | **start** | **String** | | |
57
- | **_end** | **String** | | |
58
- | **granularity** | **String** | | |
59
- | **filter** | **String** | | [optional] |
60
- | **series** | **String** | | |
61
-
62
- ### Return type
63
-
64
- [**LogTimeseriesGetResponse**](LogTimeseriesGetResponse.md)
65
-
66
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
67
- [[Back to README]](../../README.md)
@@ -1,37 +0,0 @@
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 'date'
12
- require 'time'
13
-
14
- module Fastly
15
- class DdosProtectionAction
16
- DEFAULT = "default".freeze
17
- BLOCK = "block".freeze
18
- LOG = "log".freeze
19
- DISABLED = "disabled".freeze
20
-
21
- # Builds the enum from string
22
- # @param [String] The enum value in the form of the string
23
- # @return [String] The enum value
24
- def self.build_from_hash(value)
25
- new.build_from_hash(value)
26
- end
27
-
28
- # Builds the enum from string
29
- # @param [String] The enum value in the form of the string
30
- # @return [String] The enum value
31
- def build_from_hash(value)
32
- constantValues = DdosProtectionAction.constants.select { |c| DdosProtectionAction::const_get(c) == value }
33
- raise "Invalid ENUM value #{value} for class #DdosProtectionAction" if constantValues.empty?
34
- value
35
- end
36
- end
37
- end
@@ -1,40 +0,0 @@
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 'date'
12
- require 'time'
13
-
14
- module Fastly
15
- class DdosProtectionTrafficAttribute
16
- SOURCE_IP = "source_ip".freeze
17
- COUNTRY_CODE = "country_code".freeze
18
- HOST = "host".freeze
19
- ASN = "asn".freeze
20
- SOURCE_IP_PREFIX = "source_ip_prefix".freeze
21
- USER_AGENT = "user_agent".freeze
22
- METHOD_PATH = "method_path".freeze
23
-
24
- # Builds the enum from string
25
- # @param [String] The enum value in the form of the string
26
- # @return [String] The enum value
27
- def self.build_from_hash(value)
28
- new.build_from_hash(value)
29
- end
30
-
31
- # Builds the enum from string
32
- # @param [String] The enum value in the form of the string
33
- # @return [String] The enum value
34
- def build_from_hash(value)
35
- constantValues = DdosProtectionTrafficAttribute.constants.select { |c| DdosProtectionTrafficAttribute::const_get(c) == value }
36
- raise "Invalid ENUM value #{value} for class #DdosProtectionTrafficAttribute" if constantValues.empty?
37
- value
38
- end
39
- end
40
- end