Google Cloud Storage C++ Client  1.40.2
A C++ Client Library for Google Cloud Storage
Public Attributes | List of all members
google::cloud::storage::PolicyDocument Struct Reference

Define a policy document. More...

#include <google/cloud/storage/policy_document.h>

Public Attributes

std::chrono::system_clock::time_point expiration
std::vector< PolicyDocumentConditionconditions

Detailed Description

Define a policy document.

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.

See also for general information on policy documents in Google Cloud Storage.

Definition at line 130 of file policy_document.h.

Member Data Documentation

◆ conditions

std::vector<PolicyDocumentCondition> google::cloud::storage::PolicyDocument::conditions

Definition at line 132 of file policy_document.h.

◆ expiration

std::chrono::system_clock::time_point google::cloud::storage::PolicyDocument::expiration

Definition at line 131 of file policy_document.h.