Google Cloud Storage C++ Client
1.42.0
A C++ Client Library for Google Cloud Storage
|
Define a policy document V4. More...
#include <google/cloud/storage/policy_document.h>
Public Member Functions | |
PolicyDocumentV4 ()=default | |
PolicyDocumentV4 (std::string bucket, std::string object, std::chrono::seconds expiration, std::chrono::system_clock::time_point timestamp=std::chrono::system_clock::now(), std::vector< PolicyDocumentCondition > conditions={}) | |
Public Attributes | |
std::string | bucket |
std::string | object |
std::chrono::seconds | expiration |
std::chrono::system_clock::time_point | timestamp |
std::vector< PolicyDocumentCondition > | conditions |
Define a policy document V4.
Policy documents allow HTML forms to restrict uploads based on certain conditions. If the policy document is expired or the conditions are not satisfied, submitting the form will not succeed.
Definition at line 147 of file policy_document.h.
|
default |
|
inline |
Definition at line 149 of file policy_document.h.
std::string google::cloud::storage::PolicyDocumentV4::bucket |
Definition at line 160 of file policy_document.h.
std::vector<PolicyDocumentCondition> google::cloud::storage::PolicyDocumentV4::conditions |
Definition at line 164 of file policy_document.h.
std::chrono::seconds google::cloud::storage::PolicyDocumentV4::expiration |
Definition at line 162 of file policy_document.h.
std::string google::cloud::storage::PolicyDocumentV4::object |
Definition at line 161 of file policy_document.h.
std::chrono::system_clock::time_point google::cloud::storage::PolicyDocumentV4::timestamp |
Definition at line 163 of file policy_document.h.