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-08-14 UTC."],[[["\u003cp\u003eThe latest version available is 2.37.0-rc, with links provided for older versions dating back to 2.11.0, all related to the \u003ccode\u003egoogle::cloud::storage::UploadContentLength\u003c/code\u003e structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUploadContentLength\u003c/code\u003e structure allows for an integrity check during resumable uploads to ensure the uploaded content matches the declared length, and the upload fails if it does not.\u003c/p\u003e\n"],["\u003cp\u003eThe document pertains to information regarding \u003ccode\u003eUploadContentLength\u003c/code\u003e, which is a parameter that can be used to enforce the expected final length of an uploaded object.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage's content also includes the \u003ccode\u003eheader_name()\u003c/code\u003e function, which is a static function that returns a value of \u003ccode\u003echar const *\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]