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

Control whether upload streams auto-finalize on destruction. More...

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

Public Member Functions

 AutoFinalize (AutoFinalizeConfig value)
 
 AutoFinalize ()
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Control whether upload streams auto-finalize on destruction.

Some applications need to disable auto-finalization of resumable uploads. This option (or rather the AutoFinalizeDisabled() helper) configures whether ObjectWriteStream objects finalize an upload when the object is destructed.

Definition at line 40 of file auto_finalize.h.

Constructor & Destructor Documentation

◆ AutoFinalize() [1/2]

google::cloud::storage::AutoFinalize::AutoFinalize ( AutoFinalizeConfig  value)
inlineexplicit

Definition at line 42 of file auto_finalize.h.

◆ AutoFinalize() [2/2]

google::cloud::storage::AutoFinalize::AutoFinalize ( )
inline

Definition at line 43 of file auto_finalize.h.

Member Function Documentation

◆ name()

static char const* google::cloud::storage::AutoFinalize::name ( )
inlinestatic

Definition at line 45 of file auto_finalize.h.