Send feedback
Class ResumableUploadRequest (2.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.22.0 keyboard_arrow_down
A request to start or resume a resumable upload.
This class can hold all the mandatory and optional parameters to start or resume a resumable upload. Resumable uploads can be used to stream large objects as they can recover when the upload is interrupted. This request does not contain any of the payload for the object; that is provided via a storage_experimental::AsyncWriter
.
This class is in the public API for the library because it is required for mocking.
Constructors
ResumableUploadRequest()
ResumableUploadRequest(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 ResumableUploadRequest &
set_multiple_options(T &&...) &&
Parameters Name Description o
T &&...
typename...
Returns Type Description ResumableUploadRequest &&
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-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?