15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_DATABASE_ADMIN_CLIENT_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_DATABASE_ADMIN_CLIENT_H
18 #include "google/cloud/spanner/backup.h"
19 #include "google/cloud/spanner/connection_options.h"
20 #include "google/cloud/spanner/database.h"
21 #include "google/cloud/spanner/database_admin_connection.h"
22 #include "google/cloud/spanner/encryption_config.h"
23 #include "google/cloud/spanner/iam_updater.h"
24 #include "google/cloud/spanner/instance.h"
25 #include "google/cloud/spanner/timestamp.h"
26 #include "google/cloud/spanner/version.h"
27 #include "google/cloud/future.h"
28 #include "google/cloud/status_or.h"
29 #include "absl/types/optional.h"
121 ConnectionOptions
const& options = ConnectionOptions
());
153 future<StatusOr<
google::spanner::admin::database::v1::Database>>
180 StatusOr<
google::spanner::admin::database::v1::GetDatabaseDdlResponse>
200 StatusOr<
google::spanner::admin::database::v1::UpdateDatabaseDdlMetadata>>
242 future<StatusOr<
google::spanner::admin::database::v1::Database>>
260 future<StatusOr<
google::spanner::admin::database::v1::Database>>
262 google::spanner::admin::database::v1::Backup
const& backup,
326 IamUpdater
const& updater);
337 Database const& db, IamUpdater
const& updater,
338 std::unique_ptr<TransactionRerunPolicy> rerun_policy,
339 std::unique_ptr<BackoffPolicy> backoff_policy);
364 Database db, std::vector<std::string> permissions);
399 absl::optional<
Timestamp> version_time = absl::nullopt,
429 std::chrono::system_clock::time_point expire_time);
452 google::spanner::admin::database::v1::Backup
const& backup);
496 google::spanner::admin::database::v1::Backup
const& backup,
527 google::spanner::admin::database::v1::Backup
const& backup,
528 std::chrono::system_clock::time_point
const& expire_time);
544 std::chrono::system_clock::time_point
const& expire_time);
565 std::string filter = {});
586 std::string filter = {});
590 : conn_(std::move(c)) {}