Class ResumableUploadRequest (2.23.0-rc)

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
NameDescription
bucket_name std::string
object_name std::string

Functions

bucket_name() const

Returns
TypeDescription
std::string const &

object_name() const

Returns
TypeDescription
std::string const &

set_multiple_options(T &&...) &

Parameters
NameDescription
o T &&...
typename...
Returns
TypeDescription
ResumableUploadRequest &

set_multiple_options(T &&...) &&

Parameters
NameDescription
o T &&...
typename...
Returns
TypeDescription
ResumableUploadRequest &&

HasOption() const

Parameter
NameDescription
typename T
Returns
TypeDescription
bool

GetOption() const

Parameter
NameDescription
typename T
Returns
TypeDescription
T