15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_AUTO_FINALIZE_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_AUTO_FINALIZE_H
18#include "google/cloud/storage/internal/complex_option.h"
19#include "google/cloud/storage/version.h"
25GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
33
34
35
36
37
38
39
45 static char const*
name() {
return "auto-finalize"; }
58std::ostream& operator<<(std::ostream& os,
AutoFinalize const& rhs);
60GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Contains all the Google Cloud Storage C++ client APIs.
Definition: auto_finalize.h:24
AutoFinalize AutoFinalizeEnabled()
Configure a stream to automatically finalize an upload on destruction.
Definition: auto_finalize.h:49
AutoFinalizeConfig
Definition: auto_finalize.h:27
AutoFinalize AutoFinalizeDisabled()
Configure a stream to leave uploads pending (not finalized) on destruction.
Definition: auto_finalize.h:54
Control whether upload streams auto-finalize on destruction.
Definition: auto_finalize.h:41
static char const * name()
Definition: auto_finalize.h:45
AutoFinalize(AutoFinalizeConfig value)
Definition: auto_finalize.h:42
AutoFinalize()
Definition: auto_finalize.h:43