Google Cloud Storage C++ Client  1.34.0
A C++ Client Library for Google Cloud Storage
Namespaces | Macros | Functions
version.h File Reference
#include "google/cloud/storage/version_info.h"
#include "google/cloud/internal/attributes.h"
#include "google/cloud/version.h"
#include <string>

Go to the source code of this file.

Namespaces

 google
 
 google::cloud
 
 google::cloud::storage
 Contains all the Google Cloud Storage C++ client APIs.
 

Macros

#define GOOGLE_CLOUD_CPP_STORAGE_IAM_DEPRECATED(alternative)
 
#define GOOGLE_CLOUD_CPP_STORAGE_RESTORE_UPLOAD_DEPRECATED()
 
#define STORAGE_CLIENT_NS   GOOGLE_CLOUD_CPP_NS
 

Functions

constexpr int google::cloud::storage::version_major ()
 Returns the Google Cloud Storage C++ Client major version. More...
 
constexpr int google::cloud::storage::version_minor ()
 Returns the Google Cloud Storage C++ Client minor version. More...
 
constexpr int google::cloud::storage::version_patch ()
 Returns the Google Cloud Storage C++ Client patch version. More...
 
constexpr int google::cloud::storage::version ()
 Returns a single integer representing the Major/Minor/Patch version. More...
 
std::string google::cloud::storage::version_string ()
 Returns the version as a string, in MAJOR.MINOR.PATCH+gitrev format. More...
 
std::string google::cloud::storage::x_goog_api_client ()
 Returns the value for x-goog-api-client header. More...
 

Macro Definition Documentation

◆ GOOGLE_CLOUD_CPP_STORAGE_IAM_DEPRECATED

#define GOOGLE_CLOUD_CPP_STORAGE_IAM_DEPRECATED (   alternative)
Value:
GOOGLE_CLOUD_CPP_DEPRECATED( \
"this function predates IAM conditions and does not work with policies " \
"that include IAM conditions. Please use " alternative \
" instead. The function will be removed on 2022-04-01 or shortly " \
"after. See GitHub issue #5929 for more information.")

Definition at line 23 of file version.h.

◆ GOOGLE_CLOUD_CPP_STORAGE_RESTORE_UPLOAD_DEPRECATED

#define GOOGLE_CLOUD_CPP_STORAGE_RESTORE_UPLOAD_DEPRECATED ( )
Value:
GOOGLE_CLOUD_CPP_DEPRECATED( \
"this function is not used within the library. There was never a need" \
" to mock this function, but it is preserved to avoid breaking existing" \
" applications. The function may be removed after 2022-10-01, more" \
" details on GitHub issue #7282.")

Definition at line 33 of file version.h.

◆ STORAGE_CLIENT_NS

#define STORAGE_CLIENT_NS   GOOGLE_CLOUD_CPP_NS

Definition at line 44 of file version.h.