15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_CLIENT_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_ADMIN_CLIENT_H
18#include "google/cloud/bigtable/admin/bigtable_table_admin_connection.h"
19#include "google/cloud/bigtable/client_options.h"
20#include "google/cloud/bigtable/internal/admin_client_params.h"
21#include "google/cloud/bigtable/version.h"
22#include "google/cloud/options.h"
29GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
32
33
34
35
36
37
38
39
40
41
42class AdminClient
final {
45 std::string
const&
project() {
return project_; };
51 AdminClient(std::string project, bigtable_internal::AdminClientParams params)
52 : project_(std::move(project)),
54 background_threads_(std::move(params.background_threads)),
56 std::move(params.options)
)) {}
69
70
71
72
73
74GOOGLE_CLOUD_CPP_DEPRECATED(
"use `MakeAdminClient` instead")
78GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
ValueTypeT< T > const & get() const
std::string const & project()
The project id that this AdminClient works on.
Definition: admin_client.h:45
friend std::shared_ptr< AdminClient > MakeAdminClient(std::string, Options)
Create a new table admin client configured via options.
Configuration options for the Bigtable Client.
Definition: client_options.h:55
Implements the API to administer tables in a Cloud Bigtable instance.
Definition: table_admin.h:147
The BigtableTableAdminConnection object for BigtableTableAdminClient.
Definition: bigtable_table_admin_connection.h:64
Definition: bigtable_instance_admin_client.h:35
std::shared_ptr< BigtableTableAdminConnection > MakeBigtableTableAdminConnection(Options options={})
A factory function to construct an object of type BigtableTableAdminConnection.
Contains all the Cloud Bigtable C++ client APIs.
Definition: admin_client.h:28
std::shared_ptr< AdminClient > CreateDefaultAdminClient(std::string project, ClientOptions options)
Create a new table admin client configured via options.