Class BigtableInstanceAdminConnection (2.11.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 &)