Class BigtableInstanceAdminConnection (2.18.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 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 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 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 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 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 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 >