files.com 1.1.828 → 1.1.829

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +1 -1
  4. data/_VERSION +1 -1
  5. data/doc/Files/APIConnectionError.html +1 -1
  6. data/doc/Files/APIError.html +1 -1
  7. data/doc/Files/AccountAlreadyExistsError.html +1 -1
  8. data/doc/Files/AccountLineItem.html +1 -1
  9. data/doc/Files/AccountOverdueError.html +1 -1
  10. data/doc/Files/Action.html +1 -1
  11. data/doc/Files/ActionLog.html +1 -1
  12. data/doc/Files/ActionNotificationExport.html +1 -1
  13. data/doc/Files/ActionNotificationExportResult.html +1 -1
  14. data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
  15. data/doc/Files/AgentNode.html +1 -1
  16. data/doc/Files/AgentNodeConnection.html +1 -1
  17. data/doc/Files/AgentNodeInstance.html +1 -1
  18. data/doc/Files/AgentPushUpdate.html +1 -1
  19. data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
  20. data/doc/Files/AgentUnavailableError.html +1 -1
  21. data/doc/Files/AgentUpgradeRequiredError.html +1 -1
  22. data/doc/Files/AiAssistantPersonality.html +1 -1
  23. data/doc/Files/AiTask.html +1 -1
  24. data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
  25. data/doc/Files/AlreadyCompletedError.html +1 -1
  26. data/doc/Files/Api.html +1 -1
  27. data/doc/Files/ApiClient/RequestLogContext.html +1 -1
  28. data/doc/Files/ApiClient/TransferSettings.html +1 -1
  29. data/doc/Files/ApiClient.html +1 -1
  30. data/doc/Files/ApiKey.html +1 -1
  31. data/doc/Files/ApiKeyIsDisabledError.html +1 -1
  32. data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
  33. data/doc/Files/ApiKeyNotFoundError.html +1 -1
  34. data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
  35. data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
  36. data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
  37. data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
  38. data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
  39. data/doc/Files/ApiRequestLog.html +1 -1
  40. data/doc/Files/App.html +1 -1
  41. data/doc/Files/As2IncomingMessage.html +1 -1
  42. data/doc/Files/As2OutgoingMessage.html +1 -1
  43. data/doc/Files/As2Partner.html +1 -1
  44. data/doc/Files/As2Station.html +1 -1
  45. data/doc/Files/AttachmentTooLargeError.html +1 -1
  46. data/doc/Files/AuthenticationError.html +1 -1
  47. data/doc/Files/AuthenticationRequiredError.html +1 -1
  48. data/doc/Files/Auto.html +1 -1
  49. data/doc/Files/Automation.html +1 -1
  50. data/doc/Files/AutomationAuthoringSchema.html +1 -1
  51. data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
  52. data/doc/Files/AutomationExecutionNode.html +1 -1
  53. data/doc/Files/AutomationLog.html +1 -1
  54. data/doc/Files/AutomationRun.html +1 -1
  55. data/doc/Files/AutomationsUnavailableError.html +1 -1
  56. data/doc/Files/BadRequestError.html +1 -1
  57. data/doc/Files/BandwidthSnapshot.html +1 -1
  58. data/doc/Files/Behavior.html +1 -1
  59. data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
  60. data/doc/Files/BillingInformationHiddenError.html +1 -1
  61. data/doc/Files/BillingPermissionRequiredError.html +1 -1
  62. data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
  63. data/doc/Files/Bundle.html +1 -1
  64. data/doc/Files/BundleAction.html +1 -1
  65. data/doc/Files/BundleDownload.html +1 -1
  66. data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
  67. data/doc/Files/BundleNotification.html +1 -1
  68. data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
  69. data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
  70. data/doc/Files/BundlePath.html +1 -1
  71. data/doc/Files/BundlePathNotFoundError.html +1 -1
  72. data/doc/Files/BundlePermissionRequiredError.html +1 -1
  73. data/doc/Files/BundleRecipient.html +1 -1
  74. data/doc/Files/BundleRegistration.html +1 -1
  75. data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
  76. data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
  77. data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
  78. data/doc/Files/CannotDownloadDirectoryError.html +1 -1
  79. data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
  80. data/doc/Files/CantActForOtherUserError.html +1 -1
  81. data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
  82. data/doc/Files/ChatMessage.html +1 -1
  83. data/doc/Files/ChatSession.html +1 -1
  84. data/doc/Files/ChildSiteManagementPolicy.html +1 -1
  85. data/doc/Files/Clickwrap.html +1 -1
  86. data/doc/Files/CodeNotFoundError.html +1 -1
  87. data/doc/Files/ConfigurationLockedPathError.html +1 -1
  88. data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
  89. data/doc/Files/CouldNotCreateParentError.html +1 -1
  90. data/doc/Files/CustomDomain.html +1 -1
  91. data/doc/Files/DatetimeParseError.html +1 -1
  92. data/doc/Files/DesktopConfigurationProfile.html +1 -1
  93. data/doc/Files/DestinationExistsError.html +1 -1
  94. data/doc/Files/DestinationFolderLimitedError.html +1 -1
  95. data/doc/Files/DestinationParentConflictError.html +1 -1
  96. data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
  97. data/doc/Files/DestinationSameError.html +1 -1
  98. data/doc/Files/DestinationSiteMismatchError.html +1 -1
  99. data/doc/Files/DirectConnectionInfo.html +1 -1
  100. data/doc/Files/DnsRecord.html +1 -1
  101. data/doc/Files/DoesNotSupportSortingError.html +1 -1
  102. data/doc/Files/DuplicateShareRecipientError.html +1 -1
  103. data/doc/Files/EmailIncomingMessage.html +1 -1
  104. data/doc/Files/EmailLog.html +1 -1
  105. data/doc/Files/Error.html +1 -1
  106. data/doc/Files/Errors.html +1 -1
  107. data/doc/Files/EventChannel.html +1 -1
  108. data/doc/Files/EventDeliveryAttempt.html +1 -1
  109. data/doc/Files/EventRecord.html +1 -1
  110. data/doc/Files/EventSubscription.html +1 -1
  111. data/doc/Files/EventTarget.html +1 -1
  112. data/doc/Files/ExavaultApiRequestLog.html +1 -1
  113. data/doc/Files/ExceededRuntimeLimitError.html +1 -1
  114. data/doc/Files/Expectation.html +1 -1
  115. data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
  116. data/doc/Files/ExpectationEvaluation.html +1 -1
  117. data/doc/Files/ExpectationIncident.html +1 -1
  118. data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
  119. data/doc/Files/ExpiredPrivateKeyError.html +1 -1
  120. data/doc/Files/ExpiredPublicKeyError.html +1 -1
  121. data/doc/Files/ExportFailureError.html +1 -1
  122. data/doc/Files/ExportNotReadyError.html +1 -1
  123. data/doc/Files/ExternalEvent.html +1 -1
  124. data/doc/Files/FailedToChangePasswordError.html +1 -1
  125. data/doc/Files/File.html +1 -1
  126. data/doc/Files/FileAction.html +1 -1
  127. data/doc/Files/FileActionError.html +1 -1
  128. data/doc/Files/FileComment.html +1 -1
  129. data/doc/Files/FileCommentReaction.html +1 -1
  130. data/doc/Files/FileLockedError.html +1 -1
  131. data/doc/Files/FileMigration.html +1 -1
  132. data/doc/Files/FileMigrationLog.html +1 -1
  133. data/doc/Files/FileNotFoundError.html +1 -1
  134. data/doc/Files/FileNotUploadedError.html +1 -1
  135. data/doc/Files/FilePendingProcessingError.html +1 -1
  136. data/doc/Files/FileProcessingErrorError.html +1 -1
  137. data/doc/Files/FileTooBigToDecryptError.html +1 -1
  138. data/doc/Files/FileTooBigToEncryptError.html +1 -1
  139. data/doc/Files/FileUploadNotFoundError.html +1 -1
  140. data/doc/Files/FileUploadPart.html +1 -1
  141. data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
  142. data/doc/Files/FileUtils.html +1 -1
  143. data/doc/Files/FilenameTooLongError.html +1 -1
  144. data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
  145. data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
  146. data/doc/Files/Folder.html +1 -1
  147. data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
  148. data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
  149. data/doc/Files/FolderLockedError.html +1 -1
  150. data/doc/Files/FolderMustNotBeAFileError.html +1 -1
  151. data/doc/Files/FolderNotEmptyError.html +1 -1
  152. data/doc/Files/FoldersNotAllowedError.html +1 -1
  153. data/doc/Files/FormField.html +1 -1
  154. data/doc/Files/FormFieldSet.html +1 -1
  155. data/doc/Files/FtpActionLog.html +1 -1
  156. data/doc/Files/FullPermissionRequiredError.html +1 -1
  157. data/doc/Files/GpgKey.html +1 -1
  158. data/doc/Files/Group.html +1 -1
  159. data/doc/Files/GroupNotFoundError.html +1 -1
  160. data/doc/Files/GroupUser.html +1 -1
  161. data/doc/Files/History.html +1 -1
  162. data/doc/Files/HistoryExport.html +1 -1
  163. data/doc/Files/HistoryExportResult.html +1 -1
  164. data/doc/Files/HistoryPermissionRequiredError.html +1 -1
  165. data/doc/Files/HistoryUnavailableError.html +1 -1
  166. data/doc/Files/HolidayCalendar.html +1 -1
  167. data/doc/Files/HolidayRegion.html +1 -1
  168. data/doc/Files/Image.html +1 -1
  169. data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
  170. data/doc/Files/InboundS3Log.html +1 -1
  171. data/doc/Files/InboxNotFoundError.html +1 -1
  172. data/doc/Files/InboxRecipient.html +1 -1
  173. data/doc/Files/InboxRegistration.html +1 -1
  174. data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
  175. data/doc/Files/InboxUpload.html +1 -1
  176. data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
  177. data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
  178. data/doc/Files/IntegrationCentricProfile.html +1 -1
  179. data/doc/Files/InternalGeneralErrorError.html +1 -1
  180. data/doc/Files/InvalidBodyError.html +1 -1
  181. data/doc/Files/InvalidBundleCodeError.html +1 -1
  182. data/doc/Files/InvalidCredentialsError.html +1 -1
  183. data/doc/Files/InvalidCursorError.html +1 -1
  184. data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
  185. data/doc/Files/InvalidEtagsError.html +1 -1
  186. data/doc/Files/InvalidFileTypeError.html +1 -1
  187. data/doc/Files/InvalidFilenameError.html +1 -1
  188. data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
  189. data/doc/Files/InvalidFilterFieldError.html +1 -1
  190. data/doc/Files/InvalidFilterParamError.html +1 -1
  191. data/doc/Files/InvalidFilterParamFormatError.html +1 -1
  192. data/doc/Files/InvalidFilterParamValueError.html +1 -1
  193. data/doc/Files/InvalidInputEncodingError.html +1 -1
  194. data/doc/Files/InvalidInterfaceError.html +1 -1
  195. data/doc/Files/InvalidOauthError.html +1 -1
  196. data/doc/Files/InvalidOauthProviderError.html +1 -1
  197. data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
  198. data/doc/Files/InvalidParameterError.html +1 -1
  199. data/doc/Files/InvalidPathError.html +1 -1
  200. data/doc/Files/InvalidPriorityColorError.html +1 -1
  201. data/doc/Files/InvalidRangeError.html +1 -1
  202. data/doc/Files/InvalidReturnToUrlError.html +1 -1
  203. data/doc/Files/InvalidSearchQueryError.html +1 -1
  204. data/doc/Files/InvalidSessionError.html +1 -1
  205. data/doc/Files/InvalidSiteError.html +1 -1
  206. data/doc/Files/InvalidSortFieldError.html +1 -1
  207. data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
  208. data/doc/Files/InvalidUploadOffsetError.html +1 -1
  209. data/doc/Files/InvalidUploadPartGapError.html +1 -1
  210. data/doc/Files/InvalidUploadPartSizeError.html +1 -1
  211. data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
  212. data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
  213. data/doc/Files/InvalidZipFileError.html +1 -1
  214. data/doc/Files/Invoice.html +1 -1
  215. data/doc/Files/InvoiceLineItem.html +1 -1
  216. data/doc/Files/IpAddress.html +1 -1
  217. data/doc/Files/KeyLifecycleRule.html +1 -1
  218. data/doc/Files/List.html +1 -1
  219. data/doc/Files/Lock.html +1 -1
  220. data/doc/Files/LockOperationBusyError.html +1 -1
  221. data/doc/Files/LockedOutError.html +1 -1
  222. data/doc/Files/LockoutRegionMismatchError.html +1 -1
  223. data/doc/Files/MetadataCategory.html +1 -1
  224. data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
  225. data/doc/Files/MethodNotAllowedError.html +1 -1
  226. data/doc/Files/MigrationInProgressError.html +1 -1
  227. data/doc/Files/MissingParameterError.html +1 -1
  228. data/doc/Files/ModelSaveErrorError.html +1 -1
  229. data/doc/Files/MoverAccessDeniedError.html +1 -1
  230. data/doc/Files/MoverPackageRequiredError.html +1 -1
  231. data/doc/Files/MultipleProcessingErrorsError.html +1 -1
  232. data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
  233. data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
  234. data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
  235. data/doc/Files/NestedNotFoundError.html +1 -1
  236. data/doc/Files/NoAccountForSiteError.html +1 -1
  237. data/doc/Files/NoValidInputParamsError.html +1 -1
  238. data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
  239. data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
  240. data/doc/Files/NotAuthenticatedError.html +1 -1
  241. data/doc/Files/NotAuthorizedError.html +1 -1
  242. data/doc/Files/NotEnqueuableSyncError.html +1 -1
  243. data/doc/Files/NotFoundError.html +1 -1
  244. data/doc/Files/NotImplementedError.html +1 -1
  245. data/doc/Files/Notification.html +1 -1
  246. data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
  247. data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
  248. data/doc/Files/OutboundConnectionLog.html +1 -1
  249. data/doc/Files/PartNumberTooLargeError.html +1 -1
  250. data/doc/Files/Partner.html +1 -1
  251. data/doc/Files/PartnerChannel.html +1 -1
  252. data/doc/Files/PartnerChannelTemplate.html +1 -1
  253. data/doc/Files/PartnerConnection.html +1 -1
  254. data/doc/Files/PartnerSite.html +1 -1
  255. data/doc/Files/PartnerSiteRequest.html +1 -1
  256. data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
  257. data/doc/Files/PasswordChangeRequiredError.html +1 -1
  258. data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
  259. data/doc/Files/PathTooLongError.html +1 -1
  260. data/doc/Files/PathUtil.html +1 -1
  261. data/doc/Files/Payment.html +1 -1
  262. data/doc/Files/PaymentLineItem.html +1 -1
  263. data/doc/Files/PaymentMethodErrorError.html +1 -1
  264. data/doc/Files/PendingWorkEvent.html +1 -1
  265. data/doc/Files/Permission.html +1 -1
  266. data/doc/Files/PlanNotFoundError.html +1 -1
  267. data/doc/Files/Preview.html +1 -1
  268. data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
  269. data/doc/Files/ProcessingFailureError.html +1 -1
  270. data/doc/Files/PublicHostingRequestLog.html +1 -1
  271. data/doc/Files/PublicIpAddress.html +1 -1
  272. data/doc/Files/PublicKey.html +1 -1
  273. data/doc/Files/RateLimitedError.html +1 -1
  274. data/doc/Files/ReadOnlySessionError.html +1 -1
  275. data/doc/Files/ReadPermissionRequiredError.html +1 -1
  276. data/doc/Files/ReauthenticationFailedError.html +1 -1
  277. data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
  278. data/doc/Files/ReauthenticationNeededActionError.html +1 -1
  279. data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
  280. data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
  281. data/doc/Files/RecaptchaFailedError.html +1 -1
  282. data/doc/Files/RecipientAlreadySharedError.html +1 -1
  283. data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
  284. data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
  285. data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
  286. data/doc/Files/RemoteMountBackend.html +1 -1
  287. data/doc/Files/RemoteServer.html +1 -1
  288. data/doc/Files/RemoteServerConfigurationFile.html +1 -1
  289. data/doc/Files/RemoteServerCredential.html +1 -1
  290. data/doc/Files/RemoteServerErrorError.html +1 -1
  291. data/doc/Files/Request.html +1 -1
  292. data/doc/Files/RequestBodyTooLargeError.html +1 -1
  293. data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
  294. data/doc/Files/RequestParamsInvalidError.html +1 -1
  295. data/doc/Files/RequestParamsRequiredError.html +1 -1
  296. data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
  297. data/doc/Files/ResourceLockedError.html +1 -1
  298. data/doc/Files/Response.html +1 -1
  299. data/doc/Files/Restore.html +1 -1
  300. data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
  301. data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
  302. data/doc/Files/Schedule.html +1 -1
  303. data/doc/Files/ScheduledExport.html +1 -1
  304. data/doc/Files/ScimLog.html +1 -1
  305. data/doc/Files/SearchAllOnChildPathError.html +1 -1
  306. data/doc/Files/SearchUnavailableError.html +1 -1
  307. data/doc/Files/Secret.html +1 -1
  308. data/doc/Files/SelfManagedRequiredError.html +1 -1
  309. data/doc/Files/ServiceUnavailableError.html +1 -1
  310. data/doc/Files/Session.html +1 -1
  311. data/doc/Files/SettingsChange.html +1 -1
  312. data/doc/Files/SftpActionLog.html +1 -1
  313. data/doc/Files/SftpHostKey.html +1 -1
  314. data/doc/Files/ShareGroup.html +1 -1
  315. data/doc/Files/ShareGroupMember.html +1 -1
  316. data/doc/Files/SiemHttpDestination.html +1 -1
  317. data/doc/Files/SiemHttpDestinationEvent.html +1 -1
  318. data/doc/Files/Site.html +1 -1
  319. data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  320. data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
  321. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
  322. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  323. data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
  324. data/doc/Files/SiteAdminRequiredError.html +1 -1
  325. data/doc/Files/SiteConfigurationError.html +1 -1
  326. data/doc/Files/SiteDisabledError.html +1 -1
  327. data/doc/Files/SiteFilesAreImmutableError.html +1 -1
  328. data/doc/Files/SiteNotFoundError.html +1 -1
  329. data/doc/Files/SiteSubdomainRedirect.html +1 -1
  330. data/doc/Files/SiteWasRemovedError.html +1 -1
  331. data/doc/Files/SizableIO.html +1 -1
  332. data/doc/Files/Snapshot.html +1 -1
  333. data/doc/Files/SsoEvent.html +1 -1
  334. data/doc/Files/SsoStrategy.html +1 -1
  335. data/doc/Files/Status.html +1 -1
  336. data/doc/Files/Style.html +1 -1
  337. data/doc/Files/SubfolderLockedError.html +1 -1
  338. data/doc/Files/Sync.html +1 -1
  339. data/doc/Files/SyncInProgressError.html +1 -1
  340. data/doc/Files/SyncLog.html +1 -1
  341. data/doc/Files/SyncRun.html +1 -1
  342. data/doc/Files/SyncRunLiveTransfer.html +1 -1
  343. data/doc/Files/SystemProfiler.html +1 -1
  344. data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
  345. data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
  346. data/doc/Files/TooManyLoginAttemptsError.html +1 -1
  347. data/doc/Files/TooManyRequestsError.html +1 -1
  348. data/doc/Files/TooManySharesError.html +1 -1
  349. data/doc/Files/Transfer/Attempts.html +1 -1
  350. data/doc/Files/Transfer/BufferLimitError.html +1 -1
  351. data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
  352. data/doc/Files/Transfer/ByteBudget.html +1 -1
  353. data/doc/Files/Transfer/CancelledError.html +1 -1
  354. data/doc/Files/Transfer/Checkpoint.html +1 -1
  355. data/doc/Files/Transfer/CheckpointError.html +1 -1
  356. data/doc/Files/Transfer/ClientTransport/ClientResponse.html +36 -36
  357. data/doc/Files/Transfer/ClientTransport/Reader.html +33 -29
  358. data/doc/Files/Transfer/ClientTransport.html +34 -34
  359. data/doc/Files/Transfer/Clock.html +1 -1
  360. data/doc/Files/Transfer/Control.html +1 -1
  361. data/doc/Files/Transfer/Controller/Attempt.html +1 -1
  362. data/doc/Files/Transfer/Controller.html +1 -1
  363. data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
  364. data/doc/Files/Transfer/Coordinator.html +1 -1
  365. data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +134 -60
  366. data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +152 -77
  367. data/doc/Files/Transfer/DownloadCoordinator/Piece.html +37 -37
  368. data/doc/Files/Transfer/DownloadCoordinator.html +73 -60
  369. data/doc/Files/Transfer/DownloadDate.html +1 -1
  370. data/doc/Files/Transfer/FileSlots.html +1 -1
  371. data/doc/Files/Transfer/FrontendResponseError.html +1 -1
  372. data/doc/Files/Transfer/Holds.html +1 -1
  373. data/doc/Files/Transfer/HttpTransport.html +13 -12
  374. data/doc/Files/Transfer/Job.html +1 -1
  375. data/doc/Files/Transfer/Options.html +1 -1
  376. data/doc/Files/Transfer/PausedError.html +1 -1
  377. data/doc/Files/Transfer/Policy.html +1 -1
  378. data/doc/Files/Transfer/RequestPermits.html +1 -1
  379. data/doc/Files/Transfer/SourceChangedError.html +1 -1
  380. data/doc/Files/Transfer/StorageResponse.html +1 -1
  381. data/doc/Files/Transfer/StorageRetry.html +259 -102
  382. data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
  383. data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
  384. data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
  385. data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
  386. data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
  387. data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
  388. data/doc/Files/Transfer/UploadCoordinator.html +1 -1
  389. data/doc/Files/Transfer/UploadPlan.html +1 -1
  390. data/doc/Files/Transfer/UrlExpired.html +1 -1
  391. data/doc/Files/Transfer/VersionChangedError.html +1 -1
  392. data/doc/Files/Transfer.html +1 -1
  393. data/doc/Files/TrialExpiredError.html +1 -1
  394. data/doc/Files/TrialLockedError.html +1 -1
  395. data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
  396. data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
  397. data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
  398. data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
  399. data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
  400. data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
  401. data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
  402. data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
  403. data/doc/Files/URI.html +1 -1
  404. data/doc/Files/UnrecognizedSortIndexError.html +1 -1
  405. data/doc/Files/UnsupportedCurrencyError.html +1 -1
  406. data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
  407. data/doc/Files/UnsupportedMediaTypeError.html +1 -1
  408. data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
  409. data/doc/Files/UploadFinalization.html +1 -1
  410. data/doc/Files/UploadsUnavailableError.html +1 -1
  411. data/doc/Files/UsageByTopLevelDir.html +1 -1
  412. data/doc/Files/UsageDailySnapshot.html +1 -1
  413. data/doc/Files/UsageSnapshot.html +1 -1
  414. data/doc/Files/User.html +1 -1
  415. data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
  416. data/doc/Files/UserCipherUse.html +1 -1
  417. data/doc/Files/UserIdInvalidError.html +1 -1
  418. data/doc/Files/UserIdOnUserEndpointError.html +1 -1
  419. data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
  420. data/doc/Files/UserLifecycleRule.html +1 -1
  421. data/doc/Files/UserNotFoundError.html +1 -1
  422. data/doc/Files/UserRequest.html +1 -1
  423. data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
  424. data/doc/Files/UserRequiredError.html +1 -1
  425. data/doc/Files/UserSecurityEvent.html +1 -1
  426. data/doc/Files/UserSftpClientUse.html +1 -1
  427. data/doc/Files/Util/LogSettings.html +1 -1
  428. data/doc/Files/Util.html +1 -1
  429. data/doc/Files/WebDavActionLog.html +1 -1
  430. data/doc/Files/WebhookTest.html +1 -1
  431. data/doc/Files/Workspace.html +1 -1
  432. data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
  433. data/doc/Files/WritePermissionRequiredError.html +1 -1
  434. data/doc/Files/ZipListEntry.html +1 -1
  435. data/doc/Files.html +1 -1
  436. data/doc/_index.html +1 -1
  437. data/doc/file.README.html +2 -2
  438. data/doc/index.html +2 -2
  439. data/doc/method_list.html +2985 -2953
  440. data/doc/top-level-namespace.html +1 -1
  441. data/docs/file.md +21 -5
  442. data/lib/files.com/transfer/download_coordinator.rb +93 -11
  443. data/lib/files.com/transfer/http_transport.rb +14 -9
  444. data/lib/files.com/transfer/storage_retry.rb +22 -4
  445. data/spec/models/native_file_spec.rb +4 -2
  446. data/spec/transfer/adaptive_download_spec.rb +219 -3
  447. metadata +1 -1
@@ -97,7 +97,8 @@ destination back for every request of the job (Holds). Anything else is refused:
97
97
  3xx (redirects are never followed) and a success that does not acknowledge the part. Each retry is a new
98
98
  admission, within the caller's Files.max_network_retries, and never for a part whose instructions say
99
99
  retry_parts: false. A 400 or 403 that says its URL has expired (expired_response?) is renewed instead, as one of
100
- those retries, as is a 403 for a URL whose stated expiry has passed.</p>
100
+ those retries, as is a 403 for a URL whose stated expiry has passed. A 409 that says a download's file changed
101
+ since its URL was given (source_changed_response?) is that change, never retried with the same URL.</p>
101
102
 
102
103
  </div>
103
104
  </div>
@@ -292,6 +293,21 @@ to case, as the Python and .NET SDKs match them.</p>
292
293
  </dt>
293
294
  <dd><pre class="code"><span class='qwords_beg'>%w[</span><span class='tstring_content'>download_request_expired</span><span class='words_sep'> </span><span class='tstring_content'>upload_request_expired</span><span class='tstring_end'>]</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
294
295
 
296
+ <dt id="SOURCE_CHANGED_TYPE-constant" class="">SOURCE_CHANGED_TYPE =
297
+ <div class="docstring">
298
+ <div class="discussion">
299
+ <p>The type of the JSON error a Files.com download URL is refused with, as a 409, once its file has changed since
300
+ the URL was given, such as a Files Agent file whose size no longer matches the size the URL was given for.</p>
301
+
302
+ </div>
303
+ </div>
304
+ <div class="tags">
305
+
306
+
307
+ </div>
308
+ </dt>
309
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>download_source_changed</span><span class='tstring_end'>&quot;</span></span></pre></dd>
310
+
295
311
  <dt id="JSON_START-constant" class="">JSON_START =
296
312
  <div class="docstring">
297
313
  <div class="discussion">
@@ -392,6 +408,28 @@ to case, as the Python and .NET SDKs match them.</p>
392
408
  <li class="public ">
393
409
  <span class="summary_signature">
394
410
 
411
+ <a href="#error_type-class_method" title="error_type (class method)">.<strong>error_type</strong>(body) &#x21d2; Object </a>
412
+
413
+
414
+
415
+ </span>
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+ <span class="summary_desc"><div class='inline'><p>The type of the JSON error object that is the whole of body, or nil when body is not one.</p></div></span>
426
+
427
+ </li>
428
+
429
+
430
+ <li class="public ">
431
+ <span class="summary_signature">
432
+
395
433
  <a href="#expired%3F-class_method" title="expired? (class method)">.<strong>expired?</strong>(expires_at, now: Time.now) &#x21d2; Boolean </a>
396
434
 
397
435
 
@@ -524,6 +562,28 @@ to case, as the Python and .NET SDKs match them.</p>
524
562
  <li class="public ">
525
563
  <span class="summary_signature">
526
564
 
565
+ <a href="#source_changed_response%3F-class_method" title="source_changed_response? (class method)">.<strong>source_changed_response?</strong>(status, body, truncated: false) &#x21d2; Boolean </a>
566
+
567
+
568
+
569
+ </span>
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+ <span class="summary_desc"><div class='inline'><p>Whether a download URL was refused because its file changed since the URL was given: a 409 whose whole body, within EXPIRY_SCAN_BYTES, is a JSON object whose type is SOURCE_CHANGED_TYPE.</p></div></span>
580
+
581
+ </li>
582
+
583
+
584
+ <li class="public ">
585
+ <span class="summary_signature">
586
+
527
587
  <a href="#valid_xml_attributes%3F-class_method" title="valid_xml_attributes? (class method)">.<strong>valid_xml_attributes?</strong>(attributes) &#x21d2; Boolean </a>
528
588
 
529
589
 
@@ -590,17 +650,17 @@ to case, as the Python and .NET SDKs match them.</p>
590
650
  <pre class="lines">
591
651
 
592
652
 
593
- 192
594
- 193
595
- 194
596
- 195
597
- 196
598
- 197
599
- 198
600
- 199</pre>
653
+ 210
654
+ 211
655
+ 212
656
+ 213
657
+ 214
658
+ 215
659
+ 216
660
+ 217</pre>
601
661
  </td>
602
662
  <td>
603
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 192</span>
663
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 210</span>
604
664
 
605
665
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_api_time'>api_time</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
606
666
  <span class='kw'>case</span> <span class='id identifier rubyid_value'>value</span>
@@ -641,19 +701,19 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
641
701
  <pre class="lines">
642
702
 
643
703
 
644
- 56
645
- 57
646
- 58
647
- 59
648
704
  60
649
705
  61
650
706
  62
651
707
  63
652
708
  64
653
- 65</pre>
709
+ 65
710
+ 66
711
+ 67
712
+ 68
713
+ 69</pre>
654
714
  </td>
655
715
  <td>
656
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 56</span>
716
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 60</span>
657
717
 
658
718
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_classify'>classify</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='kw'>false</span><span class='rparen'>)</span>
659
719
  <span class='kw'>if</span> <span class='const'><span class='object_link'><a href="#THROTTLE_STATUSES-constant" title="Files::Transfer::StorageRetry::THROTTLE_STATUSES (constant)">THROTTLE_STATUSES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='rparen'>)</span>
@@ -685,13 +745,13 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
685
745
  <pre class="lines">
686
746
 
687
747
 
688
- 187
689
- 188
690
- 189
691
- 190</pre>
748
+ 205
749
+ 206
750
+ 207
751
+ 208</pre>
692
752
  </td>
693
753
  <td>
694
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 187</span>
754
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 205</span>
695
755
 
696
756
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_compact_time'>compact_time</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span>
697
757
  <span class='id identifier rubyid_match'>match</span> <span class='op'>=</span> <span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\A(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z\z</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
@@ -700,6 +760,51 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
700
760
  </td>
701
761
  </tr>
702
762
  </table>
763
+ </div>
764
+
765
+ <div class="method_details ">
766
+ <h3 class="signature " id="error_type-class_method">
767
+
768
+ .<strong>error_type</strong>(body) &#x21d2; <tt>Object</tt>
769
+
770
+
771
+
772
+
773
+
774
+ </h3><div class="docstring">
775
+ <div class="discussion">
776
+ <p>The type of the JSON error object that is the whole of body, or nil when body is not one.</p>
777
+
778
+ </div>
779
+ </div>
780
+ <div class="tags">
781
+
782
+
783
+ </div><table class="source_code">
784
+ <tr>
785
+ <td>
786
+ <pre class="lines">
787
+
788
+
789
+ 99
790
+ 100
791
+ 101
792
+ 102
793
+ 103
794
+ 104</pre>
795
+ </td>
796
+ <td>
797
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 99</span>
798
+
799
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_error_type'>error_type</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
800
+ <span class='id identifier rubyid_error'>error</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_force_encoding'>force_encoding</span><span class='lparen'>(</span><span class='const'>Encoding</span><span class='op'>::</span><span class='const'>UTF_8</span><span class='rparen'>)</span><span class='rparen'>)</span>
801
+ <span class='id identifier rubyid_error'>error</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>type</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_error'>error</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
802
+ <span class='kw'>rescue</span> <span class='const'>JSON</span><span class='op'>::</span><span class='const'>ParserError</span><span class='comma'>,</span> <span class='const'>EncodingError</span>
803
+ <span class='kw'>nil</span>
804
+ <span class='kw'>end</span></pre>
805
+ </td>
806
+ </tr>
807
+ </table>
703
808
  </div>
704
809
 
705
810
  <div class="method_details ">
@@ -739,12 +844,12 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
739
844
  <pre class="lines">
740
845
 
741
846
 
742
- 183
743
- 184
744
- 185</pre>
847
+ 201
848
+ 202
849
+ 203</pre>
745
850
  </td>
746
851
  <td>
747
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 183</span>
852
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 201</span>
748
853
 
749
854
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_expired?'>expired?</span><span class='lparen'>(</span><span class='id identifier rubyid_expires_at'>expires_at</span><span class='comma'>,</span> <span class='label'>now:</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='rparen'>)</span>
750
855
  <span class='op'>!</span><span class='id identifier rubyid_expires_at'>expires_at</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_now'>now</span> <span class='op'>&gt;=</span> <span class='id identifier rubyid_expires_at'>expires_at</span> <span class='op'>-</span> <span class='const'><span class='object_link'><a href="#EXPIRY_MARGIN-constant" title="Files::Transfer::StorageRetry::EXPIRY_MARGIN (constant)">EXPIRY_MARGIN</a></span></span>
@@ -795,10 +900,6 @@ alone, never by text inside it. Any other refusal, such as a 403 that denies acc
795
900
  <pre class="lines">
796
901
 
797
902
 
798
- 72
799
- 73
800
- 74
801
- 75
802
903
  76
803
904
  77
804
905
  78
@@ -809,10 +910,11 @@ alone, never by text inside it. Any other refusal, such as a 403 that denies acc
809
910
  83
810
911
  84
811
912
  85
812
- 86</pre>
913
+ 86
914
+ 87</pre>
813
915
  </td>
814
916
  <td>
815
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 72</span>
917
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 76</span>
816
918
 
817
919
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_expired_response?'>expired_response?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='kw'>false</span><span class='rparen'>)</span>
818
920
  <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='lbracket'>[</span> <span class='int'>400</span><span class='comma'>,</span> <span class='int'>403</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
@@ -824,10 +926,7 @@ alone, never by text inside it. Any other refusal, such as a 403 that denies acc
824
926
  <span class='kw'>end</span>
825
927
  <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>||</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'>&gt;</span> <span class='const'><span class='object_link'><a href="#EXPIRY_SCAN_BYTES-constant" title="Files::Transfer::StorageRetry::EXPIRY_SCAN_BYTES (constant)">EXPIRY_SCAN_BYTES</a></span></span>
826
928
 
827
- <span class='id identifier rubyid_error'>error</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_scanned'>scanned</span><span class='period'>.</span><span class='id identifier rubyid_force_encoding'>force_encoding</span><span class='lparen'>(</span><span class='const'>Encoding</span><span class='op'>::</span><span class='const'>UTF_8</span><span class='rparen'>)</span><span class='rparen'>)</span>
828
- <span class='id identifier rubyid_error'>error</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='const'><span class='object_link'><a href="#EXPIRED_TYPES-constant" title="Files::Transfer::StorageRetry::EXPIRED_TYPES (constant)">EXPIRED_TYPES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_error'>error</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>type</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
829
- <span class='kw'>rescue</span> <span class='const'>JSON</span><span class='op'>::</span><span class='const'>ParserError</span><span class='comma'>,</span> <span class='const'>EncodingError</span>
830
- <span class='kw'>false</span>
929
+ <span class='const'><span class='object_link'><a href="#EXPIRED_TYPES-constant" title="Files::Transfer::StorageRetry::EXPIRED_TYPES (constant)">EXPIRED_TYPES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_error_type'>error_type</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span><span class='rparen'>)</span>
831
930
  <span class='kw'>end</span></pre>
832
931
  </td>
833
932
  </tr>
@@ -859,23 +958,23 @@ the same X-Files- and X-Goog- parameters, or an Azure SAS's se. nil when neither
859
958
  <pre class="lines">
860
959
 
861
960
 
862
- 168
863
- 169
864
- 170
865
- 171
866
- 172
867
- 173
868
- 174
869
- 175
870
- 176
871
- 177
872
- 178
873
- 179
874
- 180
875
- 181</pre>
961
+ 186
962
+ 187
963
+ 188
964
+ 189
965
+ 190
966
+ 191
967
+ 192
968
+ 193
969
+ 194
970
+ 195
971
+ 196
972
+ 197
973
+ 198
974
+ 199</pre>
876
975
  </td>
877
976
  <td>
878
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 168</span>
977
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 186</span>
879
978
 
880
979
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_expires_at'>expires_at</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_api_expires'>api_expires</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
881
980
  <span class='id identifier rubyid_times'>times</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_api_time'>api_time</span><span class='lparen'>(</span><span class='id identifier rubyid_api_expires'>api_expires</span><span class='rparen'>)</span> <span class='rbracket'>]</span>
@@ -933,12 +1032,12 @@ the same X-Files- and X-Goog- parameters, or an Azure SAS's se. nil when neither
933
1032
  <pre class="lines">
934
1033
 
935
1034
 
936
- 162
937
- 163
938
- 164</pre>
1035
+ 180
1036
+ 181
1037
+ 182</pre>
939
1038
  </td>
940
1039
  <td>
941
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 162</span>
1040
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 180</span>
942
1041
 
943
1042
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_frontend?'>frontend?</span><span class='lparen'>(</span><span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
944
1043
  <span class='id identifier rubyid_headers'>headers</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#FRONTEND_HEADER-constant" title="Files::Transfer::StorageRetry::FRONTEND_HEADER (constant)">FRONTEND_HEADER</a></span></span><span class='rparen'>)</span>
@@ -989,24 +1088,6 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
989
1088
  <pre class="lines">
990
1089
 
991
1090
 
992
- 104
993
- 105
994
- 106
995
- 107
996
- 108
997
- 109
998
- 110
999
- 111
1000
- 112
1001
- 113
1002
- 114
1003
- 115
1004
- 116
1005
- 117
1006
- 118
1007
- 119
1008
- 120
1009
- 121
1010
1091
  122
1011
1092
  123
1012
1093
  124
@@ -1024,10 +1105,28 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
1024
1105
  136
1025
1106
  137
1026
1107
  138
1027
- 139</pre>
1108
+ 139
1109
+ 140
1110
+ 141
1111
+ 142
1112
+ 143
1113
+ 144
1114
+ 145
1115
+ 146
1116
+ 147
1117
+ 148
1118
+ 149
1119
+ 150
1120
+ 151
1121
+ 152
1122
+ 153
1123
+ 154
1124
+ 155
1125
+ 156
1126
+ 157</pre>
1028
1127
  </td>
1029
1128
  <td>
1030
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 104</span>
1129
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 122</span>
1031
1130
 
1032
1131
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_request_timeout?'>request_timeout?</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
1033
1132
  <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'>&lt;=</span> <span class='const'><span class='object_link'><a href="#XML_MAX_BYTES-constant" title="Files::Transfer::StorageRetry::XML_MAX_BYTES (constant)">XML_MAX_BYTES</a></span></span>
@@ -1094,18 +1193,18 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
1094
1193
  <pre class="lines">
1095
1194
 
1096
1195
 
1097
- 89
1098
- 90
1099
- 91
1100
- 92
1101
- 93
1102
- 94
1103
- 95
1104
- 96
1105
- 97</pre>
1196
+ 107
1197
+ 108
1198
+ 109
1199
+ 110
1200
+ 111
1201
+ 112
1202
+ 113
1203
+ 114
1204
+ 115</pre>
1106
1205
  </td>
1107
1206
  <td>
1108
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 89</span>
1207
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 107</span>
1109
1208
 
1110
1209
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_retry_after'>retry_after</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='label'>now:</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='rparen'>)</span>
1111
1210
  <span class='kw'>return</span> <span class='float'>0.0</span> <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -1119,6 +1218,64 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
1119
1218
  </td>
1120
1219
  </tr>
1121
1220
  </table>
1221
+ </div>
1222
+
1223
+ <div class="method_details ">
1224
+ <h3 class="signature " id="source_changed_response?-class_method">
1225
+
1226
+ .<strong>source_changed_response?</strong>(status, body, truncated: false) &#x21d2; <tt>Boolean</tt>
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+ </h3><div class="docstring">
1233
+ <div class="discussion">
1234
+ <p>Whether a download URL was refused because its file changed since the URL was given: a 409 whose whole body,
1235
+ within EXPIRY_SCAN_BYTES, is a JSON object whose type is SOURCE_CHANGED_TYPE. Judged by that type alone, never
1236
+ by text inside the body, nor from a body truncated or longer than that; any other 409 is not.</p>
1237
+
1238
+ </div>
1239
+ </div>
1240
+ <div class="tags">
1241
+
1242
+ <p class="tag_title">Returns:</p>
1243
+ <ul class="return">
1244
+
1245
+ <li>
1246
+
1247
+
1248
+ <span class='type'>(<tt>Boolean</tt>)</span>
1249
+
1250
+
1251
+
1252
+ </li>
1253
+
1254
+ </ul>
1255
+
1256
+ </div><table class="source_code">
1257
+ <tr>
1258
+ <td>
1259
+ <pre class="lines">
1260
+
1261
+
1262
+ 92
1263
+ 93
1264
+ 94
1265
+ 95
1266
+ 96</pre>
1267
+ </td>
1268
+ <td>
1269
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 92</span>
1270
+
1271
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_source_changed_response?'>source_changed_response?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='kw'>false</span><span class='rparen'>)</span>
1272
+ <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_status'>status</span> <span class='op'>==</span> <span class='int'>409</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'>&lt;=</span> <span class='const'><span class='object_link'><a href="#EXPIRY_SCAN_BYTES-constant" title="Files::Transfer::StorageRetry::EXPIRY_SCAN_BYTES (constant)">EXPIRY_SCAN_BYTES</a></span></span>
1273
+
1274
+ <span class='id identifier rubyid_error_type'>error_type</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="#SOURCE_CHANGED_TYPE-constant" title="Files::Transfer::StorageRetry::SOURCE_CHANGED_TYPE (constant)">SOURCE_CHANGED_TYPE</a></span></span>
1275
+ <span class='kw'>end</span></pre>
1276
+ </td>
1277
+ </tr>
1278
+ </table>
1122
1279
  </div>
1123
1280
 
1124
1281
  <div class="method_details ">
@@ -1159,18 +1316,18 @@ formed.</p>
1159
1316
  <pre class="lines">
1160
1317
 
1161
1318
 
1162
- 143
1163
- 144
1164
- 145
1165
- 146
1166
- 147
1167
- 148
1168
- 149
1169
- 150
1170
- 151</pre>
1319
+ 161
1320
+ 162
1321
+ 163
1322
+ 164
1323
+ 165
1324
+ 166
1325
+ 167
1326
+ 168
1327
+ 169</pre>
1171
1328
  </td>
1172
1329
  <td>
1173
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 143</span>
1330
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 161</span>
1174
1331
 
1175
1332
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_valid_xml_attributes?'>valid_xml_attributes?</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
1176
1333
  <span class='id identifier rubyid_names'>names</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
@@ -1224,15 +1381,15 @@ allows.</p>
1224
1381
  <pre class="lines">
1225
1382
 
1226
1383
 
1227
- 155
1228
- 156
1229
- 157
1230
- 158
1231
- 159
1232
- 160</pre>
1384
+ 173
1385
+ 174
1386
+ 175
1387
+ 176
1388
+ 177
1389
+ 178</pre>
1233
1390
  </td>
1234
1391
  <td>
1235
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 155</span>
1392
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 173</span>
1236
1393
 
1237
1394
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_valid_xml_text?'>valid_xml_text?</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span>
1238
1395
  <span class='op'>!</span><span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>]]&gt;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#XML_CHARACTER_REFERENCE-constant" title="Files::Transfer::StorageRetry::XML_CHARACTER_REFERENCE (constant)">XML_CHARACTER_REFERENCE</a></span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_all?'>all?</span> <span class='kw'>do</span> <span class='op'>|</span><span class='lparen'>(</span><span class='id identifier rubyid_digits'>digits</span><span class='rparen'>)</span><span class='op'>|</span>
@@ -1250,7 +1407,7 @@ allows.</p>
1250
1407
  </div>
1251
1408
 
1252
1409
  <div id="footer">
1253
- Generated on Fri Nov 13 23:51:24 2026 by
1410
+ Generated on Sat Nov 14 22:52:23 2026 by
1254
1411
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1255
1412
  0.9.45 (ruby-4.0.9).
1256
1413
  </div>
@@ -1038,7 +1038,7 @@
1038
1038
  </div>
1039
1039
 
1040
1040
  <div id="footer">
1041
- Generated on Fri Nov 13 23:51:53 2026 by
1041
+ Generated on Sat Nov 14 22:52:45 2026 by
1042
1042
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1043
1043
  0.9.45 (ruby-4.0.9).
1044
1044
  </div>
@@ -1038,7 +1038,7 @@
1038
1038
  </div>
1039
1039
 
1040
1040
  <div id="footer">
1041
- Generated on Fri Nov 13 23:51:53 2026 by
1041
+ Generated on Sat Nov 14 22:52:45 2026 by
1042
1042
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1043
1043
  0.9.45 (ruby-4.0.9).
1044
1044
  </div>
@@ -285,7 +285,7 @@ transport as they are, never taken for network errors.</p>
285
285
  </div>
286
286
 
287
287
  <div id="footer">
288
- Generated on Fri Nov 13 23:51:53 2026 by
288
+ Generated on Sat Nov 14 22:52:45 2026 by
289
289
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
290
290
  0.9.45 (ruby-4.0.9).
291
291
  </div>
@@ -289,7 +289,7 @@ Each read copies a slice of at most 64 KiB of a piece, which the part holds a re
289
289
  </div>
290
290
 
291
291
  <div id="footer">
292
- Generated on Fri Nov 13 23:51:53 2026 by
292
+ Generated on Sat Nov 14 22:52:45 2026 by
293
293
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
294
294
  0.9.45 (ruby-4.0.9).
295
295
  </div>
@@ -715,7 +715,7 @@ the first attempt did without keeping it in memory.</p>
715
715
  </div>
716
716
 
717
717
  <div id="footer">
718
- Generated on Fri Nov 13 23:51:53 2026 by
718
+ Generated on Sat Nov 14 22:52:45 2026 by
719
719
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
720
720
  0.9.45 (ruby-4.0.9).
721
721
  </div>
@@ -654,7 +654,7 @@ order, as one String when a single read gave the whole part.</p>
654
654
  </div>
655
655
 
656
656
  <div id="footer">
657
- Generated on Fri Nov 13 23:51:53 2026 by
657
+ Generated on Sat Nov 14 22:52:45 2026 by
658
658
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
659
659
  0.9.45 (ruby-4.0.9).
660
660
  </div>
@@ -540,7 +540,7 @@ before finalizing, the local file must still be the one opened, with the same si
540
540
  </div>
541
541
 
542
542
  <div id="footer">
543
- Generated on Fri Nov 13 23:51:53 2026 by
543
+ Generated on Sat Nov 14 22:52:45 2026 by
544
544
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
545
545
  0.9.45 (ruby-4.0.9).
546
546
  </div>
@@ -512,7 +512,7 @@ URL, or a parallel flag on its own, is not this route. The URL is only read: the
512
512
  </div>
513
513
 
514
514
  <div id="footer">
515
- Generated on Fri Nov 13 23:51:24 2026 by
515
+ Generated on Sat Nov 14 22:52:23 2026 by
516
516
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
517
517
  0.9.45 (ruby-4.0.9).
518
518
  </div>
@@ -128,7 +128,7 @@ request again; it never reaches a caller.</p>
128
128
  </div>
129
129
 
130
130
  <div id="footer">
131
- Generated on Fri Nov 13 23:51:38 2026 by
131
+ Generated on Sat Nov 14 22:52:33 2026 by
132
132
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
133
133
  0.9.45 (ruby-4.0.9).
134
134
  </div>