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-04-02 UTC."],[[["The webpage provides a comprehensive list of documentation for `UploadContentLength` across multiple versions, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["`UploadContentLength` is used to define the expected final size of an uploaded object, enabling the system to verify the upload's integrity."],["Resumable uploads use `UploadContentLength` for an additional integrity check where Google Cloud Storage (GCS) compares the uploaded content length with the declared length, and causes failure if they don't match."],["The document includes a `header_name()` function that returns a constant character pointer, but the description is not defined in the context provided."]]],[]]