fastly 6.0.2 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +7 -2
  5. data/docs/Backend.md +1 -0
  6. data/docs/BackendApi.md +4 -0
  7. data/docs/BackendResponse.md +1 -0
  8. data/docs/CacheSetting.md +2 -2
  9. data/docs/CacheSettingResponse.md +3 -3
  10. data/docs/CacheSettingsApi.md +8 -8
  11. data/docs/DomainApi.md +2 -2
  12. data/docs/GzipResponse.md +1 -1
  13. data/docs/Header.md +0 -2
  14. data/docs/HeaderApi.md +8 -8
  15. data/docs/HeaderResponse.md +3 -3
  16. data/docs/HeaderResponseAdditional.md +11 -0
  17. data/docs/{LoggingAzureblobAllOf.md → LoggingAzureblobAdditional.md} +1 -1
  18. data/docs/LoggingAzureblobApi.md +8 -8
  19. data/docs/LoggingAzureblobResponse.md +8 -8
  20. data/docs/{LoggingBigqueryAllOf.md → LoggingBigqueryAdditional.md} +1 -1
  21. data/docs/LoggingBigqueryApi.md +4 -4
  22. data/docs/LoggingBigqueryResponse.md +2 -2
  23. data/docs/{LoggingCloudfilesAllOf.md → LoggingCloudfilesAdditional.md} +1 -1
  24. data/docs/LoggingCloudfilesApi.md +8 -8
  25. data/docs/LoggingCloudfilesResponse.md +8 -8
  26. data/docs/LoggingCommon.md +0 -1
  27. data/docs/{LoggingPapertrail.md → LoggingCommonResponse.md} +2 -4
  28. data/docs/{LoggingLogshuttle.md → LoggingCommonResponseAllOf.md} +1 -4
  29. data/docs/LoggingCommonResponseAllOf1.md +10 -0
  30. data/docs/{LoggingDatadogAllOf.md → LoggingDatadogAdditional.md} +1 -1
  31. data/docs/LoggingDatadogApi.md +4 -4
  32. data/docs/LoggingDatadogResponse.md +2 -2
  33. data/docs/{LoggingDigitaloceanAllOf.md → LoggingDigitaloceanAdditional.md} +1 -1
  34. data/docs/LoggingDigitaloceanApi.md +8 -8
  35. data/docs/LoggingDigitaloceanResponse.md +8 -8
  36. data/docs/{LoggingElasticsearchAllOf.md → LoggingElasticsearchAdditional.md} +1 -1
  37. data/docs/LoggingElasticsearchApi.md +4 -4
  38. data/docs/LoggingElasticsearchResponse.md +2 -2
  39. data/docs/LoggingFormatVersionInteger.md +10 -0
  40. data/docs/LoggingFormatVersionString.md +10 -0
  41. data/docs/{LoggingFtpAllOf.md → LoggingFtpAdditional.md} +1 -2
  42. data/docs/LoggingFtpApi.md +12 -12
  43. data/docs/LoggingFtpResponse.md +9 -9
  44. data/docs/{LoggingFormatVersion.md → LoggingFtpResponseAllOf.md} +2 -1
  45. data/docs/{LoggingGcsAllOf.md → LoggingGcsAdditional.md} +1 -1
  46. data/docs/LoggingGcsApi.md +8 -8
  47. data/docs/LoggingGcsResponse.md +8 -8
  48. data/docs/LoggingGenericCommon.md +0 -2
  49. data/docs/LoggingGenericCommonResponse.md +14 -0
  50. data/docs/LoggingGenericCommonResponseAllOf.md +12 -0
  51. data/docs/LoggingGenericCommonResponseAllOf1.md +11 -0
  52. data/docs/{LoggingGooglePubsubAllOf.md → LoggingGooglePubsubAdditional.md} +1 -1
  53. data/docs/LoggingGooglePubsubResponse.md +2 -2
  54. data/docs/{LoggingHerokuAllOf.md → LoggingHerokuAdditional.md} +1 -1
  55. data/docs/LoggingHerokuApi.md +4 -4
  56. data/docs/LoggingHerokuResponse.md +2 -2
  57. data/docs/{LoggingHoneycombAllOf.md → LoggingHoneycombAdditional.md} +1 -1
  58. data/docs/LoggingHoneycombApi.md +8 -8
  59. data/docs/LoggingHoneycombResponse.md +2 -2
  60. data/docs/{LoggingHttpsAllOf.md → LoggingHttpsAdditional.md} +1 -1
  61. data/docs/LoggingHttpsApi.md +4 -4
  62. data/docs/LoggingHttpsResponse.md +2 -2
  63. data/docs/{LoggingKafkaAllOf.md → LoggingKafkaAdditional.md} +1 -1
  64. data/docs/LoggingKafkaApi.md +4 -4
  65. data/docs/LoggingKafkaResponse.md +6 -6
  66. data/docs/{LoggingKafka.md → LoggingKafkaResponsePost.md} +7 -2
  67. data/docs/{LoggingKinesis.md → LoggingKinesisAdditional.md} +1 -2
  68. data/docs/LoggingKinesisApi.md +2 -2
  69. data/docs/LoggingKinesisResponse.md +2 -2
  70. data/docs/{LoggingLogentriesAllOf.md → LoggingLogentriesAdditional.md} +1 -1
  71. data/docs/LoggingLogentriesApi.md +4 -4
  72. data/docs/LoggingLogentriesResponse.md +2 -2
  73. data/docs/{LoggingLogglyAllOf.md → LoggingLogglyAdditional.md} +1 -1
  74. data/docs/LoggingLogglyApi.md +4 -4
  75. data/docs/LoggingLogglyResponse.md +2 -2
  76. data/docs/{LoggingLogshuttleAllOf.md → LoggingLogshuttleAdditional.md} +1 -1
  77. data/docs/LoggingLogshuttleApi.md +4 -4
  78. data/docs/LoggingLogshuttleResponse.md +2 -2
  79. data/docs/{LoggingNewrelicAllOf.md → LoggingNewrelicAdditional.md} +1 -1
  80. data/docs/LoggingNewrelicApi.md +4 -4
  81. data/docs/LoggingNewrelicResponse.md +2 -2
  82. data/docs/LoggingNewrelicotlpAdditional.md +13 -0
  83. data/docs/LoggingNewrelicotlpApi.md +252 -0
  84. data/docs/LoggingNewrelicotlpResponse.md +22 -0
  85. data/docs/{LoggingOpenstackAllOf.md → LoggingOpenstackAdditional.md} +1 -1
  86. data/docs/LoggingOpenstackApi.md +8 -8
  87. data/docs/LoggingOpenstackResponse.md +8 -8
  88. data/docs/LoggingPapertrailApi.md +4 -4
  89. data/docs/LoggingPapertrailResponse.md +2 -2
  90. data/docs/LoggingPubsubApi.md +4 -4
  91. data/docs/{LoggingS3AllOf.md → LoggingS3Additional.md} +1 -1
  92. data/docs/LoggingS3Api.md +8 -8
  93. data/docs/LoggingS3Response.md +8 -8
  94. data/docs/{LoggingScalyrAllOf.md → LoggingScalyrAdditional.md} +1 -1
  95. data/docs/LoggingScalyrApi.md +4 -4
  96. data/docs/LoggingScalyrResponse.md +2 -2
  97. data/docs/{LoggingSftpAllOf.md → LoggingSftpAdditional.md} +1 -2
  98. data/docs/LoggingSftpApi.md +8 -8
  99. data/docs/LoggingSftpResponse.md +10 -10
  100. data/docs/LoggingSftpResponseAllOf.md +13 -0
  101. data/docs/{LoggingSplunkAllOf.md → LoggingSplunkAdditional.md} +1 -1
  102. data/docs/LoggingSplunkApi.md +4 -4
  103. data/docs/LoggingSplunkResponse.md +2 -2
  104. data/docs/{LoggingSumologicAllOf.md → LoggingSumologicAdditional.md} +1 -1
  105. data/docs/LoggingSumologicApi.md +4 -4
  106. data/docs/LoggingSumologicResponse.md +2 -2
  107. data/docs/{LoggingSyslogAllOf.md → LoggingSyslogAdditional.md} +1 -1
  108. data/docs/LoggingSyslogApi.md +4 -4
  109. data/docs/LoggingSyslogResponse.md +2 -2
  110. data/docs/{PoolAllOf.md → PoolAdditional.md} +1 -6
  111. data/docs/PoolApi.md +46 -22
  112. data/docs/PoolResponse.md +12 -11
  113. data/docs/PoolResponseAllOf.md +1 -1
  114. data/docs/PoolResponseCommon.md +15 -0
  115. data/docs/{Pool.md → PoolResponsePost.md} +14 -7
  116. data/docs/PoolResponsePostAllOf.md +10 -0
  117. data/docs/RequestSettingsAdditional.md +15 -0
  118. data/docs/RequestSettingsApi.md +10 -10
  119. data/docs/RequestSettingsResponse.md +11 -11
  120. data/docs/RequestSettingsResponseAllOf.md +15 -0
  121. data/docs/ResponseObject.md +1 -1
  122. data/docs/ResponseObjectResponse.md +2 -2
  123. data/docs/SecretStoreApi.md +3 -3
  124. data/docs/ServiceIdAndVersionString.md +11 -0
  125. data/docs/TlsCommonResponse.md +14 -0
  126. data/docs/{TlsCommon.md → TlsCommonResponseAllOf.md} +1 -2
  127. data/docs/TlsCommonResponseAllOf1.md +10 -0
  128. data/docs/TlsDomainsApi.md +2 -2
  129. data/docs/TlsSubscriptionsApi.md +4 -4
  130. data/lib/fastly/api/backend_api.rb +16 -0
  131. data/lib/fastly/api/cache_settings_api.rb +8 -8
  132. data/lib/fastly/api/domain_api.rb +3 -3
  133. data/lib/fastly/api/header_api.rb +12 -12
  134. data/lib/fastly/api/logging_azureblob_api.rb +12 -12
  135. data/lib/fastly/api/logging_bigquery_api.rb +6 -6
  136. data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
  137. data/lib/fastly/api/logging_datadog_api.rb +6 -6
  138. data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
  139. data/lib/fastly/api/logging_elasticsearch_api.rb +6 -6
  140. data/lib/fastly/api/logging_ftp_api.rb +18 -18
  141. data/lib/fastly/api/logging_gcs_api.rb +12 -12
  142. data/lib/fastly/api/logging_heroku_api.rb +6 -6
  143. data/lib/fastly/api/logging_honeycomb_api.rb +12 -12
  144. data/lib/fastly/api/logging_https_api.rb +6 -6
  145. data/lib/fastly/api/logging_kafka_api.rb +6 -6
  146. data/lib/fastly/api/logging_kinesis_api.rb +7 -3
  147. data/lib/fastly/api/logging_logentries_api.rb +6 -6
  148. data/lib/fastly/api/logging_loggly_api.rb +6 -6
  149. data/lib/fastly/api/logging_logshuttle_api.rb +6 -6
  150. data/lib/fastly/api/logging_newrelic_api.rb +6 -6
  151. data/lib/fastly/api/logging_newrelicotlp_api.rb +473 -0
  152. data/lib/fastly/api/logging_openstack_api.rb +12 -12
  153. data/lib/fastly/api/logging_papertrail_api.rb +6 -6
  154. data/lib/fastly/api/logging_pubsub_api.rb +6 -6
  155. data/lib/fastly/api/logging_s3_api.rb +12 -12
  156. data/lib/fastly/api/logging_scalyr_api.rb +6 -6
  157. data/lib/fastly/api/logging_sftp_api.rb +12 -12
  158. data/lib/fastly/api/logging_splunk_api.rb +6 -6
  159. data/lib/fastly/api/logging_sumologic_api.rb +6 -6
  160. data/lib/fastly/api/logging_syslog_api.rb +6 -6
  161. data/lib/fastly/api/pool_api.rb +77 -41
  162. data/lib/fastly/api/rate_limiter_api.rb +2 -2
  163. data/lib/fastly/api/request_settings_api.rb +15 -15
  164. data/lib/fastly/api/secret_store_api.rb +2 -2
  165. data/lib/fastly/api/tls_domains_api.rb +2 -2
  166. data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
  167. data/lib/fastly/configuration.rb +30 -0
  168. data/lib/fastly/models/backend.rb +29 -1
  169. data/lib/fastly/models/backend_response.rb +29 -1
  170. data/lib/fastly/models/cache_setting.rb +2 -2
  171. data/lib/fastly/models/cache_setting_response.rb +4 -4
  172. data/lib/fastly/models/gzip_response.rb +2 -2
  173. data/lib/fastly/models/header.rb +1 -23
  174. data/lib/fastly/models/header_response.rb +26 -25
  175. data/lib/fastly/models/header_response_additional.rb +229 -0
  176. data/lib/fastly/models/{logging_azureblob_all_of.rb → logging_azureblob_additional.rb} +3 -3
  177. data/lib/fastly/models/logging_azureblob_response.rb +82 -80
  178. data/lib/fastly/models/{logging_bigquery_all_of.rb → logging_bigquery_additional.rb} +3 -3
  179. data/lib/fastly/models/logging_bigquery_response.rb +20 -18
  180. data/lib/fastly/models/{logging_cloudfiles_all_of.rb → logging_cloudfiles_additional.rb} +3 -3
  181. data/lib/fastly/models/logging_cloudfiles_response.rb +83 -81
  182. data/lib/fastly/models/logging_common.rb +1 -25
  183. data/lib/fastly/models/{logging_loggly.rb → logging_common_response.rb} +17 -27
  184. data/lib/fastly/models/{logging_logshuttle.rb → logging_common_response_all_of.rb} +7 -60
  185. data/lib/fastly/models/logging_common_response_all_of1.rb +253 -0
  186. data/lib/fastly/models/{logging_datadog_all_of.rb → logging_datadog_additional.rb} +3 -3
  187. data/lib/fastly/models/logging_datadog_response.rb +19 -18
  188. data/lib/fastly/models/{logging_digitalocean_all_of.rb → logging_digitalocean_additional.rb} +3 -3
  189. data/lib/fastly/models/logging_digitalocean_response.rb +82 -80
  190. data/lib/fastly/models/{logging_elasticsearch_all_of.rb → logging_elasticsearch_additional.rb} +3 -3
  191. data/lib/fastly/models/logging_elasticsearch_response.rb +21 -18
  192. data/lib/fastly/models/logging_format_version_integer.rb +253 -0
  193. data/lib/fastly/models/logging_format_version_string.rb +253 -0
  194. data/lib/fastly/models/{logging_ftp_all_of.rb → logging_ftp_additional.rb} +4 -16
  195. data/lib/fastly/models/logging_ftp_response.rb +88 -85
  196. data/lib/fastly/models/logging_ftp_response_all_of.rb +219 -0
  197. data/lib/fastly/models/{logging_gcs_all_of.rb → logging_gcs_additional.rb} +3 -3
  198. data/lib/fastly/models/logging_gcs_response.rb +80 -77
  199. data/lib/fastly/models/logging_generic_common.rb +1 -25
  200. data/lib/fastly/models/{logging_sumologic.rb → logging_generic_common_response.rb} +60 -80
  201. data/lib/fastly/models/logging_generic_common_response_all_of.rb +286 -0
  202. data/lib/fastly/models/logging_generic_common_response_all_of1.rb +231 -0
  203. data/lib/fastly/models/{logging_google_pubsub_all_of.rb → logging_google_pubsub_additional.rb} +3 -3
  204. data/lib/fastly/models/logging_google_pubsub_response.rb +20 -18
  205. data/lib/fastly/models/{logging_heroku_all_of.rb → logging_heroku_additional.rb} +3 -3
  206. data/lib/fastly/models/logging_heroku_response.rb +19 -18
  207. data/lib/fastly/models/{logging_honeycomb_all_of.rb → logging_honeycomb_additional.rb} +3 -3
  208. data/lib/fastly/models/logging_honeycomb_response.rb +19 -18
  209. data/lib/fastly/models/{logging_https_all_of.rb → logging_https_additional.rb} +3 -3
  210. data/lib/fastly/models/logging_https_response.rb +21 -18
  211. data/lib/fastly/models/{logging_kafka_all_of.rb → logging_kafka_additional.rb} +3 -3
  212. data/lib/fastly/models/logging_kafka_response.rb +71 -69
  213. data/lib/fastly/models/{logging_kafka.rb → logging_kafka_response_post.rb} +72 -18
  214. data/lib/fastly/models/{logging_kinesis.rb → logging_kinesis_additional.rb} +4 -15
  215. data/lib/fastly/models/logging_kinesis_response.rb +51 -15
  216. data/lib/fastly/models/{logging_logentries_all_of.rb → logging_logentries_additional.rb} +3 -3
  217. data/lib/fastly/models/logging_logentries_response.rb +19 -18
  218. data/lib/fastly/models/{logging_loggly_all_of.rb → logging_loggly_additional.rb} +3 -3
  219. data/lib/fastly/models/logging_loggly_response.rb +19 -18
  220. data/lib/fastly/models/{logging_logshuttle_all_of.rb → logging_logshuttle_additional.rb} +3 -3
  221. data/lib/fastly/models/logging_logshuttle_response.rb +19 -18
  222. data/lib/fastly/models/{logging_newrelic_all_of.rb → logging_newrelic_additional.rb} +3 -3
  223. data/lib/fastly/models/logging_newrelic_response.rb +19 -18
  224. data/lib/fastly/models/logging_newrelicotlp_additional.rb +288 -0
  225. data/lib/fastly/models/{logging_newrelic.rb → logging_newrelicotlp_response.rb} +90 -24
  226. data/lib/fastly/models/{logging_openstack_all_of.rb → logging_openstack_additional.rb} +3 -3
  227. data/lib/fastly/models/logging_openstack_response.rb +82 -80
  228. data/lib/fastly/models/logging_papertrail_response.rb +19 -18
  229. data/lib/fastly/models/{logging_s3_all_of.rb → logging_s3_additional.rb} +3 -3
  230. data/lib/fastly/models/logging_s3_response.rb +84 -82
  231. data/lib/fastly/models/{logging_scalyr_all_of.rb → logging_scalyr_additional.rb} +3 -3
  232. data/lib/fastly/models/logging_scalyr_response.rb +19 -18
  233. data/lib/fastly/models/{logging_sftp_all_of.rb → logging_sftp_additional.rb} +4 -16
  234. data/lib/fastly/models/logging_sftp_response.rb +97 -94
  235. data/lib/fastly/models/{domain_check_item.rb → logging_sftp_response_all_of.rb} +44 -40
  236. data/lib/fastly/models/{logging_splunk_all_of.rb → logging_splunk_additional.rb} +3 -3
  237. data/lib/fastly/models/logging_splunk_response.rb +21 -18
  238. data/lib/fastly/models/{logging_sumologic_all_of.rb → logging_sumologic_additional.rb} +3 -3
  239. data/lib/fastly/models/logging_sumologic_response.rb +19 -18
  240. data/lib/fastly/models/{logging_syslog_all_of.rb → logging_syslog_additional.rb} +3 -3
  241. data/lib/fastly/models/logging_syslog_response.rb +21 -18
  242. data/lib/fastly/models/{pool_all_of.rb → pool_additional.rb} +4 -83
  243. data/lib/fastly/models/pool_response.rb +113 -125
  244. data/lib/fastly/models/pool_response_all_of.rb +10 -7
  245. data/lib/fastly/models/pool_response_common.rb +269 -0
  246. data/lib/fastly/models/{pool.rb → pool_response_post.rb} +142 -92
  247. data/lib/fastly/models/pool_response_post_all_of.rb +219 -0
  248. data/lib/fastly/models/rate_limiter.rb +2 -2
  249. data/lib/fastly/models/rate_limiter_response.rb +2 -2
  250. data/lib/fastly/models/{request_settings.rb → request_settings_additional.rb} +4 -64
  251. data/lib/fastly/models/request_settings_response.rb +96 -95
  252. data/lib/fastly/models/request_settings_response_all_of.rb +267 -0
  253. data/lib/fastly/models/response_object.rb +2 -2
  254. data/lib/fastly/models/response_object_response.rb +4 -4
  255. data/lib/fastly/models/{tls_subscription_response_data_all_of.rb → service_id_and_version_string.rb} +16 -16
  256. data/lib/fastly/models/{tls_common.rb → tls_common_response.rb} +15 -7
  257. data/lib/fastly/models/tls_common_response_all_of.rb +259 -0
  258. data/lib/fastly/models/tls_common_response_all_of1.rb +253 -0
  259. data/lib/fastly/models/tls_subscription_response_data.rb +0 -7
  260. data/lib/fastly/version.rb +1 -1
  261. data/lib/fastly.rb +50 -57
  262. data/sig.json +1 -1
  263. metadata +102 -116
  264. data/docs/DomainCheckItem.md +0 -11
  265. data/docs/LoggingAzureblob.md +0 -25
  266. data/docs/LoggingBigquery.md +0 -21
  267. data/docs/LoggingCloudfiles.md +0 -25
  268. data/docs/LoggingDatadog.md +0 -16
  269. data/docs/LoggingDigitalocean.md +0 -25
  270. data/docs/LoggingElasticsearch.md +0 -25
  271. data/docs/LoggingFtp.md +0 -27
  272. data/docs/LoggingGcs.md +0 -26
  273. data/docs/LoggingGooglePubsub.md +0 -19
  274. data/docs/LoggingHeroku.md +0 -16
  275. data/docs/LoggingHoneycomb.md +0 -16
  276. data/docs/LoggingHttps.md +0 -27
  277. data/docs/LoggingLogentries.md +0 -18
  278. data/docs/LoggingLoggly.md +0 -15
  279. data/docs/LoggingNewrelic.md +0 -16
  280. data/docs/LoggingOpenstack.md +0 -25
  281. data/docs/LoggingS3.md +0 -30
  282. data/docs/LoggingScalyr.md +0 -17
  283. data/docs/LoggingSftp.md +0 -27
  284. data/docs/LoggingSplunk.md +0 -23
  285. data/docs/LoggingSumologic.md +0 -16
  286. data/docs/LoggingSyslog.md +0 -25
  287. data/docs/RequestSettings.md +0 -21
  288. data/docs/TlsSubscriptionResponseDataAllOf.md +0 -11
  289. data/lib/fastly/models/logging_azureblob.rb +0 -480
  290. data/lib/fastly/models/logging_bigquery.rb +0 -387
  291. data/lib/fastly/models/logging_cloudfiles.rb +0 -478
  292. data/lib/fastly/models/logging_datadog.rb +0 -351
  293. data/lib/fastly/models/logging_digitalocean.rb +0 -467
  294. data/lib/fastly/models/logging_elasticsearch.rb +0 -446
  295. data/lib/fastly/models/logging_format_version.rb +0 -35
  296. data/lib/fastly/models/logging_ftp.rb +0 -484
  297. data/lib/fastly/models/logging_gcs.rb +0 -474
  298. data/lib/fastly/models/logging_google_pubsub.rb +0 -368
  299. data/lib/fastly/models/logging_heroku.rb +0 -337
  300. data/lib/fastly/models/logging_honeycomb.rb +0 -335
  301. data/lib/fastly/models/logging_https.rb +0 -501
  302. data/lib/fastly/models/logging_logentries.rb +0 -372
  303. data/lib/fastly/models/logging_openstack.rb +0 -465
  304. data/lib/fastly/models/logging_papertrail.rb +0 -339
  305. data/lib/fastly/models/logging_s3.rb +0 -527
  306. data/lib/fastly/models/logging_scalyr.rb +0 -363
  307. data/lib/fastly/models/logging_sftp.rb +0 -491
  308. data/lib/fastly/models/logging_splunk.rb +0 -426
  309. data/lib/fastly/models/logging_syslog.rb +0 -449
@@ -40,6 +40,7 @@ module Fastly
40
40
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
41
41
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
42
42
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
43
+ # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
43
44
  # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
44
45
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
45
46
  # @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
@@ -80,6 +81,7 @@ module Fastly
80
81
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
81
82
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
82
83
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
84
+ # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
83
85
  # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
84
86
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
85
87
  # @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
@@ -107,6 +109,11 @@ module Fastly
107
109
  if @api_client.config.client_side_validation && version_id.nil?
108
110
  fail ArgumentError, "Missing the required parameter 'version_id' when calling BackendApi.create_backend"
109
111
  end
112
+ pattern = Regexp.new(/^[A-Za-z0-9]+$/)
113
+ if @api_client.config.client_side_validation && !opts[:'share_key'].nil? && opts[:'share_key'] !~ pattern
114
+ fail ArgumentError, "invalid value for 'opts[:\"share_key\"]' when calling BackendApi.create_backend, must conform to the pattern #{pattern}."
115
+ end
116
+
110
117
  # resource path
111
118
  local_var_path = '/service/{service_id}/version/{version_id}/backend'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
112
119
 
@@ -144,6 +151,7 @@ module Fastly
144
151
  form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?
145
152
  form_params['port'] = opts[:'port'] if !opts[:'port'].nil?
146
153
  form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
154
+ form_params['share_key'] = opts[:'share_key'] if !opts[:'share_key'].nil?
147
155
  form_params['shield'] = opts[:'shield'] if !opts[:'shield'].nil?
148
156
  form_params['ssl_ca_cert'] = opts[:'ssl_ca_cert'] if !opts[:'ssl_ca_cert'].nil?
149
157
  form_params['ssl_cert_hostname'] = opts[:'ssl_cert_hostname'] if !opts[:'ssl_cert_hostname'].nil?
@@ -430,6 +438,7 @@ module Fastly
430
438
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
431
439
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
432
440
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
441
+ # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
433
442
  # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
434
443
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
435
444
  # @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
@@ -471,6 +480,7 @@ module Fastly
471
480
  # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
472
481
  # @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
473
482
  # @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
483
+ # @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
474
484
  # @option opts [String] :shield Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
475
485
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
476
486
  # @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
@@ -503,6 +513,11 @@ module Fastly
503
513
  if @api_client.config.client_side_validation && backend_name.nil?
504
514
  fail ArgumentError, "Missing the required parameter 'backend_name' when calling BackendApi.update_backend"
505
515
  end
516
+ pattern = Regexp.new(/^[A-Za-z0-9]+$/)
517
+ if @api_client.config.client_side_validation && !opts[:'share_key'].nil? && opts[:'share_key'] !~ pattern
518
+ fail ArgumentError, "invalid value for 'opts[:\"share_key\"]' when calling BackendApi.update_backend, must conform to the pattern #{pattern}."
519
+ end
520
+
506
521
  # resource path
507
522
  local_var_path = '/service/{service_id}/version/{version_id}/backend/{backend_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'backend_name' + '}', CGI.escape(backend_name.to_s))
508
523
 
@@ -540,6 +555,7 @@ module Fastly
540
555
  form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?
541
556
  form_params['port'] = opts[:'port'] if !opts[:'port'].nil?
542
557
  form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
558
+ form_params['share_key'] = opts[:'share_key'] if !opts[:'share_key'].nil?
543
559
  form_params['shield'] = opts[:'shield'] if !opts[:'shield'].nil?
544
560
  form_params['ssl_ca_cert'] = opts[:'ssl_ca_cert'] if !opts[:'ssl_ca_cert'].nil?
545
561
  form_params['ssl_cert_hostname'] = opts[:'ssl_cert_hostname'] if !opts[:'ssl_cert_hostname'].nil?
@@ -24,8 +24,8 @@ module Fastly
24
24
  # @option opts [String] :action If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
25
25
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
26
26
  # @option opts [String] :name Name for the cache settings object.
27
- # @option opts [Integer] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
28
- # @option opts [Integer] :ttl Maximum time to consider the object fresh in the cache (the cache 'time to live').
27
+ # @option opts [String] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
28
+ # @option opts [String] :ttl Maximum time to consider the object fresh in the cache (the cache 'time to live').
29
29
  # @return [CacheSettingResponse]
30
30
  def create_cache_settings(opts = {})
31
31
  data, _status_code, _headers = create_cache_settings_with_http_info(opts)
@@ -39,8 +39,8 @@ module Fastly
39
39
  # @option opts [String] :action If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
40
40
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
41
41
  # @option opts [String] :name Name for the cache settings object.
42
- # @option opts [Integer] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
43
- # @option opts [Integer] :ttl Maximum time to consider the object fresh in the cache (the cache 'time to live').
42
+ # @option opts [String] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
43
+ # @option opts [String] :ttl Maximum time to consider the object fresh in the cache (the cache 'time to live').
44
44
  # @return [Array<(CacheSettingResponse, Integer, Hash)>] CacheSettingResponse data, response status code and response headers
45
45
  def create_cache_settings_with_http_info(opts = {})
46
46
  if @api_client.config.debugging
@@ -343,8 +343,8 @@ module Fastly
343
343
  # @option opts [String] :action If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
344
344
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
345
345
  # @option opts [String] :name Name for the cache settings object.
346
- # @option opts [Integer] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as &#39;stale if error&#39;).
347
- # @option opts [Integer] :ttl Maximum time to consider the object fresh in the cache (the cache &#39;time to live&#39;).
346
+ # @option opts [String] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as &#39;stale if error&#39;).
347
+ # @option opts [String] :ttl Maximum time to consider the object fresh in the cache (the cache &#39;time to live&#39;).
348
348
  # @return [CacheSettingResponse]
349
349
  def update_cache_settings(opts = {})
350
350
  data, _status_code, _headers = update_cache_settings_with_http_info(opts)
@@ -359,8 +359,8 @@ module Fastly
359
359
  # @option opts [String] :action If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
360
360
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
361
361
  # @option opts [String] :name Name for the cache settings object.
362
- # @option opts [Integer] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as &#39;stale if error&#39;).
363
- # @option opts [Integer] :ttl Maximum time to consider the object fresh in the cache (the cache &#39;time to live&#39;).
362
+ # @option opts [String] :stale_ttl Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as &#39;stale if error&#39;).
363
+ # @option opts [String] :ttl Maximum time to consider the object fresh in the cache (the cache &#39;time to live&#39;).
364
364
  # @return [Array<(CacheSettingResponse, Integer, Hash)>] CacheSettingResponse data, response status code and response headers
365
365
  def update_cache_settings_with_http_info(opts = {})
366
366
  if @api_client.config.debugging
@@ -22,7 +22,7 @@ module Fastly
22
22
  # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
23
23
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
24
24
  # @option opts [String] :domain_name The name of the domain or domains associated with this service. (required)
25
- # @return [Array<DomainCheckItem>]
25
+ # @return [Array<Object>]
26
26
  def check_domain(opts = {})
27
27
  data, _status_code, _headers = check_domain_with_http_info(opts)
28
28
  data
@@ -33,7 +33,7 @@ module Fastly
33
33
  # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
34
34
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
35
35
  # @option opts [String] :domain_name The name of the domain or domains associated with this service. (required)
36
- # @return [Array<(Array<DomainCheckItem>, Integer, Hash)>] Array<DomainCheckItem> data, response status code and response headers
36
+ # @return [Array<(Array<Object>, Integer, Hash)>] Array<Object> data, response status code and response headers
37
37
  def check_domain_with_http_info(opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: DomainApi.check_domain ...'
@@ -72,7 +72,7 @@ module Fastly
72
72
  post_body = opts[:debug_body]
73
73
 
74
74
  # return_type
75
- return_type = opts[:debug_return_type] || 'Array<DomainCheckItem>'
75
+ return_type = opts[:debug_return_type] || 'Array<Object>'
76
76
 
77
77
  # auth_names
78
78
  auth_names = opts[:debug_auth_names] || ['token']
@@ -24,15 +24,15 @@ module Fastly
24
24
  # @option opts [String] :action Accepts a string value.
25
25
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
26
26
  # @option opts [String] :dst Header to set.
27
- # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
28
27
  # @option opts [String] :name A handle to refer to this Header object.
29
- # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
30
28
  # @option opts [String] :regex Regular expression to use. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
31
29
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
32
30
  # @option opts [String] :response_condition Optional name of a response condition to apply.
33
31
  # @option opts [String] :src Variable to be used as a source for the header content. Does not apply to &#x60;delete&#x60; action.
34
32
  # @option opts [String] :substitution Value to substitute in place of regular expression. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
35
33
  # @option opts [String] :type Accepts a string value.
34
+ # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
35
+ # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
36
36
  # @return [HeaderResponse]
37
37
  def create_header_object(opts = {})
38
38
  data, _status_code, _headers = create_header_object_with_http_info(opts)
@@ -46,15 +46,15 @@ module Fastly
46
46
  # @option opts [String] :action Accepts a string value.
47
47
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
48
48
  # @option opts [String] :dst Header to set.
49
- # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
50
49
  # @option opts [String] :name A handle to refer to this Header object.
51
- # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
52
50
  # @option opts [String] :regex Regular expression to use. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
53
51
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
54
52
  # @option opts [String] :response_condition Optional name of a response condition to apply.
55
53
  # @option opts [String] :src Variable to be used as a source for the header content. Does not apply to &#x60;delete&#x60; action.
56
54
  # @option opts [String] :substitution Value to substitute in place of regular expression. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
57
55
  # @option opts [String] :type Accepts a string value.
56
+ # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
57
+ # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
58
58
  # @return [Array<(HeaderResponse, Integer, Hash)>] HeaderResponse data, response status code and response headers
59
59
  def create_header_object_with_http_info(opts = {})
60
60
  if @api_client.config.debugging
@@ -100,15 +100,15 @@ module Fastly
100
100
  form_params['action'] = opts[:'action'] if !opts[:'action'].nil?
101
101
  form_params['cache_condition'] = opts[:'cache_condition'] if !opts[:'cache_condition'].nil?
102
102
  form_params['dst'] = opts[:'dst'] if !opts[:'dst'].nil?
103
- form_params['ignore_if_set'] = opts[:'ignore_if_set'] if !opts[:'ignore_if_set'].nil?
104
103
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
105
- form_params['priority'] = opts[:'priority'] if !opts[:'priority'].nil?
106
104
  form_params['regex'] = opts[:'regex'] if !opts[:'regex'].nil?
107
105
  form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
108
106
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
109
107
  form_params['src'] = opts[:'src'] if !opts[:'src'].nil?
110
108
  form_params['substitution'] = opts[:'substitution'] if !opts[:'substitution'].nil?
111
109
  form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
110
+ form_params['ignore_if_set'] = opts[:'ignore_if_set'] if !opts[:'ignore_if_set'].nil?
111
+ form_params['priority'] = opts[:'priority'] if !opts[:'priority'].nil?
112
112
 
113
113
  # http body (model)
114
114
  post_body = opts[:debug_body]
@@ -368,15 +368,15 @@ module Fastly
368
368
  # @option opts [String] :action Accepts a string value.
369
369
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
370
370
  # @option opts [String] :dst Header to set.
371
- # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
372
371
  # @option opts [String] :name A handle to refer to this Header object.
373
- # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
374
372
  # @option opts [String] :regex Regular expression to use. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
375
373
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
376
374
  # @option opts [String] :response_condition Optional name of a response condition to apply.
377
375
  # @option opts [String] :src Variable to be used as a source for the header content. Does not apply to &#x60;delete&#x60; action.
378
376
  # @option opts [String] :substitution Value to substitute in place of regular expression. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
379
377
  # @option opts [String] :type Accepts a string value.
378
+ # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
379
+ # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
380
380
  # @return [HeaderResponse]
381
381
  def update_header_object(opts = {})
382
382
  data, _status_code, _headers = update_header_object_with_http_info(opts)
@@ -391,15 +391,15 @@ module Fastly
391
391
  # @option opts [String] :action Accepts a string value.
392
392
  # @option opts [String] :cache_condition Name of the cache condition controlling when this configuration applies.
393
393
  # @option opts [String] :dst Header to set.
394
- # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
395
394
  # @option opts [String] :name A handle to refer to this Header object.
396
- # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
397
395
  # @option opts [String] :regex Regular expression to use. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
398
396
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
399
397
  # @option opts [String] :response_condition Optional name of a response condition to apply.
400
398
  # @option opts [String] :src Variable to be used as a source for the header content. Does not apply to &#x60;delete&#x60; action.
401
399
  # @option opts [String] :substitution Value to substitute in place of regular expression. Only applies to &#x60;regex&#x60; and &#x60;regex_repeat&#x60; actions.
402
400
  # @option opts [String] :type Accepts a string value.
401
+ # @option opts [Integer] :ignore_if_set Don&#39;t add the header if it is added already. Only applies to &#39;set&#39; action.
402
+ # @option opts [Integer] :priority Priority determines execution order. Lower numbers execute first. (default to 100)
403
403
  # @return [Array<(HeaderResponse, Integer, Hash)>] HeaderResponse data, response status code and response headers
404
404
  def update_header_object_with_http_info(opts = {})
405
405
  if @api_client.config.debugging
@@ -450,15 +450,15 @@ module Fastly
450
450
  form_params['action'] = opts[:'action'] if !opts[:'action'].nil?
451
451
  form_params['cache_condition'] = opts[:'cache_condition'] if !opts[:'cache_condition'].nil?
452
452
  form_params['dst'] = opts[:'dst'] if !opts[:'dst'].nil?
453
- form_params['ignore_if_set'] = opts[:'ignore_if_set'] if !opts[:'ignore_if_set'].nil?
454
453
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
455
- form_params['priority'] = opts[:'priority'] if !opts[:'priority'].nil?
456
454
  form_params['regex'] = opts[:'regex'] if !opts[:'regex'].nil?
457
455
  form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
458
456
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
459
457
  form_params['src'] = opts[:'src'] if !opts[:'src'].nil?
460
458
  form_params['substitution'] = opts[:'substitution'] if !opts[:'substitution'].nil?
461
459
  form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
460
+ form_params['ignore_if_set'] = opts[:'ignore_if_set'] if !opts[:'ignore_if_set'].nil?
461
+ form_params['priority'] = opts[:'priority'] if !opts[:'priority'].nil?
462
462
 
463
463
  # http body (model)
464
464
  post_body = opts[:debug_body]
@@ -23,14 +23,14 @@ module Fastly
23
23
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
24
24
  # @option opts [String] :name The name for the real-time logging configuration.
25
25
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
26
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to 2)
27
26
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
28
27
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
28
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to 2)
29
29
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
30
30
  # @option opts [String] :timestamp_format A timestamp format
31
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
31
32
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
32
33
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
33
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
34
34
  # @option opts [String] :path The path to upload logs to. (default to 'null')
35
35
  # @option opts [String] :account_name The unique Azure Blob Storage namespace in which your data objects are stored. Required.
36
36
  # @option opts [String] :container The name of the Azure Blob Storage container in which to store logs. Required.
@@ -49,14 +49,14 @@ module Fastly
49
49
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
50
50
  # @option opts [String] :name The name for the real-time logging configuration.
51
51
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
52
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to 2)
53
52
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
54
53
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
54
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to 2)
55
55
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
56
56
  # @option opts [String] :timestamp_format A timestamp format
57
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
57
58
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
58
59
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
59
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
60
60
  # @option opts [String] :path The path to upload logs to. (default to 'null')
61
61
  # @option opts [String] :account_name The unique Azure Blob Storage namespace in which your data objects are stored. Required.
62
62
  # @option opts [String] :container The name of the Azure Blob Storage container in which to store logs. Required.
@@ -119,14 +119,14 @@ module Fastly
119
119
  form_params = opts[:form_params] || {}
120
120
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
121
121
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
122
- form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
123
122
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
124
123
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
124
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
125
125
  form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
126
126
  form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
127
+ form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
127
128
  form_params['period'] = opts[:'period'] if !opts[:'period'].nil?
128
129
  form_params['gzip_level'] = opts[:'gzip_level'] if !opts[:'gzip_level'].nil?
129
- form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
130
130
  form_params['path'] = opts[:'path'] if !opts[:'path'].nil?
131
131
  form_params['account_name'] = opts[:'account_name'] if !opts[:'account_name'].nil?
132
132
  form_params['container'] = opts[:'container'] if !opts[:'container'].nil?
@@ -391,14 +391,14 @@ module Fastly
391
391
  # @option opts [String] :logging_azureblob_name The name for the real-time logging configuration. (required)
392
392
  # @option opts [String] :name The name for the real-time logging configuration.
393
393
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
394
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
395
394
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
396
395
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
396
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
397
397
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
398
398
  # @option opts [String] :timestamp_format A timestamp format
399
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
399
400
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
400
401
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
401
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
402
402
  # @option opts [String] :path The path to upload logs to. (default to 'null')
403
403
  # @option opts [String] :account_name The unique Azure Blob Storage namespace in which your data objects are stored. Required.
404
404
  # @option opts [String] :container The name of the Azure Blob Storage container in which to store logs. Required.
@@ -418,14 +418,14 @@ module Fastly
418
418
  # @option opts [String] :logging_azureblob_name The name for the real-time logging configuration. (required)
419
419
  # @option opts [String] :name The name for the real-time logging configuration.
420
420
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
421
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
422
421
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
423
422
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
423
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
424
424
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
425
425
  # @option opts [String] :timestamp_format A timestamp format
426
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
426
427
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
427
428
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
428
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
429
429
  # @option opts [String] :path The path to upload logs to. (default to 'null')
430
430
  # @option opts [String] :account_name The unique Azure Blob Storage namespace in which your data objects are stored. Required.
431
431
  # @option opts [String] :container The name of the Azure Blob Storage container in which to store logs. Required.
@@ -493,14 +493,14 @@ module Fastly
493
493
  form_params = opts[:form_params] || {}
494
494
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
495
495
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
496
- form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
497
496
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
498
497
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
498
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
499
499
  form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
500
500
  form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
501
+ form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
501
502
  form_params['period'] = opts[:'period'] if !opts[:'period'].nil?
502
503
  form_params['gzip_level'] = opts[:'gzip_level'] if !opts[:'gzip_level'].nil?
503
- form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
504
504
  form_params['path'] = opts[:'path'] if !opts[:'path'].nil?
505
505
  form_params['account_name'] = opts[:'account_name'] if !opts[:'account_name'].nil?
506
506
  form_params['container'] = opts[:'container'] if !opts[:'container'].nil?
@@ -23,9 +23,9 @@ module Fastly
23
23
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
24
24
  # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
25
25
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
26
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
27
26
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
28
27
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
28
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
29
29
  # @option opts [String] :user Your Google Cloud Platform service account email address. The &#x60;client_email&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
30
30
  # @option opts [String] :secret_key Your Google Cloud Platform account secret key. The &#x60;private_key&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
31
31
  # @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if &#x60;user&#x60; and &#x60;secret_key&#x60; are provided.
@@ -45,9 +45,9 @@ module Fastly
45
45
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
46
46
  # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
47
47
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
48
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
49
48
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
50
49
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
50
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
51
51
  # @option opts [String] :user Your Google Cloud Platform service account email address. The &#x60;client_email&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
52
52
  # @option opts [String] :secret_key Your Google Cloud Platform account secret key. The &#x60;private_key&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
53
53
  # @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if &#x60;user&#x60; and &#x60;secret_key&#x60; are provided.
@@ -99,9 +99,9 @@ module Fastly
99
99
  form_params = opts[:form_params] || {}
100
100
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
101
101
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
102
- form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
103
102
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
104
103
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
104
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
105
105
  form_params['user'] = opts[:'user'] if !opts[:'user'].nil?
106
106
  form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil?
107
107
  form_params['account_name'] = opts[:'account_name'] if !opts[:'account_name'].nil?
@@ -367,9 +367,9 @@ module Fastly
367
367
  # @option opts [String] :logging_bigquery_name The name for the real-time logging configuration. (required)
368
368
  # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
369
369
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
370
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
371
370
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
372
371
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
372
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
373
373
  # @option opts [String] :user Your Google Cloud Platform service account email address. The &#x60;client_email&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
374
374
  # @option opts [String] :secret_key Your Google Cloud Platform account secret key. The &#x60;private_key&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
375
375
  # @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if &#x60;user&#x60; and &#x60;secret_key&#x60; are provided.
@@ -390,9 +390,9 @@ module Fastly
390
390
  # @option opts [String] :logging_bigquery_name The name for the real-time logging configuration. (required)
391
391
  # @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
392
392
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
393
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
394
393
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
395
394
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
395
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
396
396
  # @option opts [String] :user Your Google Cloud Platform service account email address. The &#x60;client_email&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
397
397
  # @option opts [String] :secret_key Your Google Cloud Platform account secret key. The &#x60;private_key&#x60; field in your service account authentication JSON. Not required if &#x60;account_name&#x60; is specified.
398
398
  # @option opts [String] :account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if &#x60;user&#x60; and &#x60;secret_key&#x60; are provided.
@@ -449,9 +449,9 @@ module Fastly
449
449
  form_params = opts[:form_params] || {}
450
450
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
451
451
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
452
- form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
453
452
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
454
453
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
454
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
455
455
  form_params['user'] = opts[:'user'] if !opts[:'user'].nil?
456
456
  form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil?
457
457
  form_params['account_name'] = opts[:'account_name'] if !opts[:'account_name'].nil?
@@ -23,14 +23,14 @@ module Fastly
23
23
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
24
24
  # @option opts [String] :name The name for the real-time logging configuration.
25
25
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
26
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
27
26
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
28
27
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
28
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
29
29
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
30
30
  # @option opts [String] :timestamp_format A timestamp format
31
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
31
32
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
32
33
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
33
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
34
34
  # @option opts [String] :access_key Your Cloud Files account access key.
35
35
  # @option opts [String] :bucket_name The name of your Cloud Files container.
36
36
  # @option opts [String] :path The path to upload logs to. (default to 'null')
@@ -49,14 +49,14 @@ module Fastly
49
49
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
50
50
  # @option opts [String] :name The name for the real-time logging configuration.
51
51
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
52
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
53
52
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
54
53
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
54
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
55
55
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
56
56
  # @option opts [String] :timestamp_format A timestamp format
57
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
57
58
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
58
59
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
59
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
60
60
  # @option opts [String] :access_key Your Cloud Files account access key.
61
61
  # @option opts [String] :bucket_name The name of your Cloud Files container.
62
62
  # @option opts [String] :path The path to upload logs to. (default to 'null')
@@ -119,14 +119,14 @@ module Fastly
119
119
  form_params = opts[:form_params] || {}
120
120
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
121
121
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
122
- form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
123
122
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
124
123
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
124
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
125
125
  form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
126
126
  form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
127
+ form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
127
128
  form_params['period'] = opts[:'period'] if !opts[:'period'].nil?
128
129
  form_params['gzip_level'] = opts[:'gzip_level'] if !opts[:'gzip_level'].nil?
129
- form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
130
130
  form_params['access_key'] = opts[:'access_key'] if !opts[:'access_key'].nil?
131
131
  form_params['bucket_name'] = opts[:'bucket_name'] if !opts[:'bucket_name'].nil?
132
132
  form_params['path'] = opts[:'path'] if !opts[:'path'].nil?
@@ -391,14 +391,14 @@ module Fastly
391
391
  # @option opts [String] :logging_cloudfiles_name The name for the real-time logging configuration. (required)
392
392
  # @option opts [String] :name The name for the real-time logging configuration.
393
393
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
394
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
395
394
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
396
395
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
396
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
397
397
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
398
398
  # @option opts [String] :timestamp_format A timestamp format
399
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
399
400
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
400
401
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
401
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
402
402
  # @option opts [String] :access_key Your Cloud Files account access key.
403
403
  # @option opts [String] :bucket_name The name of your Cloud Files container.
404
404
  # @option opts [String] :path The path to upload logs to. (default to 'null')
@@ -418,14 +418,14 @@ module Fastly
418
418
  # @option opts [String] :logging_cloudfiles_name The name for the real-time logging configuration. (required)
419
419
  # @option opts [String] :name The name for the real-time logging configuration.
420
420
  # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with &#x60;format_version&#x60; of 2 are placed in &#x60;vcl_log&#x60; and those with &#x60;format_version&#x60; of 1 are placed in &#x60;vcl_deliver&#x60;.
421
- # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
422
421
  # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
423
422
  # @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %&gt;s %b')
423
+ # @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in &#x60;vcl_log&#x60; if &#x60;format_version&#x60; is set to &#x60;2&#x60; and in &#x60;vcl_deliver&#x60; if &#x60;format_version&#x60; is set to &#x60;1&#x60;. (default to FORMAT_VERSION::v2)
424
424
  # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
425
425
  # @option opts [String] :timestamp_format A timestamp format
426
+ # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
426
427
  # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
427
428
  # @option opts [Integer] :gzip_level The level of gzip encoding when sending logs (default &#x60;0&#x60;, no compression). Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
428
- # @option opts [String] :compression_codec The codec used for compressing your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
429
429
  # @option opts [String] :access_key Your Cloud Files account access key.
430
430
  # @option opts [String] :bucket_name The name of your Cloud Files container.
431
431
  # @option opts [String] :path The path to upload logs to. (default to 'null')
@@ -493,14 +493,14 @@ module Fastly
493
493
  form_params = opts[:form_params] || {}
494
494
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
495
495
  form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
496
- form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
497
496
  form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
498
497
  form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
498
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
499
499
  form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
500
500
  form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
501
+ form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
501
502
  form_params['period'] = opts[:'period'] if !opts[:'period'].nil?
502
503
  form_params['gzip_level'] = opts[:'gzip_level'] if !opts[:'gzip_level'].nil?
503
- form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
504
504
  form_params['access_key'] = opts[:'access_key'] if !opts[:'access_key'].nil?
505
505
  form_params['bucket_name'] = opts[:'bucket_name'] if !opts[:'bucket_name'].nil?
506
506
  form_params['path'] = opts[:'path'] if !opts[:'path'].nil?