Provide an expected final length of an uploaded object.
Resumable uploads allow or an additional integrity check - make GCS check if the uploaded content matches the declared length. If it doesn't the upload will fail.
[[["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-03-14 UTC."],[[["This webpage provides documentation for the `UploadContentLength` structure within the Google Cloud Storage C++ library, detailing its usage across multiple versions."],["Version 2.37.0-rc is the latest release candidate, and links are provided for versions ranging from 2.37.0-rc down to version 2.11.0."],["`UploadContentLength` is used to specify the expected length of an uploaded object to Google Cloud Storage."],["It facilitates resumable uploads and enables integrity checks by ensuring the uploaded content matches the declared length, failing the upload if there is a discrepancy."],["The `header_name()` function is a static function within `UploadContentLength` and its return type is a constant character pointer, according to the documentation."]]],[]]