Google Cloud Spanner C++ Client  2.2.1
A C++ Client Library for Google Cloud Spanner
Classes | Typedefs | Functions
google::cloud::spanner_admin Namespace Reference

Classes

class  DatabaseAdminClient
 Cloud Spanner Database Admin API. More...
 
class  DatabaseAdminConnection
 The DatabaseAdminConnection object for DatabaseAdminClient. More...
 
class  DatabaseAdminConnectionIdempotencyPolicy
 
struct  DatabaseAdminRetryPolicyOption
 Option to use with google::cloud::Options. More...
 
struct  DatabaseAdminBackoffPolicyOption
 Option to use with google::cloud::Options. More...
 
struct  DatabaseAdminPollingPolicyOption
 Option to use with google::cloud::Options. More...
 
struct  DatabaseAdminConnectionIdempotencyPolicyOption
 Option to use with google::cloud::Options. More...
 
class  InstanceAdminClient
 Cloud Spanner Instance Admin API. More...
 
class  InstanceAdminConnection
 The InstanceAdminConnection object for InstanceAdminClient. More...
 
class  InstanceAdminConnectionIdempotencyPolicy
 
struct  InstanceAdminRetryPolicyOption
 Option to use with google::cloud::Options. More...
 
struct  InstanceAdminBackoffPolicyOption
 Option to use with google::cloud::Options. More...
 
struct  InstanceAdminPollingPolicyOption
 Option to use with google::cloud::Options. More...
 
struct  InstanceAdminConnectionIdempotencyPolicyOption
 Option to use with google::cloud::Options. More...
 

Typedefs

using DatabaseAdminRetryPolicy = ::google::cloud::internal::TraitBasedRetryPolicy< spanner_admin_internal::DatabaseAdminRetryTraits >
 
using DatabaseAdminLimitedTimeRetryPolicy = ::google::cloud::internal::LimitedTimeRetryPolicy< spanner_admin_internal::DatabaseAdminRetryTraits >
 
using DatabaseAdminLimitedErrorCountRetryPolicy = ::google::cloud::internal::LimitedErrorCountRetryPolicy< spanner_admin_internal::DatabaseAdminRetryTraits >
 
using DatabaseAdminPolicyOptionList = OptionList< DatabaseAdminRetryPolicyOption, DatabaseAdminBackoffPolicyOption, DatabaseAdminPollingPolicyOption, DatabaseAdminConnectionIdempotencyPolicyOption >
 
using InstanceAdminRetryPolicy = ::google::cloud::internal::TraitBasedRetryPolicy< spanner_admin_internal::InstanceAdminRetryTraits >
 
using InstanceAdminLimitedTimeRetryPolicy = ::google::cloud::internal::LimitedTimeRetryPolicy< spanner_admin_internal::InstanceAdminRetryTraits >
 
using InstanceAdminLimitedErrorCountRetryPolicy = ::google::cloud::internal::LimitedErrorCountRetryPolicy< spanner_admin_internal::InstanceAdminRetryTraits >
 
using InstanceAdminPolicyOptionList = OptionList< InstanceAdminRetryPolicyOption, InstanceAdminBackoffPolicyOption, InstanceAdminPollingPolicyOption, InstanceAdminConnectionIdempotencyPolicyOption >
 

Functions

std::shared_ptr< DatabaseAdminConnectionMakeDatabaseAdminConnection (Options options={})
 A factory function to construct an object of type DatabaseAdminConnection. More...
 
std::unique_ptr< DatabaseAdminConnectionIdempotencyPolicyMakeDefaultDatabaseAdminConnectionIdempotencyPolicy ()
 
std::shared_ptr< InstanceAdminConnectionMakeInstanceAdminConnection (Options options={})
 A factory function to construct an object of type InstanceAdminConnection. More...
 
std::unique_ptr< InstanceAdminConnectionIdempotencyPolicyMakeDefaultInstanceAdminConnectionIdempotencyPolicy ()
 

Typedef Documentation

◆ DatabaseAdminLimitedErrorCountRetryPolicy

using google::cloud::spanner_admin::DatabaseAdminLimitedErrorCountRetryPolicy = typedef ::google::cloud::internal::LimitedErrorCountRetryPolicy< spanner_admin_internal::DatabaseAdminRetryTraits>

Definition at line 48 of file database_admin_connection.h.

◆ DatabaseAdminLimitedTimeRetryPolicy

using google::cloud::spanner_admin::DatabaseAdminLimitedTimeRetryPolicy = typedef ::google::cloud::internal::LimitedTimeRetryPolicy< spanner_admin_internal::DatabaseAdminRetryTraits>

Definition at line 44 of file database_admin_connection.h.

◆ DatabaseAdminPolicyOptionList

Definition at line 54 of file database_admin_options.h.

◆ DatabaseAdminRetryPolicy

using google::cloud::spanner_admin::DatabaseAdminRetryPolicy = typedef ::google::cloud::internal::TraitBasedRetryPolicy< spanner_admin_internal::DatabaseAdminRetryTraits>

Definition at line 40 of file database_admin_connection.h.

◆ InstanceAdminLimitedErrorCountRetryPolicy

using google::cloud::spanner_admin::InstanceAdminLimitedErrorCountRetryPolicy = typedef ::google::cloud::internal::LimitedErrorCountRetryPolicy< spanner_admin_internal::InstanceAdminRetryTraits>

Definition at line 48 of file instance_admin_connection.h.

◆ InstanceAdminLimitedTimeRetryPolicy

using google::cloud::spanner_admin::InstanceAdminLimitedTimeRetryPolicy = typedef ::google::cloud::internal::LimitedTimeRetryPolicy< spanner_admin_internal::InstanceAdminRetryTraits>

Definition at line 44 of file instance_admin_connection.h.

◆ InstanceAdminPolicyOptionList

Definition at line 54 of file instance_admin_options.h.

◆ InstanceAdminRetryPolicy

using google::cloud::spanner_admin::InstanceAdminRetryPolicy = typedef ::google::cloud::internal::TraitBasedRetryPolicy< spanner_admin_internal::InstanceAdminRetryTraits>

Definition at line 40 of file instance_admin_connection.h.

Function Documentation

◆ MakeDatabaseAdminConnection()

std::shared_ptr<DatabaseAdminConnection> google::cloud::spanner_admin::MakeDatabaseAdminConnection ( Options  options = {})

A factory function to construct an object of type DatabaseAdminConnection.

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of DatabaseAdminClient.

The optional options argument may be used to configure aspects of the returned DatabaseAdminConnection. Expected options are any of the types in the following option lists:

Note
Unexpected options will be ignored. To log unexpected options instead, set GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes in the environment.
Parameters
options(optional) Configure the DatabaseAdminConnection created by this function.

◆ MakeDefaultDatabaseAdminConnectionIdempotencyPolicy()

std::unique_ptr<DatabaseAdminConnectionIdempotencyPolicy> google::cloud::spanner_admin::MakeDefaultDatabaseAdminConnectionIdempotencyPolicy ( )

◆ MakeDefaultInstanceAdminConnectionIdempotencyPolicy()

std::unique_ptr<InstanceAdminConnectionIdempotencyPolicy> google::cloud::spanner_admin::MakeDefaultInstanceAdminConnectionIdempotencyPolicy ( )

◆ MakeInstanceAdminConnection()

std::shared_ptr<InstanceAdminConnection> google::cloud::spanner_admin::MakeInstanceAdminConnection ( Options  options = {})

A factory function to construct an object of type InstanceAdminConnection.

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of InstanceAdminClient.

The optional options argument may be used to configure aspects of the returned InstanceAdminConnection. Expected options are any of the types in the following option lists:

Note
Unexpected options will be ignored. To log unexpected options instead, set GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes in the environment.
Parameters
options(optional) Configure the InstanceAdminConnection created by this function.