Class BigtableInstanceAdminConnection (2.12.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
TypeDescription
Options

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

Parameter
NameDescription
request google::bigtable::admin::v2::CreateInstanceRequest const &
Returns
TypeDescription
future< StatusOr< google::bigtable::admin::v2::Instance > >

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

Parameter
NameDescription
request google::bigtable::admin::v2::GetInstanceRequest const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::Instance >

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

Parameter
NameDescription
request google::bigtable::admin::v2::ListInstancesRequest const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::ListInstancesResponse >

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

Parameter
NameDescription
request google::bigtable::admin::v2::Instance const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::Instance >

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

Parameter
NameDescription
request google::bigtable::admin::v2::PartialUpdateInstanceRequest const &
Returns
TypeDescription
future< StatusOr< google::bigtable::admin::v2::Instance > >

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

Parameter
NameDescription
request google::bigtable::admin::v2::DeleteInstanceRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::bigtable::admin::v2::CreateClusterRequest const &
Returns
TypeDescription
future< StatusOr< google::bigtable::admin::v2::Cluster > >

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

Parameter
NameDescription
request google::bigtable::admin::v2::GetClusterRequest const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::Cluster >

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

Parameter
NameDescription
request google::bigtable::admin::v2::ListClustersRequest const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::ListClustersResponse >

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

Parameter
NameDescription
request google::bigtable::admin::v2::Cluster const &
Returns
TypeDescription
future< StatusOr< google::bigtable::admin::v2::Cluster > >

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

Parameter
NameDescription
request google::bigtable::admin::v2::PartialUpdateClusterRequest const &
Returns
TypeDescription
future< StatusOr< google::bigtable::admin::v2::Cluster > >

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

Parameter
NameDescription
request google::bigtable::admin::v2::DeleteClusterRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::bigtable::admin::v2::CreateAppProfileRequest const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::AppProfile >

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

Parameter
NameDescription
request google::bigtable::admin::v2::GetAppProfileRequest const &
Returns
TypeDescription
StatusOr< google::bigtable::admin::v2::AppProfile >

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

Parameter
NameDescription
request google::bigtable::admin::v2::ListAppProfilesRequest
Returns
TypeDescription
StreamRange< google::bigtable::admin::v2::AppProfile >

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

Parameter
NameDescription
request google::bigtable::admin::v2::UpdateAppProfileRequest const &
Returns
TypeDescription
future< StatusOr< google::bigtable::admin::v2::AppProfile > >

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

Parameter
NameDescription
request google::bigtable::admin::v2::DeleteAppProfileRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::iam::v1::GetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::SetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::TestIamPermissionsRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual ListHotTablets(google::bigtable::admin::v2::ListHotTabletsRequest)

Parameter
NameDescription
request google::bigtable::admin::v2::ListHotTabletsRequest
Returns
TypeDescription
StreamRange< google::bigtable::admin::v2::HotTablet >