Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Types | Public Member Functions | Static Public Attributes | List of all members
google::cloud::bigtable::v0::ClusterConfig Class Reference

Specify the initial configuration for a new cluster. More...

#include <google/cloud/bigtable/cluster_config.h>

Public Types

using StorageType = google::bigtable::admin::v2::StorageType
 

Public Member Functions

 ClusterConfig (google::bigtable::admin::v2::Cluster cluster)
 
 ClusterConfig (std::string location, std::int32_t serve_nodes, StorageType storage)
 
std::string const & GetName ()
 
google::bigtable::admin::v2::Cluster const & as_proto () const &
 
google::bigtable::admin::v2::Cluster && as_proto () &&
 

Static Public Attributes

static constexpr StorageType STORAGE_TYPE_UNSPECIFIED
 
static constexpr StorageType SSD = google::bigtable::admin::v2::SSD
 
static constexpr StorageType HDD = google::bigtable::admin::v2::HDD
 

Detailed Description

Specify the initial configuration for a new cluster.

Definition at line 26 of file cluster_config.h.

Member Typedef Documentation

◆ StorageType

using google::cloud::bigtable::v0::ClusterConfig::StorageType = google::bigtable::admin::v2::StorageType

Definition at line 28 of file cluster_config.h.

Constructor & Destructor Documentation

◆ ClusterConfig() [1/2]

google::cloud::bigtable::v0::ClusterConfig::ClusterConfig ( google::bigtable::admin::v2::Cluster  cluster)
inline

Definition at line 34 of file cluster_config.h.

◆ ClusterConfig() [2/2]

google::cloud::bigtable::v0::ClusterConfig::ClusterConfig ( std::string  location,
std::int32_t  serve_nodes,
StorageType  storage 
)
inline

Definition at line 37 of file cluster_config.h.

Member Function Documentation

◆ as_proto() [1/2]

google::bigtable::admin::v2::Cluster const& google::cloud::bigtable::v0::ClusterConfig::as_proto ( ) const &
inline

Definition at line 47 of file cluster_config.h.

◆ as_proto() [2/2]

google::bigtable::admin::v2::Cluster&& google::cloud::bigtable::v0::ClusterConfig::as_proto ( ) &&
inline

Definition at line 52 of file cluster_config.h.

◆ GetName()

std::string const& google::cloud::bigtable::v0::ClusterConfig::GetName ( )
inline

Definition at line 44 of file cluster_config.h.

Member Data Documentation

◆ HDD

constexpr ClusterConfig::StorageType google::cloud::bigtable::v0::ClusterConfig::HDD = google::bigtable::admin::v2::HDD
static

Definition at line 32 of file cluster_config.h.

◆ SSD

constexpr ClusterConfig::StorageType google::cloud::bigtable::v0::ClusterConfig::SSD = google::bigtable::admin::v2::SSD
static

Definition at line 31 of file cluster_config.h.

◆ STORAGE_TYPE_UNSPECIFIED

constexpr ClusterConfig::StorageType google::cloud::bigtable::v0::ClusterConfig::STORAGE_TYPE_UNSPECIFIED
static
Initial value:
=
google::bigtable::admin::v2::STORAGE_TYPE_UNSPECIFIED

Definition at line 29 of file cluster_config.h.