Google Cloud Storage C++ Client  1.32.1
A C++ Client Library for Google Cloud Storage
Static Public Member Functions | List of all members
google::cloud::storage::v1::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.

Definition at line 400 of file well_known_parameters.h.

Member Function Documentation

◆ AuthenticatedRead()

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

Definition at line 409 of file well_known_parameters.h.

◆ BucketOwnerFullControl()

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

Definition at line 412 of file well_known_parameters.h.

◆ BucketOwnerRead()

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

Definition at line 415 of file well_known_parameters.h.

◆ Private()

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

Definition at line 418 of file well_known_parameters.h.

◆ ProjectPrivate()

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

Definition at line 421 of file well_known_parameters.h.

◆ PublicRead()

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

Definition at line 424 of file well_known_parameters.h.

◆ well_known_parameter_name()

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

Definition at line 405 of file well_known_parameters.h.