Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Public Member Functions | Public Attributes | List of all members
google::cloud::storage::BucketVersioning Struct Reference

The versioning configuration for a Bucket. More...

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

Public Member Functions

 BucketVersioning ()=default
 
 BucketVersioning (bool flag)
 

Public Attributes

bool enabled {true}
 

Detailed Description

The versioning configuration for a Bucket.

See also
https://cloud.google.com/storage/docs/requester-pays for general information on "Requester Pays" billing.

Definition at line 450 of file bucket_metadata.h.

Constructor & Destructor Documentation

◆ BucketVersioning() [1/2]

google::cloud::storage::BucketVersioning::BucketVersioning ( )
default

◆ BucketVersioning() [2/2]

google::cloud::storage::BucketVersioning::BucketVersioning ( bool  flag)
inlineexplicit

Definition at line 452 of file bucket_metadata.h.

Member Data Documentation

◆ enabled

bool google::cloud::storage::BucketVersioning::enabled {true}

Definition at line 454 of file bucket_metadata.h.