Google Cloud Storage C++ Client
1.40.2
A C++ Client Library for Google Cloud Storage
|
An entry in the CORS list. More...
#include <google/cloud/storage/bucket_metadata.h>
Public Attributes | |
absl::optional< std::int64_t > | max_age_seconds |
std::vector< std::string > | method |
std::vector< std::string > | origin |
std::vector< std::string > | response_header |
An entry in the CORS list.
CORS (Cross-Origin Resource Sharing) is a mechanism to enable client-side cross-origin requests. An entry in the configuration has a maximum age and a list of allowed origin and methods, as well as a list of returned response headers.
Definition at line 98 of file bucket_metadata.h.
absl::optional<std::int64_t> google::cloud::storage::CorsEntry::max_age_seconds |
Definition at line 99 of file bucket_metadata.h.
std::vector<std::string> google::cloud::storage::CorsEntry::method |
Definition at line 100 of file bucket_metadata.h.
std::vector<std::string> google::cloud::storage::CorsEntry::origin |
Definition at line 101 of file bucket_metadata.h.
std::vector<std::string> google::cloud::storage::CorsEntry::response_header |
Definition at line 102 of file bucket_metadata.h.