Google Cloud Spanner C++ Client  1.34.0
A C++ Client Library for Google Cloud Spanner
Namespaces | Classes | Typedefs | Enumerations | Functions
google::cloud Namespace Reference

The namespace Google Cloud Platform C++ client libraries. More...

Namespaces

 spanner
 Contains all the Cloud Spanner C++ client types and functions.
 
 spanner_admin
 
 spanner_mocks
 Define classes to mock the Cloud Spanner C++ client APIs.
 
 StreamRange
 

Classes

struct  AccessTokenLifetimeOption
 
class  AsyncOperation
 
struct  AsyncTimerResult
 
class  BackgroundThreads
 
struct  CARootsFilePathOption
 
class  CompletionQueue
 
class  ConnectionOptions
 
class  Credentials
 
struct  DelegatesOption
 
struct  EndpointOption
 
class  ErrorInfo
 
class  future
 
class  future< void >
 
class  GenericPollingPolicy
 
struct  GrpcBackgroundThreadPoolSizeOption
 
struct  GrpcBackgroundThreadsFactoryOption
 
struct  GrpcChannelArgumentsNativeOption
 
struct  GrpcChannelArgumentsOption
 
struct  GrpcCompletionQueueOption
 
struct  GrpcCredentialOption
 
struct  GrpcNumChannelsOption
 
struct  GrpcTracingOptionsOption
 
class  IamBinding
 
class  IamBindings
 
struct  IamPolicy
 
class  KmsKeyName
 
class  LogBackend
 
class  Logger
 
class  Logger< false >
 
struct  LogRecord
 
class  LogSink
 
struct  NullStream
 
class  Options
 
class  PollingPolicy
 
class  Project
 
class  promise
 
class  promise< void >
 
class  RuntimeStatusError
 
struct  ScopesOption
 
class  Status
 
class  StatusOr
 
class  StreamRange
 
struct  TracingComponentsOption
 
class  TracingOptions
 
struct  UnifiedCredentialsOption
 
struct  UserAgentProductsOption
 

Typedefs

typedef ::google::cloud::internal::BackoffPolicy BackoffPolicy
 
typedef google::cloud::internal::ExponentialBackoffPolicy ExponentialBackoffPolicy
 
typedef OptionList< EndpointOption, UserAgentProductsOption, TracingComponentsOptionCommonOptionList
 
typedef std::function< std::unique_ptr< BackgroundThreads >()> BackgroundThreadsFactory
 
typedef OptionList< GrpcCredentialOption, GrpcNumChannelsOption, GrpcChannelArgumentsOption, GrpcChannelArgumentsNativeOption, GrpcTracingOptionsOption, GrpcBackgroundThreadPoolSizeOption, GrpcCompletionQueueOption, GrpcBackgroundThreadsFactoryOptionGrpcOptionList
 
typedef std::function< absl::optional< google::iam::v1::Policy >(google::iam::v1::Policy)> IamUpdater
 
typedef absl::optional< T > optional
 
typedef internal::TypeList< T... > OptionList
 
typedef std::function< void(char const *msg)> TerminateHandler
 

Enumerations

enum class  Severity {
  GCP_LS_TRACE , GCP_LS_DEBUG , GCP_LS_INFO , GCP_LS_NOTICE ,
  GCP_LS_WARNING , GCP_LS_ERROR , GCP_LS_CRITICAL , GCP_LS_ALERT ,
  GCP_LS_FATAL , GCP_LS_HIGHEST , GCP_LS_LOWEST , GCP_LS_LOWEST_ENABLED
}
 
enum class  StatusCode {
  kOk , kCancelled , kUnknown , kInvalidArgument ,
  kDeadlineExceeded , kNotFound , kAlreadyExists , kPermissionDenied ,
  kUnauthenticated , kResourceExhausted , kFailedPrecondition , kAborted ,
  kOutOfRange , kUnimplemented , kInternal , kUnavailable ,
  kDataLoss
}
 

Functions

std::shared_ptr< CredentialsMakeInsecureCredentials ()
 
std::shared_ptr< CredentialsMakeGoogleDefaultCredentials ()
 
std::shared_ptr< CredentialsMakeAccessTokenCredentials (std::string const &access_token, std::chrono::system_clock::time_point expiration)
 
std::shared_ptr< CredentialsMakeImpersonateServiceAccountCredentials (std::shared_ptr< Credentials > base_credentials, std::string target_service_account, Options opts={})
 
std::shared_ptr< CredentialsMakeServiceAccountCredentials (std::string json_object)
 
future< typename internal::make_ready_return< T >::type > make_ready_future (T &&t)
 
future< void > make_ready_future ()
 
google::cloud::Status MakeStatusFromRpcError (grpc::Status const &status)
 
google::cloud::Status MakeStatusFromRpcError (grpc::StatusCode code, std::string what)
 
google::cloud::Status MakeStatusFromRpcError (google::rpc::Status const &proto)
 
bool operator== (IamBindings const &lhs, IamBindings const &rhs)
 
bool operator< (IamBindings const &lhs, IamBindings const &rhs)
 
bool operator!= (IamBindings const &lhs, IamBindings const &rhs)
 
bool operator> (IamBindings const &lhs, IamBindings const &rhs)
 
bool operator<= (IamBindings const &lhs, IamBindings const &rhs)
 
bool operator>= (IamBindings const &lhs, IamBindings const &rhs)
 
std::ostream & operator<< (std::ostream &os, IamBindings const &rhs)
 
bool operator== (IamPolicy const &lhs, IamPolicy const &rhs)
 
bool operator< (IamPolicy const &lhs, IamPolicy const &rhs)
 
bool operator!= (IamPolicy const &lhs, IamPolicy const &rhs)
 
bool operator> (IamPolicy const &lhs, IamPolicy const &rhs)
 
bool operator<= (IamPolicy const &lhs, IamPolicy const &rhs)
 
bool operator>= (IamPolicy const &lhs, IamPolicy const &rhs)
 
std::ostream & operator<< (std::ostream &os, IamPolicy const &rhs)
 
StatusOr< KmsKeyNameMakeKmsKeyName (std::string const &full_name)
 
std::ostream & operator<< (std::ostream &os, Severity x)
 
std::ostream & operator<< (std::ostream &os, LogRecord const &rhs)
 
StatusOr< ProjectMakeProject (std::string const &full_name)
 
std::string StatusCodeToString (StatusCode code)
 
std::ostream & operator<< (std::ostream &os, StatusCode code)
 
bool operator== (StatusOr< T > const &a, StatusOr< T > const &b)
 
bool operator!= (StatusOr< T > const &a, StatusOr< T > const &b)
 
StatusOr< T > make_status_or (T rhs)
 
constexpr int version_major ()
 
constexpr int version_minor ()
 
constexpr int version_patch ()
 
constexpr int version ()
 
std::string version_string ()
 
TerminateHandler SetTerminateHandler (TerminateHandler f)
 
TerminateHandler GetTerminateHandler ()
 
void Terminate (char const *msg)
 

Detailed Description

The namespace Google Cloud Platform C++ client libraries.