19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_BIGTABLE_INSTANCE_ADMIN_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_BIGTABLE_INSTANCE_ADMIN_CLIENT_H
22#include "google/cloud/bigtable/admin/bigtable_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>
36GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
87 return a.connection_ == b.connection_;
142 std::string
const& parent, std::string
const& instance_id,
143 google::bigtable::admin::v2::Instance
const& instance,
144 std::map<std::string,
google::bigtable::admin::v2::Cluster>
const&
189 google::bigtable::admin::v2::CreateInstanceRequest
const& request,
248 google::bigtable::admin::v2::GetInstanceRequest
const& request,
276 std::string
const& parent,
Options opts
= {});
307 google::bigtable::admin::v2::ListInstancesRequest
const& request,
375 google::bigtable::admin::v2::Instance
const& instance,
414 google::bigtable::admin::v2::PartialUpdateInstanceRequest
const& request,
466 google::bigtable::admin::v2::DeleteInstanceRequest
const& request,
512 std::string
const& parent, std::string
const& cluster_id,
556 google::bigtable::admin::v2::CreateClusterRequest
const& request,
615 google::bigtable::admin::v2::GetClusterRequest
const& request,
645 std::string
const& parent,
Options opts
= {});
676 google::bigtable::admin::v2::ListClustersRequest
const& request,
762 google::bigtable::admin::v2::Cluster
const& cluster,
811 google::bigtable::admin::v2::PartialUpdateClusterRequest
const& request,
863 google::bigtable::admin::v2::DeleteClusterRequest
const& request,
897 std::string
const& parent, std::string
const& app_profile_id,
898 google::bigtable::admin::v2::AppProfile
const& app_profile,
930 google::bigtable::admin::v2::CreateAppProfileRequest
const& request,
989 google::bigtable::admin::v2::GetAppProfileRequest
const& request,
1029 std::string
const& parent,
Options opts
= {});
1069 google::bigtable::admin::v2::ListAppProfilesRequest request,
1104 google::bigtable::admin::v2::AppProfile
const& app_profile,
1142 google::bigtable::admin::v2::UpdateAppProfileRequest
const& request,
1171 google::bigtable::admin::v2::DeleteAppProfileRequest
const& request,
1264 std::string
const& resource,
google::iam::v1::Policy
const& policy,
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1288 IamUpdater
const& updater,
1352 std::string
const& resource, std::vector<std::string>
const& permissions,
1384 google::iam::v1::TestIamPermissionsRequest
const& request,
1423 std::string
const& parent,
Options opts
= {});
1464 google::bigtable::admin::v2::ListHotTabletsRequest request,
1472GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service for creating, configuring, and deleting Cloud Bigtable Instances and Clusters.
Definition: bigtable_instance_admin_client.h:66
future< StatusOr< google::bigtable::admin::v2::Cluster > > CreateCluster(std::string const &parent, std::string const &cluster_id, google::bigtable::admin::v2::Cluster const &cluster, Options opts={})
Creates a cluster within an instance.
BigtableInstanceAdminClient(std::shared_ptr< BigtableInstanceAdminConnection > connection, Options opts={})
StreamRange< google::bigtable::admin::v2::HotTablet > ListHotTablets(std::string const &parent, Options opts={})
Lists hot tablets in a cluster, within the time range provided.
StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions(std::string const &resource, std::vector< std::string > const &permissions, Options opts={})
Returns permissions that the caller has on the specified instance resource.
StatusOr< google::bigtable::admin::v2::ListClustersResponse > ListClusters(google::bigtable::admin::v2::ListClustersRequest const &request, Options opts={})
Lists information about clusters in an instance.
StatusOr< google::bigtable::admin::v2::AppProfile > CreateAppProfile(std::string const &parent, std::string const &app_profile_id, google::bigtable::admin::v2::AppProfile const &app_profile, Options opts={})
Creates an app profile within an instance.
Status DeleteCluster(std::string const &name, Options opts={})
Deletes a cluster from an instance.
StreamRange< google::bigtable::admin::v2::AppProfile > ListAppProfiles(google::bigtable::admin::v2::ListAppProfilesRequest request, Options opts={})
Lists information about app profiles in an instance.
StatusOr< google::bigtable::admin::v2::AppProfile > CreateAppProfile(google::bigtable::admin::v2::CreateAppProfileRequest const &request, Options opts={})
Creates an app profile within an instance.
StatusOr< google::iam::v1::Policy > GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request, Options opts={})
Gets the access control policy for an instance resource.
StatusOr< google::bigtable::admin::v2::ListInstancesResponse > ListInstances(google::bigtable::admin::v2::ListInstancesRequest const &request, Options opts={})
Lists information about instances in a project.
future< StatusOr< google::bigtable::admin::v2::Cluster > > UpdateCluster(google::bigtable::admin::v2::Cluster const &request, Options opts={})
Updates a cluster within an instance.
BigtableInstanceAdminClient(BigtableInstanceAdminClient const &)=default
future< StatusOr< google::bigtable::admin::v2::Instance > > CreateInstance(google::bigtable::admin::v2::CreateInstanceRequest const &request, Options opts={})
Create an instance within a project.
friend bool operator==(BigtableInstanceAdminClient const &a, BigtableInstanceAdminClient const &b)
Definition: bigtable_instance_admin_client.h:85
future< StatusOr< google::bigtable::admin::v2::AppProfile > > UpdateAppProfile(google::bigtable::admin::v2::UpdateAppProfileRequest const &request, Options opts={})
Updates an app profile within an instance.
StatusOr< google::bigtable::admin::v2::AppProfile > GetAppProfile(google::bigtable::admin::v2::GetAppProfileRequest const &request, Options opts={})
Gets information about an app profile.
StreamRange< google::bigtable::admin::v2::AppProfile > ListAppProfiles(std::string const &parent, Options opts={})
Lists information about app profiles in an instance.
BigtableInstanceAdminClient & operator=(BigtableInstanceAdminClient const &)=default
future< StatusOr< google::bigtable::admin::v2::AppProfile > > UpdateAppProfile(google::bigtable::admin::v2::AppProfile const &app_profile, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates an app profile within an instance.
future< StatusOr< google::bigtable::admin::v2::Cluster > > PartialUpdateCluster(google::bigtable::admin::v2::PartialUpdateClusterRequest const &request, Options opts={})
Partially updates a cluster within a project.
StatusOr< google::bigtable::admin::v2::Instance > UpdateInstance(google::bigtable::admin::v2::Instance const &request, Options opts={})
Updates an instance within a project.
future< StatusOr< google::bigtable::admin::v2::Cluster > > CreateCluster(google::bigtable::admin::v2::CreateClusterRequest const &request, Options opts={})
Creates a cluster within an instance.
StatusOr< google::bigtable::admin::v2::Cluster > GetCluster(std::string const &name, Options opts={})
Gets information about a cluster.
Status DeleteCluster(google::bigtable::admin::v2::DeleteClusterRequest const &request, Options opts={})
Deletes a cluster from an instance.
StatusOr< google::bigtable::admin::v2::Instance > GetInstance(std::string const &name, Options opts={})
Gets information about an instance.
StatusOr< google::iam::v1::Policy > GetIamPolicy(std::string const &resource, Options opts={})
Gets the access control policy for an instance resource.
StreamRange< google::bigtable::admin::v2::HotTablet > ListHotTablets(google::bigtable::admin::v2::ListHotTabletsRequest request, Options opts={})
Lists hot tablets in a cluster, within the time range provided.
BigtableInstanceAdminClient(BigtableInstanceAdminClient &&)=default
StatusOr< google::iam::v1::Policy > SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &request, Options opts={})
Sets the access control policy on an instance resource.
Status DeleteInstance(google::bigtable::admin::v2::DeleteInstanceRequest const &request, Options opts={})
Delete an instance from a project.
StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &request, Options opts={})
Returns permissions that the caller has on the specified instance resource.
StatusOr< google::bigtable::admin::v2::ListInstancesResponse > ListInstances(std::string const &parent, Options opts={})
Lists information about instances in a project.
future< StatusOr< google::bigtable::admin::v2::Instance > > CreateInstance(std::string const &parent, std::string const &instance_id, google::bigtable::admin::v2::Instance const &instance, std::map< std::string, google::bigtable::admin::v2::Cluster > const &clusters, Options opts={})
Create an instance within a project.
StatusOr< google::iam::v1::Policy > SetIamPolicy(std::string const &resource, google::iam::v1::Policy const &policy, Options opts={})
Sets the access control policy on an instance resource.
StatusOr< google::bigtable::admin::v2::AppProfile > GetAppProfile(std::string const &name, Options opts={})
Gets information about an app profile.
StatusOr< google::bigtable::admin::v2::ListClustersResponse > ListClusters(std::string const &parent, Options opts={})
Lists information about clusters in an instance.
BigtableInstanceAdminClient & operator=(BigtableInstanceAdminClient &&)=default
Status DeleteAppProfile(google::bigtable::admin::v2::DeleteAppProfileRequest const &request, Options opts={})
Deletes an app profile from an instance.
future< StatusOr< google::bigtable::admin::v2::Instance > > PartialUpdateInstance(google::bigtable::admin::v2::Instance const &instance, google::protobuf::FieldMask const &update_mask, Options opts={})
Partially updates an instance within a project.
StatusOr< google::bigtable::admin::v2::Cluster > GetCluster(google::bigtable::admin::v2::GetClusterRequest const &request, Options opts={})
Gets information about a cluster.
~BigtableInstanceAdminClient()
friend bool operator!=(BigtableInstanceAdminClient const &a, BigtableInstanceAdminClient const &b)
Definition: bigtable_instance_admin_client.h:89
future< StatusOr< google::bigtable::admin::v2::Cluster > > PartialUpdateCluster(google::bigtable::admin::v2::Cluster const &cluster, google::protobuf::FieldMask const &update_mask, Options opts={})
Partially updates a cluster within a project.
StatusOr< google::bigtable::admin::v2::Instance > GetInstance(google::bigtable::admin::v2::GetInstanceRequest const &request, Options opts={})
Gets information about an instance.
Status DeleteInstance(std::string const &name, Options opts={})
Delete an instance from a project.
StatusOr< google::iam::v1::Policy > SetIamPolicy(std::string const &resource, IamUpdater const &updater, Options opts={})
Updates the IAM policy for resource using an optimistic concurrency control loop.
future< StatusOr< google::bigtable::admin::v2::Instance > > PartialUpdateInstance(google::bigtable::admin::v2::PartialUpdateInstanceRequest const &request, Options opts={})
Partially updates an instance within a project.
The BigtableInstanceAdminConnection object for BigtableInstanceAdminClient.
Definition: bigtable_instance_admin_connection.h:65
friend friend class future
Definition: bigtable_instance_admin_client.h:35