15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_UPLOAD_OPTIONS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_UPLOAD_OPTIONS_H
18 #include "google/cloud/storage/internal/complex_option.h"
19 #include "google/cloud/storage/version.h"
20 #include "google/cloud/storage/well_known_headers.h"
44 static char const*
name() {
return "resumable-upload"; }
49 std::string session_id) {
68 std::uintmax_t>::WellKnownHeader;
69 static char const*
header_name() {
return "X-Upload-Content-Length"; }
77 using ComplexOption::ComplexOption;
81 static char const*
name() {
return "upload-offset"; }
88 :
public internal::ComplexOption<
UploadLimit, std::uint64_t> {
89 using ComplexOption::ComplexOption;
93 static char const*
name() {
return "upload-limit"; }
109 static char const*
name() {
return "upload-buffer-size"; }