19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_MOCKS_MOCK_BIGTABLE_INSTANCE_ADMIN_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_MOCKS_MOCK_BIGTABLE_INSTANCE_ADMIN_CONNECTION_H
22#include "google/cloud/bigtable/admin/bigtable_instance_admin_connection.h"
23#include <gmock/gmock.h>
28GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
31
32
33
34
35
36
37
38
39
40
41
42
43
44
51 future<StatusOr<
google::bigtable::admin::v2::Instance>>, CreateInstance,
52 (
google::bigtable::admin::v2::CreateInstanceRequest
const& request),
55 MOCK_METHOD(StatusOr<
google::bigtable::admin::v2::Instance>, GetInstance,
56 (
google::bigtable::admin::v2::GetInstanceRequest
const& request),
60 StatusOr<
google::bigtable::admin::v2::ListInstancesResponse>,
62 (
google::bigtable::admin::v2::ListInstancesRequest
const& request),
65 MOCK_METHOD(StatusOr<
google::bigtable::admin::v2::Instance>, UpdateInstance,
66 (
google::bigtable::admin::v2::Instance
const& request),
69 MOCK_METHOD(
future<StatusOr<
google::bigtable::admin::v2::Instance>>,
70 PartialUpdateInstance,
71 (
google::bigtable::admin::v2::PartialUpdateInstanceRequest
const&
77 (
google::bigtable::admin::v2::DeleteInstanceRequest
const& request),
81 future<StatusOr<
google::bigtable::admin::v2::Cluster>>, CreateCluster,
82 (
google::bigtable::admin::v2::CreateClusterRequest
const& request),
85 MOCK_METHOD(StatusOr<
google::bigtable::admin::v2::Cluster>, GetCluster,
86 (
google::bigtable::admin::v2::GetClusterRequest
const& request),
89 MOCK_METHOD(StatusOr<
google::bigtable::admin::v2::ListClustersResponse>,
91 (
google::bigtable::admin::v2::ListClustersRequest
const& request),
94 MOCK_METHOD(
future<StatusOr<
google::bigtable::admin::v2::Cluster>>,
96 (
google::bigtable::admin::v2::Cluster
const& request),
101 PartialUpdateCluster,
102 (
google::bigtable::admin::v2::PartialUpdateClusterRequest
const& request),
107 (
google::bigtable::admin::v2::DeleteClusterRequest
const& request),
111 StatusOr<
google::bigtable::admin::v2::AppProfile>, CreateAppProfile,
112 (
google::bigtable::admin::v2::CreateAppProfileRequest
const& request),
116 StatusOr<
google::bigtable::admin::v2::AppProfile>, GetAppProfile,
117 (
google::bigtable::admin::v2::GetAppProfileRequest
const& request),
120 MOCK_METHOD(StreamRange<
google::bigtable::admin::v2::AppProfile>,
122 (
google::bigtable::admin::v2::ListAppProfilesRequest request),
126 future<StatusOr<
google::bigtable::admin::v2::AppProfile>>,
128 (
google::bigtable::admin::v2::UpdateAppProfileRequest
const& request),
133 (
google::bigtable::admin::v2::DeleteAppProfileRequest
const& request),
136 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, GetIamPolicy,
137 (
google::iam::v1::GetIamPolicyRequest
const& request),
140 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, SetIamPolicy,
141 (
google::iam::v1::SetIamPolicyRequest
const& request),
144 MOCK_METHOD(StatusOr<
google::iam::v1::TestIamPermissionsResponse>,
146 (
google::iam::v1::TestIamPermissionsRequest
const& request),
149 MOCK_METHOD(StreamRange<
google::bigtable::admin::v2::HotTablet>,
151 (
google::bigtable::admin::v2::ListHotTabletsRequest request),
155GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The BigtableInstanceAdminConnection object for BigtableInstanceAdminClient.
Definition: bigtable_instance_admin_connection.h:65
A class to mock BigtableInstanceAdminConnection.
Definition: mock_bigtable_instance_admin_connection.h:46
friend friend class future
Definition: mock_bigtable_instance_admin_connection.h:27
Definition: bigtable_instance_admin_client.h:35