|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::spanner::admin::instance::v1::InstanceConfig >, ListInstanceConfigs,(google::spanner::admin::instance::v1::ListInstanceConfigsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::spanner::admin::instance::v1::InstanceConfig >, GetInstanceConfig,(google::spanner::admin::instance::v1::GetInstanceConfigRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > >, CreateInstanceConfig,(google::spanner::admin::instance::v1::CreateInstanceConfigRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > >, UpdateInstanceConfig,(google::spanner::admin::instance::v1::UpdateInstanceConfigRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteInstanceConfig,(google::spanner::admin::instance::v1::DeleteInstanceConfigRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::longrunning::Operation >, ListInstanceConfigOperations,(google::spanner::admin::instance::v1::ListInstanceConfigOperationsRequest request),(override)) |
|
| MOCK_METHOD (StreamRange< google::spanner::admin::instance::v1::Instance >, ListInstances,(google::spanner::admin::instance::v1::ListInstancesRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::spanner::admin::instance::v1::Instance >, GetInstance,(google::spanner::admin::instance::v1::GetInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::spanner::admin::instance::v1::Instance > >, CreateInstance,(google::spanner::admin::instance::v1::CreateInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::spanner::admin::instance::v1::Instance > >, UpdateInstance,(google::spanner::admin::instance::v1::UpdateInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteInstance,(google::spanner::admin::instance::v1::DeleteInstanceRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::Policy >, SetIamPolicy,(google::iam::v1::SetIamPolicyRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::Policy >, GetIamPolicy,(google::iam::v1::GetIamPolicyRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::TestIamPermissionsResponse >, TestIamPermissions,(google::iam::v1::TestIamPermissionsRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::spanner::admin::instance::v1::InstanceConfig > | ListInstanceConfigs (google::spanner::admin::instance::v1::ListInstanceConfigsRequest request) |
|
virtual StatusOr< google::spanner::admin::instance::v1::InstanceConfig > | GetInstanceConfig (google::spanner::admin::instance::v1::GetInstanceConfigRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > > | CreateInstanceConfig (google::spanner::admin::instance::v1::CreateInstanceConfigRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > > | UpdateInstanceConfig (google::spanner::admin::instance::v1::UpdateInstanceConfigRequest const &request) |
|
virtual Status | DeleteInstanceConfig (google::spanner::admin::instance::v1::DeleteInstanceConfigRequest const &request) |
|
virtual StreamRange< google::longrunning::Operation > | ListInstanceConfigOperations (google::spanner::admin::instance::v1::ListInstanceConfigOperationsRequest request) |
|
virtual StreamRange< google::spanner::admin::instance::v1::Instance > | ListInstances (google::spanner::admin::instance::v1::ListInstancesRequest request) |
|
virtual StatusOr< google::spanner::admin::instance::v1::Instance > | GetInstance (google::spanner::admin::instance::v1::GetInstanceRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::Instance > > | CreateInstance (google::spanner::admin::instance::v1::CreateInstanceRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::Instance > > | UpdateInstance (google::spanner::admin::instance::v1::UpdateInstanceRequest const &request) |
|
virtual Status | DeleteInstance (google::spanner::admin::instance::v1::DeleteInstanceRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > | TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request) |
|
A class to mock InstanceAdminConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type InstanceAdminClient
. To do so, construct an object of type InstanceAdminClient
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
.