|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Instance > >, CreateInstance,(google::bigtable::admin::v2::CreateInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Instance >, GetInstance,(google::bigtable::admin::v2::GetInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::ListInstancesResponse >, ListInstances,(google::bigtable::admin::v2::ListInstancesRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Instance >, UpdateInstance,(google::bigtable::admin::v2::Instance const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Instance > >, PartialUpdateInstance,(google::bigtable::admin::v2::PartialUpdateInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteInstance,(google::bigtable::admin::v2::DeleteInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Cluster > >, CreateCluster,(google::bigtable::admin::v2::CreateClusterRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Cluster >, GetCluster,(google::bigtable::admin::v2::GetClusterRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::ListClustersResponse >, ListClusters,(google::bigtable::admin::v2::ListClustersRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Cluster > >, UpdateCluster,(google::bigtable::admin::v2::Cluster const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Cluster > >, PartialUpdateCluster,(google::bigtable::admin::v2::PartialUpdateClusterRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteCluster,(google::bigtable::admin::v2::DeleteClusterRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::AppProfile >, CreateAppProfile,(google::bigtable::admin::v2::CreateAppProfileRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::AppProfile >, GetAppProfile,(google::bigtable::admin::v2::GetAppProfileRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::bigtable::admin::v2::AppProfile >, ListAppProfiles,(google::bigtable::admin::v2::ListAppProfilesRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::AppProfile > >, UpdateAppProfile,(google::bigtable::admin::v2::UpdateAppProfileRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteAppProfile,(google::bigtable::admin::v2::DeleteAppProfileRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::Policy >, GetIamPolicy,(google::iam::v1::GetIamPolicyRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::Policy >, SetIamPolicy,(google::iam::v1::SetIamPolicyRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::TestIamPermissionsResponse >, TestIamPermissions,(google::iam::v1::TestIamPermissionsRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::bigtable::admin::v2::HotTablet >, ListHotTablets,(google::bigtable::admin::v2::ListHotTabletsRequest request),(override)) |
|
virtual Options | options () |
|
virtual future< StatusOr< google::bigtable::admin::v2::Instance > > | CreateInstance (google::bigtable::admin::v2::CreateInstanceRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::Instance > | GetInstance (google::bigtable::admin::v2::GetInstanceRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::ListInstancesResponse > | ListInstances (google::bigtable::admin::v2::ListInstancesRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::Instance > | UpdateInstance (google::bigtable::admin::v2::Instance const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Instance > > | PartialUpdateInstance (google::bigtable::admin::v2::PartialUpdateInstanceRequest const &request) |
|
virtual Status | DeleteInstance (google::bigtable::admin::v2::DeleteInstanceRequest const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Cluster > > | CreateCluster (google::bigtable::admin::v2::CreateClusterRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::Cluster > | GetCluster (google::bigtable::admin::v2::GetClusterRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::ListClustersResponse > | ListClusters (google::bigtable::admin::v2::ListClustersRequest const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Cluster > > | UpdateCluster (google::bigtable::admin::v2::Cluster const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Cluster > > | PartialUpdateCluster (google::bigtable::admin::v2::PartialUpdateClusterRequest const &request) |
|
virtual Status | DeleteCluster (google::bigtable::admin::v2::DeleteClusterRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::AppProfile > | CreateAppProfile (google::bigtable::admin::v2::CreateAppProfileRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::AppProfile > | GetAppProfile (google::bigtable::admin::v2::GetAppProfileRequest const &request) |
|
virtual StreamRange< google::bigtable::admin::v2::AppProfile > | ListAppProfiles (google::bigtable::admin::v2::ListAppProfilesRequest request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::AppProfile > > | UpdateAppProfile (google::bigtable::admin::v2::UpdateAppProfileRequest const &request) |
|
virtual Status | DeleteAppProfile (google::bigtable::admin::v2::DeleteAppProfileRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > | TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request) |
|
virtual StreamRange< google::bigtable::admin::v2::HotTablet > | ListHotTablets (google::bigtable::admin::v2::ListHotTabletsRequest request) |
|
A class to mock BigtableInstanceAdminConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type BigtableInstanceAdminClient
. To do so, construct an object of type BigtableInstanceAdminClient
with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.
- See also
- This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of
*Client
and *Connection
.