Configure the flow control algorithm for buffered uploads.
Buffered uploads flow control the sender if the internal buffer exceeds the HWM (High Watermark) value configured in this option. The flow control is only released once the internal buffer reaches the LWM (Low Watermark) value configured via BufferedUploadLwmOption.
The library caps these values as follows (1) the LWM is always capped to the [256KiB, std::numeric_limits<std::size_t>::max() / 4] range, and (2) the HWM is always at least two times the LWM.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["This webpage provides documentation for the `BufferedUploadHwmOption` struct in the Google Cloud Storage C++ client library, which is used for configuring the high watermark (HWM) for flow control in buffered uploads."],["The HWM setting determines the threshold at which the sender is flow-controlled if the internal buffer exceeds the specified size."],["Flow control is maintained until the internal buffer reaches the low watermark (LWM), configured using `BufferedUploadLwmOption`."],["The library enforces limits on both LWM and HWM, ensuring that the LWM falls within the range of 256KiB to a quarter of the maximum `std::size_t` and that the HWM is always at least double the LWM."],["The documentation references versions of this feature from version 2.11.0 up to 2.37.0-rc, with 2.37.0-rc being the latest version."]]],[]]