fastly 8.10.0 → 10.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 (378) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -2
  3. data/Gemfile.lock +3 -3
  4. data/README.md +63 -45
  5. data/docs/AccessKey.md +12 -0
  6. data/docs/AccessKeyResponse.md +15 -0
  7. data/docs/AclsInComputeApi.md +4 -4
  8. data/docs/AiAcceleratorResponseBodyEnable.md +12 -0
  9. data/docs/AiAcceleratorResponseCustomer.md +10 -0
  10. data/docs/AiAcceleratorResponseCustomerCustomer.md +11 -0
  11. data/docs/AiAcceleratorResponseLinks.md +10 -0
  12. data/docs/AiAcceleratorResponseLinksLinks.md +10 -0
  13. data/docs/AiAcceleratorResponseProduct.md +10 -0
  14. data/docs/AiAcceleratorResponseProductProduct.md +11 -0
  15. data/docs/Backend.md +1 -1
  16. data/docs/BackendApi.md +4 -4
  17. data/docs/BackendResponse.md +1 -1
  18. data/docs/BillingUsageMetricsApi.md +17 -23
  19. data/docs/BotManagementResponseBodyEnable.md +12 -0
  20. data/docs/BotManagementResponseLinks.md +10 -0
  21. data/docs/BotManagementResponseLinksLinks.md +11 -0
  22. data/docs/BotManagementResponseProduct.md +10 -0
  23. data/docs/BotManagementResponseProductProduct.md +11 -0
  24. data/docs/BotManagementResponseService.md +10 -0
  25. data/docs/{EnabledProductResponseService.md → BotManagementResponseServiceService.md} +1 -1
  26. data/docs/BrotliCompressionResponseBodyEnable.md +12 -0
  27. data/docs/BrotliCompressionResponseLinks.md +10 -0
  28. data/docs/BrotliCompressionResponseLinksLinks.md +11 -0
  29. data/docs/BrotliCompressionResponseProduct.md +10 -0
  30. data/docs/BrotliCompressionResponseProductProduct.md +11 -0
  31. data/docs/BrotliCompressionResponseService.md +10 -0
  32. data/docs/ComputeAclList.md +11 -0
  33. data/docs/{LegacyWafTag.md → ComputeAclListMeta.md} +2 -2
  34. data/docs/ComputeAclLookup.md +1 -2
  35. data/docs/{InlineResponse2004Meta.md → ComputeAclUpdate.md} +2 -3
  36. data/docs/DdosProtectionRequestUpdateConfiguration.md +10 -0
  37. data/docs/DdosProtectionResponseConfiguration.md +10 -0
  38. data/docs/DdosProtectionResponseConfigurationConfiguration.md +10 -0
  39. data/docs/DdosProtectionResponseConfigure.md +13 -0
  40. data/docs/DdosProtectionResponseEnable.md +12 -0
  41. data/docs/DdosProtectionResponseLinks.md +10 -0
  42. data/docs/DdosProtectionResponseLinksLinks.md +11 -0
  43. data/docs/DdosProtectionResponseProduct.md +10 -0
  44. data/docs/DdosProtectionResponseProductProduct.md +11 -0
  45. data/docs/DdosProtectionResponseService.md +10 -0
  46. data/docs/DimensionAttributesCountryStats.md +12 -0
  47. data/docs/DimensionAttributesRate.md +10 -0
  48. data/docs/DimensionBrowser.md +10 -0
  49. data/docs/DimensionContentType.md +10 -0
  50. data/docs/DimensionCountry.md +10 -0
  51. data/docs/DimensionDevice.md +10 -0
  52. data/docs/DimensionOs.md +10 -0
  53. data/docs/DimensionResponse.md +10 -0
  54. data/docs/DimensionStatusCode.md +10 -0
  55. data/docs/DimensionUrl.md +10 -0
  56. data/docs/DomainInspectorMeasurements.md +2 -0
  57. data/docs/DomainInspectorResponseBodyEnable.md +12 -0
  58. data/docs/DomainInspectorResponseLinks.md +10 -0
  59. data/docs/DomainInspectorResponseLinksLinks.md +11 -0
  60. data/docs/DomainInspectorResponseProduct.md +10 -0
  61. data/docs/{InlineResponse2003Meta.md → DomainInspectorResponseProductProduct.md} +3 -3
  62. data/docs/DomainInspectorResponseService.md +10 -0
  63. data/docs/FanoutResponseBodyEnable.md +12 -0
  64. data/docs/FanoutResponseLinks.md +10 -0
  65. data/docs/{EnabledProductResponseLinks.md → FanoutResponseLinksLinks.md} +1 -1
  66. data/docs/FanoutResponseProduct.md +10 -0
  67. data/docs/{EnabledProductResponseProduct.md → FanoutResponseProductProduct.md} +1 -1
  68. data/docs/FanoutResponseService.md +10 -0
  69. data/docs/FilterFieldItem.md +12 -0
  70. data/docs/GetLogInsightsResponse.md +11 -0
  71. data/docs/GetLogRecordsResponse.md +11 -0
  72. data/docs/GetLogRecordsResponseMeta.md +10 -0
  73. data/docs/GetLogRecordsResponseMetaFilters.md +16 -0
  74. data/docs/ImageOptimizerResponseBodyEnable.md +12 -0
  75. data/docs/ImageOptimizerResponseLinks.md +10 -0
  76. data/docs/ImageOptimizerResponseLinksLinks.md +11 -0
  77. data/docs/ImageOptimizerResponseProduct.md +10 -0
  78. data/docs/ImageOptimizerResponseProductProduct.md +11 -0
  79. data/docs/ImageOptimizerResponseService.md +10 -0
  80. data/docs/InlineResponse2003.md +2 -2
  81. data/docs/InlineResponse2004.md +1 -1
  82. data/docs/InsightsApi.md +69 -0
  83. data/docs/KvStoreApi.md +30 -30
  84. data/docs/{Batch.md → KvStoreBatchResponse.md} +2 -2
  85. data/docs/{BatchErrors.md → KvStoreBatchResponseErrors.md} +4 -4
  86. data/docs/{StoreResponse.md → KvStoreDetails.md} +2 -2
  87. data/docs/KvStoreItemApi.md +55 -50
  88. data/docs/KvStoreRequestCreate.md +10 -0
  89. data/docs/KvStoreUpsertBatch.md +14 -0
  90. data/docs/LogExplorerApi.md +65 -0
  91. data/docs/LogExplorerInsightsResponseBodyEnable.md +12 -0
  92. data/docs/LogExplorerInsightsResponseLinks.md +10 -0
  93. data/docs/LogExplorerInsightsResponseLinksLinks.md +11 -0
  94. data/docs/LogExplorerInsightsResponseProduct.md +10 -0
  95. data/docs/LogExplorerInsightsResponseProductProduct.md +11 -0
  96. data/docs/LogExplorerInsightsResponseService.md +10 -0
  97. data/docs/LogInsights.md +12 -0
  98. data/docs/LogInsightsDimensionAttributes.md +49 -0
  99. data/docs/LogInsightsDimensions.md +61 -0
  100. data/docs/LogInsightsMeta.md +10 -0
  101. data/docs/LogInsightsMetaFilter.md +14 -0
  102. data/docs/LogInsightsValues.md +65 -0
  103. data/docs/{ReadOnlyServiceId.md → LogPropertyServiceId.md} +1 -1
  104. data/docs/LogRecord.md +37 -0
  105. data/docs/LoggingGrafanacloudlogsAdditional.md +14 -0
  106. data/docs/LoggingGrafanacloudlogsApi.md +259 -0
  107. data/docs/LoggingGrafanacloudlogsResponse.md +23 -0
  108. data/docs/{ReadOnlyVersion.md → NgwafRequestEnable.md} +2 -1
  109. data/docs/NgwafRequestUpdateConfiguration.md +11 -0
  110. data/docs/NgwafResponseConfiguration.md +10 -0
  111. data/docs/{ConfiguredProductResponseConfiguration.md → NgwafResponseConfigurationConfiguration.md} +2 -2
  112. data/docs/NgwafResponseConfigure.md +13 -0
  113. data/docs/NgwafResponseEnable.md +12 -0
  114. data/docs/NgwafResponseLinks.md +10 -0
  115. data/docs/{ConfiguredProductResponseLinks.md → NgwafResponseLinksLinks.md} +1 -1
  116. data/docs/NgwafResponseProduct.md +10 -0
  117. data/docs/{ConfiguredProductResponseProduct.md → NgwafResponseProductProduct.md} +1 -1
  118. data/docs/NgwafResponseService.md +10 -0
  119. data/docs/ObjectStorageAccessKeysApi.md +163 -0
  120. data/docs/ObjectStorageResponseBodyEnable.md +12 -0
  121. data/docs/ObjectStorageResponseCustomer.md +10 -0
  122. data/docs/ObjectStorageResponseLinks.md +10 -0
  123. data/docs/ObjectStorageResponseLinksLinks.md +10 -0
  124. data/docs/ObjectStorageResponseProduct.md +10 -0
  125. data/docs/ObjectStorageResponseProductProduct.md +11 -0
  126. data/docs/OriginInspectorMeasurements.md +4 -0
  127. data/docs/OriginInspectorResponseBodyEnable.md +12 -0
  128. data/docs/OriginInspectorResponseLinks.md +10 -0
  129. data/docs/OriginInspectorResponseLinksLinks.md +11 -0
  130. data/docs/OriginInspectorResponseProduct.md +10 -0
  131. data/docs/OriginInspectorResponseProductProduct.md +11 -0
  132. data/docs/OriginInspectorResponseService.md +10 -0
  133. data/docs/OriginInspectorValues.md +4 -0
  134. data/docs/ProductAiAcceleratorApi.md +115 -0
  135. data/docs/ProductBotManagementApi.md +130 -0
  136. data/docs/ProductBrotliCompressionApi.md +130 -0
  137. data/docs/ProductDdosProtectionApi.md +208 -0
  138. data/docs/ProductDomainInspectorApi.md +130 -0
  139. data/docs/ProductFanoutApi.md +130 -0
  140. data/docs/ProductImageOptimizerApi.md +130 -0
  141. data/docs/ProductLogExplorerInsightsApi.md +130 -0
  142. data/docs/ProductNgwafApi.md +210 -0
  143. data/docs/ProductObjectStorageApi.md +115 -0
  144. data/docs/ProductOriginInspectorApi.md +130 -0
  145. data/docs/ProductWebsocketsApi.md +130 -0
  146. data/docs/RealtimeEntryAggregated.md +18 -7
  147. data/docs/RealtimeMeasurements.md +18 -7
  148. data/docs/Results.md +18 -7
  149. data/docs/SnippetApi.md +15 -15
  150. data/docs/Usagemetric.md +18 -0
  151. data/docs/{Store.md → Usagemetrics.md} +2 -2
  152. data/docs/ValueField.md +59 -0
  153. data/docs/Values.md +2 -0
  154. data/docs/Values503Responses.md +12 -0
  155. data/docs/ValuesBandwidth.md +11 -0
  156. data/docs/ValuesBrowser.md +11 -0
  157. data/docs/ValuesCacheHitRatio.md +10 -0
  158. data/docs/ValuesCountryStats.md +12 -0
  159. data/docs/ValuesDuration.md +12 -0
  160. data/docs/ValuesMisses.md +10 -0
  161. data/docs/ValuesRate.md +10 -0
  162. data/docs/ValuesRequests.md +10 -0
  163. data/docs/ValuesStatusCodes.md +12 -0
  164. data/docs/WebsocketsResponseBodyEnable.md +12 -0
  165. data/docs/WebsocketsResponseLinks.md +10 -0
  166. data/docs/WebsocketsResponseLinksLinks.md +11 -0
  167. data/docs/WebsocketsResponseProduct.md +10 -0
  168. data/docs/WebsocketsResponseProductProduct.md +11 -0
  169. data/docs/WebsocketsResponseService.md +10 -0
  170. data/lib/fastly/api/acls_in_compute_api.rb +6 -6
  171. data/lib/fastly/api/backend_api.rb +4 -4
  172. data/lib/fastly/api/billing_usage_metrics_api.rb +46 -73
  173. data/lib/fastly/api/insights_api.rb +125 -0
  174. data/lib/fastly/api/kv_store_api.rb +53 -45
  175. data/lib/fastly/api/kv_store_item_api.rb +114 -99
  176. data/lib/fastly/api/log_explorer_api.rb +109 -0
  177. data/lib/fastly/api/logging_grafanacloudlogs_api.rb +471 -0
  178. data/lib/fastly/api/object_storage_access_keys_api.rb +263 -0
  179. data/lib/fastly/api/product_ai_accelerator_api.rb +186 -0
  180. data/lib/fastly/api/product_bot_management_api.rb +207 -0
  181. data/lib/fastly/api/product_brotli_compression_api.rb +207 -0
  182. data/lib/fastly/api/product_ddos_protection_api.rb +340 -0
  183. data/lib/fastly/api/product_domain_inspector_api.rb +207 -0
  184. data/lib/fastly/api/product_fanout_api.rb +207 -0
  185. data/lib/fastly/api/product_image_optimizer_api.rb +207 -0
  186. data/lib/fastly/api/product_log_explorer_insights_api.rb +207 -0
  187. data/lib/fastly/api/product_ngwaf_api.rb +347 -0
  188. data/lib/fastly/api/product_object_storage_api.rb +186 -0
  189. data/lib/fastly/api/product_origin_inspector_api.rb +207 -0
  190. data/lib/fastly/api/product_websockets_api.rb +207 -0
  191. data/lib/fastly/api/snippet_api.rb +35 -35
  192. data/lib/fastly/configuration.rb +308 -200
  193. data/lib/fastly/models/access_key.rb +248 -0
  194. data/lib/fastly/models/{legacy_waf_update_status.rb → access_key_response.rb} +48 -46
  195. data/lib/fastly/models/ai_accelerator_response_body_enable.rb +243 -0
  196. data/lib/fastly/models/ai_accelerator_response_customer.rb +216 -0
  197. data/lib/fastly/models/ai_accelerator_response_customer_customer.rb +227 -0
  198. data/lib/fastly/models/ai_accelerator_response_links.rb +216 -0
  199. data/lib/fastly/models/ai_accelerator_response_links_links.rb +217 -0
  200. data/lib/fastly/models/ai_accelerator_response_product.rb +216 -0
  201. data/lib/fastly/models/ai_accelerator_response_product_product.rb +227 -0
  202. data/lib/fastly/models/backend.rb +1 -1
  203. data/lib/fastly/models/backend_response.rb +1 -1
  204. data/lib/fastly/models/bot_management_response_body_enable.rb +243 -0
  205. data/lib/fastly/models/bot_management_response_links.rb +216 -0
  206. data/lib/fastly/models/bot_management_response_links_links.rb +227 -0
  207. data/lib/fastly/models/bot_management_response_product.rb +216 -0
  208. data/lib/fastly/models/bot_management_response_product_product.rb +227 -0
  209. data/lib/fastly/models/bot_management_response_service.rb +216 -0
  210. data/lib/fastly/models/{enabled_product_response_service.rb → bot_management_response_service_service.rb} +3 -3
  211. data/lib/fastly/models/brotli_compression_response_body_enable.rb +243 -0
  212. data/lib/fastly/models/brotli_compression_response_links.rb +216 -0
  213. data/lib/fastly/models/brotli_compression_response_links_links.rb +227 -0
  214. data/lib/fastly/models/brotli_compression_response_product.rb +216 -0
  215. data/lib/fastly/models/brotli_compression_response_product_product.rb +227 -0
  216. data/lib/fastly/models/brotli_compression_response_service.rb +216 -0
  217. data/lib/fastly/models/compute_acl_list.rb +228 -0
  218. data/lib/fastly/models/compute_acl_list_entries.rb +1 -1
  219. data/lib/fastly/models/compute_acl_list_meta.rb +218 -0
  220. data/lib/fastly/models/compute_acl_lookup.rb +3 -13
  221. data/lib/fastly/models/compute_acl_update.rb +219 -0
  222. data/lib/fastly/models/compute_acl_update_entry.rb +1 -1
  223. data/lib/fastly/models/ddos_protection_request_update_configuration.rb +256 -0
  224. data/lib/fastly/models/ddos_protection_response_configuration.rb +216 -0
  225. data/lib/fastly/models/ddos_protection_response_configuration_configuration.rb +217 -0
  226. data/lib/fastly/models/ddos_protection_response_configure.rb +253 -0
  227. data/lib/fastly/models/ddos_protection_response_enable.rb +243 -0
  228. data/lib/fastly/models/ddos_protection_response_links.rb +216 -0
  229. data/lib/fastly/models/ddos_protection_response_links_links.rb +227 -0
  230. data/lib/fastly/models/ddos_protection_response_product.rb +216 -0
  231. data/lib/fastly/models/ddos_protection_response_product_product.rb +227 -0
  232. data/lib/fastly/models/ddos_protection_response_service.rb +216 -0
  233. data/lib/fastly/models/dimension_attributes_country_stats.rb +237 -0
  234. data/lib/fastly/models/dimension_attributes_rate.rb +217 -0
  235. data/lib/fastly/models/dimension_browser.rb +217 -0
  236. data/lib/fastly/models/dimension_content_type.rb +217 -0
  237. data/lib/fastly/models/dimension_country.rb +217 -0
  238. data/lib/fastly/models/dimension_device.rb +217 -0
  239. data/lib/fastly/models/{store.rb → dimension_os.rb} +11 -11
  240. data/lib/fastly/models/{read_only_service_id.rb → dimension_response.rb} +15 -5
  241. data/lib/fastly/models/dimension_status_code.rb +217 -0
  242. data/lib/fastly/models/{legacy_waf_tag.rb → dimension_url.rb} +11 -11
  243. data/lib/fastly/models/domain_inspector_measurements.rb +21 -1
  244. data/lib/fastly/models/domain_inspector_response_body_enable.rb +243 -0
  245. data/lib/fastly/models/domain_inspector_response_links.rb +216 -0
  246. data/lib/fastly/models/domain_inspector_response_links_links.rb +227 -0
  247. data/lib/fastly/models/domain_inspector_response_product.rb +216 -0
  248. data/lib/fastly/models/domain_inspector_response_product_product.rb +227 -0
  249. data/lib/fastly/models/domain_inspector_response_service.rb +216 -0
  250. data/lib/fastly/models/fanout_response_body_enable.rb +243 -0
  251. data/lib/fastly/models/fanout_response_links.rb +216 -0
  252. data/lib/fastly/models/{enabled_product_response_links.rb → fanout_response_links_links.rb} +3 -3
  253. data/lib/fastly/models/fanout_response_product.rb +216 -0
  254. data/lib/fastly/models/{enabled_product_response_product.rb → fanout_response_product_product.rb} +3 -3
  255. data/lib/fastly/models/fanout_response_service.rb +216 -0
  256. data/lib/fastly/models/filter_field_item.rb +271 -0
  257. data/lib/fastly/models/{inline_response2004_meta.rb → get_log_insights_response.rb} +18 -16
  258. data/lib/fastly/models/get_log_records_response.rb +227 -0
  259. data/lib/fastly/models/get_log_records_response_meta.rb +216 -0
  260. data/lib/fastly/models/{legacy_waf_firewall.rb → get_log_records_response_meta_filters.rb} +80 -70
  261. data/lib/fastly/models/image_optimizer_response_body_enable.rb +243 -0
  262. data/lib/fastly/models/image_optimizer_response_links.rb +216 -0
  263. data/lib/fastly/models/image_optimizer_response_links_links.rb +227 -0
  264. data/lib/fastly/models/image_optimizer_response_product.rb +216 -0
  265. data/lib/fastly/models/image_optimizer_response_product_product.rb +227 -0
  266. data/lib/fastly/models/image_optimizer_response_service.rb +216 -0
  267. data/lib/fastly/models/inline_response2003.rb +2 -2
  268. data/lib/fastly/models/inline_response2004.rb +1 -1
  269. data/lib/fastly/models/{batch.rb → kv_store_batch_response.rb} +5 -5
  270. data/lib/fastly/models/{batch_errors.rb → kv_store_batch_response_errors.rb} +6 -6
  271. data/lib/fastly/models/{store_response.rb → kv_store_details.rb} +4 -4
  272. data/lib/fastly/models/{legacy_waf_configuration_set.rb → kv_store_request_create.rb} +10 -15
  273. data/lib/fastly/models/kv_store_upsert_batch.rb +269 -0
  274. data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +243 -0
  275. data/lib/fastly/models/log_explorer_insights_response_links.rb +216 -0
  276. data/lib/fastly/models/log_explorer_insights_response_links_links.rb +227 -0
  277. data/lib/fastly/models/log_explorer_insights_response_product.rb +216 -0
  278. data/lib/fastly/models/log_explorer_insights_response_product_product.rb +227 -0
  279. data/lib/fastly/models/log_explorer_insights_response_service.rb +216 -0
  280. data/lib/fastly/models/log_insights.rb +234 -0
  281. data/lib/fastly/models/log_insights_dimension_attributes.rb +103 -0
  282. data/lib/fastly/models/log_insights_dimensions.rb +109 -0
  283. data/lib/fastly/models/log_insights_meta.rb +217 -0
  284. data/lib/fastly/models/{inline_response2003_meta.rb → log_insights_meta_filter.rb} +69 -13
  285. data/lib/fastly/models/log_insights_values.rb +111 -0
  286. data/lib/fastly/models/{read_only_version.rb → log_property_service_id.rb} +4 -3
  287. data/lib/fastly/models/log_record.rb +486 -0
  288. data/lib/fastly/models/logging_grafanacloudlogs_additional.rb +257 -0
  289. data/lib/fastly/models/logging_grafanacloudlogs_response.rb +408 -0
  290. data/lib/fastly/models/{set_workspace_id.rb → ngwaf_request_enable.rb} +9 -4
  291. data/lib/fastly/models/{set_configuration.rb → ngwaf_request_update_configuration.rb} +5 -5
  292. data/lib/fastly/models/ngwaf_response_configuration.rb +216 -0
  293. data/lib/fastly/models/{configured_product_response_configuration.rb → ngwaf_response_configuration_configuration.rb} +4 -4
  294. data/lib/fastly/models/{configured_product_response.rb → ngwaf_response_configure.rb} +17 -7
  295. data/lib/fastly/models/{enabled_product_response.rb → ngwaf_response_enable.rb} +15 -6
  296. data/lib/fastly/models/ngwaf_response_links.rb +216 -0
  297. data/lib/fastly/models/{configured_product_response_links.rb → ngwaf_response_links_links.rb} +3 -3
  298. data/lib/fastly/models/ngwaf_response_product.rb +216 -0
  299. data/lib/fastly/models/ngwaf_response_product_product.rb +227 -0
  300. data/lib/fastly/models/ngwaf_response_service.rb +216 -0
  301. data/lib/fastly/models/object_storage_response_body_enable.rb +243 -0
  302. data/lib/fastly/models/object_storage_response_customer.rb +216 -0
  303. data/lib/fastly/models/object_storage_response_links.rb +216 -0
  304. data/lib/fastly/models/object_storage_response_links_links.rb +217 -0
  305. data/lib/fastly/models/object_storage_response_product.rb +216 -0
  306. data/lib/fastly/models/object_storage_response_product_product.rb +227 -0
  307. data/lib/fastly/models/origin_inspector_measurements.rb +41 -1
  308. data/lib/fastly/models/origin_inspector_response_body_enable.rb +243 -0
  309. data/lib/fastly/models/origin_inspector_response_links.rb +216 -0
  310. data/lib/fastly/models/origin_inspector_response_links_links.rb +227 -0
  311. data/lib/fastly/models/origin_inspector_response_product.rb +216 -0
  312. data/lib/fastly/models/origin_inspector_response_product_product.rb +227 -0
  313. data/lib/fastly/models/origin_inspector_response_service.rb +216 -0
  314. data/lib/fastly/models/origin_inspector_values.rb +41 -1
  315. data/lib/fastly/models/realtime_entry_aggregated.rb +184 -74
  316. data/lib/fastly/models/realtime_measurements.rb +184 -74
  317. data/lib/fastly/models/results.rb +181 -71
  318. data/lib/fastly/models/schemas_snippet_response.rb +1 -0
  319. data/lib/fastly/models/snippet.rb +1 -0
  320. data/lib/fastly/models/snippet_common.rb +1 -0
  321. data/lib/fastly/models/snippet_response.rb +1 -0
  322. data/lib/fastly/models/snippet_response_post.rb +1 -0
  323. data/lib/fastly/models/snippet_with_dynamic_number.rb +1 -0
  324. data/lib/fastly/models/usagemetric.rb +297 -0
  325. data/lib/fastly/models/usagemetrics.rb +218 -0
  326. data/lib/fastly/models/value_field.rb +108 -0
  327. data/lib/fastly/models/values.rb +21 -1
  328. data/lib/fastly/models/{legacy_waf_rule_status.rb → values503_responses.rb} +25 -25
  329. data/lib/fastly/models/values_bandwidth.rb +227 -0
  330. data/lib/fastly/models/values_browser.rb +227 -0
  331. data/lib/fastly/models/values_cache_hit_ratio.rb +217 -0
  332. data/lib/fastly/models/values_country_stats.rb +237 -0
  333. data/lib/fastly/models/{legacy_waf_rule.rb → values_duration.rb} +25 -45
  334. data/lib/fastly/models/values_misses.rb +217 -0
  335. data/lib/fastly/models/values_rate.rb +217 -0
  336. data/lib/fastly/models/values_requests.rb +217 -0
  337. data/lib/fastly/models/values_status_codes.rb +237 -0
  338. data/lib/fastly/models/websockets_response_body_enable.rb +243 -0
  339. data/lib/fastly/models/websockets_response_links.rb +216 -0
  340. data/lib/fastly/models/websockets_response_links_links.rb +227 -0
  341. data/lib/fastly/models/websockets_response_product.rb +216 -0
  342. data/lib/fastly/models/{configured_product_response_product.rb → websockets_response_product_product.rb} +3 -3
  343. data/lib/fastly/models/websockets_response_service.rb +216 -0
  344. data/lib/fastly/version.rb +1 -1
  345. data/lib/fastly.rb +147 -35
  346. data/sig.json +1 -1
  347. metadata +299 -75
  348. data/docs/ConfiguredProductResponse.md +0 -13
  349. data/docs/EnabledProductResponse.md +0 -12
  350. data/docs/EnabledProductsApi.md +0 -220
  351. data/docs/LegacyWafConfigurationSet.md +0 -11
  352. data/docs/LegacyWafConfigurationSetsApi.md +0 -128
  353. data/docs/LegacyWafFirewall.md +0 -18
  354. data/docs/LegacyWafFirewallApi.md +0 -355
  355. data/docs/LegacyWafOwasp.md +0 -38
  356. data/docs/LegacyWafOwaspApi.md +0 -141
  357. data/docs/LegacyWafRule.md +0 -14
  358. data/docs/LegacyWafRuleApi.md +0 -187
  359. data/docs/LegacyWafRuleStatus.md +0 -12
  360. data/docs/LegacyWafRuleStatusApi.md +0 -205
  361. data/docs/LegacyWafRuleset.md +0 -11
  362. data/docs/LegacyWafRulesetApi.md +0 -139
  363. data/docs/LegacyWafTagApi.md +0 -61
  364. data/docs/LegacyWafUpdateStatus.md +0 -15
  365. data/docs/LegacyWafUpdateStatusApi.md +0 -105
  366. data/docs/SetConfiguration.md +0 -11
  367. data/docs/SetWorkspaceId.md +0 -10
  368. data/lib/fastly/api/enabled_products_api.rb +0 -382
  369. data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +0 -209
  370. data/lib/fastly/api/legacy_waf_firewall_api.rb +0 -627
  371. data/lib/fastly/api/legacy_waf_owasp_api.rb +0 -244
  372. data/lib/fastly/api/legacy_waf_rule_api.rb +0 -307
  373. data/lib/fastly/api/legacy_waf_rule_status_api.rb +0 -366
  374. data/lib/fastly/api/legacy_waf_ruleset_api.rb +0 -237
  375. data/lib/fastly/api/legacy_waf_tag_api.rb +0 -96
  376. data/lib/fastly/api/legacy_waf_update_status_api.rb +0 -184
  377. data/lib/fastly/models/legacy_waf_owasp.rb +0 -527
  378. data/lib/fastly/models/legacy_waf_ruleset.rb +0 -227
@@ -0,0 +1,65 @@
1
+ # Fastly::LogExplorerApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::LogExplorerApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ > [!NOTE]
12
+ > All URIs are relative to `https://api.fastly.com`
13
+
14
+ Method | HTTP request | Description
15
+ ------ | ------------ | -----------
16
+ [**get_log_records**](LogExplorerApi.md#get_log_records) | **GET** /observability/log-explorer | Retrieve log records
17
+
18
+
19
+ ## `get_log_records()`
20
+
21
+ ```ruby
22
+ get_log_records(opts): <GetLogRecordsResponse> # Retrieve log records
23
+ ```
24
+
25
+ Retrieves log records.
26
+
27
+ ### Examples
28
+
29
+ ```ruby
30
+ api_instance = Fastly::LogExplorerApi.new
31
+ opts = {
32
+ service_id: 'service_id_example', # String |
33
+ start: 'start_example', # String |
34
+ _end: '_end_example', # String |
35
+ limit: 8.14, # Float |
36
+ next_cursor: 'next_cursor_example', # String |
37
+ filter: 'filter_example', # String |
38
+ }
39
+
40
+ begin
41
+ # Retrieve log records
42
+ result = api_instance.get_log_records(opts)
43
+ p result
44
+ rescue Fastly::ApiError => e
45
+ puts "Error when calling LogExplorerApi->get_log_records: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Options
50
+
51
+ | Name | Type | Description | Notes |
52
+ | ---- | ---- | ----------- | ----- |
53
+ | **service_id** | **String** | | |
54
+ | **start** | **String** | | |
55
+ | **_end** | **String** | | |
56
+ | **limit** | **Float** | | [optional] |
57
+ | **next_cursor** | **String** | | [optional] |
58
+ | **filter** | **String** | | [optional] |
59
+
60
+ ### Return type
61
+
62
+ [**GetLogRecordsResponse**](GetLogRecordsResponse.md)
63
+
64
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
65
+ [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
1
+ # Fastly::LogExplorerInsightsResponseBodyEnable
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **product** | [**LogExplorerInsightsResponseProductProduct**](LogExplorerInsightsResponseProductProduct.md) | | [optional] |
8
+ | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
9
+ | **_links** | [**LogExplorerInsightsResponseLinksLinks**](LogExplorerInsightsResponseLinksLinks.md) | | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,10 @@
1
+ # Fastly::LogExplorerInsightsResponseLinks
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_links** | [**LogExplorerInsightsResponseLinksLinks**](LogExplorerInsightsResponseLinksLinks.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,11 @@
1
+ # Fastly::LogExplorerInsightsResponseLinksLinks
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_self** | **String** | Location of resource | [optional] |
8
+ | **service** | **String** | Location of the service resource | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::LogExplorerInsightsResponseProduct
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **product** | [**LogExplorerInsightsResponseProductProduct**](LogExplorerInsightsResponseProductProduct.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,11 @@
1
+ # Fastly::LogExplorerInsightsResponseProductProduct
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Product identifier | [optional] |
8
+ | **object** | **String** | Name of the object | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::LogExplorerInsightsResponseService
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,12 @@
1
+ # Fastly::LogInsights
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dimensions** | [**LogInsightsDimensions**](LogInsightsDimensions.md) | | [optional] |
8
+ | **dimension_attributes** | [**LogInsightsDimensionAttributes**](LogInsightsDimensionAttributes.md) | | [optional] |
9
+ | **values** | [**LogInsightsValues**](LogInsightsValues.md) | | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,49 @@
1
+ # Fastly::LogInsightsDimensionAttributes
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::LogInsightsDimensionAttributes.fastly_one_of
15
+ # =>
16
+ # [
17
+ # :'DimensionAttributesCountryStats',
18
+ # :'DimensionAttributesRate'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `fastly_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'fastly'
30
+
31
+ Fastly::LogInsightsDimensionAttributes.build(data)
32
+ # => #<DimensionAttributesCountryStats:0x00007fdd4aab02a0>
33
+
34
+ Fastly::LogInsightsDimensionAttributes.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `DimensionAttributesCountryStats`
47
+ - `DimensionAttributesRate`
48
+ - `nil` (if no type matches)
49
+
@@ -0,0 +1,61 @@
1
+ # Fastly::LogInsightsDimensions
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::LogInsightsDimensions.fastly_one_of
15
+ # =>
16
+ # [
17
+ # :'DimensionBrowser',
18
+ # :'DimensionContentType',
19
+ # :'DimensionCountry',
20
+ # :'DimensionDevice',
21
+ # :'DimensionOs',
22
+ # :'DimensionResponse',
23
+ # :'DimensionStatusCode',
24
+ # :'DimensionUrl'
25
+ # ]
26
+ ```
27
+
28
+ ### build
29
+
30
+ Find the appropriate object from the `fastly_one_of` list and casts the data into it.
31
+
32
+ #### Example
33
+
34
+ ```ruby
35
+ require 'fastly'
36
+
37
+ Fastly::LogInsightsDimensions.build(data)
38
+ # => #<DimensionBrowser:0x00007fdd4aab02a0>
39
+
40
+ Fastly::LogInsightsDimensions.build(data_that_doesnt_match)
41
+ # => nil
42
+ ```
43
+
44
+ #### Parameters
45
+
46
+ | Name | Type | Description |
47
+ | ---- | ---- | ----------- |
48
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
49
+
50
+ #### Return type
51
+
52
+ - `DimensionBrowser`
53
+ - `DimensionContentType`
54
+ - `DimensionCountry`
55
+ - `DimensionDevice`
56
+ - `DimensionOs`
57
+ - `DimensionResponse`
58
+ - `DimensionStatusCode`
59
+ - `DimensionUrl`
60
+ - `nil` (if no type matches)
61
+
@@ -0,0 +1,10 @@
1
+ # Fastly::LogInsightsMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **filters** | [**LogInsightsMetaFilter**](LogInsightsMetaFilter.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,14 @@
1
+ # Fastly::LogInsightsMetaFilter
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **service_id** | **String** | Specifies the ID of the service for which data should be 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
+ | **domain_exact_match** | **Boolean** | Value of the `domain_exact_match` filter as supplied in the request. | [optional] |
11
+ | **limit** | **Integer** | Number of records per page. | [optional][default to 20] |
12
+
13
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14
+
@@ -0,0 +1,65 @@
1
+ # Fastly::LogInsightsValues
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::LogInsightsValues.fastly_one_of
15
+ # =>
16
+ # [
17
+ # :'Values503Responses',
18
+ # :'ValuesBandwidth',
19
+ # :'ValuesBrowser',
20
+ # :'ValuesCacheHitRatio',
21
+ # :'ValuesCountryStats',
22
+ # :'ValuesDuration',
23
+ # :'ValuesMisses',
24
+ # :'ValuesRate',
25
+ # :'ValuesRequests',
26
+ # :'ValuesStatusCodes'
27
+ # ]
28
+ ```
29
+
30
+ ### build
31
+
32
+ Find the appropriate object from the `fastly_one_of` list and casts the data into it.
33
+
34
+ #### Example
35
+
36
+ ```ruby
37
+ require 'fastly'
38
+
39
+ Fastly::LogInsightsValues.build(data)
40
+ # => #<Values503Responses:0x00007fdd4aab02a0>
41
+
42
+ Fastly::LogInsightsValues.build(data_that_doesnt_match)
43
+ # => nil
44
+ ```
45
+
46
+ #### Parameters
47
+
48
+ | Name | Type | Description |
49
+ | ---- | ---- | ----------- |
50
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
51
+
52
+ #### Return type
53
+
54
+ - `Values503Responses`
55
+ - `ValuesBandwidth`
56
+ - `ValuesBrowser`
57
+ - `ValuesCacheHitRatio`
58
+ - `ValuesCountryStats`
59
+ - `ValuesDuration`
60
+ - `ValuesMisses`
61
+ - `ValuesRate`
62
+ - `ValuesRequests`
63
+ - `ValuesStatusCodes`
64
+ - `nil` (if no type matches)
65
+
@@ -1,4 +1,4 @@
1
- # Fastly::ReadOnlyServiceId
1
+ # Fastly::LogPropertyServiceId
2
2
 
3
3
  ## Properties
4
4
 
data/docs/LogRecord.md ADDED
@@ -0,0 +1,37 @@
1
+ # Fastly::LogRecord
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_id** | **String** | The ID of the Fastly customer that owns the service. | [optional][readonly] |
8
+ | **service_id** | [**LogPropertyServiceId**](LogPropertyServiceId.md) | | [optional] |
9
+ | **timestamp** | **Time** | Timestamp of the request in ISO 8601 format. | [optional] |
10
+ | **client_as_number** | **Integer** | The autonomous system (AS) number of the client. | [optional][readonly] |
11
+ | **client_region** | **String** | The client&#39;s country subdivision code as found in ISO 3166-2. | [optional][readonly] |
12
+ | **client_country_code** | **String** | The two-letter ISO 3166-1 country code for the client. | [optional][readonly] |
13
+ | **client_os_name** | **String** | The name of the operating system installed on the client device. | [optional][readonly] |
14
+ | **client_device_type** | **String** | The type of the client&#39;s device. | [optional][readonly] |
15
+ | **client_browser_name** | **String** | The name of the browser in use on the client device. | [optional][readonly] |
16
+ | **client_browser_version** | **String** | The version of the browser in use on client device. | [optional][readonly] |
17
+ | **fastly_pop** | **String** | The name of the Fastly POP that served this request. | [optional][readonly] |
18
+ | **origin_host** | **String** | The name of the origin host that served this request. | [optional][readonly] |
19
+ | **request_protocol** | **String** | HTTP protocol version in use for this request. For example, HTTP/1.1. | [optional][readonly] |
20
+ | **request_host** | **String** | The name of the request host used for this request. | [optional][readonly] |
21
+ | **request_path** | **String** | The URL path supplied for this request. | [optional][readonly] |
22
+ | **request_method** | **String** | HTTP method sent by the client such as \&quot;GET\&quot; or \&quot;POST\&quot;. | [optional][readonly] |
23
+ | **response_bytes_body** | **Integer** | Body bytes sent to the client in the response. | [optional][readonly] |
24
+ | **response_bytes_header** | **Integer** | Header bytes sent to the client in the response. | [optional][readonly] |
25
+ | **response_content_length** | **Integer** | Total bytes sent to the client in the response. | [optional][readonly] |
26
+ | **response_content_type** | **String** | The content type of the response sent to the client. | [optional][readonly] |
27
+ | **response_reason** | **String** | The HTTP reason phrase returned for this request, if any. | [optional][readonly] |
28
+ | **response_state** | **String** | The state of the request with optional suffixes describing special cases. | [optional][readonly] |
29
+ | **response_status** | **Integer** | The HTTP response code returned for this request. | [optional][readonly] |
30
+ | **response_time** | **Float** | The time since the request started in seconds. | [optional][readonly] |
31
+ | **response_x_cache** | **String** | Indicates whether the request was a HIT or a MISS. | [optional][readonly] |
32
+ | **is_cache_hit** | **Boolean** | Indicates whether this request was fulfilled from cache. | [optional][readonly] |
33
+ | **is_edge** | **Boolean** | Indicates whether the request was handled by a Fastly edge POP. | [optional][readonly] |
34
+ | **is_shield** | **Boolean** | Indicates whether the request was handled by a Fastly shield POP. | [optional][readonly] |
35
+
36
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
37
+
@@ -0,0 +1,14 @@
1
+ # Fastly::LoggingGrafanacloudlogsAdditional
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] |
8
+ | **user** | **String** | The Grafana Cloud Logs Dataset you want to log to. | [optional] |
9
+ | **url** | **String** | The URL of the Loki instance in your Grafana stack. | [optional] |
10
+ | **token** | **String** | The Grafana Access Policy token with `logs:write` access scoped to your Loki instance. | [optional] |
11
+ | **index** | **String** | The Stream Labels, a JSON string used to identify the stream. | [optional] |
12
+
13
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14
+
@@ -0,0 +1,259 @@
1
+ # Fastly::LoggingGrafanacloudlogsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::LoggingGrafanacloudlogsApi.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_log_grafanacloudlogs**](LoggingGrafanacloudlogsApi.md#create_log_grafanacloudlogs) | **POST** /service/{service_id}/version/{version_id}/logging/grafanacloudlogs | Create a Grafana Cloud Logs log endpoint
17
+ [**delete_log_grafanacloudlogs**](LoggingGrafanacloudlogsApi.md#delete_log_grafanacloudlogs) | **DELETE** /service/{service_id}/version/{version_id}/logging/grafanacloudlogs/{logging_grafanacloudlogs_name} | Delete the Grafana Cloud Logs log endpoint
18
+ [**get_log_grafanacloudlogs**](LoggingGrafanacloudlogsApi.md#get_log_grafanacloudlogs) | **GET** /service/{service_id}/version/{version_id}/logging/grafanacloudlogs/{logging_grafanacloudlogs_name} | Get a Grafana Cloud Logs log endpoint
19
+ [**list_log_grafanacloudlogs**](LoggingGrafanacloudlogsApi.md#list_log_grafanacloudlogs) | **GET** /service/{service_id}/version/{version_id}/logging/grafanacloudlogs | List Grafana Cloud Logs log endpoints
20
+ [**update_log_grafanacloudlogs**](LoggingGrafanacloudlogsApi.md#update_log_grafanacloudlogs) | **PUT** /service/{service_id}/version/{version_id}/logging/grafanacloudlogs/{logging_grafanacloudlogs_name} | Update a Grafana Cloud Logs log endpoint
21
+
22
+
23
+ ## `create_log_grafanacloudlogs()`
24
+
25
+ ```ruby
26
+ create_log_grafanacloudlogs(opts): <LoggingGrafanacloudlogsResponse> # Create a Grafana Cloud Logs log endpoint
27
+ ```
28
+
29
+ Create a Grafana Cloud Logs logging object for a particular service and version.
30
+
31
+ ### Examples
32
+
33
+ ```ruby
34
+ api_instance = Fastly::LoggingGrafanacloudlogsApi.new
35
+ opts = {
36
+ service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
37
+ version_id: 56, # Integer | Integer identifying a service version.
38
+ name: 'name_example', # String | The name for the real-time logging configuration.
39
+ placement: 'none', # String | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
40
+ response_condition: 'response_condition_example', # String | The name of an existing condition in the configured endpoint, or leave blank to always execute.
41
+ format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
42
+ format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
43
+ user: 'user_example', # String | The Grafana Cloud Logs Dataset you want to log to.
44
+ url: 'url_example', # String | The URL of the Loki instance in your Grafana stack.
45
+ token: 'token_example', # String | The Grafana Access Policy token with `logs:write` access scoped to your Loki instance.
46
+ index: 'index_example', # String | The Stream Labels, a JSON string used to identify the stream.
47
+ }
48
+
49
+ begin
50
+ # Create a Grafana Cloud Logs log endpoint
51
+ result = api_instance.create_log_grafanacloudlogs(opts)
52
+ p result
53
+ rescue Fastly::ApiError => e
54
+ puts "Error when calling LoggingGrafanacloudlogsApi->create_log_grafanacloudlogs: #{e}"
55
+ end
56
+ ```
57
+
58
+ ### Options
59
+
60
+ | Name | Type | Description | Notes |
61
+ | ---- | ---- | ----------- | ----- |
62
+ | **service_id** | **String** | Alphanumeric string identifying the service. | |
63
+ | **version_id** | **Integer** | Integer identifying a service version. | |
64
+ | **name** | **String** | The name for the real-time logging configuration. | [optional] |
65
+ | **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
66
+ | **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
67
+ | **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] |
68
+ | **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
69
+ | **user** | **String** | The Grafana Cloud Logs Dataset you want to log to. | [optional] |
70
+ | **url** | **String** | The URL of the Loki instance in your Grafana stack. | [optional] |
71
+ | **token** | **String** | The Grafana Access Policy token with `logs:write` access scoped to your Loki instance. | [optional] |
72
+ | **index** | **String** | The Stream Labels, a JSON string used to identify the stream. | [optional] |
73
+
74
+ ### Return type
75
+
76
+ [**LoggingGrafanacloudlogsResponse**](LoggingGrafanacloudlogsResponse.md)
77
+
78
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
79
+ [[Back to README]](../../README.md)
80
+ ## `delete_log_grafanacloudlogs()`
81
+
82
+ ```ruby
83
+ delete_log_grafanacloudlogs(opts): <InlineResponse200> # Delete the Grafana Cloud Logs log endpoint
84
+ ```
85
+
86
+ Delete the Grafana Cloud Logs logging object for a particular service and version.
87
+
88
+ ### Examples
89
+
90
+ ```ruby
91
+ api_instance = Fastly::LoggingGrafanacloudlogsApi.new
92
+ opts = {
93
+ service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
94
+ version_id: 56, # Integer | Integer identifying a service version.
95
+ logging_grafanacloudlogs_name: 'logging_grafanacloudlogs_name_example', # String | The name for the real-time logging configuration.
96
+ }
97
+
98
+ begin
99
+ # Delete the Grafana Cloud Logs log endpoint
100
+ result = api_instance.delete_log_grafanacloudlogs(opts)
101
+ p result
102
+ rescue Fastly::ApiError => e
103
+ puts "Error when calling LoggingGrafanacloudlogsApi->delete_log_grafanacloudlogs: #{e}"
104
+ end
105
+ ```
106
+
107
+ ### Options
108
+
109
+ | Name | Type | Description | Notes |
110
+ | ---- | ---- | ----------- | ----- |
111
+ | **service_id** | **String** | Alphanumeric string identifying the service. | |
112
+ | **version_id** | **Integer** | Integer identifying a service version. | |
113
+ | **logging_grafanacloudlogs_name** | **String** | The name for the real-time logging configuration. | |
114
+
115
+ ### Return type
116
+
117
+ [**InlineResponse200**](InlineResponse200.md)
118
+
119
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
120
+ [[Back to README]](../../README.md)
121
+ ## `get_log_grafanacloudlogs()`
122
+
123
+ ```ruby
124
+ get_log_grafanacloudlogs(opts): <LoggingGrafanacloudlogsResponse> # Get a Grafana Cloud Logs log endpoint
125
+ ```
126
+
127
+ Get the details of a Grafana Cloud Logs logging object for a particular service and version.
128
+
129
+ ### Examples
130
+
131
+ ```ruby
132
+ api_instance = Fastly::LoggingGrafanacloudlogsApi.new
133
+ opts = {
134
+ service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
135
+ version_id: 56, # Integer | Integer identifying a service version.
136
+ logging_grafanacloudlogs_name: 'logging_grafanacloudlogs_name_example', # String | The name for the real-time logging configuration.
137
+ }
138
+
139
+ begin
140
+ # Get a Grafana Cloud Logs log endpoint
141
+ result = api_instance.get_log_grafanacloudlogs(opts)
142
+ p result
143
+ rescue Fastly::ApiError => e
144
+ puts "Error when calling LoggingGrafanacloudlogsApi->get_log_grafanacloudlogs: #{e}"
145
+ end
146
+ ```
147
+
148
+ ### Options
149
+
150
+ | Name | Type | Description | Notes |
151
+ | ---- | ---- | ----------- | ----- |
152
+ | **service_id** | **String** | Alphanumeric string identifying the service. | |
153
+ | **version_id** | **Integer** | Integer identifying a service version. | |
154
+ | **logging_grafanacloudlogs_name** | **String** | The name for the real-time logging configuration. | |
155
+
156
+ ### Return type
157
+
158
+ [**LoggingGrafanacloudlogsResponse**](LoggingGrafanacloudlogsResponse.md)
159
+
160
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
161
+ [[Back to README]](../../README.md)
162
+ ## `list_log_grafanacloudlogs()`
163
+
164
+ ```ruby
165
+ list_log_grafanacloudlogs(opts): <Array<LoggingGrafanacloudlogsResponse>> # List Grafana Cloud Logs log endpoints
166
+ ```
167
+
168
+ List all of the Grafana Cloud Logs logging objects for a particular service and version.
169
+
170
+ ### Examples
171
+
172
+ ```ruby
173
+ api_instance = Fastly::LoggingGrafanacloudlogsApi.new
174
+ opts = {
175
+ service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
176
+ version_id: 56, # Integer | Integer identifying a service version.
177
+ }
178
+
179
+ begin
180
+ # List Grafana Cloud Logs log endpoints
181
+ result = api_instance.list_log_grafanacloudlogs(opts)
182
+ p result
183
+ rescue Fastly::ApiError => e
184
+ puts "Error when calling LoggingGrafanacloudlogsApi->list_log_grafanacloudlogs: #{e}"
185
+ end
186
+ ```
187
+
188
+ ### Options
189
+
190
+ | Name | Type | Description | Notes |
191
+ | ---- | ---- | ----------- | ----- |
192
+ | **service_id** | **String** | Alphanumeric string identifying the service. | |
193
+ | **version_id** | **Integer** | Integer identifying a service version. | |
194
+
195
+ ### Return type
196
+
197
+ [**Array&lt;LoggingGrafanacloudlogsResponse&gt;**](LoggingGrafanacloudlogsResponse.md)
198
+
199
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
200
+ [[Back to README]](../../README.md)
201
+ ## `update_log_grafanacloudlogs()`
202
+
203
+ ```ruby
204
+ update_log_grafanacloudlogs(opts): <LoggingGrafanacloudlogsResponse> # Update a Grafana Cloud Logs log endpoint
205
+ ```
206
+
207
+ Update a Grafana Cloud Logs logging object for a particular service and version.
208
+
209
+ ### Examples
210
+
211
+ ```ruby
212
+ api_instance = Fastly::LoggingGrafanacloudlogsApi.new
213
+ opts = {
214
+ service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
215
+ version_id: 56, # Integer | Integer identifying a service version.
216
+ logging_grafanacloudlogs_name: 'logging_grafanacloudlogs_name_example', # String | The name for the real-time logging configuration.
217
+ name: 'name_example', # String | The name for the real-time logging configuration.
218
+ placement: 'none', # String | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
219
+ response_condition: 'response_condition_example', # String | The name of an existing condition in the configured endpoint, or leave blank to always execute.
220
+ format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
221
+ format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
222
+ user: 'user_example', # String | The Grafana Cloud Logs Dataset you want to log to.
223
+ url: 'url_example', # String | The URL of the Loki instance in your Grafana stack.
224
+ token: 'token_example', # String | The Grafana Access Policy token with `logs:write` access scoped to your Loki instance.
225
+ index: 'index_example', # String | The Stream Labels, a JSON string used to identify the stream.
226
+ }
227
+
228
+ begin
229
+ # Update a Grafana Cloud Logs log endpoint
230
+ result = api_instance.update_log_grafanacloudlogs(opts)
231
+ p result
232
+ rescue Fastly::ApiError => e
233
+ puts "Error when calling LoggingGrafanacloudlogsApi->update_log_grafanacloudlogs: #{e}"
234
+ end
235
+ ```
236
+
237
+ ### Options
238
+
239
+ | Name | Type | Description | Notes |
240
+ | ---- | ---- | ----------- | ----- |
241
+ | **service_id** | **String** | Alphanumeric string identifying the service. | |
242
+ | **version_id** | **Integer** | Integer identifying a service version. | |
243
+ | **logging_grafanacloudlogs_name** | **String** | The name for the real-time logging configuration. | |
244
+ | **name** | **String** | The name for the real-time logging configuration. | [optional] |
245
+ | **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
246
+ | **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
247
+ | **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] |
248
+ | **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
249
+ | **user** | **String** | The Grafana Cloud Logs Dataset you want to log to. | [optional] |
250
+ | **url** | **String** | The URL of the Loki instance in your Grafana stack. | [optional] |
251
+ | **token** | **String** | The Grafana Access Policy token with `logs:write` access scoped to your Loki instance. | [optional] |
252
+ | **index** | **String** | The Stream Labels, a JSON string used to identify the stream. | [optional] |
253
+
254
+ ### Return type
255
+
256
+ [**LoggingGrafanacloudlogsResponse**](LoggingGrafanacloudlogsResponse.md)
257
+
258
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
259
+ [[Back to README]](../../README.md)