Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
google::cloud::storage::PredefinedDefaultObjectAcl Struct Reference

Set the default object ACL to a predefined value in a Bucket. More...

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

Static Public Member Functions

static char const * well_known_parameter_name ()
 
static PredefinedDefaultObjectAcl AuthenticatedRead ()
 
static PredefinedDefaultObjectAcl BucketOwnerFullControl ()
 
static PredefinedDefaultObjectAcl BucketOwnerRead ()
 
static PredefinedDefaultObjectAcl Private ()
 
static PredefinedDefaultObjectAcl ProjectPrivate ()
 
static PredefinedDefaultObjectAcl PublicRead ()
 

Detailed Description

Set the default object ACL to a predefined value in a Bucket.

Every bucket has a default object ACL, and this ACL is applied to all objects uploaded to that bucket without a predefined ACL or an ACL specified in the request. When creating Buckets it is sometimes convenient to define the default object ACL to one of the predefined values.

See also
https://cloud.google.com/storage/docs/access-control/lists#defaultobjects for a mode detailed description of default object ACLs.
https://cloud.google.com/storage/docs/access-control/lists#predefined-acl for a more detailed description of Predefined ACLs in GCS.

Member Function Documentation

◆ AuthenticatedRead()

static PredefinedDefaultObjectAcl google::cloud::storage::PredefinedDefaultObjectAcl::AuthenticatedRead ( )
inlinestatic

◆ BucketOwnerFullControl()

static PredefinedDefaultObjectAcl google::cloud::storage::PredefinedDefaultObjectAcl::BucketOwnerFullControl ( )
inlinestatic

◆ BucketOwnerRead()

static PredefinedDefaultObjectAcl google::cloud::storage::PredefinedDefaultObjectAcl::BucketOwnerRead ( )
inlinestatic

◆ Private()

static PredefinedDefaultObjectAcl google::cloud::storage::PredefinedDefaultObjectAcl::Private ( )
inlinestatic

◆ ProjectPrivate()

static PredefinedDefaultObjectAcl google::cloud::storage::PredefinedDefaultObjectAcl::ProjectPrivate ( )
inlinestatic

◆ PublicRead()

static PredefinedDefaultObjectAcl google::cloud::storage::PredefinedDefaultObjectAcl::PublicRead ( )
inlinestatic

◆ well_known_parameter_name()

static char const * google::cloud::storage::PredefinedDefaultObjectAcl::well_known_parameter_name ( )
inlinestatic