Class BigtableTableAdminConnection (2.29.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in BigtableTableAdminClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type BigtableTableAdminClient.

To create a concrete instance, see MakeBigtableTableAdminConnection().

For mocking, see bigtable_admin_mocks::MockBigtableTableAdminConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateTable(google::bigtable::admin::v2::CreateTableRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::CreateTableRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::Table >

virtual ListTables(google::bigtable::admin::v2::ListTablesRequest)

Parameter
Name Description
request google::bigtable::admin::v2::ListTablesRequest
Returns
Type Description
StreamRange< google::bigtable::admin::v2::Table >

virtual GetTable(google::bigtable::admin::v2::GetTableRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::GetTableRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::Table >

virtual UpdateTable(google::bigtable::admin::v2::UpdateTableRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::UpdateTableRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Table > >

virtual UpdateTable(NoAwaitTag, google::bigtable::admin::v2::UpdateTableRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::UpdateTableRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateTable(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Table > >

virtual DeleteTable(google::bigtable::admin::v2::DeleteTableRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::DeleteTableRequest const &
Returns
Type Description
Status

virtual UndeleteTable(google::bigtable::admin::v2::UndeleteTableRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::UndeleteTableRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Table > >

virtual UndeleteTable(NoAwaitTag, google::bigtable::admin::v2::UndeleteTableRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::UndeleteTableRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UndeleteTable(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Table > >

virtual CreateAuthorizedView(google::bigtable::admin::v2::CreateAuthorizedViewRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::CreateAuthorizedViewRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::AuthorizedView > >

virtual CreateAuthorizedView(NoAwaitTag, google::bigtable::admin::v2::CreateAuthorizedViewRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::CreateAuthorizedViewRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateAuthorizedView(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::AuthorizedView > >

virtual ListAuthorizedViews(google::bigtable::admin::v2::ListAuthorizedViewsRequest)

Parameter
Name Description
request google::bigtable::admin::v2::ListAuthorizedViewsRequest
Returns
Type Description
StreamRange< google::bigtable::admin::v2::AuthorizedView >

virtual GetAuthorizedView(google::bigtable::admin::v2::GetAuthorizedViewRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::GetAuthorizedViewRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::AuthorizedView >

virtual UpdateAuthorizedView(google::bigtable::admin::v2::UpdateAuthorizedViewRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::UpdateAuthorizedViewRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::AuthorizedView > >

virtual UpdateAuthorizedView(NoAwaitTag, google::bigtable::admin::v2::UpdateAuthorizedViewRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::UpdateAuthorizedViewRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateAuthorizedView(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::AuthorizedView > >

virtual DeleteAuthorizedView(google::bigtable::admin::v2::DeleteAuthorizedViewRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::DeleteAuthorizedViewRequest const &
Returns
Type Description
Status

virtual ModifyColumnFamilies(google::bigtable::admin::v2::ModifyColumnFamiliesRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::ModifyColumnFamiliesRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::Table >

virtual DropRowRange(google::bigtable::admin::v2::DropRowRangeRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::DropRowRangeRequest const &
Returns
Type Description
Status

virtual GenerateConsistencyToken(google::bigtable::admin::v2::GenerateConsistencyTokenRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::GenerateConsistencyTokenRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::GenerateConsistencyTokenResponse >

virtual CheckConsistency(google::bigtable::admin::v2::CheckConsistencyRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::CheckConsistencyRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::CheckConsistencyResponse >

virtual CreateBackup(google::bigtable::admin::v2::CreateBackupRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::CreateBackupRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Backup > >

virtual CreateBackup(NoAwaitTag, google::bigtable::admin::v2::CreateBackupRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::CreateBackupRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateBackup(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Backup > >

virtual GetBackup(google::bigtable::admin::v2::GetBackupRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::GetBackupRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::Backup >

virtual UpdateBackup(google::bigtable::admin::v2::UpdateBackupRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::UpdateBackupRequest const &
Returns
Type Description
StatusOr< google::bigtable::admin::v2::Backup >

virtual DeleteBackup(google::bigtable::admin::v2::DeleteBackupRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::DeleteBackupRequest const &
Returns
Type Description
Status

virtual ListBackups(google::bigtable::admin::v2::ListBackupsRequest)

Parameter
Name Description
request google::bigtable::admin::v2::ListBackupsRequest
Returns
Type Description
StreamRange< google::bigtable::admin::v2::Backup >

virtual RestoreTable(google::bigtable::admin::v2::RestoreTableRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::RestoreTableRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Table > >

virtual RestoreTable(NoAwaitTag, google::bigtable::admin::v2::RestoreTableRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::RestoreTableRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual RestoreTable(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Table > >

virtual CopyBackup(google::bigtable::admin::v2::CopyBackupRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::CopyBackupRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Backup > >

virtual CopyBackup(NoAwaitTag, google::bigtable::admin::v2::CopyBackupRequest const &)

Parameters
Name Description
NoAwaitTag
request google::bigtable::admin::v2::CopyBackupRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CopyBackup(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::Backup > >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual AsyncCheckConsistency(google::bigtable::admin::v2::CheckConsistencyRequest const &)

Parameter
Name Description
request google::bigtable::admin::v2::CheckConsistencyRequest const &
Returns
Type Description
future< StatusOr< google::bigtable::admin::v2::CheckConsistencyResponse > >