Send feedback
Class InsertObjectRequest (2.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.15.1 keyboard_arrow_down
A request to insert object sans the data payload.
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 the public API for the library because it is required for mocking.
Constructors
InsertObjectRequest()
InsertObjectRequest(std::string, std::string)
Parameters
Name
Description
bucket_name
std::string
object_name
std::string
Functions
bucket_name() const
Returns
Type
Description
std::string const &
object_name() const
Returns
Type
Description
std::string const &
set_multiple_options(O &&...) &
Parameters
Name
Description
o
O &&...
typename...
Returns
Type
Description
InsertObjectRequest &
set_multiple_options(O &&...) &&
Parameters
Name
Description
o
O &&...
typename...
Returns
Type
Description
InsertObjectRequest &&
HasOption() const
Parameter
Name
Description
typename O
Returns
Type
Description
bool
GetOption() const
Parameter
Name
Description
typename O
Returns
Type
Description
O
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-02 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?