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_mocks::v1::MockDatabaseAdminConnection Class Reference

#include <google/cloud/spanner/admin/mocks/mock_database_admin_connection.h>

Public Member Functions

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

Detailed Description

Definition at line 30 of file mock_database_admin_connection.h.

Member Function Documentation

◆ MOCK_METHOD() [1/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( future< StatusOr< google::spanner::admin::database::v1::Backup >>  ,
CreateBackup  ,
(google::spanner::admin::database::v1::CreateBackupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [2/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( future< StatusOr< google::spanner::admin::database::v1::Database >>  ,
CreateDatabase  ,
(google::spanner::admin::database::v1::CreateDatabaseRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [3/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( future< StatusOr< google::spanner::admin::database::v1::Database >>  ,
RestoreDatabase  ,
(google::spanner::admin::database::v1::RestoreDatabaseRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [4/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( future< StatusOr< google::spanner::admin::database::v1::UpdateDatabaseDdlMetadata >>  ,
UpdateDatabaseDdl  ,
(google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [5/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( Status  ,
DeleteBackup  ,
(google::spanner::admin::database::v1::DeleteBackupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [6/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( Status  ,
DropDatabase  ,
(google::spanner::admin::database::v1::DropDatabaseRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [7/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::iam::v1::Policy >  ,
GetIamPolicy  ,
(google::iam::v1::GetIamPolicyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [8/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::iam::v1::Policy >  ,
SetIamPolicy  ,
(google::iam::v1::SetIamPolicyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [9/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::iam::v1::TestIamPermissionsResponse >  ,
TestIamPermissions  ,
(google::iam::v1::TestIamPermissionsRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [10/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::spanner::admin::database::v1::Backup >  ,
GetBackup  ,
(google::spanner::admin::database::v1::GetBackupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [11/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::spanner::admin::database::v1::Backup >  ,
UpdateBackup  ,
(google::spanner::admin::database::v1::UpdateBackupRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [12/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::spanner::admin::database::v1::Database >  ,
GetDatabase  ,
(google::spanner::admin::database::v1::GetDatabaseRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [13/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StatusOr< google::spanner::admin::database::v1::GetDatabaseDdlResponse >  ,
GetDatabaseDdl  ,
(google::spanner::admin::database::v1::GetDatabaseDdlRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [14/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StreamRange< google::longrunning::Operation >  ,
ListBackupOperations  ,
(google::spanner::admin::database::v1::ListBackupOperationsRequest request)  ,
(override)   
)

◆ MOCK_METHOD() [15/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StreamRange< google::longrunning::Operation >  ,
ListDatabaseOperations  ,
(google::spanner::admin::database::v1::ListDatabaseOperationsRequest request)  ,
(override)   
)

◆ MOCK_METHOD() [16/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StreamRange< google::spanner::admin::database::v1::Backup >  ,
ListBackups  ,
(google::spanner::admin::database::v1::ListBackupsRequest request)  ,
(override)   
)

◆ MOCK_METHOD() [17/17]

google::cloud::spanner_admin_mocks::v1::MockDatabaseAdminConnection::MOCK_METHOD ( StreamRange< google::spanner::admin::database::v1::Database >  ,
ListDatabases  ,
(google::spanner::admin::database::v1::ListDatabasesRequest request)  ,
(override)   
)