Send feedback
Class InsertObjectRequest (2.23.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest 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 in 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(T &&...) &
Parameters Name Description o
T &&...
typename...
Returns Type Description InsertObjectRequest &
set_multiple_options(T &&...) &&
Parameters Name Description o
T &&...
typename...
Returns Type Description InsertObjectRequest &&
HasOption() const
Parameter Name Description typename T
Returns Type Description bool
GetOption() const
Parameter Name Description typename T
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-07-01 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?