Google Cloud Spanner C++ Client  1.32.0
A C++ Client Library for Google Cloud Spanner
Public Member Functions | List of all members
google::cloud::spanner_admin::v1::DatabaseAdminConnection Class Referenceabstract

#include <google/cloud/spanner/admin/database_admin_connection.h>

Public Member Functions

virtual ~DatabaseAdminConnection ()=0
 
virtual StreamRange< google::spanner::admin::database::v1::Database > ListDatabases (google::spanner::admin::database::v1::ListDatabasesRequest request)
 
virtual future< StatusOr< google::spanner::admin::database::v1::Database > > CreateDatabase (google::spanner::admin::database::v1::CreateDatabaseRequest const &request)
 
virtual StatusOr< google::spanner::admin::database::v1::Database > GetDatabase (google::spanner::admin::database::v1::GetDatabaseRequest const &request)
 
virtual future< StatusOr< google::spanner::admin::database::v1::UpdateDatabaseDdlMetadata > > UpdateDatabaseDdl (google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const &request)
 
virtual Status DropDatabase (google::spanner::admin::database::v1::DropDatabaseRequest const &request)
 
virtual StatusOr< google::spanner::admin::database::v1::GetDatabaseDdlResponse > GetDatabaseDdl (google::spanner::admin::database::v1::GetDatabaseDdlRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request)
 
virtual future< StatusOr< google::spanner::admin::database::v1::Backup > > CreateBackup (google::spanner::admin::database::v1::CreateBackupRequest const &request)
 
virtual StatusOr< google::spanner::admin::database::v1::Backup > GetBackup (google::spanner::admin::database::v1::GetBackupRequest const &request)
 
virtual StatusOr< google::spanner::admin::database::v1::Backup > UpdateBackup (google::spanner::admin::database::v1::UpdateBackupRequest const &request)
 
virtual Status DeleteBackup (google::spanner::admin::database::v1::DeleteBackupRequest const &request)
 
virtual StreamRange< google::spanner::admin::database::v1::Backup > ListBackups (google::spanner::admin::database::v1::ListBackupsRequest request)
 
virtual future< StatusOr< google::spanner::admin::database::v1::Database > > RestoreDatabase (google::spanner::admin::database::v1::RestoreDatabaseRequest const &request)
 
virtual StreamRange< google::longrunning::Operation > ListDatabaseOperations (google::spanner::admin::database::v1::ListDatabaseOperationsRequest request)
 
virtual StreamRange< google::longrunning::Operation > ListBackupOperations (google::spanner::admin::database::v1::ListBackupOperationsRequest request)
 

Detailed Description

Definition at line 52 of file database_admin_connection.h.

Constructor & Destructor Documentation

◆ ~DatabaseAdminConnection()

google::cloud::spanner_admin::v1::DatabaseAdminConnection::~DatabaseAdminConnection ( )
pure virtualdefault

Member Function Documentation

◆ CreateBackup()

future< StatusOr< google::spanner::admin::database::v1::Backup > > google::cloud::spanner_admin::v1::DatabaseAdminConnection::CreateBackup ( google::spanner::admin::database::v1::CreateBackupRequest const &  request)
virtual

Definition at line 103 of file database_admin_connection.cc.

◆ CreateDatabase()

future< StatusOr< google::spanner::admin::database::v1::Database > > google::cloud::spanner_admin::v1::DatabaseAdminConnection::CreateDatabase ( google::spanner::admin::database::v1::CreateDatabaseRequest const &  request)
virtual

Definition at line 53 of file database_admin_connection.cc.

◆ DeleteBackup()

Status google::cloud::spanner_admin::v1::DatabaseAdminConnection::DeleteBackup ( google::spanner::admin::database::v1::DeleteBackupRequest const &  request)
virtual

Definition at line 122 of file database_admin_connection.cc.

◆ DropDatabase()

Status google::cloud::spanner_admin::v1::DatabaseAdminConnection::DropDatabase ( google::spanner::admin::database::v1::DropDatabaseRequest const &  request)
virtual

Definition at line 75 of file database_admin_connection.cc.

◆ GetBackup()

StatusOr< google::spanner::admin::database::v1::Backup > google::cloud::spanner_admin::v1::DatabaseAdminConnection::GetBackup ( google::spanner::admin::database::v1::GetBackupRequest const &  request)
virtual

Definition at line 111 of file database_admin_connection.cc.

◆ GetDatabase()

StatusOr< google::spanner::admin::database::v1::Database > google::cloud::spanner_admin::v1::DatabaseAdminConnection::GetDatabase ( google::spanner::admin::database::v1::GetDatabaseRequest const &  request)
virtual

Definition at line 61 of file database_admin_connection.cc.

◆ GetDatabaseDdl()

StatusOr< google::spanner::admin::database::v1::GetDatabaseDdlResponse > google::cloud::spanner_admin::v1::DatabaseAdminConnection::GetDatabaseDdl ( google::spanner::admin::database::v1::GetDatabaseDdlRequest const &  request)
virtual

Definition at line 81 of file database_admin_connection.cc.

◆ GetIamPolicy()

StatusOr< google::iam::v1::Policy > google::cloud::spanner_admin::v1::DatabaseAdminConnection::GetIamPolicy ( google::iam::v1::GetIamPolicyRequest const &  request)
virtual

Definition at line 91 of file database_admin_connection.cc.

◆ ListBackupOperations()

StreamRange< google::longrunning::Operation > google::cloud::spanner_admin::v1::DatabaseAdminConnection::ListBackupOperations ( google::spanner::admin::database::v1::ListBackupOperationsRequest  request)
virtual

Definition at line 169 of file database_admin_connection.cc.

◆ ListBackups()

StreamRange< google::spanner::admin::database::v1::Backup > google::cloud::spanner_admin::v1::DatabaseAdminConnection::ListBackups ( google::spanner::admin::database::v1::ListBackupsRequest  request)
virtual

Definition at line 128 of file database_admin_connection.cc.

◆ ListDatabaseOperations()

StreamRange< google::longrunning::Operation > google::cloud::spanner_admin::v1::DatabaseAdminConnection::ListDatabaseOperations ( google::spanner::admin::database::v1::ListDatabaseOperationsRequest  request)
virtual

Definition at line 151 of file database_admin_connection.cc.

◆ ListDatabases()

StreamRange< google::spanner::admin::database::v1::Database > google::cloud::spanner_admin::v1::DatabaseAdminConnection::ListDatabases ( google::spanner::admin::database::v1::ListDatabasesRequest  request)
virtual

Definition at line 38 of file database_admin_connection.cc.

◆ RestoreDatabase()

future< StatusOr< google::spanner::admin::database::v1::Database > > google::cloud::spanner_admin::v1::DatabaseAdminConnection::RestoreDatabase ( google::spanner::admin::database::v1::RestoreDatabaseRequest const &  request)
virtual

Definition at line 143 of file database_admin_connection.cc.

◆ SetIamPolicy()

StatusOr< google::iam::v1::Policy > google::cloud::spanner_admin::v1::DatabaseAdminConnection::SetIamPolicy ( google::iam::v1::SetIamPolicyRequest const &  request)
virtual

Definition at line 86 of file database_admin_connection.cc.

◆ TestIamPermissions()

StatusOr< google::iam::v1::TestIamPermissionsResponse > google::cloud::spanner_admin::v1::DatabaseAdminConnection::TestIamPermissions ( google::iam::v1::TestIamPermissionsRequest const &  request)
virtual

Definition at line 97 of file database_admin_connection.cc.

◆ UpdateBackup()

StatusOr< google::spanner::admin::database::v1::Backup > google::cloud::spanner_admin::v1::DatabaseAdminConnection::UpdateBackup ( google::spanner::admin::database::v1::UpdateBackupRequest const &  request)
virtual

Definition at line 117 of file database_admin_connection.cc.

◆ UpdateDatabaseDdl()

future< StatusOr< google::spanner::admin::database::v1::UpdateDatabaseDdlMetadata > > google::cloud::spanner_admin::v1::DatabaseAdminConnection::UpdateDatabaseDdl ( google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const &  request)
virtual

Definition at line 68 of file database_admin_connection.cc.