Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
google::cloud::spanner::ConnectionOptionsTraits Struct Reference

The traits to configure `ConnectionOptions<T>` for Cloud Spanner. More...

#include <google/cloud/spanner/connection_options.h>

Static Public Member Functions

static std::string default_endpoint ()
 
static std::string user_agent_prefix ()
 
static int default_num_channels ()
 

Detailed Description

The traits to configure `ConnectionOptions<T>` for Cloud Spanner.

Deprecated:
Use the options `Options` class and set (as needed) `EndpointOption`, `UserAgentProductsOption`, and `GrpcNumChannelsOption`.

Member Function Documentation

◆ default_endpoint()

static std::string google::cloud::spanner::ConnectionOptionsTraits::default_endpoint ( )
static

◆ default_num_channels()

static int google::cloud::spanner::ConnectionOptionsTraits::default_num_channels ( )
static

◆ user_agent_prefix()

static std::string google::cloud::spanner::ConnectionOptionsTraits::user_agent_prefix ( )
static