Class BigtableInstanceAdminConnection (2.30.0)

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

To create a concrete instance, see MakeBigtableInstanceAdminConnection().

For mocking, see bigtable_admin_mocks::MockBigtableInstanceAdminConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateInstance(google::bigtable::admin::v2::CreateInstanceRequest const &)

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

virtual CreateInstance(NoAwaitTag, google::bigtable::admin::v2::CreateInstanceRequest const &)

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

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

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

virtual GetInstance(google::bigtable::admin::v2::GetInstanceRequest const &)

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

virtual ListInstances(google::bigtable::admin::v2::ListInstancesRequest const &)

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

virtual UpdateInstance(google::bigtable::admin::v2::Instance const &)

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

virtual PartialUpdateInstance(google::bigtable::admin::v2::PartialUpdateInstanceRequest const &)

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

virtual PartialUpdateInstance(NoAwaitTag, google::bigtable::admin::v2::PartialUpdateInstanceRequest const &)

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

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

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

virtual DeleteInstance(google::bigtable::admin::v2::DeleteInstanceRequest const &)

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

virtual CreateCluster(google::bigtable::admin::v2::CreateClusterRequest const &)

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

virtual CreateCluster(NoAwaitTag, google::bigtable::admin::v2::CreateClusterRequest const &)

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

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

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

virtual GetCluster(google::bigtable::admin::v2::GetClusterRequest const &)

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

virtual ListClusters(google::bigtable::admin::v2::ListClustersRequest const &)

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

virtual UpdateCluster(google::bigtable::admin::v2::Cluster const &)

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

virtual UpdateCluster(NoAwaitTag, google::bigtable::admin::v2::Cluster const &)

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

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

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

virtual PartialUpdateCluster(google::bigtable::admin::v2::PartialUpdateClusterRequest const &)

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

virtual PartialUpdateCluster(NoAwaitTag, google::bigtable::admin::v2::PartialUpdateClusterRequest const &)

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

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

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

virtual DeleteCluster(google::bigtable::admin::v2::DeleteClusterRequest const &)

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

virtual CreateAppProfile(google::bigtable::admin::v2::CreateAppProfileRequest const &)

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

virtual GetAppProfile(google::bigtable::admin::v2::GetAppProfileRequest const &)

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

virtual ListAppProfiles(google::bigtable::admin::v2::ListAppProfilesRequest)

Parameter
Name Description
request google::bigtable::admin::v2::ListAppProfilesRequest
Returns
Type Description
StreamRange< google::bigtable::admin::v2::AppProfile >

virtual UpdateAppProfile(google::bigtable::admin::v2::UpdateAppProfileRequest const &)

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

virtual UpdateAppProfile(NoAwaitTag, google::bigtable::admin::v2::UpdateAppProfileRequest const &)

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

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

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

virtual DeleteAppProfile(google::bigtable::admin::v2::DeleteAppProfileRequest const &)

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

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 ListHotTablets(google::bigtable::admin::v2::ListHotTabletsRequest)

Parameter
Name Description
request google::bigtable::admin::v2::ListHotTabletsRequest
Returns
Type Description
StreamRange< google::bigtable::admin::v2::HotTablet >