|
virtual | ~DatabaseAdminConnection ()=0 |
|
virtual Options | options () |
|
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::Database > > | UpdateDatabase (google::spanner::admin::database::v1::UpdateDatabaseRequest 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 future< StatusOr< google::spanner::admin::database::v1::Backup > > | CopyBackup (google::spanner::admin::database::v1::CopyBackupRequest 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) |
|
virtual StreamRange< google::spanner::admin::database::v1::DatabaseRole > | ListDatabaseRoles (google::spanner::admin::database::v1::ListDatabaseRolesRequest request) |
|
The DatabaseAdminConnection
object for DatabaseAdminClient
.
This interface defines virtual methods for each of the user-facing overload sets in DatabaseAdminClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DatabaseAdminClient
.
To create a concrete instance, see MakeDatabaseAdminConnection()
.
For mocking, see spanner_admin_mocks::MockDatabaseAdminConnection
.