This class can hold all the mandatory and optional parameters to insert an object except for the data payload. The ideal representation for the data payload depends on the type of request. For asynchronous requests the data must be in an owning type, such as WritePayload. For blocking request, a non-owning type (such as absl::string_view) can reduce data copying.
This class is in the public API for the library because it is required for mocking.
[[["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-06-10 UTC."],[[["The latest version of the `InsertObjectRequest` class is 2.37.0-rc, and the page provides links to documentation for versions dating back to 2.11.0."],["This class is designed to hold all necessary parameters for inserting an object into storage, excluding the actual data payload itself, and is part of the public API for library mocking."],["The class includes constructors for creating an `InsertObjectRequest` object with bucket and object names and functions to get the bucket name and object name."],["It provides methods to set multiple options using `set_multiple_options` and check for the presence and retrieval of options using `HasOption` and `GetOption`."],["The type of data payload required, either owning or non-owning, depends on if the request is asynchronous or blocking, respectively, which is to optimize for copying."]]],[]]