15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_MOCK_INSTANCE_ADMIN_CONNECTION_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_MOCK_INSTANCE_ADMIN_CONNECTION_H
18#include "google/cloud/spanner/instance_admin_connection.h"
19#include "google/cloud/spanner/version.h"
20#include <gmock/gmock.h>
25GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
27
28
29
30
31
32
33
37 MOCK_METHOD(StatusOr<
google::spanner::admin::instance::v1::Instance>,
39 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::instance::v1::Instance>>,
41 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::instance::v1::Instance>>,
44 MOCK_METHOD(StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>,
46 MOCK_METHOD(
spanner::ListInstanceConfigsRange, ListInstanceConfigs,
50 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, GetIamPolicy,
52 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, SetIamPolicy,
54 MOCK_METHOD(StatusOr<
google::iam::v1::TestIamPermissionsResponse>,
58GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
friend friend class future
A connection to the Cloud Spanner instance administration service.
Definition: instance_admin_connection.h:75
A class to mock google::cloud::spanner::InstanceAdminConnection.
Definition: mock_instance_admin_connection.h:35
Define classes to mock the Cloud Spanner C++ client APIs.
Definition: mock_database_admin_connection.h:24
Contains all the Cloud Spanner C++ client types and functions.
Definition: backoff_policy.h:23
Wrap the arguments for CreateInstance().
Definition: instance_admin_connection.h:97
Wrap the arguments for DeleteInstance().
Definition: instance_admin_connection.h:107
Wrap the arguments for GetIamPolicy().
Definition: instance_admin_connection.h:146
Wrap the arguments for GetInstanceConfig().
Definition: instance_admin_connection.h:112
Wrap the arguments for GetInstance().
Definition: instance_admin_connection.h:90
Wrap the arguments for ListInstanceConfigs().
Definition: instance_admin_connection.h:117
Wrap the arguments for ListInstances().
Definition: instance_admin_connection.h:124
Wrap the arguments for SetIamPolicy().
Definition: instance_admin_connection.h:151
Wrap the arguments for TestIamPermissions().
Definition: instance_admin_connection.h:157
Wrap the arguments for UpdateInstance().
Definition: instance_admin_connection.h:102