Google Cloud Spanner C++ Client  1.32.0
A C++ Client Library for Google Cloud Spanner
Classes | Namespaces | Typedefs | Functions
database_admin_connection.h File Reference
#include "google/cloud/spanner/backoff_policy.h"
#include "google/cloud/spanner/backup.h"
#include "google/cloud/spanner/database.h"
#include "google/cloud/spanner/encryption_config.h"
#include "google/cloud/spanner/instance.h"
#include "google/cloud/spanner/internal/database_admin_stub.h"
#include "google/cloud/spanner/polling_policy.h"
#include "google/cloud/spanner/retry_policy.h"
#include "google/cloud/spanner/timestamp.h"
#include "google/cloud/spanner/version.h"
#include "google/cloud/backoff_policy.h"
#include "google/cloud/internal/pagination_range.h"
#include "absl/types/optional.h"
#include <google/spanner/admin/database/v1/spanner_database_admin.pb.h>
#include <chrono>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  google::cloud::spanner::v1::DatabaseAdminConnection
 A connection to the Cloud Spanner instance administration service. More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::CreateDatabaseParams
 Wrap the arguments for CreateDatabase(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::GetDatabaseParams
 Wrap the arguments for GetDatabase(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::GetDatabaseDdlParams
 Wrap the arguments for GetDatabaseDdl(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::UpdateDatabaseParams
 Wrap the arguments for UpdateDatabase(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::DropDatabaseParams
 Wrap the arguments for DropDatabase(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::ListDatabasesParams
 Wrap the arguments for ListDatabases(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::GetIamPolicyParams
 Wrap the arguments for GetIamPolicy(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::SetIamPolicyParams
 Wrap the arguments for SetIamPolicy(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::TestIamPermissionsParams
 Wrap the arguments for TestIamPermissions(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::CreateBackupParams
 Wrap the arguments for CreateBackup(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::GetBackupParams
 Wrap the arguments for GetBackup(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::DeleteBackupParams
 Wrap the arguments for DeleteBackup(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::ListBackupsParams
 Wrap the arguments for ListBackups(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::RestoreDatabaseParams
 Wrap the arguments for RestoreDatabase(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::UpdateBackupParams
 Wrap the arguments for UpdateBackup(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::ListBackupOperationsParams
 Wrap the arguments for ListBackupOperations(). More...
 
struct  google::cloud::spanner::v1::DatabaseAdminConnection::ListDatabaseOperationsParams
 Wrap the arguments for ListDatabaseOperations(). More...
 

Namespaces

 google
 
 google::cloud
 The namespace Google Cloud Platform C++ client libraries.
 
 google::cloud::spanner
 Contains all the Cloud Spanner C++ client types and functions.
 
 google::cloud::spanner::v1
 The inlined, versioned namespace for the Cloud Spanner C++ client APIs.
 

Typedefs

using google::cloud::spanner::v1::ListDatabaseRange = ::google::cloud::internal::PaginationRange< google::spanner::admin::database::v1::Database >
 An input range to stream all the databases in a Cloud Spanner instance. More...
 
using google::cloud::spanner::v1::ListBackupOperationsRange = google::cloud::internal::PaginationRange< google::longrunning::Operation >
 An input range to stream backup operations in Cloud Spanner instance. More...
 
using google::cloud::spanner::v1::ListDatabaseOperationsRange = google::cloud::internal::PaginationRange< google::longrunning::Operation >
 An input range to stream database operations in Cloud Spanner instance. More...
 
using google::cloud::spanner::v1::ListBackupsRange = ::google::cloud::internal::PaginationRange< google::spanner::admin::database::v1::Backup >
 An input range to stream backups in Cloud Spanner instance. More...
 

Functions

std::shared_ptr< spanner::DatabaseAdminConnectiongoogle::cloud::spanner::v1::MakeDatabaseAdminConnection (Options opts={})
 Returns a DatabaseAdminConnection object that can be used for interacting with Cloud Spanner's admin APIs. More...
 
std::shared_ptr< DatabaseAdminConnection > google::cloud::spanner::v1::MakeDatabaseAdminConnection (ConnectionOptions const &options)
 Returns a DatabaseAdminConnection object that can be used for interacting with Cloud Spanner's admin APIs. More...
 
std::shared_ptr< DatabaseAdminConnection > google::cloud::spanner::v1::MakeDatabaseAdminConnection (ConnectionOptions const &options, std::unique_ptr< RetryPolicy > retry_policy, std::unique_ptr< BackoffPolicy > backoff_policy, std::unique_ptr< PollingPolicy > polling_policy)
 Returns a DatabaseAdminConnection object that can be used for interacting with Cloud Spanner's admin APIs. More...