We have a number of helper functions for storage class:
|
inline char const* Standard() { |
|
static constexpr char kStorageClass[] = "STANDARD"; |
|
return kStorageClass; |
|
} |
|
|
|
inline char const* MultiRegional() { |
|
static constexpr char kStorageClass[] = "MULTI_REGIONAL"; |
|
return kStorageClass; |
|
} |
|
|
|
inline char const* Regional() { |
|
static constexpr char kStorageClass[] = "REGIONAL"; |
|
return kStorageClass; |
|
} |
|
|
|
inline char const* Nearline() { |
|
static constexpr char kStorageClass[] = "NEARLINE"; |
|
return kStorageClass; |
|
} |
|
|
|
inline char const* Coldline() { |
|
static constexpr char kStorageClass[] = "COLDLINE"; |
|
return kStorageClass; |
|
} |
|
|
|
inline char const* DurableReducedAvailability() { |
|
static constexpr char kStorageClass[] = "DURABLE_REDUCED_AVAILABILITY"; |
|
return kStorageClass; |
|
} |
We need to add another one of these for ARCHIVE.
We have a number of helper functions for storage class:
google-cloud-cpp/google/cloud/storage/storage_class.h
Lines 26 to 54 in e9ccd39
We need to add another one of these for
ARCHIVE.