Google Cloud Spanner C++ Client  2.7.0
A C++ Client Library for Google Cloud Spanner
Namespaces | Macros | Functions
version.h File Reference
#include "google/cloud/spanner/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::spanner
 Contains all the Cloud Spanner C++ client types and functions.
 

Macros

#define GOOGLE_CLOUD_CPP_SPANNER_ADMIN_API_DEPRECATED(name)
 
#define GOOGLE_CLOUD_CPP_SPANNER_MAKE_TEST_ROW_DEPRECATED()
 
#define SPANNER_CLIENT_NS   GOOGLE_CLOUD_CPP_NS
 

Functions

constexpr int google::cloud::spanner::VersionMajor ()
 The Cloud Spanner C++ Client major version. More...
 
constexpr int google::cloud::spanner::VersionMinor ()
 The Cloud Spanner C++ Client minor version. More...
 
constexpr int google::cloud::spanner::VersionPatch ()
 The Cloud Spanner C++ Client patch version. More...
 
constexpr char const * google::cloud::spanner::VersionPreRelease ()
 The Cloud Spanner C++ Client pre-release version. More...
 
constexpr int google::cloud::spanner::Version ()
 A single integer representing the Major/Minor/Patch version. More...
 
std::string google::cloud::spanner::VersionString ()
 The version as a string, in MAJOR.MINOR.PATCH[-PRE][+gitrev] format. More...
 

Macro Definition Documentation

◆ GOOGLE_CLOUD_CPP_SPANNER_ADMIN_API_DEPRECATED

#define GOOGLE_CLOUD_CPP_SPANNER_ADMIN_API_DEPRECATED (   name)
Value:
GOOGLE_CLOUD_CPP_DEPRECATED( \
"google::cloud::spanner::" name \
" is deprecated, and will be removed on or shortly after 2022-10-01." \
" Please use google::cloud::spanner_admin::" name \
" instead. See GitHub issue #7356 for more information.")

Definition at line 23 of file version.h.

◆ GOOGLE_CLOUD_CPP_SPANNER_MAKE_TEST_ROW_DEPRECATED

#define GOOGLE_CLOUD_CPP_SPANNER_MAKE_TEST_ROW_DEPRECATED ( )
Value:
GOOGLE_CLOUD_CPP_DEPRECATED( \
"google::cloud::spanner::MakeTestRow() is deprecated, and" \
" will be removed on or shortly after 2023-06-01. Please" \
" use google::cloud::spanner_mocks::MakeRow() instead." \
" See GitHub issue #9086 for more information.")

Definition at line 30 of file version.h.

◆ SPANNER_CLIENT_NS

#define SPANNER_CLIENT_NS   GOOGLE_CLOUD_CPP_NS

Definition at line 40 of file version.h.