fastly 6.0.2 → 7.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 (288) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +1 -1
  5. data/docs/CacheSetting.md +2 -2
  6. data/docs/CacheSettingResponse.md +3 -3
  7. data/docs/CacheSettingsApi.md +8 -8
  8. data/docs/DomainApi.md +2 -2
  9. data/docs/GzipResponse.md +1 -1
  10. data/docs/Header.md +0 -2
  11. data/docs/HeaderApi.md +8 -8
  12. data/docs/HeaderResponse.md +3 -3
  13. data/docs/HeaderResponseAdditional.md +11 -0
  14. data/docs/{LoggingAzureblobAllOf.md → LoggingAzureblobAdditional.md} +1 -1
  15. data/docs/LoggingAzureblobApi.md +8 -8
  16. data/docs/LoggingAzureblobResponse.md +8 -8
  17. data/docs/{LoggingBigqueryAllOf.md → LoggingBigqueryAdditional.md} +1 -1
  18. data/docs/LoggingBigqueryApi.md +4 -4
  19. data/docs/LoggingBigqueryResponse.md +2 -2
  20. data/docs/{LoggingCloudfilesAllOf.md → LoggingCloudfilesAdditional.md} +1 -1
  21. data/docs/LoggingCloudfilesApi.md +8 -8
  22. data/docs/LoggingCloudfilesResponse.md +8 -8
  23. data/docs/LoggingCommon.md +0 -1
  24. data/docs/{LoggingPapertrail.md → LoggingCommonResponse.md} +2 -4
  25. data/docs/{LoggingLogshuttle.md → LoggingCommonResponseAllOf.md} +1 -4
  26. data/docs/LoggingCommonResponseAllOf1.md +10 -0
  27. data/docs/{LoggingDatadogAllOf.md → LoggingDatadogAdditional.md} +1 -1
  28. data/docs/LoggingDatadogApi.md +4 -4
  29. data/docs/LoggingDatadogResponse.md +2 -2
  30. data/docs/{LoggingDigitaloceanAllOf.md → LoggingDigitaloceanAdditional.md} +1 -1
  31. data/docs/LoggingDigitaloceanApi.md +8 -8
  32. data/docs/LoggingDigitaloceanResponse.md +8 -8
  33. data/docs/{LoggingElasticsearchAllOf.md → LoggingElasticsearchAdditional.md} +1 -1
  34. data/docs/LoggingElasticsearchApi.md +4 -4
  35. data/docs/LoggingElasticsearchResponse.md +2 -2
  36. data/docs/LoggingFormatVersionInteger.md +10 -0
  37. data/docs/LoggingFormatVersionString.md +10 -0
  38. data/docs/{LoggingFtpAllOf.md → LoggingFtpAdditional.md} +1 -2
  39. data/docs/LoggingFtpApi.md +12 -12
  40. data/docs/LoggingFtpResponse.md +9 -9
  41. data/docs/{LoggingFormatVersion.md → LoggingFtpResponseAllOf.md} +2 -1
  42. data/docs/{LoggingGcsAllOf.md → LoggingGcsAdditional.md} +1 -1
  43. data/docs/LoggingGcsApi.md +8 -8
  44. data/docs/LoggingGcsResponse.md +8 -8
  45. data/docs/LoggingGenericCommon.md +0 -2
  46. data/docs/LoggingGenericCommonResponse.md +14 -0
  47. data/docs/LoggingGenericCommonResponseAllOf.md +12 -0
  48. data/docs/LoggingGenericCommonResponseAllOf1.md +11 -0
  49. data/docs/{LoggingGooglePubsubAllOf.md → LoggingGooglePubsubAdditional.md} +1 -1
  50. data/docs/LoggingGooglePubsubResponse.md +2 -2
  51. data/docs/{LoggingHerokuAllOf.md → LoggingHerokuAdditional.md} +1 -1
  52. data/docs/LoggingHerokuApi.md +4 -4
  53. data/docs/LoggingHerokuResponse.md +2 -2
  54. data/docs/{LoggingHoneycombAllOf.md → LoggingHoneycombAdditional.md} +1 -1
  55. data/docs/LoggingHoneycombApi.md +8 -8
  56. data/docs/LoggingHoneycombResponse.md +2 -2
  57. data/docs/{LoggingHttpsAllOf.md → LoggingHttpsAdditional.md} +1 -1
  58. data/docs/LoggingHttpsApi.md +4 -4
  59. data/docs/LoggingHttpsResponse.md +2 -2
  60. data/docs/{LoggingKafkaAllOf.md → LoggingKafkaAdditional.md} +1 -1
  61. data/docs/LoggingKafkaApi.md +4 -4
  62. data/docs/LoggingKafkaResponse.md +6 -6
  63. data/docs/{LoggingKafka.md → LoggingKafkaResponsePost.md} +7 -2
  64. data/docs/{LoggingKinesis.md → LoggingKinesisAdditional.md} +1 -2
  65. data/docs/LoggingKinesisApi.md +2 -2
  66. data/docs/LoggingKinesisResponse.md +2 -2
  67. data/docs/{LoggingLogentriesAllOf.md → LoggingLogentriesAdditional.md} +1 -1
  68. data/docs/LoggingLogentriesApi.md +4 -4
  69. data/docs/LoggingLogentriesResponse.md +2 -2
  70. data/docs/{LoggingLogglyAllOf.md → LoggingLogglyAdditional.md} +1 -1
  71. data/docs/LoggingLogglyApi.md +4 -4
  72. data/docs/LoggingLogglyResponse.md +2 -2
  73. data/docs/{LoggingLogshuttleAllOf.md → LoggingLogshuttleAdditional.md} +1 -1
  74. data/docs/LoggingLogshuttleApi.md +4 -4
  75. data/docs/LoggingLogshuttleResponse.md +2 -2
  76. data/docs/{LoggingNewrelicAllOf.md → LoggingNewrelicAdditional.md} +1 -1
  77. data/docs/LoggingNewrelicApi.md +4 -4
  78. data/docs/LoggingNewrelicResponse.md +2 -2
  79. data/docs/{LoggingOpenstackAllOf.md → LoggingOpenstackAdditional.md} +1 -1
  80. data/docs/LoggingOpenstackApi.md +8 -8
  81. data/docs/LoggingOpenstackResponse.md +8 -8
  82. data/docs/LoggingPapertrailApi.md +4 -4
  83. data/docs/LoggingPapertrailResponse.md +2 -2
  84. data/docs/LoggingPubsubApi.md +4 -4
  85. data/docs/{LoggingS3AllOf.md → LoggingS3Additional.md} +1 -1
  86. data/docs/LoggingS3Api.md +8 -8
  87. data/docs/LoggingS3Response.md +8 -8
  88. data/docs/{LoggingScalyrAllOf.md → LoggingScalyrAdditional.md} +1 -1
  89. data/docs/LoggingScalyrApi.md +4 -4
  90. data/docs/LoggingScalyrResponse.md +2 -2
  91. data/docs/{LoggingSftpAllOf.md → LoggingSftpAdditional.md} +1 -2
  92. data/docs/LoggingSftpApi.md +8 -8
  93. data/docs/LoggingSftpResponse.md +10 -10
  94. data/docs/LoggingSftpResponseAllOf.md +13 -0
  95. data/docs/{LoggingSplunkAllOf.md → LoggingSplunkAdditional.md} +1 -1
  96. data/docs/LoggingSplunkApi.md +4 -4
  97. data/docs/LoggingSplunkResponse.md +2 -2
  98. data/docs/{LoggingSumologicAllOf.md → LoggingSumologicAdditional.md} +1 -1
  99. data/docs/LoggingSumologicApi.md +4 -4
  100. data/docs/LoggingSumologicResponse.md +2 -2
  101. data/docs/{LoggingSyslogAllOf.md → LoggingSyslogAdditional.md} +1 -1
  102. data/docs/LoggingSyslogApi.md +4 -4
  103. data/docs/LoggingSyslogResponse.md +2 -2
  104. data/docs/{PoolAllOf.md → PoolAdditional.md} +1 -6
  105. data/docs/PoolApi.md +46 -22
  106. data/docs/PoolResponse.md +12 -11
  107. data/docs/PoolResponseAllOf.md +1 -1
  108. data/docs/PoolResponseCommon.md +15 -0
  109. data/docs/{Pool.md → PoolResponsePost.md} +14 -7
  110. data/docs/PoolResponsePostAllOf.md +10 -0
  111. data/docs/RequestSettingsAdditional.md +15 -0
  112. data/docs/RequestSettingsApi.md +10 -10
  113. data/docs/RequestSettingsResponse.md +11 -11
  114. data/docs/RequestSettingsResponseAllOf.md +15 -0
  115. data/docs/ResponseObject.md +1 -1
  116. data/docs/ResponseObjectResponse.md +2 -2
  117. data/docs/ServiceIdAndVersionString.md +11 -0
  118. data/docs/TlsCommonResponse.md +14 -0
  119. data/docs/{TlsCommon.md → TlsCommonResponseAllOf.md} +1 -2
  120. data/docs/TlsCommonResponseAllOf1.md +10 -0
  121. data/lib/fastly/api/cache_settings_api.rb +8 -8
  122. data/lib/fastly/api/domain_api.rb +3 -3
  123. data/lib/fastly/api/header_api.rb +12 -12
  124. data/lib/fastly/api/logging_azureblob_api.rb +12 -12
  125. data/lib/fastly/api/logging_bigquery_api.rb +6 -6
  126. data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
  127. data/lib/fastly/api/logging_datadog_api.rb +6 -6
  128. data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
  129. data/lib/fastly/api/logging_elasticsearch_api.rb +6 -6
  130. data/lib/fastly/api/logging_ftp_api.rb +18 -18
  131. data/lib/fastly/api/logging_gcs_api.rb +12 -12
  132. data/lib/fastly/api/logging_heroku_api.rb +6 -6
  133. data/lib/fastly/api/logging_honeycomb_api.rb +12 -12
  134. data/lib/fastly/api/logging_https_api.rb +6 -6
  135. data/lib/fastly/api/logging_kafka_api.rb +6 -6
  136. data/lib/fastly/api/logging_kinesis_api.rb +7 -3
  137. data/lib/fastly/api/logging_logentries_api.rb +6 -6
  138. data/lib/fastly/api/logging_loggly_api.rb +6 -6
  139. data/lib/fastly/api/logging_logshuttle_api.rb +6 -6
  140. data/lib/fastly/api/logging_newrelic_api.rb +6 -6
  141. data/lib/fastly/api/logging_openstack_api.rb +12 -12
  142. data/lib/fastly/api/logging_papertrail_api.rb +6 -6
  143. data/lib/fastly/api/logging_pubsub_api.rb +6 -6
  144. data/lib/fastly/api/logging_s3_api.rb +12 -12
  145. data/lib/fastly/api/logging_scalyr_api.rb +6 -6
  146. data/lib/fastly/api/logging_sftp_api.rb +12 -12
  147. data/lib/fastly/api/logging_splunk_api.rb +6 -6
  148. data/lib/fastly/api/logging_sumologic_api.rb +6 -6
  149. data/lib/fastly/api/logging_syslog_api.rb +6 -6
  150. data/lib/fastly/api/pool_api.rb +77 -41
  151. data/lib/fastly/api/request_settings_api.rb +15 -15
  152. data/lib/fastly/models/cache_setting.rb +2 -2
  153. data/lib/fastly/models/cache_setting_response.rb +4 -4
  154. data/lib/fastly/models/gzip_response.rb +2 -2
  155. data/lib/fastly/models/header.rb +1 -23
  156. data/lib/fastly/models/header_response.rb +26 -25
  157. data/lib/fastly/models/header_response_additional.rb +229 -0
  158. data/lib/fastly/models/{logging_azureblob_all_of.rb → logging_azureblob_additional.rb} +3 -3
  159. data/lib/fastly/models/logging_azureblob_response.rb +82 -80
  160. data/lib/fastly/models/{logging_bigquery_all_of.rb → logging_bigquery_additional.rb} +3 -3
  161. data/lib/fastly/models/logging_bigquery_response.rb +20 -18
  162. data/lib/fastly/models/{logging_cloudfiles_all_of.rb → logging_cloudfiles_additional.rb} +3 -3
  163. data/lib/fastly/models/logging_cloudfiles_response.rb +83 -81
  164. data/lib/fastly/models/logging_common.rb +1 -25
  165. data/lib/fastly/models/{logging_loggly.rb → logging_common_response.rb} +17 -27
  166. data/lib/fastly/models/{logging_logshuttle.rb → logging_common_response_all_of.rb} +7 -60
  167. data/lib/fastly/models/logging_common_response_all_of1.rb +253 -0
  168. data/lib/fastly/models/{logging_datadog_all_of.rb → logging_datadog_additional.rb} +3 -3
  169. data/lib/fastly/models/logging_datadog_response.rb +19 -18
  170. data/lib/fastly/models/{logging_digitalocean_all_of.rb → logging_digitalocean_additional.rb} +3 -3
  171. data/lib/fastly/models/logging_digitalocean_response.rb +82 -80
  172. data/lib/fastly/models/{logging_elasticsearch_all_of.rb → logging_elasticsearch_additional.rb} +3 -3
  173. data/lib/fastly/models/logging_elasticsearch_response.rb +21 -18
  174. data/lib/fastly/models/logging_format_version_integer.rb +253 -0
  175. data/lib/fastly/models/logging_format_version_string.rb +253 -0
  176. data/lib/fastly/models/{logging_ftp_all_of.rb → logging_ftp_additional.rb} +4 -16
  177. data/lib/fastly/models/logging_ftp_response.rb +88 -85
  178. data/lib/fastly/models/logging_ftp_response_all_of.rb +219 -0
  179. data/lib/fastly/models/{logging_gcs_all_of.rb → logging_gcs_additional.rb} +3 -3
  180. data/lib/fastly/models/logging_gcs_response.rb +80 -77
  181. data/lib/fastly/models/logging_generic_common.rb +1 -25
  182. data/lib/fastly/models/{logging_sumologic.rb → logging_generic_common_response.rb} +60 -80
  183. data/lib/fastly/models/logging_generic_common_response_all_of.rb +286 -0
  184. data/lib/fastly/models/logging_generic_common_response_all_of1.rb +231 -0
  185. data/lib/fastly/models/{logging_google_pubsub_all_of.rb → logging_google_pubsub_additional.rb} +3 -3
  186. data/lib/fastly/models/logging_google_pubsub_response.rb +20 -18
  187. data/lib/fastly/models/{logging_heroku_all_of.rb → logging_heroku_additional.rb} +3 -3
  188. data/lib/fastly/models/logging_heroku_response.rb +19 -18
  189. data/lib/fastly/models/{logging_honeycomb_all_of.rb → logging_honeycomb_additional.rb} +3 -3
  190. data/lib/fastly/models/logging_honeycomb_response.rb +19 -18
  191. data/lib/fastly/models/{logging_https_all_of.rb → logging_https_additional.rb} +3 -3
  192. data/lib/fastly/models/logging_https_response.rb +21 -18
  193. data/lib/fastly/models/{logging_kafka_all_of.rb → logging_kafka_additional.rb} +3 -3
  194. data/lib/fastly/models/logging_kafka_response.rb +71 -69
  195. data/lib/fastly/models/{logging_kafka.rb → logging_kafka_response_post.rb} +72 -18
  196. data/lib/fastly/models/{logging_kinesis.rb → logging_kinesis_additional.rb} +4 -15
  197. data/lib/fastly/models/logging_kinesis_response.rb +51 -15
  198. data/lib/fastly/models/{logging_logentries_all_of.rb → logging_logentries_additional.rb} +3 -3
  199. data/lib/fastly/models/logging_logentries_response.rb +19 -18
  200. data/lib/fastly/models/{logging_loggly_all_of.rb → logging_loggly_additional.rb} +3 -3
  201. data/lib/fastly/models/logging_loggly_response.rb +19 -18
  202. data/lib/fastly/models/{logging_logshuttle_all_of.rb → logging_logshuttle_additional.rb} +3 -3
  203. data/lib/fastly/models/logging_logshuttle_response.rb +19 -18
  204. data/lib/fastly/models/{logging_newrelic_all_of.rb → logging_newrelic_additional.rb} +3 -3
  205. data/lib/fastly/models/logging_newrelic_response.rb +19 -18
  206. data/lib/fastly/models/{logging_openstack_all_of.rb → logging_openstack_additional.rb} +3 -3
  207. data/lib/fastly/models/logging_openstack_response.rb +82 -80
  208. data/lib/fastly/models/logging_papertrail_response.rb +19 -18
  209. data/lib/fastly/models/{logging_s3_all_of.rb → logging_s3_additional.rb} +3 -3
  210. data/lib/fastly/models/logging_s3_response.rb +84 -82
  211. data/lib/fastly/models/{logging_scalyr_all_of.rb → logging_scalyr_additional.rb} +3 -3
  212. data/lib/fastly/models/logging_scalyr_response.rb +19 -18
  213. data/lib/fastly/models/{logging_sftp_all_of.rb → logging_sftp_additional.rb} +4 -16
  214. data/lib/fastly/models/logging_sftp_response.rb +97 -94
  215. data/lib/fastly/models/{domain_check_item.rb → logging_sftp_response_all_of.rb} +44 -40
  216. data/lib/fastly/models/{logging_splunk_all_of.rb → logging_splunk_additional.rb} +3 -3
  217. data/lib/fastly/models/logging_splunk_response.rb +21 -18
  218. data/lib/fastly/models/{logging_sumologic_all_of.rb → logging_sumologic_additional.rb} +3 -3
  219. data/lib/fastly/models/logging_sumologic_response.rb +19 -18
  220. data/lib/fastly/models/{logging_syslog_all_of.rb → logging_syslog_additional.rb} +3 -3
  221. data/lib/fastly/models/logging_syslog_response.rb +21 -18
  222. data/lib/fastly/models/{pool_all_of.rb → pool_additional.rb} +4 -83
  223. data/lib/fastly/models/pool_response.rb +113 -125
  224. data/lib/fastly/models/pool_response_all_of.rb +10 -7
  225. data/lib/fastly/models/pool_response_common.rb +269 -0
  226. data/lib/fastly/models/{pool.rb → pool_response_post.rb} +142 -92
  227. data/lib/fastly/models/pool_response_post_all_of.rb +219 -0
  228. data/lib/fastly/models/{request_settings.rb → request_settings_additional.rb} +4 -64
  229. data/lib/fastly/models/request_settings_response.rb +96 -95
  230. data/lib/fastly/models/request_settings_response_all_of.rb +267 -0
  231. data/lib/fastly/models/response_object.rb +2 -2
  232. data/lib/fastly/models/response_object_response.rb +4 -4
  233. data/lib/fastly/models/{tls_subscription_response_data_all_of.rb → service_id_and_version_string.rb} +16 -16
  234. data/lib/fastly/models/{tls_common.rb → tls_common_response.rb} +15 -7
  235. data/lib/fastly/models/tls_common_response_all_of.rb +259 -0
  236. data/lib/fastly/models/tls_common_response_all_of1.rb +253 -0
  237. data/lib/fastly/models/tls_subscription_response_data.rb +0 -7
  238. data/lib/fastly/version.rb +1 -1
  239. data/lib/fastly.rb +47 -57
  240. data/sig.json +1 -1
  241. metadata +96 -116
  242. data/docs/DomainCheckItem.md +0 -11
  243. data/docs/LoggingAzureblob.md +0 -25
  244. data/docs/LoggingBigquery.md +0 -21
  245. data/docs/LoggingCloudfiles.md +0 -25
  246. data/docs/LoggingDatadog.md +0 -16
  247. data/docs/LoggingDigitalocean.md +0 -25
  248. data/docs/LoggingElasticsearch.md +0 -25
  249. data/docs/LoggingFtp.md +0 -27
  250. data/docs/LoggingGcs.md +0 -26
  251. data/docs/LoggingGooglePubsub.md +0 -19
  252. data/docs/LoggingHeroku.md +0 -16
  253. data/docs/LoggingHoneycomb.md +0 -16
  254. data/docs/LoggingHttps.md +0 -27
  255. data/docs/LoggingLogentries.md +0 -18
  256. data/docs/LoggingLoggly.md +0 -15
  257. data/docs/LoggingNewrelic.md +0 -16
  258. data/docs/LoggingOpenstack.md +0 -25
  259. data/docs/LoggingS3.md +0 -30
  260. data/docs/LoggingScalyr.md +0 -17
  261. data/docs/LoggingSftp.md +0 -27
  262. data/docs/LoggingSplunk.md +0 -23
  263. data/docs/LoggingSumologic.md +0 -16
  264. data/docs/LoggingSyslog.md +0 -25
  265. data/docs/RequestSettings.md +0 -21
  266. data/docs/TlsSubscriptionResponseDataAllOf.md +0 -11
  267. data/lib/fastly/models/logging_azureblob.rb +0 -480
  268. data/lib/fastly/models/logging_bigquery.rb +0 -387
  269. data/lib/fastly/models/logging_cloudfiles.rb +0 -478
  270. data/lib/fastly/models/logging_datadog.rb +0 -351
  271. data/lib/fastly/models/logging_digitalocean.rb +0 -467
  272. data/lib/fastly/models/logging_elasticsearch.rb +0 -446
  273. data/lib/fastly/models/logging_format_version.rb +0 -35
  274. data/lib/fastly/models/logging_ftp.rb +0 -484
  275. data/lib/fastly/models/logging_gcs.rb +0 -474
  276. data/lib/fastly/models/logging_google_pubsub.rb +0 -368
  277. data/lib/fastly/models/logging_heroku.rb +0 -337
  278. data/lib/fastly/models/logging_honeycomb.rb +0 -335
  279. data/lib/fastly/models/logging_https.rb +0 -501
  280. data/lib/fastly/models/logging_logentries.rb +0 -372
  281. data/lib/fastly/models/logging_newrelic.rb +0 -351
  282. data/lib/fastly/models/logging_openstack.rb +0 -465
  283. data/lib/fastly/models/logging_papertrail.rb +0 -339
  284. data/lib/fastly/models/logging_s3.rb +0 -527
  285. data/lib/fastly/models/logging_scalyr.rb +0 -363
  286. data/lib/fastly/models/logging_sftp.rb +0 -491
  287. data/lib/fastly/models/logging_splunk.rb +0 -426
  288. data/lib/fastly/models/logging_syslog.rb +0 -449
@@ -26,23 +26,29 @@ module Fastly
26
26
  # @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
27
27
  # @option opts [String] :tls_cert_hostname The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
28
28
  # @option opts [Integer] :use_tls Whether to use TLS. (default to 0)
29
+ # @option opts [Time] :created_at Date and time in ISO 8601 format.
30
+ # @option opts [Time] :deleted_at Date and time in ISO 8601 format.
31
+ # @option opts [Time] :updated_at Date and time in ISO 8601 format.
32
+ # @option opts [String] :service_id
33
+ # @option opts [String] :version
29
34
  # @option opts [String] :name Name for the Pool.
30
35
  # @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
31
36
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
32
- # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
33
- # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
34
- # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
35
- # @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
36
37
  # @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
37
38
  # @option opts [String] :tls_sni_hostname SNI hostname. Optional.
38
- # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
39
39
  # @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
40
40
  # @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
41
41
  # @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
42
42
  # @option opts [String] :comment A freeform descriptive note.
43
43
  # @option opts [String] :type What type of load balance group to use.
44
44
  # @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
45
- # @return [PoolResponse]
45
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
46
+ # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
47
+ # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
48
+ # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
49
+ # @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
50
+ # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
51
+ # @return [PoolResponsePost]
46
52
  def create_server_pool(opts = {})
47
53
  data, _status_code, _headers = create_server_pool_with_http_info(opts)
48
54
  data
@@ -57,23 +63,29 @@ module Fastly
57
63
  # @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
58
64
  # @option opts [String] :tls_cert_hostname The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
59
65
  # @option opts [Integer] :use_tls Whether to use TLS. (default to 0)
66
+ # @option opts [Time] :created_at Date and time in ISO 8601 format.
67
+ # @option opts [Time] :deleted_at Date and time in ISO 8601 format.
68
+ # @option opts [Time] :updated_at Date and time in ISO 8601 format.
69
+ # @option opts [String] :service_id
70
+ # @option opts [String] :version
60
71
  # @option opts [String] :name Name for the Pool.
61
72
  # @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
62
73
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
63
- # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
64
- # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
65
- # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
66
- # @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
67
74
  # @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
68
75
  # @option opts [String] :tls_sni_hostname SNI hostname. Optional.
69
- # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
70
76
  # @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
71
77
  # @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
72
78
  # @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
73
79
  # @option opts [String] :comment A freeform descriptive note.
74
80
  # @option opts [String] :type What type of load balance group to use.
75
81
  # @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
76
- # @return [Array<(PoolResponse, Integer, Hash)>] PoolResponse data, response status code and response headers
82
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;. (default to 10000)
83
+ # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
84
+ # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
85
+ # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
86
+ # @option opts [Integer] :quorum Percentage of capacity (&#x60;0-100&#x60;) that needs to be operationally available for a pool to be considered up. (default to 75)
87
+ # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
88
+ # @return [Array<(PoolResponsePost, Integer, Hash)>] PoolResponsePost data, response status code and response headers
77
89
  def create_server_pool_with_http_info(opts = {})
78
90
  if @api_client.config.debugging
79
91
  @api_client.config.logger.debug 'Calling API: PoolApi.create_server_pool ...'
@@ -93,6 +105,10 @@ module Fastly
93
105
  if @api_client.config.client_side_validation && opts[:'use_tls'] && !allowable_values.include?(opts[:'use_tls'])
94
106
  fail ArgumentError, "invalid value for \"use_tls\", must be one of #{allowable_values}"
95
107
  end
108
+ allowable_values = ["random", "hash", "client"]
109
+ if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
110
+ fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
111
+ end
96
112
  if @api_client.config.client_side_validation && !opts[:'quorum'].nil? && opts[:'quorum'] > 100
97
113
  fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.create_server_pool, must be smaller than or equal to 100.'
98
114
  end
@@ -101,10 +117,6 @@ module Fastly
101
117
  fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.create_server_pool, must be greater than or equal to 0.'
102
118
  end
103
119
 
104
- allowable_values = ["random", "hash", "client"]
105
- if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
106
- fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
107
- end
108
120
  # resource path
109
121
  local_var_path = '/service/{service_id}/version/{version_id}/pool'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
110
122
 
@@ -128,28 +140,34 @@ module Fastly
128
140
  form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
129
141
  form_params['tls_cert_hostname'] = opts[:'tls_cert_hostname'] if !opts[:'tls_cert_hostname'].nil?
130
142
  form_params['use_tls'] = opts[:'use_tls'] if !opts[:'use_tls'].nil?
143
+ form_params['created_at'] = opts[:'created_at'] if !opts[:'created_at'].nil?
144
+ form_params['deleted_at'] = opts[:'deleted_at'] if !opts[:'deleted_at'].nil?
145
+ form_params['updated_at'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
146
+ form_params['service_id'] = opts[:'service_id'] if !opts[:'service_id'].nil?
147
+ form_params['version'] = opts[:'version'] if !opts[:'version'].nil?
131
148
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
132
149
  form_params['shield'] = opts[:'shield'] if !opts[:'shield'].nil?
133
150
  form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
134
- form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
135
- form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
136
- form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
137
- form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
138
151
  form_params['tls_ciphers'] = opts[:'tls_ciphers'] if !opts[:'tls_ciphers'].nil?
139
152
  form_params['tls_sni_hostname'] = opts[:'tls_sni_hostname'] if !opts[:'tls_sni_hostname'].nil?
140
- form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
141
153
  form_params['min_tls_version'] = opts[:'min_tls_version'] if !opts[:'min_tls_version'].nil?
142
154
  form_params['max_tls_version'] = opts[:'max_tls_version'] if !opts[:'max_tls_version'].nil?
143
155
  form_params['healthcheck'] = opts[:'healthcheck'] if !opts[:'healthcheck'].nil?
144
156
  form_params['comment'] = opts[:'comment'] if !opts[:'comment'].nil?
145
157
  form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
146
158
  form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?
159
+ form_params['between_bytes_timeout'] = opts[:'between_bytes_timeout'] if !opts[:'between_bytes_timeout'].nil?
160
+ form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
161
+ form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
162
+ form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
163
+ form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
164
+ form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
147
165
 
148
166
  # http body (model)
149
167
  post_body = opts[:debug_body]
150
168
 
151
169
  # return_type
152
- return_type = opts[:debug_return_type] || 'PoolResponse'
170
+ return_type = opts[:debug_return_type] || 'PoolResponsePost'
153
171
 
154
172
  # auth_names
155
173
  auth_names = opts[:debug_auth_names] || ['token']
@@ -405,22 +423,28 @@ module Fastly
405
423
  # @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
406
424
  # @option opts [String] :tls_cert_hostname The hostname used to verify a server&#39;s certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
407
425
  # @option opts [Integer] :use_tls Whether to use TLS. (default to USE_TLS::no_tls)
426
+ # @option opts [Time] :created_at Date and time in ISO 8601 format.
427
+ # @option opts [Time] :deleted_at Date and time in ISO 8601 format.
428
+ # @option opts [Time] :updated_at Date and time in ISO 8601 format.
429
+ # @option opts [String] :service_id
430
+ # @option opts [String] :version
408
431
  # @option opts [String] :name Name for the Pool.
409
432
  # @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to &#x60;null&#x60; meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
410
433
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
411
- # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
412
- # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
413
- # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
414
- # @option opts [Integer] :quorum Percentage of capacity (&#x60;0-100&#x60;) that needs to be operationally available for a pool to be considered up. (default to 75)
415
434
  # @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
416
435
  # @option opts [String] :tls_sni_hostname SNI hostname. Optional.
417
- # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
418
436
  # @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
419
437
  # @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
420
438
  # @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
421
439
  # @option opts [String] :comment A freeform descriptive note.
422
440
  # @option opts [String] :type What type of load balance group to use.
423
441
  # @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to &#x60;null&#x60; meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
442
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;. (default to 10000)
443
+ # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
444
+ # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
445
+ # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
446
+ # @option opts [Integer] :quorum Percentage of capacity (&#x60;0-100&#x60;) that needs to be operationally available for a pool to be considered up. (default to 75)
447
+ # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
424
448
  # @return [PoolResponse]
425
449
  def update_server_pool(opts = {})
426
450
  data, _status_code, _headers = update_server_pool_with_http_info(opts)
@@ -437,22 +461,28 @@ module Fastly
437
461
  # @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
438
462
  # @option opts [String] :tls_cert_hostname The hostname used to verify a server&#39;s certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
439
463
  # @option opts [Integer] :use_tls Whether to use TLS. (default to USE_TLS::no_tls)
464
+ # @option opts [Time] :created_at Date and time in ISO 8601 format.
465
+ # @option opts [Time] :deleted_at Date and time in ISO 8601 format.
466
+ # @option opts [Time] :updated_at Date and time in ISO 8601 format.
467
+ # @option opts [String] :service_id
468
+ # @option opts [String] :version
440
469
  # @option opts [String] :name Name for the Pool.
441
470
  # @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to &#x60;null&#x60; meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
442
471
  # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
443
- # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
444
- # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
445
- # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
446
- # @option opts [Integer] :quorum Percentage of capacity (&#x60;0-100&#x60;) that needs to be operationally available for a pool to be considered up. (default to 75)
447
472
  # @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
448
473
  # @option opts [String] :tls_sni_hostname SNI hostname. Optional.
449
- # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
450
474
  # @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
451
475
  # @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
452
476
  # @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
453
477
  # @option opts [String] :comment A freeform descriptive note.
454
478
  # @option opts [String] :type What type of load balance group to use.
455
479
  # @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to &#x60;null&#x60; meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
480
+ # @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using &#x60;bereq.between_bytes_timeout&#x60;. (default to 10000)
481
+ # @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
482
+ # @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
483
+ # @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
484
+ # @option opts [Integer] :quorum Percentage of capacity (&#x60;0-100&#x60;) that needs to be operationally available for a pool to be considered up. (default to 75)
485
+ # @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
456
486
  # @return [Array<(PoolResponse, Integer, Hash)>] PoolResponse data, response status code and response headers
457
487
  def update_server_pool_with_http_info(opts = {})
458
488
  if @api_client.config.debugging
@@ -478,6 +508,10 @@ module Fastly
478
508
  if @api_client.config.client_side_validation && opts[:'use_tls'] && !allowable_values.include?(opts[:'use_tls'])
479
509
  fail ArgumentError, "invalid value for \"use_tls\", must be one of #{allowable_values}"
480
510
  end
511
+ allowable_values = ["random", "hash", "client"]
512
+ if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
513
+ fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
514
+ end
481
515
  if @api_client.config.client_side_validation && !opts[:'quorum'].nil? && opts[:'quorum'] > 100
482
516
  fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.update_server_pool, must be smaller than or equal to 100.'
483
517
  end
@@ -486,10 +520,6 @@ module Fastly
486
520
  fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.update_server_pool, must be greater than or equal to 0.'
487
521
  end
488
522
 
489
- allowable_values = ["random", "hash", "client"]
490
- if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
491
- fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
492
- end
493
523
  # resource path
494
524
  local_var_path = '/service/{service_id}/version/{version_id}/pool/{pool_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'pool_name' + '}', CGI.escape(pool_name.to_s))
495
525
 
@@ -513,22 +543,28 @@ module Fastly
513
543
  form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
514
544
  form_params['tls_cert_hostname'] = opts[:'tls_cert_hostname'] if !opts[:'tls_cert_hostname'].nil?
515
545
  form_params['use_tls'] = opts[:'use_tls'] if !opts[:'use_tls'].nil?
546
+ form_params['created_at'] = opts[:'created_at'] if !opts[:'created_at'].nil?
547
+ form_params['deleted_at'] = opts[:'deleted_at'] if !opts[:'deleted_at'].nil?
548
+ form_params['updated_at'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
549
+ form_params['service_id'] = opts[:'service_id'] if !opts[:'service_id'].nil?
550
+ form_params['version'] = opts[:'version'] if !opts[:'version'].nil?
516
551
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
517
552
  form_params['shield'] = opts[:'shield'] if !opts[:'shield'].nil?
518
553
  form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
519
- form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
520
- form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
521
- form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
522
- form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
523
554
  form_params['tls_ciphers'] = opts[:'tls_ciphers'] if !opts[:'tls_ciphers'].nil?
524
555
  form_params['tls_sni_hostname'] = opts[:'tls_sni_hostname'] if !opts[:'tls_sni_hostname'].nil?
525
- form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
526
556
  form_params['min_tls_version'] = opts[:'min_tls_version'] if !opts[:'min_tls_version'].nil?
527
557
  form_params['max_tls_version'] = opts[:'max_tls_version'] if !opts[:'max_tls_version'].nil?
528
558
  form_params['healthcheck'] = opts[:'healthcheck'] if !opts[:'healthcheck'].nil?
529
559
  form_params['comment'] = opts[:'comment'] if !opts[:'comment'].nil?
530
560
  form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
531
561
  form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?
562
+ form_params['between_bytes_timeout'] = opts[:'between_bytes_timeout'] if !opts[:'between_bytes_timeout'].nil?
563
+ form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
564
+ form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
565
+ form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
566
+ form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
567
+ form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
532
568
 
533
569
  # http body (model)
534
570
  post_body = opts[:debug_body]
@@ -322,17 +322,17 @@ module Fastly
322
322
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
323
323
  # @option opts [String] :request_settings_name Name for the request settings. (required)
324
324
  # @option opts [String] :action Allows you to terminate request handling and immediately perform an action.
325
- # @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don&#39;t wait for other objects to origin.
326
325
  # @option opts [String] :default_host Sets the host header.
326
+ # @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
327
+ # @option opts [String] :name Name for the request settings.
328
+ # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
329
+ # @option opts [String] :xff Short for X-Forwarded-For.
330
+ # @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don&#39;t wait for other objects to origin.
327
331
  # @option opts [Integer] :force_miss Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
328
332
  # @option opts [Integer] :force_ssl Forces the request use SSL (redirects a non-SSL to SSL).
329
333
  # @option opts [Integer] :geo_headers Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
330
- # @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
331
334
  # @option opts [Integer] :max_stale_age How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
332
- # @option opts [String] :name Name for the request settings.
333
- # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
334
335
  # @option opts [Integer] :timer_support Injects the X-Timer info into the request for viewing origin fetch durations.
335
- # @option opts [String] :xff Short for X-Forwarded-For.
336
336
  # @return [RequestSettingsResponse]
337
337
  def update_request_settings(opts = {})
338
338
  data, _status_code, _headers = update_request_settings_with_http_info(opts)
@@ -345,17 +345,17 @@ module Fastly
345
345
  # @option opts [Integer] :version_id Integer identifying a service version. (required)
346
346
  # @option opts [String] :request_settings_name Name for the request settings. (required)
347
347
  # @option opts [String] :action Allows you to terminate request handling and immediately perform an action.
348
- # @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don&#39;t wait for other objects to origin.
349
348
  # @option opts [String] :default_host Sets the host header.
349
+ # @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
350
+ # @option opts [String] :name Name for the request settings.
351
+ # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
352
+ # @option opts [String] :xff Short for X-Forwarded-For.
353
+ # @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don&#39;t wait for other objects to origin.
350
354
  # @option opts [Integer] :force_miss Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
351
355
  # @option opts [Integer] :force_ssl Forces the request use SSL (redirects a non-SSL to SSL).
352
356
  # @option opts [Integer] :geo_headers Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
353
- # @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
354
357
  # @option opts [Integer] :max_stale_age How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
355
- # @option opts [String] :name Name for the request settings.
356
- # @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
357
358
  # @option opts [Integer] :timer_support Injects the X-Timer info into the request for viewing origin fetch durations.
358
- # @option opts [String] :xff Short for X-Forwarded-For.
359
359
  # @return [Array<(RequestSettingsResponse, Integer, Hash)>] RequestSettingsResponse data, response status code and response headers
360
360
  def update_request_settings_with_http_info(opts = {})
361
361
  if @api_client.config.debugging
@@ -404,17 +404,17 @@ module Fastly
404
404
  # form parameters
405
405
  form_params = opts[:form_params] || {}
406
406
  form_params['action'] = opts[:'action'] if !opts[:'action'].nil?
407
- form_params['bypass_busy_wait'] = opts[:'bypass_busy_wait'] if !opts[:'bypass_busy_wait'].nil?
408
407
  form_params['default_host'] = opts[:'default_host'] if !opts[:'default_host'].nil?
408
+ form_params['hash_keys'] = opts[:'hash_keys'] if !opts[:'hash_keys'].nil?
409
+ form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
410
+ form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
411
+ form_params['xff'] = opts[:'xff'] if !opts[:'xff'].nil?
412
+ form_params['bypass_busy_wait'] = opts[:'bypass_busy_wait'] if !opts[:'bypass_busy_wait'].nil?
409
413
  form_params['force_miss'] = opts[:'force_miss'] if !opts[:'force_miss'].nil?
410
414
  form_params['force_ssl'] = opts[:'force_ssl'] if !opts[:'force_ssl'].nil?
411
415
  form_params['geo_headers'] = opts[:'geo_headers'] if !opts[:'geo_headers'].nil?
412
- form_params['hash_keys'] = opts[:'hash_keys'] if !opts[:'hash_keys'].nil?
413
416
  form_params['max_stale_age'] = opts[:'max_stale_age'] if !opts[:'max_stale_age'].nil?
414
- form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
415
- form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
416
417
  form_params['timer_support'] = opts[:'timer_support'] if !opts[:'timer_support'].nil?
417
- form_params['xff'] = opts[:'xff'] if !opts[:'xff'].nil?
418
418
 
419
419
  # http body (model)
420
420
  post_body = opts[:debug_body]
@@ -72,8 +72,8 @@ module Fastly
72
72
  :'action' => :'String',
73
73
  :'cache_condition' => :'String',
74
74
  :'name' => :'String',
75
- :'stale_ttl' => :'Integer',
76
- :'ttl' => :'Integer'
75
+ :'stale_ttl' => :'String',
76
+ :'ttl' => :'String'
77
77
  }
78
78
  end
79
79
 
@@ -90,10 +90,10 @@ module Fastly
90
90
  :'action' => :'String',
91
91
  :'cache_condition' => :'String',
92
92
  :'name' => :'String',
93
- :'stale_ttl' => :'Integer',
94
- :'ttl' => :'Integer',
93
+ :'stale_ttl' => :'String',
94
+ :'ttl' => :'String',
95
95
  :'service_id' => :'String',
96
- :'version' => :'Integer',
96
+ :'version' => :'String',
97
97
  :'created_at' => :'Time',
98
98
  :'deleted_at' => :'Time',
99
99
  :'updated_at' => :'Time'
@@ -115,7 +115,7 @@ module Fastly
115
115
  def self.fastly_all_of
116
116
  [
117
117
  :'CacheSetting',
118
- :'ServiceIdAndVersion',
118
+ :'ServiceIdAndVersionString',
119
119
  :'Timestamps'
120
120
  ]
121
121
  end
@@ -66,7 +66,7 @@ module Fastly
66
66
  :'extensions' => :'String',
67
67
  :'name' => :'String',
68
68
  :'service_id' => :'String',
69
- :'version' => :'Integer',
69
+ :'version' => :'String',
70
70
  :'created_at' => :'Time',
71
71
  :'deleted_at' => :'Time',
72
72
  :'updated_at' => :'Time'
@@ -89,7 +89,7 @@ module Fastly
89
89
  def self.fastly_all_of
90
90
  [
91
91
  :'Gzip',
92
- :'ServiceIdAndVersion',
92
+ :'ServiceIdAndVersionString',
93
93
  :'Timestamps'
94
94
  ]
95
95
  end
@@ -22,15 +22,9 @@ module Fastly
22
22
  # Header to set.
23
23
  attr_accessor :dst
24
24
 
25
- # Don't add the header if it is added already. Only applies to 'set' action.
26
- attr_accessor :ignore_if_set
27
-
28
25
  # A handle to refer to this Header object.
29
26
  attr_accessor :name
30
27
 
31
- # Priority determines execution order. Lower numbers execute first.
32
- attr_accessor :priority
33
-
34
28
  # Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
35
29
  attr_accessor :regex
36
30
 
@@ -77,9 +71,7 @@ module Fastly
77
71
  :'action' => :'action',
78
72
  :'cache_condition' => :'cache_condition',
79
73
  :'dst' => :'dst',
80
- :'ignore_if_set' => :'ignore_if_set',
81
74
  :'name' => :'name',
82
- :'priority' => :'priority',
83
75
  :'regex' => :'regex',
84
76
  :'request_condition' => :'request_condition',
85
77
  :'response_condition' => :'response_condition',
@@ -100,9 +92,7 @@ module Fastly
100
92
  :'action' => :'String',
101
93
  :'cache_condition' => :'String',
102
94
  :'dst' => :'String',
103
- :'ignore_if_set' => :'Integer',
104
95
  :'name' => :'String',
105
- :'priority' => :'Integer',
106
96
  :'regex' => :'String',
107
97
  :'request_condition' => :'String',
108
98
  :'response_condition' => :'String',
@@ -151,20 +141,10 @@ module Fastly
151
141
  self.dst = attributes[:'dst']
152
142
  end
153
143
 
154
- if attributes.key?(:'ignore_if_set')
155
- self.ignore_if_set = attributes[:'ignore_if_set']
156
- end
157
-
158
144
  if attributes.key?(:'name')
159
145
  self.name = attributes[:'name']
160
146
  end
161
147
 
162
- if attributes.key?(:'priority')
163
- self.priority = attributes[:'priority']
164
- else
165
- self.priority = 100
166
- end
167
-
168
148
  if attributes.key?(:'regex')
169
149
  self.regex = attributes[:'regex']
170
150
  end
@@ -235,9 +215,7 @@ module Fastly
235
215
  action == o.action &&
236
216
  cache_condition == o.cache_condition &&
237
217
  dst == o.dst &&
238
- ignore_if_set == o.ignore_if_set &&
239
218
  name == o.name &&
240
- priority == o.priority &&
241
219
  regex == o.regex &&
242
220
  request_condition == o.request_condition &&
243
221
  response_condition == o.response_condition &&
@@ -255,7 +233,7 @@ module Fastly
255
233
  # Calculates hash code according to all attributes.
256
234
  # @return [Integer] Hash code
257
235
  def hash
258
- [action, cache_condition, dst, ignore_if_set, name, priority, regex, request_condition, response_condition, src, substitution, type].hash
236
+ [action, cache_condition, dst, name, regex, request_condition, response_condition, src, substitution, type].hash
259
237
  end
260
238
 
261
239
  # Builds the object from hash
@@ -22,15 +22,9 @@ module Fastly
22
22
  # Header to set.
23
23
  attr_accessor :dst
24
24
 
25
- # Don't add the header if it is added already. Only applies to 'set' action.
26
- attr_accessor :ignore_if_set
27
-
28
25
  # A handle to refer to this Header object.
29
26
  attr_accessor :name
30
27
 
31
- # Priority determines execution order. Lower numbers execute first.
32
- attr_accessor :priority
33
-
34
28
  # Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
35
29
  attr_accessor :regex
36
30
 
@@ -49,6 +43,12 @@ module Fastly
49
43
  # Accepts a string value.
50
44
  attr_accessor :type
51
45
 
46
+ # Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true)
47
+ attr_accessor :ignore_if_set
48
+
49
+ # Priority determines execution order. Lower numbers execute first.
50
+ attr_accessor :priority
51
+
52
52
  attr_accessor :service_id
53
53
 
54
54
  attr_accessor :version
@@ -90,15 +90,15 @@ module Fastly
90
90
  :'action' => :'action',
91
91
  :'cache_condition' => :'cache_condition',
92
92
  :'dst' => :'dst',
93
- :'ignore_if_set' => :'ignore_if_set',
94
93
  :'name' => :'name',
95
- :'priority' => :'priority',
96
94
  :'regex' => :'regex',
97
95
  :'request_condition' => :'request_condition',
98
96
  :'response_condition' => :'response_condition',
99
97
  :'src' => :'src',
100
98
  :'substitution' => :'substitution',
101
99
  :'type' => :'type',
100
+ :'ignore_if_set' => :'ignore_if_set',
101
+ :'priority' => :'priority',
102
102
  :'service_id' => :'service_id',
103
103
  :'version' => :'version',
104
104
  :'created_at' => :'created_at',
@@ -118,17 +118,17 @@ module Fastly
118
118
  :'action' => :'String',
119
119
  :'cache_condition' => :'String',
120
120
  :'dst' => :'String',
121
- :'ignore_if_set' => :'Integer',
122
121
  :'name' => :'String',
123
- :'priority' => :'Integer',
124
122
  :'regex' => :'String',
125
123
  :'request_condition' => :'String',
126
124
  :'response_condition' => :'String',
127
125
  :'src' => :'String',
128
126
  :'substitution' => :'String',
129
127
  :'type' => :'String',
128
+ :'ignore_if_set' => :'String',
129
+ :'priority' => :'String',
130
130
  :'service_id' => :'String',
131
- :'version' => :'Integer',
131
+ :'version' => :'String',
132
132
  :'created_at' => :'Time',
133
133
  :'deleted_at' => :'Time',
134
134
  :'updated_at' => :'Time'
@@ -154,7 +154,8 @@ module Fastly
154
154
  def self.fastly_all_of
155
155
  [
156
156
  :'Header',
157
- :'ServiceIdAndVersion',
157
+ :'HeaderResponseAdditional',
158
+ :'ServiceIdAndVersionString',
158
159
  :'Timestamps'
159
160
  ]
160
161
  end
@@ -186,20 +187,10 @@ module Fastly
186
187
  self.dst = attributes[:'dst']
187
188
  end
188
189
 
189
- if attributes.key?(:'ignore_if_set')
190
- self.ignore_if_set = attributes[:'ignore_if_set']
191
- end
192
-
193
190
  if attributes.key?(:'name')
194
191
  self.name = attributes[:'name']
195
192
  end
196
193
 
197
- if attributes.key?(:'priority')
198
- self.priority = attributes[:'priority']
199
- else
200
- self.priority = 100
201
- end
202
-
203
194
  if attributes.key?(:'regex')
204
195
  self.regex = attributes[:'regex']
205
196
  end
@@ -224,6 +215,16 @@ module Fastly
224
215
  self.type = attributes[:'type']
225
216
  end
226
217
 
218
+ if attributes.key?(:'ignore_if_set')
219
+ self.ignore_if_set = attributes[:'ignore_if_set']
220
+ end
221
+
222
+ if attributes.key?(:'priority')
223
+ self.priority = attributes[:'priority']
224
+ else
225
+ self.priority = '100'
226
+ end
227
+
227
228
  if attributes.key?(:'service_id')
228
229
  self.service_id = attributes[:'service_id']
229
230
  end
@@ -290,15 +291,15 @@ module Fastly
290
291
  action == o.action &&
291
292
  cache_condition == o.cache_condition &&
292
293
  dst == o.dst &&
293
- ignore_if_set == o.ignore_if_set &&
294
294
  name == o.name &&
295
- priority == o.priority &&
296
295
  regex == o.regex &&
297
296
  request_condition == o.request_condition &&
298
297
  response_condition == o.response_condition &&
299
298
  src == o.src &&
300
299
  substitution == o.substitution &&
301
300
  type == o.type &&
301
+ ignore_if_set == o.ignore_if_set &&
302
+ priority == o.priority &&
302
303
  service_id == o.service_id &&
303
304
  version == o.version &&
304
305
  created_at == o.created_at &&
@@ -315,7 +316,7 @@ module Fastly
315
316
  # Calculates hash code according to all attributes.
316
317
  # @return [Integer] Hash code
317
318
  def hash
318
- [action, cache_condition, dst, ignore_if_set, name, priority, regex, request_condition, response_condition, src, substitution, type, service_id, version, created_at, deleted_at, updated_at].hash
319
+ [action, cache_condition, dst, name, regex, request_condition, response_condition, src, substitution, type, ignore_if_set, priority, service_id, version, created_at, deleted_at, updated_at].hash
319
320
  end
320
321
 
321
322
  # Builds the object from hash