fastly 3.0.1 → 4.0.0.alpha3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1334) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile +3 -11
  4. data/Gemfile.lock +55 -0
  5. data/LICENSE +14 -13
  6. data/README.md +458 -216
  7. data/RELEASE.md +1 -1
  8. data/Rakefile +1 -52
  9. data/SECURITY.md +9 -0
  10. data/docs/Acl.md +10 -0
  11. data/docs/AclApi.md +224 -0
  12. data/docs/AclEntry.md +13 -0
  13. data/docs/AclEntryApi.md +98 -0
  14. data/docs/AclEntryResponse.md +19 -0
  15. data/docs/AclEntryResponseAllOf.md +12 -0
  16. data/docs/AclResponse.md +16 -0
  17. data/docs/AclResponseAllOf.md +10 -0
  18. data/docs/ApexRedirect.md +17 -0
  19. data/docs/ApexRedirectAllOf.md +12 -0
  20. data/docs/ApexRedirectApi.md +184 -0
  21. data/docs/Backend.md +38 -0
  22. data/docs/BackendApi.md +336 -0
  23. data/docs/BackendResponse.md +44 -0
  24. data/docs/BackendResponseAllOf.md +10 -0
  25. data/docs/Billing.md +16 -0
  26. data/docs/BillingAddressApi.md +169 -0
  27. data/docs/BillingAddressAttributes.md +17 -0
  28. data/docs/BillingAddressRequest.md +10 -0
  29. data/docs/BillingAddressRequestData.md +11 -0
  30. data/docs/BillingAddressResponse.md +10 -0
  31. data/docs/BillingAddressResponseData.md +13 -0
  32. data/docs/BillingApi.md +136 -0
  33. data/docs/BillingEstimateResponse.md +17 -0
  34. data/docs/BillingEstimateResponseAllOf.md +10 -0
  35. data/docs/BillingEstimateResponseAllOfLine.md +18 -0
  36. data/docs/BillingEstimateResponseAllOfLines.md +10 -0
  37. data/docs/BillingResponse.md +17 -0
  38. data/docs/BillingResponseAllOf.md +10 -0
  39. data/docs/BillingResponseLineItem.md +29 -0
  40. data/docs/BillingResponseLineItemAllOf.md +26 -0
  41. data/docs/BillingStatus.md +11 -0
  42. data/docs/BillingTotal.md +25 -0
  43. data/docs/BillingTotalExtras.md +12 -0
  44. data/docs/BulkUpdateAclEntriesRequest.md +10 -0
  45. data/docs/BulkUpdateAclEntry.md +15 -0
  46. data/docs/BulkUpdateAclEntryAllOf.md +11 -0
  47. data/docs/BulkUpdateDictionaryItem.md +12 -0
  48. data/docs/BulkUpdateDictionaryItemAllOf.md +10 -0
  49. data/docs/BulkUpdateDictionaryListRequest.md +10 -0
  50. data/docs/BulkWafActiveRules.md +10 -0
  51. data/docs/CacheSetting.md +14 -0
  52. data/docs/CacheSettingResponse.md +19 -0
  53. data/docs/CacheSettingsApi.md +240 -0
  54. data/docs/Condition.md +16 -0
  55. data/docs/ConditionApi.md +248 -0
  56. data/docs/ConditionResponse.md +19 -0
  57. data/docs/Contact.md +15 -0
  58. data/docs/ContactApi.md +92 -0
  59. data/docs/ContactResponse.md +19 -0
  60. data/docs/ContactResponseAllOf.md +10 -0
  61. data/docs/Content.md +15 -0
  62. data/docs/Customer.md +33 -0
  63. data/docs/CustomerApi.md +247 -0
  64. data/docs/CustomerResponse.md +37 -0
  65. data/docs/CustomerResponseAllOf.md +10 -0
  66. data/docs/Dictionary.md +11 -0
  67. data/docs/DictionaryApi.md +228 -0
  68. data/docs/DictionaryInfoApi.md +56 -0
  69. data/docs/DictionaryInfoResponse.md +12 -0
  70. data/docs/DictionaryItem.md +11 -0
  71. data/docs/DictionaryItemApi.md +282 -0
  72. data/docs/DictionaryItemResponse.md +16 -0
  73. data/docs/DictionaryItemResponseAllOf.md +11 -0
  74. data/docs/DictionaryResponse.md +17 -0
  75. data/docs/DictionaryResponseAllOf.md +10 -0
  76. data/docs/DiffApi.md +58 -0
  77. data/docs/DiffResponse.md +13 -0
  78. data/docs/Director.md +17 -0
  79. data/docs/DirectorApi.md +194 -0
  80. data/docs/DirectorBackend.md +16 -0
  81. data/docs/DirectorBackendAllOf.md +11 -0
  82. data/docs/DirectorBackendApi.md +146 -0
  83. data/docs/DirectorResponse.md +22 -0
  84. data/docs/DocsApi.md +123 -0
  85. data/docs/Domain.md +11 -0
  86. data/docs/DomainApi.md +310 -0
  87. data/docs/DomainCheckItem.md +11 -0
  88. data/docs/DomainOwnershipsApi.md +47 -0
  89. data/docs/DomainResponse.md +16 -0
  90. data/docs/Event.md +12 -0
  91. data/docs/EventAttributes.md +18 -0
  92. data/docs/EventResponse.md +10 -0
  93. data/docs/EventsApi.md +102 -0
  94. data/docs/EventsResponse.md +12 -0
  95. data/docs/EventsResponseAllOf.md +10 -0
  96. data/docs/GenericTokenError.md +10 -0
  97. data/docs/Gzip.md +13 -0
  98. data/docs/GzipApi.md +236 -0
  99. data/docs/GzipResponse.md +18 -0
  100. data/docs/Header.md +21 -0
  101. data/docs/HeaderApi.md +268 -0
  102. data/docs/HeaderResponse.md +26 -0
  103. data/docs/Healthcheck.md +21 -0
  104. data/docs/HealthcheckApi.md +268 -0
  105. data/docs/HealthcheckResponse.md +26 -0
  106. data/docs/Historical.md +12 -0
  107. data/docs/HistoricalAggregateResponse.md +13 -0
  108. data/docs/HistoricalAggregateResponseAllOf.md +10 -0
  109. data/docs/HistoricalApi.md +397 -0
  110. data/docs/HistoricalFieldAggregateResponse.md +13 -0
  111. data/docs/HistoricalFieldAggregateResponseAllOf.md +10 -0
  112. data/docs/HistoricalFieldResponse.md +13 -0
  113. data/docs/HistoricalFieldResponseAllOf.md +10 -0
  114. data/docs/HistoricalMeta.md +13 -0
  115. data/docs/HistoricalRegionsResponse.md +13 -0
  116. data/docs/HistoricalRegionsResponseAllOf.md +10 -0
  117. data/docs/HistoricalResponse.md +13 -0
  118. data/docs/HistoricalResponseAllOf.md +10 -0
  119. data/docs/HistoricalUsageAggregateResponse.md +13 -0
  120. data/docs/HistoricalUsageMonthResponse.md +13 -0
  121. data/docs/HistoricalUsageMonthResponseAllOf.md +10 -0
  122. data/docs/HistoricalUsageMonthResponseAllOfData.md +12 -0
  123. data/docs/HistoricalUsageResults.md +12 -0
  124. data/docs/HistoricalUsageServiceResponse.md +13 -0
  125. data/docs/HistoricalUsageServiceResponseAllOf.md +10 -0
  126. data/docs/Http3.md +15 -0
  127. data/docs/Http3AllOf.md +10 -0
  128. data/docs/Http3Api.md +146 -0
  129. data/docs/IamPermission.md +16 -0
  130. data/docs/IamPermissionsApi.md +47 -0
  131. data/docs/IamRole.md +17 -0
  132. data/docs/IamRoleAllOf.md +15 -0
  133. data/docs/IamRolesApi.md +167 -0
  134. data/docs/IamServiceGroup.md +16 -0
  135. data/docs/IamServiceGroupAllOf.md +14 -0
  136. data/docs/IamServiceGroupsApi.md +171 -0
  137. data/docs/IamUserGroup.md +17 -0
  138. data/docs/IamUserGroupAllOf.md +15 -0
  139. data/docs/IamUserGroupsApi.md +255 -0
  140. data/docs/IncludedWithWafActiveRuleItem.md +13 -0
  141. data/docs/IncludedWithWafExclusionItem.md +12 -0
  142. data/docs/IncludedWithWafFirewallVersionItem.md +10 -0
  143. data/docs/IncludedWithWafRuleItem.md +12 -0
  144. data/docs/InlineResponse200.md +10 -0
  145. data/docs/InlineResponse2001.md +10 -0
  146. data/docs/Invitation.md +10 -0
  147. data/docs/InvitationData.md +12 -0
  148. data/docs/InvitationDataAttributes.md +13 -0
  149. data/docs/InvitationResponse.md +10 -0
  150. data/docs/InvitationResponseAllOf.md +10 -0
  151. data/docs/InvitationResponseData.md +13 -0
  152. data/docs/InvitationResponseDataAllOf.md +12 -0
  153. data/docs/InvitationsApi.md +129 -0
  154. data/docs/InvitationsResponse.md +12 -0
  155. data/docs/InvitationsResponseAllOf.md +10 -0
  156. data/docs/LoggingAddressAndPort.md +11 -0
  157. data/docs/LoggingAzureblob.md +25 -0
  158. data/docs/LoggingAzureblobAllOf.md +15 -0
  159. data/docs/LoggingAzureblobApi.md +284 -0
  160. data/docs/LoggingAzureblobResponse.md +30 -0
  161. data/docs/LoggingBigquery.md +20 -0
  162. data/docs/LoggingBigqueryAllOf.md +15 -0
  163. data/docs/LoggingBigqueryApi.md +264 -0
  164. data/docs/LoggingBigqueryResponse.md +25 -0
  165. data/docs/LoggingCloudfiles.md +25 -0
  166. data/docs/LoggingCloudfilesAllOf.md +15 -0
  167. data/docs/LoggingCloudfilesApi.md +284 -0
  168. data/docs/LoggingCloudfilesResponse.md +30 -0
  169. data/docs/LoggingCommon.md +14 -0
  170. data/docs/LoggingDatadog.md +16 -0
  171. data/docs/LoggingDatadogAllOf.md +12 -0
  172. data/docs/LoggingDatadogApi.md +248 -0
  173. data/docs/LoggingDatadogResponse.md +21 -0
  174. data/docs/LoggingDigitalocean.md +25 -0
  175. data/docs/LoggingDigitaloceanAllOf.md +15 -0
  176. data/docs/LoggingDigitaloceanApi.md +284 -0
  177. data/docs/LoggingDigitaloceanResponse.md +30 -0
  178. data/docs/LoggingElasticsearch.md +25 -0
  179. data/docs/LoggingElasticsearchAllOf.md +15 -0
  180. data/docs/LoggingElasticsearchApi.md +284 -0
  181. data/docs/LoggingElasticsearchResponse.md +30 -0
  182. data/docs/LoggingFormatVersion.md +9 -0
  183. data/docs/LoggingFtp.md +27 -0
  184. data/docs/LoggingFtpAllOf.md +17 -0
  185. data/docs/LoggingFtpApi.md +292 -0
  186. data/docs/LoggingFtpResponse.md +32 -0
  187. data/docs/LoggingGcs.md +24 -0
  188. data/docs/LoggingGcsAllOf.md +12 -0
  189. data/docs/LoggingGcsApi.md +280 -0
  190. data/docs/LoggingGcsCommon.md +11 -0
  191. data/docs/LoggingGcsResponse.md +29 -0
  192. data/docs/LoggingGenericCommon.md +14 -0
  193. data/docs/LoggingGooglePubsub.md +18 -0
  194. data/docs/LoggingGooglePubsubAllOf.md +12 -0
  195. data/docs/LoggingGooglePubsubResponse.md +23 -0
  196. data/docs/LoggingHeroku.md +16 -0
  197. data/docs/LoggingHerokuAllOf.md +11 -0
  198. data/docs/LoggingHerokuApi.md +248 -0
  199. data/docs/LoggingHerokuResponse.md +21 -0
  200. data/docs/LoggingHoneycomb.md +16 -0
  201. data/docs/LoggingHoneycombAllOf.md +12 -0
  202. data/docs/LoggingHoneycombApi.md +248 -0
  203. data/docs/LoggingHoneycombResponse.md +21 -0
  204. data/docs/LoggingHttps.md +27 -0
  205. data/docs/LoggingHttpsAllOf.md +19 -0
  206. data/docs/LoggingHttpsApi.md +292 -0
  207. data/docs/LoggingHttpsResponse.md +32 -0
  208. data/docs/LoggingKafka.md +28 -0
  209. data/docs/LoggingKafkaAllOf.md +19 -0
  210. data/docs/LoggingKafkaApi.md +216 -0
  211. data/docs/LoggingKafkaResponse.md +33 -0
  212. data/docs/LoggingKinesis.md +18 -0
  213. data/docs/LoggingKinesisApi.md +196 -0
  214. data/docs/LoggingKinesisResponse.md +23 -0
  215. data/docs/LoggingLogentries.md +18 -0
  216. data/docs/LoggingLogentriesAllOf.md +13 -0
  217. data/docs/LoggingLogentriesApi.md +256 -0
  218. data/docs/LoggingLogentriesResponse.md +23 -0
  219. data/docs/LoggingLoggly.md +15 -0
  220. data/docs/LoggingLogglyAllOf.md +10 -0
  221. data/docs/LoggingLogglyApi.md +244 -0
  222. data/docs/LoggingLogglyResponse.md +20 -0
  223. data/docs/LoggingLogshuttle.md +16 -0
  224. data/docs/LoggingLogshuttleAllOf.md +11 -0
  225. data/docs/LoggingLogshuttleApi.md +248 -0
  226. data/docs/LoggingLogshuttleResponse.md +21 -0
  227. data/docs/LoggingMessageType.md +9 -0
  228. data/docs/LoggingNewrelic.md +16 -0
  229. data/docs/LoggingNewrelicAllOf.md +12 -0
  230. data/docs/LoggingNewrelicApi.md +248 -0
  231. data/docs/LoggingNewrelicResponse.md +21 -0
  232. data/docs/LoggingOpenstack.md +25 -0
  233. data/docs/LoggingOpenstackAllOf.md +15 -0
  234. data/docs/LoggingOpenstackApi.md +284 -0
  235. data/docs/LoggingOpenstackResponse.md +30 -0
  236. data/docs/LoggingPapertrail.md +16 -0
  237. data/docs/LoggingPapertrailApi.md +248 -0
  238. data/docs/LoggingPapertrailResponse.md +21 -0
  239. data/docs/LoggingPlacement.md +9 -0
  240. data/docs/LoggingPubsubApi.md +256 -0
  241. data/docs/LoggingRequestCapsCommon.md +11 -0
  242. data/docs/LoggingS3.md +30 -0
  243. data/docs/LoggingS3AllOf.md +20 -0
  244. data/docs/LoggingS3Api.md +304 -0
  245. data/docs/LoggingS3Response.md +35 -0
  246. data/docs/LoggingScalyr.md +17 -0
  247. data/docs/LoggingScalyrAllOf.md +12 -0
  248. data/docs/LoggingScalyrApi.md +252 -0
  249. data/docs/LoggingScalyrResponse.md +22 -0
  250. data/docs/LoggingSftp.md +27 -0
  251. data/docs/LoggingSftpAllOf.md +16 -0
  252. data/docs/LoggingSftpApi.md +292 -0
  253. data/docs/LoggingSftpResponse.md +32 -0
  254. data/docs/LoggingSplunk.md +23 -0
  255. data/docs/LoggingSplunkAllOf.md +12 -0
  256. data/docs/LoggingSplunkApi.md +276 -0
  257. data/docs/LoggingSplunkResponse.md +28 -0
  258. data/docs/LoggingSumologic.md +16 -0
  259. data/docs/LoggingSumologicAllOf.md +11 -0
  260. data/docs/LoggingSumologicApi.md +248 -0
  261. data/docs/LoggingSumologicResponse.md +21 -0
  262. data/docs/LoggingSyslog.md +25 -0
  263. data/docs/LoggingSyslogAllOf.md +14 -0
  264. data/docs/LoggingSyslogApi.md +284 -0
  265. data/docs/LoggingSyslogResponse.md +30 -0
  266. data/docs/LoggingTlsCommon.md +13 -0
  267. data/docs/LoggingUseTls.md +9 -0
  268. data/docs/Package.md +10 -0
  269. data/docs/PackageApi.md +98 -0
  270. data/docs/PackageMetadata.md +15 -0
  271. data/docs/PackageResponse.md +16 -0
  272. data/docs/PackageResponseAllOf.md +10 -0
  273. data/docs/Pagination.md +11 -0
  274. data/docs/PaginationLinks.md +13 -0
  275. data/docs/PaginationMeta.md +13 -0
  276. data/docs/Permission.md +9 -0
  277. data/docs/Pool.md +30 -0
  278. data/docs/PoolAllOf.md +25 -0
  279. data/docs/PoolApi.md +304 -0
  280. data/docs/PoolResponse.md +36 -0
  281. data/docs/PoolResponseAllOf.md +10 -0
  282. data/docs/Pop.md +14 -0
  283. data/docs/PopApi.md +47 -0
  284. data/docs/PopCoordinates.md +13 -0
  285. data/docs/PublicIpList.md +11 -0
  286. data/docs/PublicIpListApi.md +47 -0
  287. data/docs/PurgeApi.md +178 -0
  288. data/docs/PurgeKeys.md +10 -0
  289. data/docs/PurgeResponse.md +11 -0
  290. data/docs/RateLimiter.md +21 -0
  291. data/docs/RateLimiterApi.md +130 -0
  292. data/docs/RateLimiterResponse.md +27 -0
  293. data/docs/RateLimiterResponse1.md +12 -0
  294. data/docs/RateLimiterResponseAllOf.md +10 -0
  295. data/docs/Realtime.md +12 -0
  296. data/docs/RealtimeApi.md +132 -0
  297. data/docs/RealtimeEntry.md +12 -0
  298. data/docs/RealtimeMeasurements.md +195 -0
  299. data/docs/RelationshipCommonName.md +10 -0
  300. data/docs/RelationshipCustomer.md +10 -0
  301. data/docs/RelationshipCustomerCustomer.md +10 -0
  302. data/docs/RelationshipMemberCustomer.md +11 -0
  303. data/docs/RelationshipMemberService.md +11 -0
  304. data/docs/RelationshipMemberServiceInvitation.md +11 -0
  305. data/docs/RelationshipMemberTlsActivation.md +11 -0
  306. data/docs/RelationshipMemberTlsBulkCertificate.md +11 -0
  307. data/docs/RelationshipMemberTlsCertificate.md +11 -0
  308. data/docs/RelationshipMemberTlsConfiguration.md +11 -0
  309. data/docs/RelationshipMemberTlsDnsRecord.md +11 -0
  310. data/docs/RelationshipMemberTlsDomain.md +11 -0
  311. data/docs/RelationshipMemberTlsPrivateKey.md +11 -0
  312. data/docs/RelationshipMemberTlsSubscription.md +11 -0
  313. data/docs/RelationshipMemberWafActiveRule.md +11 -0
  314. data/docs/RelationshipMemberWafFirewall.md +11 -0
  315. data/docs/RelationshipMemberWafFirewallVersion.md +11 -0
  316. data/docs/RelationshipMemberWafRule.md +11 -0
  317. data/docs/RelationshipMemberWafRuleRevision.md +11 -0
  318. data/docs/RelationshipMemberWafTag.md +11 -0
  319. data/docs/RelationshipService.md +10 -0
  320. data/docs/RelationshipServiceInvitations.md +10 -0
  321. data/docs/RelationshipServiceInvitationsCreate.md +10 -0
  322. data/docs/RelationshipServiceInvitationsCreateServiceInvitations.md +10 -0
  323. data/docs/RelationshipServiceInvitationsServiceInvitations.md +10 -0
  324. data/docs/RelationshipServiceService.md +10 -0
  325. data/docs/RelationshipServices.md +10 -0
  326. data/docs/RelationshipTlsActivation.md +10 -0
  327. data/docs/RelationshipTlsActivationTlsActivation.md +10 -0
  328. data/docs/RelationshipTlsActivations.md +10 -0
  329. data/docs/RelationshipTlsBulkCertificate.md +10 -0
  330. data/docs/RelationshipTlsBulkCertificateTlsBulkCertificate.md +10 -0
  331. data/docs/RelationshipTlsBulkCertificates.md +10 -0
  332. data/docs/RelationshipTlsCertificate.md +10 -0
  333. data/docs/RelationshipTlsCertificateTlsCertificate.md +10 -0
  334. data/docs/RelationshipTlsCertificates.md +10 -0
  335. data/docs/RelationshipTlsConfiguration.md +10 -0
  336. data/docs/RelationshipTlsConfigurationTlsConfiguration.md +10 -0
  337. data/docs/RelationshipTlsConfigurations.md +10 -0
  338. data/docs/RelationshipTlsDnsRecord.md +10 -0
  339. data/docs/RelationshipTlsDnsRecordDnsRecord.md +10 -0
  340. data/docs/RelationshipTlsDnsRecords.md +10 -0
  341. data/docs/RelationshipTlsDomain.md +10 -0
  342. data/docs/RelationshipTlsDomainTlsDomain.md +10 -0
  343. data/docs/RelationshipTlsDomains.md +10 -0
  344. data/docs/RelationshipTlsPrivateKey.md +10 -0
  345. data/docs/RelationshipTlsPrivateKeyTlsPrivateKey.md +10 -0
  346. data/docs/RelationshipTlsPrivateKeys.md +10 -0
  347. data/docs/RelationshipTlsSubscription.md +10 -0
  348. data/docs/RelationshipTlsSubscriptionTlsSubscription.md +10 -0
  349. data/docs/RelationshipTlsSubscriptions.md +10 -0
  350. data/docs/RelationshipUser.md +10 -0
  351. data/docs/RelationshipUserUser.md +10 -0
  352. data/docs/RelationshipUserUserData.md +11 -0
  353. data/docs/RelationshipWafActiveRules.md +10 -0
  354. data/docs/RelationshipWafActiveRulesWafActiveRules.md +10 -0
  355. data/docs/RelationshipWafFirewall.md +10 -0
  356. data/docs/RelationshipWafFirewallVersion.md +10 -0
  357. data/docs/RelationshipWafFirewallVersionWafFirewallVersion.md +10 -0
  358. data/docs/RelationshipWafFirewallVersions.md +10 -0
  359. data/docs/RelationshipWafFirewallWafFirewall.md +10 -0
  360. data/docs/RelationshipWafRule.md +10 -0
  361. data/docs/RelationshipWafRuleRevision.md +10 -0
  362. data/docs/RelationshipWafRuleRevisionWafRuleRevisions.md +10 -0
  363. data/docs/RelationshipWafRuleRevisions.md +10 -0
  364. data/docs/RelationshipWafRuleWafRule.md +10 -0
  365. data/docs/RelationshipWafRules.md +10 -0
  366. data/docs/RelationshipWafTags.md +10 -0
  367. data/docs/RelationshipWafTagsWafTags.md +10 -0
  368. data/docs/RelationshipsForInvitation.md +11 -0
  369. data/docs/RelationshipsForStar.md +11 -0
  370. data/docs/RelationshipsForTlsActivation.md +10 -0
  371. data/docs/RelationshipsForTlsBulkCertificate.md +11 -0
  372. data/docs/RelationshipsForTlsConfiguration.md +10 -0
  373. data/docs/RelationshipsForTlsDomain.md +11 -0
  374. data/docs/RelationshipsForTlsPrivateKey.md +11 -0
  375. data/docs/RelationshipsForTlsSubscription.md +12 -0
  376. data/docs/RelationshipsForWafActiveRule.md +11 -0
  377. data/docs/RelationshipsForWafExclusion.md +11 -0
  378. data/docs/RelationshipsForWafFirewallVersion.md +11 -0
  379. data/docs/RelationshipsForWafRule.md +11 -0
  380. data/docs/RequestSettings.md +21 -0
  381. data/docs/RequestSettingsApi.md +204 -0
  382. data/docs/RequestSettingsResponse.md +26 -0
  383. data/docs/Resource.md +10 -0
  384. data/docs/ResourceApi.md +226 -0
  385. data/docs/ResourceCreate.md +11 -0
  386. data/docs/ResourceCreateAllOf.md +10 -0
  387. data/docs/ResourceResponse.md +19 -0
  388. data/docs/ResourceResponseAllOf.md +14 -0
  389. data/docs/ResponseObject.md +16 -0
  390. data/docs/ResponseObjectApi.md +138 -0
  391. data/docs/ResponseObjectResponse.md +21 -0
  392. data/docs/Results.md +193 -0
  393. data/docs/RoleUser.md +9 -0
  394. data/docs/SchemasContactResponse.md +19 -0
  395. data/docs/SchemasSnippetResponse.md +20 -0
  396. data/docs/SchemasUserResponse.md +23 -0
  397. data/docs/SchemasVclResponse.md +17 -0
  398. data/docs/SchemasVersion.md +16 -0
  399. data/docs/SchemasVersionResponse.md +20 -0
  400. data/docs/SchemasWafFirewallVersion.md +10 -0
  401. data/docs/SchemasWafFirewallVersionData.md +11 -0
  402. data/docs/Server.md +16 -0
  403. data/docs/ServerApi.md +248 -0
  404. data/docs/ServerResponse.md +22 -0
  405. data/docs/ServerResponseAllOf.md +12 -0
  406. data/docs/Service.md +12 -0
  407. data/docs/ServiceApi.md +338 -0
  408. data/docs/ServiceAuthorization.md +10 -0
  409. data/docs/ServiceAuthorizationData.md +12 -0
  410. data/docs/ServiceAuthorizationDataAttributes.md +10 -0
  411. data/docs/ServiceAuthorizationResponse.md +10 -0
  412. data/docs/ServiceAuthorizationResponseData.md +13 -0
  413. data/docs/ServiceAuthorizationResponseDataAllOf.md +11 -0
  414. data/docs/ServiceAuthorizationsApi.md +207 -0
  415. data/docs/ServiceAuthorizationsResponse.md +12 -0
  416. data/docs/ServiceAuthorizationsResponseAllOf.md +10 -0
  417. data/docs/ServiceCreate.md +13 -0
  418. data/docs/ServiceCreateAllOf.md +10 -0
  419. data/docs/ServiceDetail.md +22 -0
  420. data/docs/ServiceDetailAllOf.md +11 -0
  421. data/docs/ServiceIdAndVersion.md +11 -0
  422. data/docs/ServiceInvitation.md +10 -0
  423. data/docs/ServiceInvitationData.md +12 -0
  424. data/docs/ServiceInvitationDataAttributes.md +10 -0
  425. data/docs/ServiceInvitationResponse.md +10 -0
  426. data/docs/ServiceInvitationResponseAllOf.md +10 -0
  427. data/docs/ServiceInvitationResponseAllOfData.md +11 -0
  428. data/docs/ServiceListResponse.md +19 -0
  429. data/docs/ServiceListResponseAllOf.md +12 -0
  430. data/docs/ServiceResponse.md +20 -0
  431. data/docs/ServiceResponseAllOf.md +13 -0
  432. data/docs/ServiceVersionDetail.md +34 -0
  433. data/docs/ServiceVersionDetailOrNull.md +34 -0
  434. data/docs/Settings.md +13 -0
  435. data/docs/SettingsApi.md +54 -0
  436. data/docs/SettingsResponse.md +15 -0
  437. data/docs/Snippet.md +14 -0
  438. data/docs/SnippetApi.md +278 -0
  439. data/docs/SnippetResponse.md +20 -0
  440. data/docs/SnippetResponseAllOf.md +10 -0
  441. data/docs/Star.md +10 -0
  442. data/docs/StarApi.md +160 -0
  443. data/docs/StarData.md +11 -0
  444. data/docs/StarResponse.md +10 -0
  445. data/docs/StarResponseAllOf.md +10 -0
  446. data/docs/Stats.md +10 -0
  447. data/docs/StatsApi.md +60 -0
  448. data/docs/Timestamps.md +12 -0
  449. data/docs/TimestampsNoDelete.md +11 -0
  450. data/docs/TlsActivation.md +10 -0
  451. data/docs/TlsActivationData.md +11 -0
  452. data/docs/TlsActivationResponse.md +10 -0
  453. data/docs/TlsActivationResponseData.md +13 -0
  454. data/docs/TlsActivationResponseDataAllOf.md +11 -0
  455. data/docs/TlsActivationsApi.md +217 -0
  456. data/docs/TlsActivationsResponse.md +12 -0
  457. data/docs/TlsActivationsResponseAllOf.md +10 -0
  458. data/docs/TlsBulkCertificate.md +10 -0
  459. data/docs/TlsBulkCertificateData.md +12 -0
  460. data/docs/TlsBulkCertificateDataAttributes.md +12 -0
  461. data/docs/TlsBulkCertificateResponse.md +10 -0
  462. data/docs/TlsBulkCertificateResponseAttributes.md +15 -0
  463. data/docs/TlsBulkCertificateResponseAttributesAllOf.md +12 -0
  464. data/docs/TlsBulkCertificateResponseData.md +13 -0
  465. data/docs/TlsBulkCertificateResponseDataAllOf.md +11 -0
  466. data/docs/TlsBulkCertificatesApi.md +211 -0
  467. data/docs/TlsBulkCertificatesResponse.md +12 -0
  468. data/docs/TlsBulkCertificatesResponseAllOf.md +10 -0
  469. data/docs/TlsCertificate.md +10 -0
  470. data/docs/TlsCertificateData.md +12 -0
  471. data/docs/TlsCertificateDataAttributes.md +11 -0
  472. data/docs/TlsCertificateResponse.md +10 -0
  473. data/docs/TlsCertificateResponseAttributes.md +19 -0
  474. data/docs/TlsCertificateResponseAttributesAllOf.md +16 -0
  475. data/docs/TlsCertificateResponseData.md +13 -0
  476. data/docs/TlsCertificateResponseDataAllOf.md +11 -0
  477. data/docs/TlsCertificatesApi.md +215 -0
  478. data/docs/TlsCertificatesResponse.md +12 -0
  479. data/docs/TlsCertificatesResponseAllOf.md +10 -0
  480. data/docs/TlsCommon.md +14 -0
  481. data/docs/TlsConfiguration.md +10 -0
  482. data/docs/TlsConfigurationData.md +12 -0
  483. data/docs/TlsConfigurationDataAttributes.md +10 -0
  484. data/docs/TlsConfigurationResponse.md +10 -0
  485. data/docs/TlsConfigurationResponseAttributes.md +16 -0
  486. data/docs/TlsConfigurationResponseAttributesAllOf.md +13 -0
  487. data/docs/TlsConfigurationResponseData.md +13 -0
  488. data/docs/TlsConfigurationResponseDataAllOf.md +11 -0
  489. data/docs/TlsConfigurationsApi.md +138 -0
  490. data/docs/TlsConfigurationsResponse.md +12 -0
  491. data/docs/TlsConfigurationsResponseAllOf.md +10 -0
  492. data/docs/TlsDnsRecord.md +12 -0
  493. data/docs/TlsDomainData.md +12 -0
  494. data/docs/TlsDomainsApi.md +64 -0
  495. data/docs/TlsDomainsResponse.md +12 -0
  496. data/docs/TlsDomainsResponseAllOf.md +10 -0
  497. data/docs/TlsPrivateKey.md +10 -0
  498. data/docs/TlsPrivateKeyData.md +12 -0
  499. data/docs/TlsPrivateKeyDataAttributes.md +11 -0
  500. data/docs/TlsPrivateKeyResponse.md +10 -0
  501. data/docs/TlsPrivateKeyResponseAttributes.md +17 -0
  502. data/docs/TlsPrivateKeyResponseAttributesAllOf.md +14 -0
  503. data/docs/TlsPrivateKeyResponseData.md +12 -0
  504. data/docs/TlsPrivateKeysApi.md +169 -0
  505. data/docs/TlsPrivateKeysResponse.md +12 -0
  506. data/docs/TlsPrivateKeysResponseAllOf.md +10 -0
  507. data/docs/TlsSubscription.md +10 -0
  508. data/docs/TlsSubscriptionData.md +12 -0
  509. data/docs/TlsSubscriptionDataAttributes.md +10 -0
  510. data/docs/TlsSubscriptionResponse.md +10 -0
  511. data/docs/TlsSubscriptionResponseAttributes.md +13 -0
  512. data/docs/TlsSubscriptionResponseAttributesAllOf.md +10 -0
  513. data/docs/TlsSubscriptionResponseData.md +11 -0
  514. data/docs/TlsSubscriptionResponseDataAllOf.md +11 -0
  515. data/docs/TlsSubscriptionsApi.md +306 -0
  516. data/docs/TlsSubscriptionsResponse.md +12 -0
  517. data/docs/TlsSubscriptionsResponseAllOf.md +10 -0
  518. data/docs/Token.md +12 -0
  519. data/docs/TokenCreatedResponse.md +22 -0
  520. data/docs/TokenCreatedResponseAllOf.md +10 -0
  521. data/docs/TokenResponse.md +21 -0
  522. data/docs/TokenResponseAllOf.md +16 -0
  523. data/docs/TokensApi.md +187 -0
  524. data/docs/TypeBillingAddress.md +9 -0
  525. data/docs/TypeContact.md +9 -0
  526. data/docs/TypeCustomer.md +9 -0
  527. data/docs/TypeEvent.md +9 -0
  528. data/docs/TypeInvitation.md +9 -0
  529. data/docs/TypeResource.md +9 -0
  530. data/docs/TypeService.md +9 -0
  531. data/docs/TypeServiceAuthorization.md +9 -0
  532. data/docs/TypeServiceInvitation.md +9 -0
  533. data/docs/TypeStar.md +9 -0
  534. data/docs/TypeTlsActivation.md +9 -0
  535. data/docs/TypeTlsBulkCertificate.md +9 -0
  536. data/docs/TypeTlsCertificate.md +9 -0
  537. data/docs/TypeTlsConfiguration.md +9 -0
  538. data/docs/TypeTlsDnsRecord.md +9 -0
  539. data/docs/TypeTlsDomain.md +9 -0
  540. data/docs/TypeTlsPrivateKey.md +9 -0
  541. data/docs/TypeTlsSubscription.md +9 -0
  542. data/docs/TypeUser.md +9 -0
  543. data/docs/TypeWafActiveRule.md +9 -0
  544. data/docs/TypeWafExclusion.md +9 -0
  545. data/docs/TypeWafFirewall.md +9 -0
  546. data/docs/TypeWafFirewallVersion.md +9 -0
  547. data/docs/TypeWafRule.md +9 -0
  548. data/docs/TypeWafRuleRevision.md +9 -0
  549. data/docs/TypeWafTag.md +9 -0
  550. data/docs/UpdateBillingAddressRequest.md +10 -0
  551. data/docs/UpdateBillingAddressRequestData.md +12 -0
  552. data/docs/User.md +17 -0
  553. data/docs/UserApi.md +307 -0
  554. data/docs/UserResponse.md +23 -0
  555. data/docs/UserResponseAllOf.md +12 -0
  556. data/docs/Vcl.md +12 -0
  557. data/docs/VclApi.md +478 -0
  558. data/docs/VclDiff.md +13 -0
  559. data/docs/VclDiffApi.md +58 -0
  560. data/docs/VclResponse.md +17 -0
  561. data/docs/Version.md +16 -0
  562. data/docs/VersionApi.md +384 -0
  563. data/docs/VersionCreateResponse.md +11 -0
  564. data/docs/VersionDetail.md +23 -0
  565. data/docs/VersionResponse.md +20 -0
  566. data/docs/VersionResponseAllOf.md +10 -0
  567. data/docs/WafActiveRule.md +10 -0
  568. data/docs/WafActiveRuleCreationResponse.md +49 -0
  569. data/docs/WafActiveRuleData.md +12 -0
  570. data/docs/WafActiveRuleDataAttributes.md +12 -0
  571. data/docs/WafActiveRuleResponse.md +10 -0
  572. data/docs/WafActiveRuleResponseData.md +13 -0
  573. data/docs/WafActiveRuleResponseDataAllOf.md +12 -0
  574. data/docs/WafActiveRuleResponseDataAttributes.md +14 -0
  575. data/docs/WafActiveRuleResponseDataAttributesAllOf.md +11 -0
  576. data/docs/WafActiveRuleResponseDataRelationships.md +11 -0
  577. data/docs/WafActiveRulesApi.md +323 -0
  578. data/docs/WafActiveRulesResponse.md +13 -0
  579. data/docs/WafActiveRulesResponseAllOf.md +11 -0
  580. data/docs/WafExclusion.md +10 -0
  581. data/docs/WafExclusionData.md +12 -0
  582. data/docs/WafExclusionDataAttributes.md +15 -0
  583. data/docs/WafExclusionResponse.md +10 -0
  584. data/docs/WafExclusionResponseData.md +13 -0
  585. data/docs/WafExclusionResponseDataAllOf.md +12 -0
  586. data/docs/WafExclusionResponseDataAttributes.md +18 -0
  587. data/docs/WafExclusionResponseDataAttributesAllOf.md +15 -0
  588. data/docs/WafExclusionResponseDataRelationships.md +11 -0
  589. data/docs/WafExclusionsApi.md +235 -0
  590. data/docs/WafExclusionsResponse.md +13 -0
  591. data/docs/WafExclusionsResponseAllOf.md +11 -0
  592. data/docs/WafFirewall.md +10 -0
  593. data/docs/WafFirewallData.md +11 -0
  594. data/docs/WafFirewallDataAttributes.md +13 -0
  595. data/docs/WafFirewallResponse.md +11 -0
  596. data/docs/WafFirewallResponseData.md +13 -0
  597. data/docs/WafFirewallResponseDataAllOf.md +12 -0
  598. data/docs/WafFirewallResponseDataAttributes.md +21 -0
  599. data/docs/WafFirewallResponseDataAttributesAllOf.md +18 -0
  600. data/docs/WafFirewallVersion.md +10 -0
  601. data/docs/WafFirewallVersionData.md +11 -0
  602. data/docs/WafFirewallVersionDataAttributes.md +40 -0
  603. data/docs/WafFirewallVersionResponse.md +11 -0
  604. data/docs/WafFirewallVersionResponseData.md +13 -0
  605. data/docs/WafFirewallVersionResponseDataAllOf.md +12 -0
  606. data/docs/WafFirewallVersionResponseDataAttributes.md +24 -0
  607. data/docs/WafFirewallVersionResponseDataAttributesAllOf.md +21 -0
  608. data/docs/WafFirewallVersionsApi.md +262 -0
  609. data/docs/WafFirewallVersionsResponse.md +13 -0
  610. data/docs/WafFirewallVersionsResponseAllOf.md +11 -0
  611. data/docs/WafFirewallsApi.md +219 -0
  612. data/docs/WafFirewallsResponse.md +13 -0
  613. data/docs/WafFirewallsResponseAllOf.md +11 -0
  614. data/docs/WafRule.md +12 -0
  615. data/docs/WafRuleAttributes.md +12 -0
  616. data/docs/WafRuleResponse.md +11 -0
  617. data/docs/WafRuleResponseData.md +13 -0
  618. data/docs/WafRuleResponseDataAllOf.md +10 -0
  619. data/docs/WafRuleRevision.md +12 -0
  620. data/docs/WafRuleRevisionAttributes.md +17 -0
  621. data/docs/WafRuleRevisionOrLatest.md +49 -0
  622. data/docs/WafRuleRevisionResponse.md +11 -0
  623. data/docs/WafRuleRevisionResponseData.md +13 -0
  624. data/docs/WafRuleRevisionResponseDataAllOf.md +10 -0
  625. data/docs/WafRuleRevisionsApi.md +100 -0
  626. data/docs/WafRuleRevisionsResponse.md +13 -0
  627. data/docs/WafRuleRevisionsResponseAllOf.md +11 -0
  628. data/docs/WafRulesApi.md +104 -0
  629. data/docs/WafRulesResponse.md +13 -0
  630. data/docs/WafRulesResponseAllOf.md +11 -0
  631. data/docs/WafTag.md +12 -0
  632. data/docs/WafTagAttributes.md +10 -0
  633. data/docs/WafTagsApi.md +58 -0
  634. data/docs/WafTagsResponse.md +13 -0
  635. data/docs/WafTagsResponseAllOf.md +11 -0
  636. data/docs/WafTagsResponseDataItem.md +13 -0
  637. data/fastly.gemspec +28 -14
  638. data/lib/fastly/api/acl_api.rb +407 -0
  639. data/lib/fastly/api/acl_entry_api.rb +174 -0
  640. data/lib/fastly/api/apex_redirect_api.rb +320 -0
  641. data/lib/fastly/api/backend_api.rb +575 -0
  642. data/lib/fastly/api/billing_address_api.rb +284 -0
  643. data/lib/fastly/api/billing_api.rb +229 -0
  644. data/lib/fastly/api/cache_settings_api.rb +439 -0
  645. data/lib/fastly/api/condition_api.rb +451 -0
  646. data/lib/fastly/api/contact_api.rb +153 -0
  647. data/lib/fastly/api/customer_api.rb +409 -0
  648. data/lib/fastly/api/dictionary_api.rb +413 -0
  649. data/lib/fastly/api/dictionary_info_api.rb +97 -0
  650. data/lib/fastly/api/dictionary_item_api.rb +525 -0
  651. data/lib/fastly/api/diff_api.rb +104 -0
  652. data/lib/fastly/api/director_api.rb +355 -0
  653. data/lib/fastly/api/director_backend_api.rb +272 -0
  654. data/lib/fastly/api/docs_api.rb +210 -0
  655. data/lib/fastly/api/domain_api.rb +560 -0
  656. data/lib/fastly/api/domain_ownerships_api.rb +76 -0
  657. data/lib/fastly/api/events_api.rb +172 -0
  658. data/lib/fastly/api/gzip_api.rb +425 -0
  659. data/lib/fastly/api/header_api.rb +489 -0
  660. data/lib/fastly/api/healthcheck_api.rb +473 -0
  661. data/lib/fastly/api/historical_api.rb +673 -0
  662. data/lib/fastly/api/http3_api.rb +257 -0
  663. data/lib/fastly/api/iam_permissions_api.rb +76 -0
  664. data/lib/fastly/api/iam_roles_api.rb +277 -0
  665. data/lib/fastly/api/iam_service_groups_api.rb +291 -0
  666. data/lib/fastly/api/iam_user_groups_api.rb +445 -0
  667. data/lib/fastly/api/invitations_api.rb +214 -0
  668. data/lib/fastly/api/logging_azureblob_api.rb +537 -0
  669. data/lib/fastly/api/logging_bigquery_api.rb +483 -0
  670. data/lib/fastly/api/logging_cloudfiles_api.rb +537 -0
  671. data/lib/fastly/api/logging_datadog_api.rb +467 -0
  672. data/lib/fastly/api/logging_digitalocean_api.rb +529 -0
  673. data/lib/fastly/api/logging_elasticsearch_api.rb +513 -0
  674. data/lib/fastly/api/logging_ftp_api.rb +541 -0
  675. data/lib/fastly/api/logging_gcs_api.rb +523 -0
  676. data/lib/fastly/api/logging_heroku_api.rb +459 -0
  677. data/lib/fastly/api/logging_honeycomb_api.rb +459 -0
  678. data/lib/fastly/api/logging_https_api.rb +541 -0
  679. data/lib/fastly/api/logging_kafka_api.rb +396 -0
  680. data/lib/fastly/api/logging_kinesis_api.rb +350 -0
  681. data/lib/fastly/api/logging_logentries_api.rb +479 -0
  682. data/lib/fastly/api/logging_loggly_api.rb +453 -0
  683. data/lib/fastly/api/logging_logshuttle_api.rb +459 -0
  684. data/lib/fastly/api/logging_newrelic_api.rb +467 -0
  685. data/lib/fastly/api/logging_openstack_api.rb +529 -0
  686. data/lib/fastly/api/logging_papertrail_api.rb +459 -0
  687. data/lib/fastly/api/logging_pubsub_api.rb +471 -0
  688. data/lib/fastly/api/logging_s3_api.rb +559 -0
  689. data/lib/fastly/api/logging_scalyr_api.rb +473 -0
  690. data/lib/fastly/api/logging_sftp_api.rb +541 -0
  691. data/lib/fastly/api/logging_splunk_api.rb +501 -0
  692. data/lib/fastly/api/logging_sumologic_api.rb +459 -0
  693. data/lib/fastly/api/logging_syslog_api.rb +513 -0
  694. data/lib/fastly/api/package_api.rb +171 -0
  695. data/lib/fastly/api/pool_api.rb +559 -0
  696. data/lib/fastly/api/pop_api.rb +76 -0
  697. data/lib/fastly/api/public_ip_list_api.rb +76 -0
  698. data/lib/fastly/api/purge_api.rb +299 -0
  699. data/lib/fastly/api/rate_limiter_api.rb +216 -0
  700. data/lib/fastly/api/realtime_api.rb +223 -0
  701. data/lib/fastly/api/request_settings_api.rb +370 -0
  702. data/lib/fastly/api/resource_api.rb +410 -0
  703. data/lib/fastly/api/response_object_api.rb +244 -0
  704. data/lib/fastly/api/server_api.rb +459 -0
  705. data/lib/fastly/api/service_api.rb +577 -0
  706. data/lib/fastly/api/service_authorizations_api.rb +347 -0
  707. data/lib/fastly/api/settings_api.rb +90 -0
  708. data/lib/fastly/api/snippet_api.rb +510 -0
  709. data/lib/fastly/api/star_api.rb +263 -0
  710. data/lib/fastly/api/stats_api.rb +95 -0
  711. data/lib/fastly/api/tls_activations_api.rb +362 -0
  712. data/lib/fastly/api/tls_bulk_certificates_api.rb +357 -0
  713. data/lib/fastly/api/tls_certificates_api.rb +363 -0
  714. data/lib/fastly/api/tls_configurations_api.rb +232 -0
  715. data/lib/fastly/api/tls_domains_api.rb +109 -0
  716. data/lib/fastly/api/tls_private_keys_api.rb +280 -0
  717. data/lib/fastly/api/tls_subscriptions_api.rb +527 -0
  718. data/lib/fastly/api/tokens_api.rb +314 -0
  719. data/lib/fastly/api/user_api.rb +509 -0
  720. data/lib/fastly/api/vcl_api.rb +863 -0
  721. data/lib/fastly/api/vcl_diff_api.rb +104 -0
  722. data/lib/fastly/api/version_api.rb +662 -0
  723. data/lib/fastly/api/waf_active_rules_api.rb +592 -0
  724. data/lib/fastly/api/waf_exclusions_api.rb +433 -0
  725. data/lib/fastly/api/waf_firewall_versions_api.rb +460 -0
  726. data/lib/fastly/api/waf_firewalls_api.rb +377 -0
  727. data/lib/fastly/api/waf_rule_revisions_api.rb +177 -0
  728. data/lib/fastly/api/waf_rules_api.rb +171 -0
  729. data/lib/fastly/api/waf_tags_api.rb +100 -0
  730. data/lib/fastly/api_client.rb +388 -0
  731. data/lib/fastly/api_error.rb +55 -0
  732. data/lib/fastly/configuration.rb +319 -0
  733. data/lib/fastly/models/acl.rb +217 -0
  734. data/lib/fastly/models/acl_entry.rb +285 -0
  735. data/lib/fastly/models/acl_entry_response.rb +357 -0
  736. data/lib/fastly/models/acl_entry_response_all_of.rb +237 -0
  737. data/lib/fastly/models/acl_response.rb +290 -0
  738. data/lib/fastly/models/acl_response_all_of.rb +217 -0
  739. data/lib/fastly/models/apex_redirect.rb +365 -0
  740. data/lib/fastly/models/apex_redirect_all_of.rb +303 -0
  741. data/lib/fastly/models/backend.rb +516 -0
  742. data/lib/fastly/models/backend_response.rb +589 -0
  743. data/lib/fastly/models/backend_response_all_of.rb +217 -0
  744. data/lib/fastly/models/billing.rb +278 -0
  745. data/lib/fastly/models/billing_address_attributes.rb +322 -0
  746. data/lib/fastly/models/billing_address_request.rb +216 -0
  747. data/lib/fastly/models/billing_address_request_data.rb +227 -0
  748. data/lib/fastly/models/billing_address_response.rb +216 -0
  749. data/lib/fastly/models/billing_address_response_data.rb +246 -0
  750. data/lib/fastly/models/billing_estimate_response.rb +297 -0
  751. data/lib/fastly/models/billing_estimate_response_all_of.rb +218 -0
  752. data/lib/fastly/models/billing_estimate_response_all_of_line.rb +288 -0
  753. data/lib/fastly/models/billing_estimate_response_all_of_lines.rb +216 -0
  754. data/lib/fastly/models/billing_response.rb +297 -0
  755. data/lib/fastly/models/billing_response_all_of.rb +218 -0
  756. data/lib/fastly/models/billing_response_line_item.rb +407 -0
  757. data/lib/fastly/models/billing_response_line_item_all_of.rb +366 -0
  758. data/lib/fastly/models/billing_status.rb +261 -0
  759. data/lib/fastly/models/billing_total.rb +370 -0
  760. data/lib/fastly/models/billing_total_extras.rb +237 -0
  761. data/lib/fastly/models/bulk_update_acl_entries_request.rb +218 -0
  762. data/lib/fastly/models/bulk_update_acl_entry.rb +324 -0
  763. data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +260 -0
  764. data/lib/fastly/models/bulk_update_dictionary_item.rb +278 -0
  765. data/lib/fastly/models/bulk_update_dictionary_item_all_of.rb +250 -0
  766. data/lib/fastly/models/bulk_update_dictionary_list_request.rb +218 -0
  767. data/lib/fastly/models/bulk_waf_active_rules.rb +218 -0
  768. data/lib/fastly/models/cache_setting.rb +293 -0
  769. data/lib/fastly/models/cache_setting_response.rb +355 -0
  770. data/lib/fastly/models/condition.rb +314 -0
  771. data/lib/fastly/models/condition_response.rb +355 -0
  772. data/lib/fastly/models/contact.rb +306 -0
  773. data/lib/fastly/models/contact_response.rb +358 -0
  774. data/lib/fastly/models/contact_response_all_of.rb +217 -0
  775. data/lib/fastly/models/content.rb +261 -0
  776. data/lib/fastly/models/customer.rb +488 -0
  777. data/lib/fastly/models/customer_response.rb +540 -0
  778. data/lib/fastly/models/customer_response_all_of.rb +217 -0
  779. data/lib/fastly/models/dictionary.rb +229 -0
  780. data/lib/fastly/models/dictionary_info_response.rb +237 -0
  781. data/lib/fastly/models/dictionary_item.rb +227 -0
  782. data/lib/fastly/models/dictionary_item_response.rb +289 -0
  783. data/lib/fastly/models/dictionary_item_response_all_of.rb +227 -0
  784. data/lib/fastly/models/dictionary_response.rb +302 -0
  785. data/lib/fastly/models/dictionary_response_all_of.rb +217 -0
  786. data/lib/fastly/models/diff_response.rb +247 -0
  787. data/lib/fastly/models/director.rb +357 -0
  788. data/lib/fastly/models/director_backend.rb +289 -0
  789. data/lib/fastly/models/director_backend_all_of.rb +227 -0
  790. data/lib/fastly/models/director_response.rb +419 -0
  791. data/lib/fastly/models/domain.rb +228 -0
  792. data/lib/fastly/models/domain_check_item.rb +249 -0
  793. data/lib/fastly/models/domain_response.rb +290 -0
  794. data/lib/fastly/models/event.rb +237 -0
  795. data/lib/fastly/models/event_attributes.rb +332 -0
  796. data/lib/fastly/models/event_response.rb +216 -0
  797. data/lib/fastly/models/events_response.rb +244 -0
  798. data/lib/fastly/models/events_response_all_of.rb +218 -0
  799. data/lib/fastly/models/generic_token_error.rb +216 -0
  800. data/lib/fastly/models/gzip.rb +250 -0
  801. data/lib/fastly/models/gzip_response.rb +312 -0
  802. data/lib/fastly/models/header.rb +381 -0
  803. data/lib/fastly/models/header_response.rb +443 -0
  804. data/lib/fastly/models/healthcheck.rb +328 -0
  805. data/lib/fastly/models/healthcheck_response.rb +390 -0
  806. data/lib/fastly/models/historical.rb +237 -0
  807. data/lib/fastly/models/historical_aggregate_response.rb +256 -0
  808. data/lib/fastly/models/historical_aggregate_response_all_of.rb +218 -0
  809. data/lib/fastly/models/historical_field_aggregate_response.rb +256 -0
  810. data/lib/fastly/models/historical_field_aggregate_response_all_of.rb +218 -0
  811. data/lib/fastly/models/historical_field_response.rb +256 -0
  812. data/lib/fastly/models/historical_field_response_all_of.rb +218 -0
  813. data/lib/fastly/models/historical_meta.rb +244 -0
  814. data/lib/fastly/models/historical_regions_response.rb +256 -0
  815. data/lib/fastly/models/historical_regions_response_all_of.rb +218 -0
  816. data/lib/fastly/models/historical_response.rb +257 -0
  817. data/lib/fastly/models/historical_response_all_of.rb +219 -0
  818. data/lib/fastly/models/historical_usage_aggregate_response.rb +254 -0
  819. data/lib/fastly/models/historical_usage_month_response.rb +254 -0
  820. data/lib/fastly/models/historical_usage_month_response_all_of.rb +216 -0
  821. data/lib/fastly/models/historical_usage_month_response_all_of_data.rb +237 -0
  822. data/lib/fastly/models/historical_usage_results.rb +234 -0
  823. data/lib/fastly/models/historical_usage_service_response.rb +254 -0
  824. data/lib/fastly/models/historical_usage_service_response_all_of.rb +216 -0
  825. data/lib/fastly/models/http3.rb +294 -0
  826. data/lib/fastly/models/http3_all_of.rb +232 -0
  827. data/lib/fastly/models/iam_permission.rb +277 -0
  828. data/lib/fastly/models/iam_role.rb +297 -0
  829. data/lib/fastly/models/iam_role_all_of.rb +267 -0
  830. data/lib/fastly/models/iam_service_group.rb +287 -0
  831. data/lib/fastly/models/iam_service_group_all_of.rb +257 -0
  832. data/lib/fastly/models/iam_user_group.rb +297 -0
  833. data/lib/fastly/models/iam_user_group_all_of.rb +267 -0
  834. data/lib/fastly/models/included_with_waf_active_rule_item.rb +266 -0
  835. data/lib/fastly/models/included_with_waf_exclusion_item.rb +257 -0
  836. data/lib/fastly/models/included_with_waf_firewall_version_item.rb +236 -0
  837. data/lib/fastly/models/included_with_waf_rule_item.rb +257 -0
  838. data/lib/fastly/models/inline_response200.rb +217 -0
  839. data/lib/fastly/models/inline_response2001.rb +217 -0
  840. data/lib/fastly/models/invitation.rb +216 -0
  841. data/lib/fastly/models/invitation_data.rb +236 -0
  842. data/lib/fastly/models/invitation_data_attributes.rb +280 -0
  843. data/lib/fastly/models/invitation_response.rb +224 -0
  844. data/lib/fastly/models/invitation_response_all_of.rb +216 -0
  845. data/lib/fastly/models/invitation_response_data.rb +254 -0
  846. data/lib/fastly/models/invitation_response_data_all_of.rb +235 -0
  847. data/lib/fastly/models/invitations_response.rb +244 -0
  848. data/lib/fastly/models/invitations_response_all_of.rb +218 -0
  849. data/lib/fastly/models/logging_address_and_port.rb +229 -0
  850. data/lib/fastly/models/logging_azureblob.rb +480 -0
  851. data/lib/fastly/models/logging_azureblob_all_of.rb +288 -0
  852. data/lib/fastly/models/logging_azureblob_response.rb +533 -0
  853. data/lib/fastly/models/logging_bigquery.rb +377 -0
  854. data/lib/fastly/models/logging_bigquery_all_of.rb +268 -0
  855. data/lib/fastly/models/logging_bigquery_response.rb +430 -0
  856. data/lib/fastly/models/logging_cloudfiles.rb +478 -0
  857. data/lib/fastly/models/logging_cloudfiles_all_of.rb +308 -0
  858. data/lib/fastly/models/logging_cloudfiles_response.rb +531 -0
  859. data/lib/fastly/models/logging_common.rb +309 -0
  860. data/lib/fastly/models/logging_datadog.rb +351 -0
  861. data/lib/fastly/models/logging_datadog_all_of.rb +275 -0
  862. data/lib/fastly/models/logging_datadog_response.rb +405 -0
  863. data/lib/fastly/models/logging_digitalocean.rb +467 -0
  864. data/lib/fastly/models/logging_digitalocean_all_of.rb +275 -0
  865. data/lib/fastly/models/logging_digitalocean_response.rb +520 -0
  866. data/lib/fastly/models/logging_elasticsearch.rb +446 -0
  867. data/lib/fastly/models/logging_elasticsearch_all_of.rb +270 -0
  868. data/lib/fastly/models/logging_elasticsearch_response.rb +498 -0
  869. data/lib/fastly/models/logging_format_version.rb +35 -0
  870. data/lib/fastly/models/logging_ftp.rb +484 -0
  871. data/lib/fastly/models/logging_ftp_all_of.rb +292 -0
  872. data/lib/fastly/models/logging_ftp_response.rb +537 -0
  873. data/lib/fastly/models/logging_gcs.rb +454 -0
  874. data/lib/fastly/models/logging_gcs_all_of.rb +241 -0
  875. data/lib/fastly/models/logging_gcs_common.rb +227 -0
  876. data/lib/fastly/models/logging_gcs_response.rb +506 -0
  877. data/lib/fastly/models/logging_generic_common.rb +310 -0
  878. data/lib/fastly/models/logging_google_pubsub.rb +358 -0
  879. data/lib/fastly/models/logging_google_pubsub_all_of.rb +239 -0
  880. data/lib/fastly/models/logging_google_pubsub_response.rb +411 -0
  881. data/lib/fastly/models/logging_heroku.rb +337 -0
  882. data/lib/fastly/models/logging_heroku_all_of.rb +227 -0
  883. data/lib/fastly/models/logging_heroku_response.rb +391 -0
  884. data/lib/fastly/models/logging_honeycomb.rb +335 -0
  885. data/lib/fastly/models/logging_honeycomb_all_of.rb +237 -0
  886. data/lib/fastly/models/logging_honeycomb_response.rb +389 -0
  887. data/lib/fastly/models/logging_https.rb +501 -0
  888. data/lib/fastly/models/logging_https_all_of.rb +371 -0
  889. data/lib/fastly/models/logging_https_response.rb +553 -0
  890. data/lib/fastly/models/logging_kafka.rb +512 -0
  891. data/lib/fastly/models/logging_kafka_all_of.rb +371 -0
  892. data/lib/fastly/models/logging_kafka_response.rb +565 -0
  893. data/lib/fastly/models/logging_kinesis.rb +337 -0
  894. data/lib/fastly/models/logging_kinesis_response.rb +399 -0
  895. data/lib/fastly/models/logging_logentries.rb +372 -0
  896. data/lib/fastly/models/logging_logentries_all_of.rb +284 -0
  897. data/lib/fastly/models/logging_logentries_response.rb +426 -0
  898. data/lib/fastly/models/logging_loggly.rb +327 -0
  899. data/lib/fastly/models/logging_loggly_all_of.rb +217 -0
  900. data/lib/fastly/models/logging_loggly_response.rb +381 -0
  901. data/lib/fastly/models/logging_logshuttle.rb +338 -0
  902. data/lib/fastly/models/logging_logshuttle_all_of.rb +228 -0
  903. data/lib/fastly/models/logging_logshuttle_response.rb +392 -0
  904. data/lib/fastly/models/logging_message_type.rb +37 -0
  905. data/lib/fastly/models/logging_newrelic.rb +350 -0
  906. data/lib/fastly/models/logging_newrelic_all_of.rb +274 -0
  907. data/lib/fastly/models/logging_newrelic_response.rb +404 -0
  908. data/lib/fastly/models/logging_openstack.rb +465 -0
  909. data/lib/fastly/models/logging_openstack_all_of.rb +273 -0
  910. data/lib/fastly/models/logging_openstack_response.rb +518 -0
  911. data/lib/fastly/models/logging_papertrail.rb +339 -0
  912. data/lib/fastly/models/logging_papertrail_response.rb +393 -0
  913. data/lib/fastly/models/logging_placement.rb +36 -0
  914. data/lib/fastly/models/logging_request_caps_common.rb +231 -0
  915. data/lib/fastly/models/logging_s3.rb +527 -0
  916. data/lib/fastly/models/logging_s3_all_of.rb +335 -0
  917. data/lib/fastly/models/logging_s3_response.rb +580 -0
  918. data/lib/fastly/models/logging_scalyr.rb +363 -0
  919. data/lib/fastly/models/logging_scalyr_all_of.rb +275 -0
  920. data/lib/fastly/models/logging_scalyr_response.rb +417 -0
  921. data/lib/fastly/models/logging_sftp.rb +490 -0
  922. data/lib/fastly/models/logging_sftp_all_of.rb +287 -0
  923. data/lib/fastly/models/logging_sftp_response.rb +542 -0
  924. data/lib/fastly/models/logging_splunk.rb +426 -0
  925. data/lib/fastly/models/logging_splunk_all_of.rb +238 -0
  926. data/lib/fastly/models/logging_splunk_response.rb +478 -0
  927. data/lib/fastly/models/logging_sumologic.rb +338 -0
  928. data/lib/fastly/models/logging_sumologic_all_of.rb +228 -0
  929. data/lib/fastly/models/logging_sumologic_response.rb +392 -0
  930. data/lib/fastly/models/logging_syslog.rb +449 -0
  931. data/lib/fastly/models/logging_syslog_all_of.rb +263 -0
  932. data/lib/fastly/models/logging_syslog_response.rb +501 -0
  933. data/lib/fastly/models/logging_tls_common.rb +259 -0
  934. data/lib/fastly/models/logging_use_tls.rb +35 -0
  935. data/lib/fastly/models/package.rb +216 -0
  936. data/lib/fastly/models/package_metadata.rb +270 -0
  937. data/lib/fastly/models/package_response.rb +289 -0
  938. data/lib/fastly/models/package_response_all_of.rb +217 -0
  939. data/lib/fastly/models/pagination.rb +225 -0
  940. data/lib/fastly/models/pagination_links.rb +251 -0
  941. data/lib/fastly/models/pagination_meta.rb +273 -0
  942. data/lib/fastly/models/permission.rb +37 -0
  943. data/lib/fastly/models/pool.rb +527 -0
  944. data/lib/fastly/models/pool_all_of.rb +443 -0
  945. data/lib/fastly/models/pool_response.rb +592 -0
  946. data/lib/fastly/models/pool_response_all_of.rb +217 -0
  947. data/lib/fastly/models/pop.rb +252 -0
  948. data/lib/fastly/models/pop_coordinates.rb +243 -0
  949. data/lib/fastly/models/public_ip_list.rb +231 -0
  950. data/lib/fastly/models/purge_keys.rb +219 -0
  951. data/lib/fastly/models/purge_response.rb +226 -0
  952. data/lib/fastly/models/rate_limiter.rb +536 -0
  953. data/lib/fastly/models/rate_limiter_response.rb +609 -0
  954. data/lib/fastly/models/rate_limiter_response1.rb +292 -0
  955. data/lib/fastly/models/rate_limiter_response_all_of.rb +217 -0
  956. data/lib/fastly/models/realtime.rb +240 -0
  957. data/lib/fastly/models/realtime_entry.rb +242 -0
  958. data/lib/fastly/models/realtime_measurements.rb +2068 -0
  959. data/lib/fastly/models/relationship_common_name.rb +216 -0
  960. data/lib/fastly/models/relationship_customer.rb +216 -0
  961. data/lib/fastly/models/relationship_customer_customer.rb +218 -0
  962. data/lib/fastly/models/relationship_member_customer.rb +228 -0
  963. data/lib/fastly/models/relationship_member_service.rb +228 -0
  964. data/lib/fastly/models/relationship_member_service_invitation.rb +228 -0
  965. data/lib/fastly/models/relationship_member_tls_activation.rb +228 -0
  966. data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +228 -0
  967. data/lib/fastly/models/relationship_member_tls_certificate.rb +228 -0
  968. data/lib/fastly/models/relationship_member_tls_configuration.rb +228 -0
  969. data/lib/fastly/models/relationship_member_tls_dns_record.rb +228 -0
  970. data/lib/fastly/models/relationship_member_tls_domain.rb +228 -0
  971. data/lib/fastly/models/relationship_member_tls_private_key.rb +228 -0
  972. data/lib/fastly/models/relationship_member_tls_subscription.rb +228 -0
  973. data/lib/fastly/models/relationship_member_waf_active_rule.rb +228 -0
  974. data/lib/fastly/models/relationship_member_waf_firewall.rb +228 -0
  975. data/lib/fastly/models/relationship_member_waf_firewall_version.rb +228 -0
  976. data/lib/fastly/models/relationship_member_waf_rule.rb +228 -0
  977. data/lib/fastly/models/relationship_member_waf_rule_revision.rb +228 -0
  978. data/lib/fastly/models/relationship_member_waf_tag.rb +228 -0
  979. data/lib/fastly/models/relationship_service.rb +216 -0
  980. data/lib/fastly/models/relationship_service_invitations.rb +216 -0
  981. data/lib/fastly/models/relationship_service_invitations_create.rb +216 -0
  982. data/lib/fastly/models/relationship_service_invitations_create_service_invitations.rb +218 -0
  983. data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +218 -0
  984. data/lib/fastly/models/relationship_service_service.rb +218 -0
  985. data/lib/fastly/models/relationship_services.rb +216 -0
  986. data/lib/fastly/models/relationship_tls_activation.rb +216 -0
  987. data/lib/fastly/models/relationship_tls_activation_tls_activation.rb +218 -0
  988. data/lib/fastly/models/relationship_tls_activations.rb +216 -0
  989. data/lib/fastly/models/relationship_tls_bulk_certificate.rb +216 -0
  990. data/lib/fastly/models/relationship_tls_bulk_certificate_tls_bulk_certificate.rb +218 -0
  991. data/lib/fastly/models/relationship_tls_bulk_certificates.rb +216 -0
  992. data/lib/fastly/models/relationship_tls_certificate.rb +216 -0
  993. data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +218 -0
  994. data/lib/fastly/models/relationship_tls_certificates.rb +216 -0
  995. data/lib/fastly/models/relationship_tls_configuration.rb +216 -0
  996. data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +218 -0
  997. data/lib/fastly/models/relationship_tls_configurations.rb +216 -0
  998. data/lib/fastly/models/relationship_tls_dns_record.rb +216 -0
  999. data/lib/fastly/models/relationship_tls_dns_record_dns_record.rb +218 -0
  1000. data/lib/fastly/models/relationship_tls_dns_records.rb +216 -0
  1001. data/lib/fastly/models/relationship_tls_domain.rb +216 -0
  1002. data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +218 -0
  1003. data/lib/fastly/models/relationship_tls_domains.rb +216 -0
  1004. data/lib/fastly/models/relationship_tls_private_key.rb +216 -0
  1005. data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +218 -0
  1006. data/lib/fastly/models/relationship_tls_private_keys.rb +216 -0
  1007. data/lib/fastly/models/relationship_tls_subscription.rb +216 -0
  1008. data/lib/fastly/models/relationship_tls_subscription_tls_subscription.rb +218 -0
  1009. data/lib/fastly/models/relationship_tls_subscriptions.rb +216 -0
  1010. data/lib/fastly/models/relationship_user.rb +216 -0
  1011. data/lib/fastly/models/relationship_user_user.rb +216 -0
  1012. data/lib/fastly/models/relationship_user_user_data.rb +228 -0
  1013. data/lib/fastly/models/relationship_waf_active_rules.rb +216 -0
  1014. data/lib/fastly/models/relationship_waf_active_rules_waf_active_rules.rb +218 -0
  1015. data/lib/fastly/models/relationship_waf_firewall.rb +216 -0
  1016. data/lib/fastly/models/relationship_waf_firewall_version.rb +216 -0
  1017. data/lib/fastly/models/relationship_waf_firewall_version_waf_firewall_version.rb +218 -0
  1018. data/lib/fastly/models/relationship_waf_firewall_versions.rb +216 -0
  1019. data/lib/fastly/models/relationship_waf_firewall_waf_firewall.rb +218 -0
  1020. data/lib/fastly/models/relationship_waf_rule.rb +216 -0
  1021. data/lib/fastly/models/relationship_waf_rule_revision.rb +216 -0
  1022. data/lib/fastly/models/relationship_waf_rule_revision_waf_rule_revisions.rb +218 -0
  1023. data/lib/fastly/models/relationship_waf_rule_revisions.rb +216 -0
  1024. data/lib/fastly/models/relationship_waf_rule_waf_rule.rb +218 -0
  1025. data/lib/fastly/models/relationship_waf_rules.rb +216 -0
  1026. data/lib/fastly/models/relationship_waf_tags.rb +216 -0
  1027. data/lib/fastly/models/relationship_waf_tags_waf_tags.rb +218 -0
  1028. data/lib/fastly/models/relationships_for_invitation.rb +245 -0
  1029. data/lib/fastly/models/relationships_for_star.rb +233 -0
  1030. data/lib/fastly/models/relationships_for_tls_activation.rb +216 -0
  1031. data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +245 -0
  1032. data/lib/fastly/models/relationships_for_tls_configuration.rb +236 -0
  1033. data/lib/fastly/models/relationships_for_tls_domain.rb +246 -0
  1034. data/lib/fastly/models/relationships_for_tls_private_key.rb +245 -0
  1035. data/lib/fastly/models/relationships_for_tls_subscription.rb +256 -0
  1036. data/lib/fastly/models/relationships_for_waf_active_rule.rb +245 -0
  1037. data/lib/fastly/models/relationships_for_waf_exclusion.rb +245 -0
  1038. data/lib/fastly/models/relationships_for_waf_firewall_version.rb +245 -0
  1039. data/lib/fastly/models/relationships_for_waf_rule.rb +245 -0
  1040. data/lib/fastly/models/request_settings.rb +377 -0
  1041. data/lib/fastly/models/request_settings_response.rb +439 -0
  1042. data/lib/fastly/models/resource.rb +217 -0
  1043. data/lib/fastly/models/resource_create.rb +235 -0
  1044. data/lib/fastly/models/resource_create_all_of.rb +217 -0
  1045. data/lib/fastly/models/resource_response.rb +320 -0
  1046. data/lib/fastly/models/resource_response_all_of.rb +258 -0
  1047. data/lib/fastly/models/response_object.rb +284 -0
  1048. data/lib/fastly/models/response_object_response.rb +346 -0
  1049. data/lib/fastly/models/results.rb +2049 -0
  1050. data/lib/fastly/models/role_user.rb +37 -0
  1051. data/lib/fastly/models/schemas_contact_response.rb +358 -0
  1052. data/lib/fastly/models/schemas_snippet_response.rb +378 -0
  1053. data/lib/fastly/models/schemas_user_response.rb +358 -0
  1054. data/lib/fastly/models/schemas_vcl_response.rb +299 -0
  1055. data/lib/fastly/models/schemas_version.rb +286 -0
  1056. data/lib/fastly/models/schemas_version_response.rb +338 -0
  1057. data/lib/fastly/models/schemas_waf_firewall_version.rb +216 -0
  1058. data/lib/fastly/models/schemas_waf_firewall_version_data.rb +227 -0
  1059. data/lib/fastly/models/server.rb +313 -0
  1060. data/lib/fastly/models/server_response.rb +385 -0
  1061. data/lib/fastly/models/server_response_all_of.rb +237 -0
  1062. data/lib/fastly/models/service.rb +238 -0
  1063. data/lib/fastly/models/service_authorization.rb +216 -0
  1064. data/lib/fastly/models/service_authorization_data.rb +237 -0
  1065. data/lib/fastly/models/service_authorization_data_attributes.rb +218 -0
  1066. data/lib/fastly/models/service_authorization_response.rb +216 -0
  1067. data/lib/fastly/models/service_authorization_response_data.rb +255 -0
  1068. data/lib/fastly/models/service_authorization_response_data_all_of.rb +226 -0
  1069. data/lib/fastly/models/service_authorizations_response.rb +244 -0
  1070. data/lib/fastly/models/service_authorizations_response_all_of.rb +218 -0
  1071. data/lib/fastly/models/service_create.rb +290 -0
  1072. data/lib/fastly/models/service_create_all_of.rb +251 -0
  1073. data/lib/fastly/models/service_detail.rb +383 -0
  1074. data/lib/fastly/models/service_detail_all_of.rb +225 -0
  1075. data/lib/fastly/models/service_id_and_version.rb +227 -0
  1076. data/lib/fastly/models/service_invitation.rb +216 -0
  1077. data/lib/fastly/models/service_invitation_data.rb +238 -0
  1078. data/lib/fastly/models/service_invitation_data_attributes.rb +253 -0
  1079. data/lib/fastly/models/service_invitation_response.rb +224 -0
  1080. data/lib/fastly/models/service_invitation_response_all_of.rb +216 -0
  1081. data/lib/fastly/models/service_invitation_response_all_of_data.rb +226 -0
  1082. data/lib/fastly/models/service_list_response.rb +356 -0
  1083. data/lib/fastly/models/service_list_response_all_of.rb +239 -0
  1084. data/lib/fastly/models/service_response.rb +366 -0
  1085. data/lib/fastly/models/service_response_all_of.rb +249 -0
  1086. data/lib/fastly/models/service_version_detail.rb +504 -0
  1087. data/lib/fastly/models/service_version_detail_or_null.rb +516 -0
  1088. data/lib/fastly/models/settings.rb +251 -0
  1089. data/lib/fastly/models/settings_response.rb +279 -0
  1090. data/lib/fastly/models/snippet.rb +305 -0
  1091. data/lib/fastly/models/snippet_response.rb +378 -0
  1092. data/lib/fastly/models/snippet_response_all_of.rb +217 -0
  1093. data/lib/fastly/models/star.rb +216 -0
  1094. data/lib/fastly/models/star_data.rb +227 -0
  1095. data/lib/fastly/models/star_response.rb +225 -0
  1096. data/lib/fastly/models/star_response_all_of.rb +217 -0
  1097. data/lib/fastly/models/stats.rb +218 -0
  1098. data/lib/fastly/models/timestamps.rb +240 -0
  1099. data/lib/fastly/models/timestamps_no_delete.rb +229 -0
  1100. data/lib/fastly/models/tls_activation.rb +216 -0
  1101. data/lib/fastly/models/tls_activation_data.rb +227 -0
  1102. data/lib/fastly/models/tls_activation_response.rb +216 -0
  1103. data/lib/fastly/models/tls_activation_response_data.rb +254 -0
  1104. data/lib/fastly/models/tls_activation_response_data_all_of.rb +226 -0
  1105. data/lib/fastly/models/tls_activations_response.rb +244 -0
  1106. data/lib/fastly/models/tls_activations_response_all_of.rb +218 -0
  1107. data/lib/fastly/models/tls_bulk_certificate.rb +216 -0
  1108. data/lib/fastly/models/tls_bulk_certificate_data.rb +236 -0
  1109. data/lib/fastly/models/tls_bulk_certificate_data_attributes.rb +239 -0
  1110. data/lib/fastly/models/tls_bulk_certificate_response.rb +216 -0
  1111. data/lib/fastly/models/tls_bulk_certificate_response_attributes.rb +278 -0
  1112. data/lib/fastly/models/tls_bulk_certificate_response_attributes_all_of.rb +237 -0
  1113. data/lib/fastly/models/tls_bulk_certificate_response_data.rb +254 -0
  1114. data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +226 -0
  1115. data/lib/fastly/models/tls_bulk_certificates_response.rb +244 -0
  1116. data/lib/fastly/models/tls_bulk_certificates_response_all_of.rb +218 -0
  1117. data/lib/fastly/models/tls_certificate.rb +216 -0
  1118. data/lib/fastly/models/tls_certificate_data.rb +236 -0
  1119. data/lib/fastly/models/tls_certificate_data_attributes.rb +227 -0
  1120. data/lib/fastly/models/tls_certificate_response.rb +216 -0
  1121. data/lib/fastly/models/tls_certificate_response_attributes.rb +318 -0
  1122. data/lib/fastly/models/tls_certificate_response_attributes_all_of.rb +277 -0
  1123. data/lib/fastly/models/tls_certificate_response_data.rb +254 -0
  1124. data/lib/fastly/models/tls_certificate_response_data_all_of.rb +226 -0
  1125. data/lib/fastly/models/tls_certificates_response.rb +244 -0
  1126. data/lib/fastly/models/tls_certificates_response_all_of.rb +218 -0
  1127. data/lib/fastly/models/tls_common.rb +305 -0
  1128. data/lib/fastly/models/tls_configuration.rb +216 -0
  1129. data/lib/fastly/models/tls_configuration_data.rb +236 -0
  1130. data/lib/fastly/models/tls_configuration_data_attributes.rb +217 -0
  1131. data/lib/fastly/models/tls_configuration_response.rb +216 -0
  1132. data/lib/fastly/models/tls_configuration_response_attributes.rb +292 -0
  1133. data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +251 -0
  1134. data/lib/fastly/models/tls_configuration_response_data.rb +254 -0
  1135. data/lib/fastly/models/tls_configuration_response_data_all_of.rb +226 -0
  1136. data/lib/fastly/models/tls_configurations_response.rb +244 -0
  1137. data/lib/fastly/models/tls_configurations_response_all_of.rb +218 -0
  1138. data/lib/fastly/models/tls_dns_record.rb +237 -0
  1139. data/lib/fastly/models/tls_domain_data.rb +237 -0
  1140. data/lib/fastly/models/tls_domains_response.rb +244 -0
  1141. data/lib/fastly/models/tls_domains_response_all_of.rb +218 -0
  1142. data/lib/fastly/models/tls_private_key.rb +216 -0
  1143. data/lib/fastly/models/tls_private_key_data.rb +236 -0
  1144. data/lib/fastly/models/tls_private_key_data_attributes.rb +227 -0
  1145. data/lib/fastly/models/tls_private_key_response.rb +216 -0
  1146. data/lib/fastly/models/tls_private_key_response_attributes.rb +298 -0
  1147. data/lib/fastly/models/tls_private_key_response_attributes_all_of.rb +257 -0
  1148. data/lib/fastly/models/tls_private_key_response_data.rb +237 -0
  1149. data/lib/fastly/models/tls_private_keys_response.rb +244 -0
  1150. data/lib/fastly/models/tls_private_keys_response_all_of.rb +218 -0
  1151. data/lib/fastly/models/tls_subscription.rb +216 -0
  1152. data/lib/fastly/models/tls_subscription_data.rb +236 -0
  1153. data/lib/fastly/models/tls_subscription_data_attributes.rb +251 -0
  1154. data/lib/fastly/models/tls_subscription_response.rb +216 -0
  1155. data/lib/fastly/models/tls_subscription_response_attributes.rb +292 -0
  1156. data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +251 -0
  1157. data/lib/fastly/models/tls_subscription_response_data.rb +233 -0
  1158. data/lib/fastly/models/tls_subscription_response_data_all_of.rb +226 -0
  1159. data/lib/fastly/models/tls_subscriptions_response.rb +244 -0
  1160. data/lib/fastly/models/tls_subscriptions_response_all_of.rb +218 -0
  1161. data/lib/fastly/models/token.rb +275 -0
  1162. data/lib/fastly/models/token_created_response.rb +385 -0
  1163. data/lib/fastly/models/token_created_response_all_of.rb +217 -0
  1164. data/lib/fastly/models/token_response.rb +376 -0
  1165. data/lib/fastly/models/token_response_all_of.rb +277 -0
  1166. data/lib/fastly/models/type_billing_address.rb +34 -0
  1167. data/lib/fastly/models/type_contact.rb +34 -0
  1168. data/lib/fastly/models/type_customer.rb +34 -0
  1169. data/lib/fastly/models/type_event.rb +34 -0
  1170. data/lib/fastly/models/type_invitation.rb +34 -0
  1171. data/lib/fastly/models/type_resource.rb +34 -0
  1172. data/lib/fastly/models/type_service.rb +34 -0
  1173. data/lib/fastly/models/type_service_authorization.rb +34 -0
  1174. data/lib/fastly/models/type_service_invitation.rb +34 -0
  1175. data/lib/fastly/models/type_star.rb +34 -0
  1176. data/lib/fastly/models/type_tls_activation.rb +34 -0
  1177. data/lib/fastly/models/type_tls_bulk_certificate.rb +34 -0
  1178. data/lib/fastly/models/type_tls_certificate.rb +34 -0
  1179. data/lib/fastly/models/type_tls_configuration.rb +34 -0
  1180. data/lib/fastly/models/type_tls_dns_record.rb +34 -0
  1181. data/lib/fastly/models/type_tls_domain.rb +34 -0
  1182. data/lib/fastly/models/type_tls_private_key.rb +34 -0
  1183. data/lib/fastly/models/type_tls_subscription.rb +34 -0
  1184. data/lib/fastly/models/type_user.rb +34 -0
  1185. data/lib/fastly/models/type_waf_active_rule.rb +34 -0
  1186. data/lib/fastly/models/type_waf_exclusion.rb +34 -0
  1187. data/lib/fastly/models/type_waf_firewall.rb +34 -0
  1188. data/lib/fastly/models/type_waf_firewall_version.rb +34 -0
  1189. data/lib/fastly/models/type_waf_rule.rb +34 -0
  1190. data/lib/fastly/models/type_waf_rule_revision.rb +34 -0
  1191. data/lib/fastly/models/type_waf_tag.rb +34 -0
  1192. data/lib/fastly/models/update_billing_address_request.rb +216 -0
  1193. data/lib/fastly/models/update_billing_address_request_data.rb +237 -0
  1194. data/lib/fastly/models/user.rb +286 -0
  1195. data/lib/fastly/models/user_response.rb +358 -0
  1196. data/lib/fastly/models/user_response_all_of.rb +237 -0
  1197. data/lib/fastly/models/vcl.rb +237 -0
  1198. data/lib/fastly/models/vcl_diff.rb +281 -0
  1199. data/lib/fastly/models/vcl_response.rb +299 -0
  1200. data/lib/fastly/models/version.rb +286 -0
  1201. data/lib/fastly/models/version_create_response.rb +227 -0
  1202. data/lib/fastly/models/version_detail.rb +374 -0
  1203. data/lib/fastly/models/version_response.rb +338 -0
  1204. data/lib/fastly/models/version_response_all_of.rb +217 -0
  1205. data/lib/fastly/models/waf_active_rule.rb +216 -0
  1206. data/lib/fastly/models/waf_active_rule_creation_response.rb +103 -0
  1207. data/lib/fastly/models/waf_active_rule_data.rb +236 -0
  1208. data/lib/fastly/models/waf_active_rule_data_attributes.rb +270 -0
  1209. data/lib/fastly/models/waf_active_rule_response.rb +216 -0
  1210. data/lib/fastly/models/waf_active_rule_response_data.rb +254 -0
  1211. data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +235 -0
  1212. data/lib/fastly/models/waf_active_rule_response_data_attributes.rb +268 -0
  1213. data/lib/fastly/models/waf_active_rule_response_data_attributes_all_of.rb +227 -0
  1214. data/lib/fastly/models/waf_active_rule_response_data_relationships.rb +245 -0
  1215. data/lib/fastly/models/waf_active_rules_response.rb +255 -0
  1216. data/lib/fastly/models/waf_active_rules_response_all_of.rb +229 -0
  1217. data/lib/fastly/models/waf_exclusion.rb +216 -0
  1218. data/lib/fastly/models/waf_exclusion_data.rb +236 -0
  1219. data/lib/fastly/models/waf_exclusion_data_attributes.rb +316 -0
  1220. data/lib/fastly/models/waf_exclusion_response.rb +216 -0
  1221. data/lib/fastly/models/waf_exclusion_response_data.rb +254 -0
  1222. data/lib/fastly/models/waf_exclusion_response_data_all_of.rb +235 -0
  1223. data/lib/fastly/models/waf_exclusion_response_data_attributes.rb +357 -0
  1224. data/lib/fastly/models/waf_exclusion_response_data_attributes_all_of.rb +316 -0
  1225. data/lib/fastly/models/waf_exclusion_response_data_relationships.rb +245 -0
  1226. data/lib/fastly/models/waf_exclusions_response.rb +255 -0
  1227. data/lib/fastly/models/waf_exclusions_response_all_of.rb +229 -0
  1228. data/lib/fastly/models/waf_firewall.rb +216 -0
  1229. data/lib/fastly/models/waf_firewall_data.rb +227 -0
  1230. data/lib/fastly/models/waf_firewall_data_attributes.rb +249 -0
  1231. data/lib/fastly/models/waf_firewall_response.rb +227 -0
  1232. data/lib/fastly/models/waf_firewall_response_data.rb +254 -0
  1233. data/lib/fastly/models/waf_firewall_response_data_all_of.rb +235 -0
  1234. data/lib/fastly/models/waf_firewall_response_data_attributes.rb +338 -0
  1235. data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +297 -0
  1236. data/lib/fastly/models/waf_firewall_version.rb +216 -0
  1237. data/lib/fastly/models/waf_firewall_version_data.rb +227 -0
  1238. data/lib/fastly/models/waf_firewall_version_data_attributes.rb +552 -0
  1239. data/lib/fastly/models/waf_firewall_version_response.rb +227 -0
  1240. data/lib/fastly/models/waf_firewall_version_response_data.rb +254 -0
  1241. data/lib/fastly/models/waf_firewall_version_response_data_all_of.rb +235 -0
  1242. data/lib/fastly/models/waf_firewall_version_response_data_attributes.rb +403 -0
  1243. data/lib/fastly/models/waf_firewall_version_response_data_attributes_all_of.rb +362 -0
  1244. data/lib/fastly/models/waf_firewall_versions_response.rb +255 -0
  1245. data/lib/fastly/models/waf_firewall_versions_response_all_of.rb +229 -0
  1246. data/lib/fastly/models/waf_firewalls_response.rb +255 -0
  1247. data/lib/fastly/models/waf_firewalls_response_all_of.rb +229 -0
  1248. data/lib/fastly/models/waf_rule.rb +237 -0
  1249. data/lib/fastly/models/waf_rule_attributes.rb +283 -0
  1250. data/lib/fastly/models/waf_rule_response.rb +227 -0
  1251. data/lib/fastly/models/waf_rule_response_data.rb +254 -0
  1252. data/lib/fastly/models/waf_rule_response_data_all_of.rb +216 -0
  1253. data/lib/fastly/models/waf_rule_revision.rb +237 -0
  1254. data/lib/fastly/models/waf_rule_revision_attributes.rb +321 -0
  1255. data/lib/fastly/models/waf_rule_revision_or_latest.rb +103 -0
  1256. data/lib/fastly/models/waf_rule_revision_response.rb +227 -0
  1257. data/lib/fastly/models/waf_rule_revision_response_data.rb +254 -0
  1258. data/lib/fastly/models/waf_rule_revision_response_data_all_of.rb +216 -0
  1259. data/lib/fastly/models/waf_rule_revisions_response.rb +255 -0
  1260. data/lib/fastly/models/waf_rule_revisions_response_all_of.rb +229 -0
  1261. data/lib/fastly/models/waf_rules_response.rb +255 -0
  1262. data/lib/fastly/models/waf_rules_response_all_of.rb +229 -0
  1263. data/lib/fastly/models/waf_tag.rb +237 -0
  1264. data/lib/fastly/models/waf_tag_attributes.rb +217 -0
  1265. data/lib/fastly/models/waf_tags_response.rb +255 -0
  1266. data/lib/fastly/models/waf_tags_response_all_of.rb +229 -0
  1267. data/lib/fastly/models/waf_tags_response_data_item.rb +254 -0
  1268. data/lib/fastly/version.rb +8 -167
  1269. data/lib/fastly.rb +656 -727
  1270. data/pkg/fastly-4.0.0.alpha1.gem +0 -0
  1271. data/pkg/fastly-4.0.0.alpha2.gem +0 -0
  1272. data/pkg/foo +0 -0
  1273. metadata +1304 -98
  1274. data/.env.example +0 -3
  1275. data/.gitignore +0 -9
  1276. data/.rubocop.yml +0 -35
  1277. data/.travis.yml +0 -13
  1278. data/Appraisals +0 -3
  1279. data/bin/fastly_create_domain +0 -67
  1280. data/bin/fastly_upload_vcl +0 -68
  1281. data/gemfiles/HEAD.gemfile +0 -16
  1282. data/lib/fastly/acl.rb +0 -62
  1283. data/lib/fastly/acl_entry.rb +0 -61
  1284. data/lib/fastly/backend.rb +0 -156
  1285. data/lib/fastly/base.rb +0 -64
  1286. data/lib/fastly/belongs_to_service_and_version.rb +0 -51
  1287. data/lib/fastly/big_query_logging.rb +0 -90
  1288. data/lib/fastly/cache_setting.rb +0 -45
  1289. data/lib/fastly/client.rb +0 -169
  1290. data/lib/fastly/condition.rb +0 -40
  1291. data/lib/fastly/customer.rb +0 -78
  1292. data/lib/fastly/dictionary.rb +0 -41
  1293. data/lib/fastly/dictionary_item.rb +0 -40
  1294. data/lib/fastly/director.rb +0 -63
  1295. data/lib/fastly/domain.rb +0 -29
  1296. data/lib/fastly/dynamic_snippet.rb +0 -31
  1297. data/lib/fastly/fetcher.rb +0 -51
  1298. data/lib/fastly/gcs_logging.rb +0 -111
  1299. data/lib/fastly/gem_version.rb +0 -4
  1300. data/lib/fastly/gzip.rb +0 -38
  1301. data/lib/fastly/header.rb +0 -87
  1302. data/lib/fastly/healthcheck.rb +0 -84
  1303. data/lib/fastly/invoice.rb +0 -120
  1304. data/lib/fastly/match.rb +0 -77
  1305. data/lib/fastly/papertrail_logging.rb +0 -63
  1306. data/lib/fastly/request_setting.rb +0 -89
  1307. data/lib/fastly/response_object.rb +0 -53
  1308. data/lib/fastly/s3_logging.rb +0 -101
  1309. data/lib/fastly/service.rb +0 -107
  1310. data/lib/fastly/settings.rb +0 -73
  1311. data/lib/fastly/snippet.rb +0 -53
  1312. data/lib/fastly/sumologic_logging.rb +0 -96
  1313. data/lib/fastly/syslog.rb +0 -111
  1314. data/lib/fastly/token.rb +0 -40
  1315. data/lib/fastly/user.rb +0 -60
  1316. data/lib/fastly/util.rb +0 -10
  1317. data/lib/fastly/vcl.rb +0 -50
  1318. data/test/admin_test.rb +0 -37
  1319. data/test/api_key_test.rb +0 -81
  1320. data/test/common.rb +0 -226
  1321. data/test/fastly/acl_entry_test.rb +0 -110
  1322. data/test/fastly/acl_test.rb +0 -163
  1323. data/test/fastly/client_test.rb +0 -136
  1324. data/test/fastly/customer_test.rb +0 -48
  1325. data/test/fastly/dictionary_test.rb +0 -53
  1326. data/test/fastly/syslog_test.rb +0 -51
  1327. data/test/fastly/token_test.rb +0 -127
  1328. data/test/fastly/util_test.rb +0 -21
  1329. data/test/full_login_test.rb +0 -92
  1330. data/test/helper.rb +0 -40
  1331. data/test/missing_api_key_test.rb +0 -28
  1332. data/test/stats_test.rb +0 -75
  1333. data/test/test_helper.rb +0 -4
  1334. data/test/token_test.rb +0 -64
@@ -0,0 +1,541 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'cgi'
12
+
13
+ module Fastly
14
+ class LoggingSftpApi
15
+ attr_accessor :api_client
16
+
17
+ def initialize(api_client = ApiClient.default)
18
+ @api_client = api_client
19
+ end
20
+ # Create an SFTP log endpoint
21
+ # Create a SFTP for a particular service and version.
22
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
23
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
24
+ # @option opts [String] :name The name for the real-time logging configuration.
25
+ # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
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 `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
27
+ # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
28
+ # @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\" %>s %b')
29
+ # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
30
+ # @option opts [String] :timestamp_format A timestamp format
31
+ # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
32
+ # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \\\"gzip.\\\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0)
33
+ # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \\\"gzip\\\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
34
+ # @option opts [String] :address A hostname or IPv4 address.
35
+ # @option opts [Object] :port The port number.
36
+ # @option opts [String] :password The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
37
+ # @option opts [String] :path The path to upload logs to. (default to 'null')
38
+ # @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
39
+ # @option opts [String] :secret_key The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. (default to 'null')
40
+ # @option opts [String] :ssh_known_hosts A list of host keys for all hosts we can connect to over SFTP.
41
+ # @option opts [String] :user The username for the server.
42
+ # @return [LoggingSftpResponse]
43
+ def create_log_sftp(opts = {})
44
+ data, _status_code, _headers = create_log_sftp_with_http_info(opts)
45
+ data
46
+ end
47
+
48
+ # Create an SFTP log endpoint
49
+ # Create a SFTP for a particular service and version.
50
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
51
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
52
+ # @option opts [String] :name The name for the real-time logging configuration.
53
+ # @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
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 `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
55
+ # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
56
+ # @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\" %>s %b')
57
+ # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
58
+ # @option opts [String] :timestamp_format A timestamp format
59
+ # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
60
+ # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \\\"gzip.\\\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. (default to 0)
61
+ # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \\\"gzip\\\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
62
+ # @option opts [String] :address A hostname or IPv4 address.
63
+ # @option opts [Object] :port The port number.
64
+ # @option opts [String] :password The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
65
+ # @option opts [String] :path The path to upload logs to. (default to 'null')
66
+ # @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
67
+ # @option opts [String] :secret_key The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. (default to 'null')
68
+ # @option opts [String] :ssh_known_hosts A list of host keys for all hosts we can connect to over SFTP.
69
+ # @option opts [String] :user The username for the server.
70
+ # @return [Array<(LoggingSftpResponse, Integer, Hash)>] LoggingSftpResponse data, response status code and response headers
71
+ def create_log_sftp_with_http_info(opts = {})
72
+ if @api_client.config.debugging
73
+ @api_client.config.logger.debug 'Calling API: LoggingSftpApi.create_log_sftp ...'
74
+ end
75
+ # unbox the parameters from the hash
76
+ service_id = opts[:'service_id']
77
+ version_id = opts[:'version_id']
78
+ # verify the required parameter 'service_id' is set
79
+ if @api_client.config.client_side_validation && service_id.nil?
80
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling LoggingSftpApi.create_log_sftp"
81
+ end
82
+ # verify the required parameter 'version_id' is set
83
+ if @api_client.config.client_side_validation && version_id.nil?
84
+ fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSftpApi.create_log_sftp"
85
+ end
86
+ allowable_values = ["none", "waf_debug", "null"]
87
+ if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
88
+ fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
89
+ end
90
+ allowable_values = [1, 2]
91
+ if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
92
+ fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
93
+ end
94
+ allowable_values = ["classic", "loggly", "logplex", "blank"]
95
+ if @api_client.config.client_side_validation && opts[:'message_type'] && !allowable_values.include?(opts[:'message_type'])
96
+ fail ArgumentError, "invalid value for \"message_type\", must be one of #{allowable_values}"
97
+ end
98
+ allowable_values = ["zstd", "snappy", "gzip"]
99
+ if @api_client.config.client_side_validation && opts[:'compression_codec'] && !allowable_values.include?(opts[:'compression_codec'])
100
+ fail ArgumentError, "invalid value for \"compression_codec\", must be one of #{allowable_values}"
101
+ end
102
+ # resource path
103
+ local_var_path = '/service/{service_id}/version/{version_id}/logging/sftp'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
104
+
105
+ # query parameters
106
+ query_params = opts[:query_params] || {}
107
+
108
+ # header parameters
109
+ header_params = opts[:header_params] || {}
110
+ # HTTP header 'Accept' (if needed)
111
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
112
+ # HTTP header 'Content-Type'
113
+ content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
114
+ if !content_type.nil?
115
+ header_params['Content-Type'] = content_type
116
+ end
117
+
118
+ # form parameters
119
+ form_params = opts[:form_params] || {}
120
+ form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
121
+ form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
122
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
123
+ form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
124
+ form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
125
+ form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
126
+ form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
127
+ form_params['period'] = opts[:'period'] if !opts[:'period'].nil?
128
+ 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
+ form_params['address'] = opts[:'address'] if !opts[:'address'].nil?
131
+ form_params['port'] = opts[:'port'] if !opts[:'port'].nil?
132
+ form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
133
+ form_params['path'] = opts[:'path'] if !opts[:'path'].nil?
134
+ form_params['public_key'] = opts[:'public_key'] if !opts[:'public_key'].nil?
135
+ form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil?
136
+ form_params['ssh_known_hosts'] = opts[:'ssh_known_hosts'] if !opts[:'ssh_known_hosts'].nil?
137
+ form_params['user'] = opts[:'user'] if !opts[:'user'].nil?
138
+
139
+ # http body (model)
140
+ post_body = opts[:debug_body]
141
+
142
+ # return_type
143
+ return_type = opts[:debug_return_type] || 'LoggingSftpResponse'
144
+
145
+ # auth_names
146
+ auth_names = opts[:debug_auth_names] || ['token']
147
+
148
+ new_options = opts.merge(
149
+ :operation => :"LoggingSftpApi.create_log_sftp",
150
+ :header_params => header_params,
151
+ :query_params => query_params,
152
+ :form_params => form_params,
153
+ :body => post_body,
154
+ :auth_names => auth_names,
155
+ :return_type => return_type
156
+ )
157
+
158
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
159
+ if @api_client.config.debugging
160
+ @api_client.config.logger.debug "API called: LoggingSftpApi#create_log_sftp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
161
+ end
162
+ return data, status_code, headers
163
+ end
164
+
165
+ # Delete an SFTP log endpoint
166
+ # Delete the SFTP for a particular service and version.
167
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
168
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
169
+ # @option opts [String] :logging_sftp_name The name for the real-time logging configuration. (required)
170
+ # @return [InlineResponse200]
171
+ def delete_log_sftp(opts = {})
172
+ data, _status_code, _headers = delete_log_sftp_with_http_info(opts)
173
+ data
174
+ end
175
+
176
+ # Delete an SFTP log endpoint
177
+ # Delete the SFTP for a particular service and version.
178
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
179
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
180
+ # @option opts [String] :logging_sftp_name The name for the real-time logging configuration. (required)
181
+ # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
182
+ def delete_log_sftp_with_http_info(opts = {})
183
+ if @api_client.config.debugging
184
+ @api_client.config.logger.debug 'Calling API: LoggingSftpApi.delete_log_sftp ...'
185
+ end
186
+ # unbox the parameters from the hash
187
+ service_id = opts[:'service_id']
188
+ version_id = opts[:'version_id']
189
+ logging_sftp_name = opts[:'logging_sftp_name']
190
+ # verify the required parameter 'service_id' is set
191
+ if @api_client.config.client_side_validation && service_id.nil?
192
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling LoggingSftpApi.delete_log_sftp"
193
+ end
194
+ # verify the required parameter 'version_id' is set
195
+ if @api_client.config.client_side_validation && version_id.nil?
196
+ fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSftpApi.delete_log_sftp"
197
+ end
198
+ # verify the required parameter 'logging_sftp_name' is set
199
+ if @api_client.config.client_side_validation && logging_sftp_name.nil?
200
+ fail ArgumentError, "Missing the required parameter 'logging_sftp_name' when calling LoggingSftpApi.delete_log_sftp"
201
+ end
202
+ # resource path
203
+ local_var_path = '/service/{service_id}/version/{version_id}/logging/sftp/{logging_sftp_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'logging_sftp_name' + '}', CGI.escape(logging_sftp_name.to_s))
204
+
205
+ # query parameters
206
+ query_params = opts[:query_params] || {}
207
+
208
+ # header parameters
209
+ header_params = opts[:header_params] || {}
210
+ # HTTP header 'Accept' (if needed)
211
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
212
+
213
+ # form parameters
214
+ form_params = opts[:form_params] || {}
215
+
216
+ # http body (model)
217
+ post_body = opts[:debug_body]
218
+
219
+ # return_type
220
+ return_type = opts[:debug_return_type] || 'InlineResponse200'
221
+
222
+ # auth_names
223
+ auth_names = opts[:debug_auth_names] || ['token']
224
+
225
+ new_options = opts.merge(
226
+ :operation => :"LoggingSftpApi.delete_log_sftp",
227
+ :header_params => header_params,
228
+ :query_params => query_params,
229
+ :form_params => form_params,
230
+ :body => post_body,
231
+ :auth_names => auth_names,
232
+ :return_type => return_type
233
+ )
234
+
235
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
236
+ if @api_client.config.debugging
237
+ @api_client.config.logger.debug "API called: LoggingSftpApi#delete_log_sftp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
238
+ end
239
+ return data, status_code, headers
240
+ end
241
+
242
+ # Get an SFTP log endpoint
243
+ # Get the SFTP for a particular service and version.
244
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
245
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
246
+ # @option opts [String] :logging_sftp_name The name for the real-time logging configuration. (required)
247
+ # @return [LoggingSftpResponse]
248
+ def get_log_sftp(opts = {})
249
+ data, _status_code, _headers = get_log_sftp_with_http_info(opts)
250
+ data
251
+ end
252
+
253
+ # Get an SFTP log endpoint
254
+ # Get the SFTP for a particular service and version.
255
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
256
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
257
+ # @option opts [String] :logging_sftp_name The name for the real-time logging configuration. (required)
258
+ # @return [Array<(LoggingSftpResponse, Integer, Hash)>] LoggingSftpResponse data, response status code and response headers
259
+ def get_log_sftp_with_http_info(opts = {})
260
+ if @api_client.config.debugging
261
+ @api_client.config.logger.debug 'Calling API: LoggingSftpApi.get_log_sftp ...'
262
+ end
263
+ # unbox the parameters from the hash
264
+ service_id = opts[:'service_id']
265
+ version_id = opts[:'version_id']
266
+ logging_sftp_name = opts[:'logging_sftp_name']
267
+ # verify the required parameter 'service_id' is set
268
+ if @api_client.config.client_side_validation && service_id.nil?
269
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling LoggingSftpApi.get_log_sftp"
270
+ end
271
+ # verify the required parameter 'version_id' is set
272
+ if @api_client.config.client_side_validation && version_id.nil?
273
+ fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSftpApi.get_log_sftp"
274
+ end
275
+ # verify the required parameter 'logging_sftp_name' is set
276
+ if @api_client.config.client_side_validation && logging_sftp_name.nil?
277
+ fail ArgumentError, "Missing the required parameter 'logging_sftp_name' when calling LoggingSftpApi.get_log_sftp"
278
+ end
279
+ # resource path
280
+ local_var_path = '/service/{service_id}/version/{version_id}/logging/sftp/{logging_sftp_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'logging_sftp_name' + '}', CGI.escape(logging_sftp_name.to_s))
281
+
282
+ # query parameters
283
+ query_params = opts[:query_params] || {}
284
+
285
+ # header parameters
286
+ header_params = opts[:header_params] || {}
287
+ # HTTP header 'Accept' (if needed)
288
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
289
+
290
+ # form parameters
291
+ form_params = opts[:form_params] || {}
292
+
293
+ # http body (model)
294
+ post_body = opts[:debug_body]
295
+
296
+ # return_type
297
+ return_type = opts[:debug_return_type] || 'LoggingSftpResponse'
298
+
299
+ # auth_names
300
+ auth_names = opts[:debug_auth_names] || ['token']
301
+
302
+ new_options = opts.merge(
303
+ :operation => :"LoggingSftpApi.get_log_sftp",
304
+ :header_params => header_params,
305
+ :query_params => query_params,
306
+ :form_params => form_params,
307
+ :body => post_body,
308
+ :auth_names => auth_names,
309
+ :return_type => return_type
310
+ )
311
+
312
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
313
+ if @api_client.config.debugging
314
+ @api_client.config.logger.debug "API called: LoggingSftpApi#get_log_sftp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
+ end
316
+ return data, status_code, headers
317
+ end
318
+
319
+ # List SFTP log endpoints
320
+ # List all of the SFTPs for a particular service and version.
321
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
322
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
323
+ # @return [Array<LoggingSftpResponse>]
324
+ def list_log_sftp(opts = {})
325
+ data, _status_code, _headers = list_log_sftp_with_http_info(opts)
326
+ data
327
+ end
328
+
329
+ # List SFTP log endpoints
330
+ # List all of the SFTPs for a particular service and version.
331
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
332
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
333
+ # @return [Array<(Array<LoggingSftpResponse>, Integer, Hash)>] Array<LoggingSftpResponse> data, response status code and response headers
334
+ def list_log_sftp_with_http_info(opts = {})
335
+ if @api_client.config.debugging
336
+ @api_client.config.logger.debug 'Calling API: LoggingSftpApi.list_log_sftp ...'
337
+ end
338
+ # unbox the parameters from the hash
339
+ service_id = opts[:'service_id']
340
+ version_id = opts[:'version_id']
341
+ # verify the required parameter 'service_id' is set
342
+ if @api_client.config.client_side_validation && service_id.nil?
343
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling LoggingSftpApi.list_log_sftp"
344
+ end
345
+ # verify the required parameter 'version_id' is set
346
+ if @api_client.config.client_side_validation && version_id.nil?
347
+ fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSftpApi.list_log_sftp"
348
+ end
349
+ # resource path
350
+ local_var_path = '/service/{service_id}/version/{version_id}/logging/sftp'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
351
+
352
+ # query parameters
353
+ query_params = opts[:query_params] || {}
354
+
355
+ # header parameters
356
+ header_params = opts[:header_params] || {}
357
+ # HTTP header 'Accept' (if needed)
358
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
359
+
360
+ # form parameters
361
+ form_params = opts[:form_params] || {}
362
+
363
+ # http body (model)
364
+ post_body = opts[:debug_body]
365
+
366
+ # return_type
367
+ return_type = opts[:debug_return_type] || 'Array<LoggingSftpResponse>'
368
+
369
+ # auth_names
370
+ auth_names = opts[:debug_auth_names] || ['token']
371
+
372
+ new_options = opts.merge(
373
+ :operation => :"LoggingSftpApi.list_log_sftp",
374
+ :header_params => header_params,
375
+ :query_params => query_params,
376
+ :form_params => form_params,
377
+ :body => post_body,
378
+ :auth_names => auth_names,
379
+ :return_type => return_type
380
+ )
381
+
382
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
383
+ if @api_client.config.debugging
384
+ @api_client.config.logger.debug "API called: LoggingSftpApi#list_log_sftp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
385
+ end
386
+ return data, status_code, headers
387
+ end
388
+
389
+ # Update an SFTP log endpoint
390
+ # Update the SFTP for a particular service and version.
391
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
392
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
393
+ # @option opts [String] :logging_sftp_name The name for the real-time logging configuration. (required)
394
+ # @option opts [String] :name The name for the real-time logging configuration.
395
+ # @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;.
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
+ # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
398
+ # @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')
399
+ # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
400
+ # @option opts [String] :timestamp_format A timestamp format
401
+ # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
402
+ # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default &#x60;0&#x60;, no compression). If an explicit non-zero value is set, then &#x60;compression_codec&#x60; will default to \\\&quot;gzip.\\\&quot; Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
403
+ # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. If the specified codec is \\\&quot;gzip\\\&quot;, &#x60;gzip_level&#x60; will default to 3. To specify a different level, leave &#x60;compression_codec&#x60; blank and explicitly set the level using &#x60;gzip_level&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
404
+ # @option opts [String] :address A hostname or IPv4 address.
405
+ # @option opts [Object] :port The port number.
406
+ # @option opts [String] :password The password for the server. If both &#x60;password&#x60; and &#x60;secret_key&#x60; are passed, &#x60;secret_key&#x60; will be used in preference.
407
+ # @option opts [String] :path The path to upload logs to. (default to 'null')
408
+ # @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
409
+ # @option opts [String] :secret_key The SSH private key for the server. If both &#x60;password&#x60; and &#x60;secret_key&#x60; are passed, &#x60;secret_key&#x60; will be used in preference. (default to 'null')
410
+ # @option opts [String] :ssh_known_hosts A list of host keys for all hosts we can connect to over SFTP.
411
+ # @option opts [String] :user The username for the server.
412
+ # @return [LoggingSftpResponse]
413
+ def update_log_sftp(opts = {})
414
+ data, _status_code, _headers = update_log_sftp_with_http_info(opts)
415
+ data
416
+ end
417
+
418
+ # Update an SFTP log endpoint
419
+ # Update the SFTP for a particular service and version.
420
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
421
+ # @option opts [Integer] :version_id Integer identifying a service version. (required)
422
+ # @option opts [String] :logging_sftp_name The name for the real-time logging configuration. (required)
423
+ # @option opts [String] :name The name for the real-time logging configuration.
424
+ # @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;.
425
+ # @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)
426
+ # @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
427
+ # @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')
428
+ # @option opts [String] :message_type How the message should be formatted. (default to 'classic')
429
+ # @option opts [String] :timestamp_format A timestamp format
430
+ # @option opts [Integer] :period How frequently log files are finalized so they can be available for reading (in seconds). (default to 3600)
431
+ # @option opts [Integer] :gzip_level What level of gzip encoding to have when sending logs (default &#x60;0&#x60;, no compression). If an explicit non-zero value is set, then &#x60;compression_codec&#x60; will default to \\\&quot;gzip.\\\&quot; Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error. (default to 0)
432
+ # @option opts [String] :compression_codec The codec used for compression of your logs. Valid values are &#x60;zstd&#x60;, &#x60;snappy&#x60;, and &#x60;gzip&#x60;. If the specified codec is \\\&quot;gzip\\\&quot;, &#x60;gzip_level&#x60; will default to 3. To specify a different level, leave &#x60;compression_codec&#x60; blank and explicitly set the level using &#x60;gzip_level&#x60;. Specifying both &#x60;compression_codec&#x60; and &#x60;gzip_level&#x60; in the same API request will result in an error.
433
+ # @option opts [String] :address A hostname or IPv4 address.
434
+ # @option opts [Object] :port The port number.
435
+ # @option opts [String] :password The password for the server. If both &#x60;password&#x60; and &#x60;secret_key&#x60; are passed, &#x60;secret_key&#x60; will be used in preference.
436
+ # @option opts [String] :path The path to upload logs to. (default to 'null')
437
+ # @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
438
+ # @option opts [String] :secret_key The SSH private key for the server. If both &#x60;password&#x60; and &#x60;secret_key&#x60; are passed, &#x60;secret_key&#x60; will be used in preference. (default to 'null')
439
+ # @option opts [String] :ssh_known_hosts A list of host keys for all hosts we can connect to over SFTP.
440
+ # @option opts [String] :user The username for the server.
441
+ # @return [Array<(LoggingSftpResponse, Integer, Hash)>] LoggingSftpResponse data, response status code and response headers
442
+ def update_log_sftp_with_http_info(opts = {})
443
+ if @api_client.config.debugging
444
+ @api_client.config.logger.debug 'Calling API: LoggingSftpApi.update_log_sftp ...'
445
+ end
446
+ # unbox the parameters from the hash
447
+ service_id = opts[:'service_id']
448
+ version_id = opts[:'version_id']
449
+ logging_sftp_name = opts[:'logging_sftp_name']
450
+ # verify the required parameter 'service_id' is set
451
+ if @api_client.config.client_side_validation && service_id.nil?
452
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling LoggingSftpApi.update_log_sftp"
453
+ end
454
+ # verify the required parameter 'version_id' is set
455
+ if @api_client.config.client_side_validation && version_id.nil?
456
+ fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSftpApi.update_log_sftp"
457
+ end
458
+ # verify the required parameter 'logging_sftp_name' is set
459
+ if @api_client.config.client_side_validation && logging_sftp_name.nil?
460
+ fail ArgumentError, "Missing the required parameter 'logging_sftp_name' when calling LoggingSftpApi.update_log_sftp"
461
+ end
462
+ allowable_values = ["none", "waf_debug", "null"]
463
+ if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
464
+ fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
465
+ end
466
+ allowable_values = [1, 2]
467
+ if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
468
+ fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
469
+ end
470
+ allowable_values = ["classic", "loggly", "logplex", "blank"]
471
+ if @api_client.config.client_side_validation && opts[:'message_type'] && !allowable_values.include?(opts[:'message_type'])
472
+ fail ArgumentError, "invalid value for \"message_type\", must be one of #{allowable_values}"
473
+ end
474
+ allowable_values = ["zstd", "snappy", "gzip"]
475
+ if @api_client.config.client_side_validation && opts[:'compression_codec'] && !allowable_values.include?(opts[:'compression_codec'])
476
+ fail ArgumentError, "invalid value for \"compression_codec\", must be one of #{allowable_values}"
477
+ end
478
+ # resource path
479
+ local_var_path = '/service/{service_id}/version/{version_id}/logging/sftp/{logging_sftp_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'logging_sftp_name' + '}', CGI.escape(logging_sftp_name.to_s))
480
+
481
+ # query parameters
482
+ query_params = opts[:query_params] || {}
483
+
484
+ # header parameters
485
+ header_params = opts[:header_params] || {}
486
+ # HTTP header 'Accept' (if needed)
487
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
488
+ # HTTP header 'Content-Type'
489
+ content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
490
+ if !content_type.nil?
491
+ header_params['Content-Type'] = content_type
492
+ end
493
+
494
+ # form parameters
495
+ form_params = opts[:form_params] || {}
496
+ form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
497
+ form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
498
+ form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
499
+ form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
500
+ form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
501
+ form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
502
+ form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
503
+ form_params['period'] = opts[:'period'] if !opts[:'period'].nil?
504
+ form_params['gzip_level'] = opts[:'gzip_level'] if !opts[:'gzip_level'].nil?
505
+ form_params['compression_codec'] = opts[:'compression_codec'] if !opts[:'compression_codec'].nil?
506
+ form_params['address'] = opts[:'address'] if !opts[:'address'].nil?
507
+ form_params['port'] = opts[:'port'] if !opts[:'port'].nil?
508
+ form_params['password'] = opts[:'password'] if !opts[:'password'].nil?
509
+ form_params['path'] = opts[:'path'] if !opts[:'path'].nil?
510
+ form_params['public_key'] = opts[:'public_key'] if !opts[:'public_key'].nil?
511
+ form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil?
512
+ form_params['ssh_known_hosts'] = opts[:'ssh_known_hosts'] if !opts[:'ssh_known_hosts'].nil?
513
+ form_params['user'] = opts[:'user'] if !opts[:'user'].nil?
514
+
515
+ # http body (model)
516
+ post_body = opts[:debug_body]
517
+
518
+ # return_type
519
+ return_type = opts[:debug_return_type] || 'LoggingSftpResponse'
520
+
521
+ # auth_names
522
+ auth_names = opts[:debug_auth_names] || ['token']
523
+
524
+ new_options = opts.merge(
525
+ :operation => :"LoggingSftpApi.update_log_sftp",
526
+ :header_params => header_params,
527
+ :query_params => query_params,
528
+ :form_params => form_params,
529
+ :body => post_body,
530
+ :auth_names => auth_names,
531
+ :return_type => return_type
532
+ )
533
+
534
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
535
+ if @api_client.config.debugging
536
+ @api_client.config.logger.debug "API called: LoggingSftpApi#update_log_sftp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
537
+ end
538
+ return data, status_code, headers
539
+ end
540
+ end
541
+ end