19 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_MOCKS_MOCK_INSTANCE_ADMIN_CONNECTION_H
20 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_MOCKS_MOCK_INSTANCE_ADMIN_CONNECTION_H
22 #include "google/cloud/spanner/admin/instance_admin_connection.h"
23 #include <gmock/gmock.h>
33 MOCK_METHOD(StreamRange<
google::spanner::admin::instance::v1::InstanceConfig>,
35 (
google::spanner::admin::instance::v1::ListInstanceConfigsRequest
40 StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>,
42 (
google::spanner::admin::instance::v1::GetInstanceConfigRequest
const&
47 StreamRange<
google::spanner::admin::instance::v1::Instance>,
49 (
google::spanner::admin::instance::v1::ListInstancesRequest request),
53 StatusOr<
google::spanner::admin::instance::v1::Instance>, GetInstance,
54 (
google::spanner::admin::instance::v1::GetInstanceRequest
const& request),
58 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>,
60 (
google::spanner::admin::instance::v1::CreateInstanceRequest
const&
65 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>,
67 (
google::spanner::admin::instance::v1::UpdateInstanceRequest
const&
73 (
google::spanner::admin::instance::v1::DeleteInstanceRequest
const&
77 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, SetIamPolicy,
78 (
google::iam::v1::SetIamPolicyRequest
const& request),
81 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, GetIamPolicy,
82 (
google::iam::v1::GetIamPolicyRequest
const& request),
85 MOCK_METHOD(StatusOr<
google::iam::v1::TestIamPermissionsResponse>,
87 (
google::iam::v1::TestIamPermissionsRequest
const& request),