[[["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-22 UTC."],[[["This page provides documentation for the `ReadPayload` class in the Google Cloud Storage C++ client library, covering versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `ReadPayload` class represents a partial or full response to an asynchronous download, with constructors to create instances from strings or vectors of strings, primarily intended for mocking."],["The class includes methods for setting and managing metadata (`set_metadata`, `reset_metadata`), headers (`set_headers`, `clear_headers`), and offset (`set_offset`), offering both lvalue and rvalue references for modification."],["It also has methods to access the size (`size`), content (`contents`), metadata (`metadata`), offset (`offset`), and headers (`headers`) of the payload, as well as a warning about the volatility of the service headers."],["The `ReadPayload` class has been built with modifiers intended for mocking purposes, and these modifiers, such as `set_metadata`, `reset_metadata`, `set_headers`, `clear_headers` and `set_offset`, are all capable of returning both lvalue and rvalue references."]]],[]]