15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_INSTANCE_ADMIN_CONNECTION_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_INSTANCE_ADMIN_CONNECTION_H
18 #include "google/cloud/spanner/backoff_policy.h"
19 #include "google/cloud/spanner/internal/instance_admin_stub.h"
20 #include "google/cloud/spanner/polling_policy.h"
21 #include "google/cloud/spanner/retry_policy.h"
22 #include "google/cloud/spanner/version.h"
23 #include "google/cloud/backoff_policy.h"
24 #include "google/cloud/internal/pagination_range.h"
25 #include <google/spanner/admin/instance/v1/spanner_instance_admin.pb.h>
44 using ListInstancesRange = ::
google::
cloud::internal::PaginationRange<
45 google::spanner::admin::instance::v1::Instance>;
56 using ListInstanceConfigsRange = ::
google::
cloud::internal::PaginationRange<
57 google::spanner::admin::instance::v1::InstanceConfig>;
163 virtual future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
166 virtual future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
172 virtual StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>
199 virtual StatusOr<
google::iam::v1::TestIamPermissionsResponse>
244 ConnectionOptions
const& options);
270 ConnectionOptions
const& options, std::unique_ptr<RetryPolicy> retry_policy,
271 std::unique_ptr<BackoffPolicy> backoff_policy,
272 std::unique_ptr<PollingPolicy> polling_policy);
277 namespace spanner_internal {
282 MakeInstanceAdminConnectionForTesting(
283 std::shared_ptr<InstanceAdminStub> base_stub,
Options opts);