15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_INSTANCE_ADMIN_CLIENT_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_INSTANCE_ADMIN_CLIENT_H
18 #include "google/cloud/spanner/iam_updater.h"
19 #include "google/cloud/spanner/instance.h"
20 #include "google/cloud/spanner/instance_admin_connection.h"
21 #include "google/cloud/spanner/version.h"
22 #include "google/cloud/status_or.h"
68 : conn_(std::move(conn)) {}
86 return a.conn_ == b.conn_;
123 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
125 google::spanner::admin::instance::v1::CreateInstanceRequest
const&);
143 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
145 google::spanner::admin::instance::v1::UpdateInstanceRequest
const&);
168 StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>
193 ListInstancesRange
ListInstances(std::string project_id, std::string filter);
268 IamUpdater
const& updater);
279 Instance const& in, IamUpdater
const& updater,
280 std::unique_ptr<TransactionRerunPolicy> rerun_policy,
281 std::unique_ptr<BackoffPolicy> backoff_policy);
303 Instance const& in, std::vector<std::string> permissions);