19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_BIGTABLE_INSTANCE_ADMIN_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_BIGTABLE_INSTANCE_ADMIN_CONNECTION_H
22#include "google/cloud/bigtable/admin/bigtable_instance_admin_connection_idempotency_policy.h"
23#include "google/cloud/bigtable/admin/internal/bigtable_instance_admin_retry_traits.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/future.h"
26#include "google/cloud/options.h"
27#include "google/cloud/polling_policy.h"
28#include "google/cloud/status_or.h"
29#include "google/cloud/stream_range.h"
30#include "google/cloud/version.h"
31#include <google/bigtable/admin/v2/bigtable_instance_admin.pb.h>
32#include <google/longrunning/operations.grpc.pb.h>
38GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
40using BigtableInstanceAdminRetryPolicy =
42 bigtable_admin_internal::BigtableInstanceAdminRetryTraits>;
44using BigtableInstanceAdminLimitedTimeRetryPolicy =
46 bigtable_admin_internal::BigtableInstanceAdminRetryTraits>;
48using BigtableInstanceAdminLimitedErrorCountRetryPolicy =
49 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
50 bigtable_admin_internal::BigtableInstanceAdminRetryTraits>;
53
54
55
56
57
58
59
60
61
62
63
64
71 virtual future<StatusOr<
google::bigtable::admin::v2::Instance>>
73 google::bigtable::admin::v2::CreateInstanceRequest
const& request);
76 google::bigtable::admin::v2::GetInstanceRequest
const& request);
78 virtual StatusOr<
google::bigtable::admin::v2::ListInstancesResponse>
80 google::bigtable::admin::v2::ListInstancesRequest
const& request);
83 google::bigtable::admin::v2::Instance
const& request);
85 virtual future<StatusOr<
google::bigtable::admin::v2::Instance>>
87 google::bigtable::admin::v2::PartialUpdateInstanceRequest
const& request);
90 google::bigtable::admin::v2::DeleteInstanceRequest
const& request);
93 google::bigtable::admin::v2::CreateClusterRequest
const& request);
96 google::bigtable::admin::v2::GetClusterRequest
const& request);
98 virtual StatusOr<
google::bigtable::admin::v2::ListClustersResponse>
102 google::bigtable::admin::v2::Cluster
const& request);
104 virtual future<StatusOr<
google::bigtable::admin::v2::Cluster>>
106 google::bigtable::admin::v2::PartialUpdateClusterRequest
const& request);
109 google::bigtable::admin::v2::DeleteClusterRequest
const& request);
112 google::bigtable::admin::v2::CreateAppProfileRequest
const& request);
115 google::bigtable::admin::v2::GetAppProfileRequest
const& request);
118 google::bigtable::admin::v2::ListAppProfilesRequest request);
120 virtual future<StatusOr<
google::bigtable::admin::v2::AppProfile>>
122 google::bigtable::admin::v2::UpdateAppProfileRequest
const& request);
125 google::bigtable::admin::v2::DeleteAppProfileRequest
const& request);
128 google::iam::v1::GetIamPolicyRequest
const& request);
131 google::iam::v1::SetIamPolicyRequest
const& request);
133 virtual StatusOr<
google::iam::v1::TestIamPermissionsResponse>
137 google::bigtable::admin::v2::ListHotTabletsRequest request);
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
166GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The BigtableInstanceAdminConnection object for BigtableInstanceAdminClient.
Definition: bigtable_instance_admin_connection.h:65
virtual Status DeleteInstance(google::bigtable::admin::v2::DeleteInstanceRequest const &request)
virtual StatusOr< google::bigtable::admin::v2::Instance > UpdateInstance(google::bigtable::admin::v2::Instance const &request)
virtual future< StatusOr< google::bigtable::admin::v2::AppProfile > > UpdateAppProfile(google::bigtable::admin::v2::UpdateAppProfileRequest const &request)
virtual future< StatusOr< google::bigtable::admin::v2::Cluster > > PartialUpdateCluster(google::bigtable::admin::v2::PartialUpdateClusterRequest const &request)
virtual future< StatusOr< google::bigtable::admin::v2::Instance > > PartialUpdateInstance(google::bigtable::admin::v2::PartialUpdateInstanceRequest const &request)
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request)
virtual StatusOr< google::bigtable::admin::v2::AppProfile > CreateAppProfile(google::bigtable::admin::v2::CreateAppProfileRequest const &request)
virtual Options options()
Definition: bigtable_instance_admin_connection.h:69
virtual StatusOr< google::bigtable::admin::v2::AppProfile > GetAppProfile(google::bigtable::admin::v2::GetAppProfileRequest const &request)
virtual Status DeleteAppProfile(google::bigtable::admin::v2::DeleteAppProfileRequest const &request)
virtual future< StatusOr< google::bigtable::admin::v2::Cluster > > UpdateCluster(google::bigtable::admin::v2::Cluster const &request)
virtual StatusOr< google::bigtable::admin::v2::ListInstancesResponse > ListInstances(google::bigtable::admin::v2::ListInstancesRequest const &request)
virtual StatusOr< google::bigtable::admin::v2::Cluster > GetCluster(google::bigtable::admin::v2::GetClusterRequest const &request)
virtual StreamRange< google::bigtable::admin::v2::AppProfile > ListAppProfiles(google::bigtable::admin::v2::ListAppProfilesRequest request)
virtual future< StatusOr< google::bigtable::admin::v2::Instance > > CreateInstance(google::bigtable::admin::v2::CreateInstanceRequest const &request)
virtual StreamRange< google::bigtable::admin::v2::HotTablet > ListHotTablets(google::bigtable::admin::v2::ListHotTabletsRequest request)
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &request)
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &request)
virtual ~BigtableInstanceAdminConnection()=0
virtual Status DeleteCluster(google::bigtable::admin::v2::DeleteClusterRequest const &request)
virtual StatusOr< google::bigtable::admin::v2::Instance > GetInstance(google::bigtable::admin::v2::GetInstanceRequest const &request)
virtual StatusOr< google::bigtable::admin::v2::ListClustersResponse > ListClusters(google::bigtable::admin::v2::ListClustersRequest const &request)
virtual future< StatusOr< google::bigtable::admin::v2::Cluster > > CreateCluster(google::bigtable::admin::v2::CreateClusterRequest const &request)
friend friend class future
Definition: bigtable_instance_admin_client.h:35
std::shared_ptr< BigtableInstanceAdminConnection > MakeBigtableInstanceAdminConnection(Options options={})
A factory function to construct an object of type BigtableInstanceAdminConnection.