15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_DOWNLOAD_OPTIONS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_DOWNLOAD_OPTIONS_H
18 #include "google/cloud/storage/internal/complex_option.h"
19 #include "google/cloud/storage/version.h"
40 explicit ReadRange(std::int64_t begin, std::int64_t end)
42 static char const*
name() {
return "read-range"; }
45 inline std::ostream& operator<<(std::ostream& os,
ReadRangeData const& rhs) {
46 return os <<
"ReadRangeData={begin=" << rhs
.begin <<
", end=" << rhs
.end
55 using ComplexOption::ComplexOption;
59 static char const*
name() {
return "read-offset"; }
66 using ComplexOption::ComplexOption;
70 static char const*
name() {
return "read-last"; }