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_internal::v1::DatabaseAdminStub Class Referenceabstract

#include <google/cloud/spanner/admin/internal/database_admin_stub.h>

Public Member Functions

virtual ~DatabaseAdminStub ()=0
 
virtual StatusOr< google::spanner::admin::database::v1::ListDatabasesResponse > ListDatabases (grpc::ClientContext &context, google::spanner::admin::database::v1::ListDatabasesRequest const &request)=0
 
virtual future< StatusOr< google::longrunning::Operation > > AsyncCreateDatabase (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::spanner::admin::database::v1::CreateDatabaseRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::Database > GetDatabase (grpc::ClientContext &context, google::spanner::admin::database::v1::GetDatabaseRequest const &request)=0
 
virtual future< StatusOr< google::longrunning::Operation > > AsyncUpdateDatabaseDdl (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const &request)=0
 
virtual Status DropDatabase (grpc::ClientContext &context, google::spanner::admin::database::v1::DropDatabaseRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::GetDatabaseDdlResponse > GetDatabaseDdl (grpc::ClientContext &context, google::spanner::admin::database::v1::GetDatabaseDdlRequest const &request)=0
 
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy (grpc::ClientContext &context, google::iam::v1::SetIamPolicyRequest const &request)=0
 
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy (grpc::ClientContext &context, google::iam::v1::GetIamPolicyRequest const &request)=0
 
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions (grpc::ClientContext &context, google::iam::v1::TestIamPermissionsRequest const &request)=0
 
virtual future< StatusOr< google::longrunning::Operation > > AsyncCreateBackup (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::spanner::admin::database::v1::CreateBackupRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::Backup > GetBackup (grpc::ClientContext &context, google::spanner::admin::database::v1::GetBackupRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::Backup > UpdateBackup (grpc::ClientContext &context, google::spanner::admin::database::v1::UpdateBackupRequest const &request)=0
 
virtual Status DeleteBackup (grpc::ClientContext &context, google::spanner::admin::database::v1::DeleteBackupRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::ListBackupsResponse > ListBackups (grpc::ClientContext &context, google::spanner::admin::database::v1::ListBackupsRequest const &request)=0
 
virtual future< StatusOr< google::longrunning::Operation > > AsyncRestoreDatabase (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::spanner::admin::database::v1::RestoreDatabaseRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::ListDatabaseOperationsResponse > ListDatabaseOperations (grpc::ClientContext &context, google::spanner::admin::database::v1::ListDatabaseOperationsRequest const &request)=0
 
virtual StatusOr< google::spanner::admin::database::v1::ListBackupOperationsResponse > ListBackupOperations (grpc::ClientContext &context, google::spanner::admin::database::v1::ListBackupOperationsRequest const &request)=0
 
virtual future< StatusOr< google::longrunning::Operation > > AsyncGetOperation (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::longrunning::GetOperationRequest const &request)=0
 
virtual future< Status > AsyncCancelOperation (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::longrunning::CancelOperationRequest const &request)=0
 

Detailed Description

Definition at line 35 of file database_admin_stub.h.

Constructor & Destructor Documentation

◆ ~DatabaseAdminStub()

google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::~DatabaseAdminStub ( )
pure virtualdefault

Member Function Documentation

◆ AsyncCancelOperation()

virtual future<Status> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::AsyncCancelOperation ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::longrunning::CancelOperationRequest const &  request 
)
pure virtual

◆ AsyncCreateBackup()

virtual future<StatusOr<google::longrunning::Operation> > google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::AsyncCreateBackup ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::spanner::admin::database::v1::CreateBackupRequest const &  request 
)
pure virtual

◆ AsyncCreateDatabase()

virtual future<StatusOr<google::longrunning::Operation> > google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::AsyncCreateDatabase ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::spanner::admin::database::v1::CreateDatabaseRequest const &  request 
)
pure virtual

◆ AsyncGetOperation()

virtual future<StatusOr<google::longrunning::Operation> > google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::AsyncGetOperation ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::longrunning::GetOperationRequest const &  request 
)
pure virtual

◆ AsyncRestoreDatabase()

virtual future<StatusOr<google::longrunning::Operation> > google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::AsyncRestoreDatabase ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::spanner::admin::database::v1::RestoreDatabaseRequest const &  request 
)
pure virtual

◆ AsyncUpdateDatabaseDdl()

virtual future<StatusOr<google::longrunning::Operation> > google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::AsyncUpdateDatabaseDdl ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const &  request 
)
pure virtual

◆ DeleteBackup()

virtual Status google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::DeleteBackup ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::DeleteBackupRequest const &  request 
)
pure virtual

◆ DropDatabase()

virtual Status google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::DropDatabase ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::DropDatabaseRequest const &  request 
)
pure virtual

◆ GetBackup()

virtual StatusOr<google::spanner::admin::database::v1::Backup> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::GetBackup ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::GetBackupRequest const &  request 
)
pure virtual

◆ GetDatabase()

virtual StatusOr<google::spanner::admin::database::v1::Database> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::GetDatabase ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::GetDatabaseRequest const &  request 
)
pure virtual

◆ GetDatabaseDdl()

virtual StatusOr<google::spanner::admin::database::v1::GetDatabaseDdlResponse> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::GetDatabaseDdl ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::GetDatabaseDdlRequest const &  request 
)
pure virtual

◆ GetIamPolicy()

virtual StatusOr<google::iam::v1::Policy> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::GetIamPolicy ( grpc::ClientContext &  context,
google::iam::v1::GetIamPolicyRequest const &  request 
)
pure virtual

◆ ListBackupOperations()

virtual StatusOr< google::spanner::admin::database::v1::ListBackupOperationsResponse> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::ListBackupOperations ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::ListBackupOperationsRequest const &  request 
)
pure virtual

◆ ListBackups()

virtual StatusOr<google::spanner::admin::database::v1::ListBackupsResponse> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::ListBackups ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::ListBackupsRequest const &  request 
)
pure virtual

◆ ListDatabaseOperations()

virtual StatusOr< google::spanner::admin::database::v1::ListDatabaseOperationsResponse> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::ListDatabaseOperations ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::ListDatabaseOperationsRequest const &  request 
)
pure virtual

◆ ListDatabases()

virtual StatusOr<google::spanner::admin::database::v1::ListDatabasesResponse> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::ListDatabases ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::ListDatabasesRequest const &  request 
)
pure virtual

◆ SetIamPolicy()

virtual StatusOr<google::iam::v1::Policy> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::SetIamPolicy ( grpc::ClientContext &  context,
google::iam::v1::SetIamPolicyRequest const &  request 
)
pure virtual

◆ TestIamPermissions()

virtual StatusOr<google::iam::v1::TestIamPermissionsResponse> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::TestIamPermissions ( grpc::ClientContext &  context,
google::iam::v1::TestIamPermissionsRequest const &  request 
)
pure virtual

◆ UpdateBackup()

virtual StatusOr<google::spanner::admin::database::v1::Backup> google::cloud::spanner_admin_internal::v1::DatabaseAdminStub::UpdateBackup ( grpc::ClientContext &  context,
google::spanner::admin::database::v1::UpdateBackupRequest const &  request 
)
pure virtual