Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
google::cloud::bigtable::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)
 
ClusterConfigSetEncryptionConfig (google::bigtable::admin::v2::Cluster::EncryptionConfig encryption) &
 
ClusterConfig && SetEncryptionConfig (google::bigtable::admin::v2::Cluster::EncryptionConfig encryption) &&
 
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.

Member Typedef Documentation

◆ StorageType

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

Constructor & Destructor Documentation

◆ ClusterConfig() [1/2]

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

◆ ClusterConfig() [2/2]

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

Member Function Documentation

◆ as_proto() [1/2]

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

◆ as_proto() [2/2]

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

◆ GetName()

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

◆ SetEncryptionConfig() [1/2]

ClusterConfig & google::cloud::bigtable::ClusterConfig::SetEncryptionConfig ( google::bigtable::admin::v2::Cluster::EncryptionConfig  encryption) &
inline

◆ SetEncryptionConfig() [2/2]

ClusterConfig && google::cloud::bigtable::ClusterConfig::SetEncryptionConfig ( google::bigtable::admin::v2::Cluster::EncryptionConfig  encryption) &&
inline

Member Data Documentation

◆ HDD

constexpr StorageType google::cloud::bigtable::ClusterConfig::HDD = google::bigtable::admin::v2::HDD
staticconstexpr

◆ SSD

constexpr StorageType google::cloud::bigtable::ClusterConfig::SSD = google::bigtable::admin::v2::SSD
staticconstexpr

◆ STORAGE_TYPE_UNSPECIFIED

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