19 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_INSTANCE_ADMIN_CLIENT_H
20 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_INSTANCE_ADMIN_CLIENT_H
22 #include "google/cloud/spanner/admin/instance_admin_connection.h"
23 #include "google/cloud/future.h"
24 #include "google/cloud/iam_updater.h"
25 #include "google/cloud/options.h"
26 #include "google/cloud/polling_policy.h"
27 #include "google/cloud/status_or.h"
28 #include "google/cloud/version.h"
29 #include <google/longrunning/operations.grpc.pb.h>
79 return a.connection_ == b.connection_;
94 StreamRange<
google::spanner::admin::instance::v1::InstanceConfig>
105 StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>
115 std::string
const& parent);
126 std::string
const& name);
174 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
176 std::string
const& parent, std::string
const& instance_id,
177 google::spanner::admin::instance::v1::Instance
const& instance);
233 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
235 google::protobuf::FieldMask
const& field_mask);
273 std::string
const& resource,
google::iam::v1::Policy
const& policy);
297 IamUpdater
const& updater,
334 std::string
const& resource, std::vector<std::string>
const& permissions);
342 StreamRange<
google::spanner::admin::instance::v1::InstanceConfig>
344 google::spanner::admin::instance::v1::ListInstanceConfigsRequest request);
354 StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>
356 google::spanner::admin::instance::v1::GetInstanceConfigRequest
const&
366 google::spanner::admin::instance::v1::ListInstancesRequest request);
377 google::spanner::admin::instance::v1::GetInstanceRequest
const& request);
420 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
422 google::spanner::admin::instance::v1::CreateInstanceRequest
const&
472 future<StatusOr<
google::spanner::admin::instance::v1::Instance>>
474 google::spanner::admin::instance::v1::UpdateInstanceRequest
const&
494 google::spanner::admin::instance::v1::DeleteInstanceRequest
const&
510 google::iam::v1::SetIamPolicyRequest
const& request);
525 google::iam::v1::GetIamPolicyRequest
const& request);
541 google::iam::v1::TestIamPermissionsRequest
const& request);