Google Cloud Bigtable C++ Client  1.32.1
A C++ Client Library for Google Cloud Bigtable
Public Types | Public Member Functions | Static Public Attributes | List of all members
google::cloud::bigtable::v1::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

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

Detailed Description

Specify the initial configuration for a new cluster.

Definition at line 28 of file cluster_config.h.

Member Typedef Documentation

◆ StorageType

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

Definition at line 30 of file cluster_config.h.

Constructor & Destructor Documentation

◆ ClusterConfig() [1/2]

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

Definition at line 40 of file cluster_config.h.

◆ ClusterConfig() [2/2]

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

Definition at line 43 of file cluster_config.h.

Member Function Documentation

◆ as_proto() [1/2]

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

Definition at line 66 of file cluster_config.h.

◆ as_proto() [2/2]

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

Definition at line 62 of file cluster_config.h.

◆ GetName()

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

Definition at line 60 of file cluster_config.h.

◆ SetEncryptionConfig() [1/2]

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

Definition at line 50 of file cluster_config.h.

◆ SetEncryptionConfig() [2/2]

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

Definition at line 55 of file cluster_config.h.

Member Data Documentation

◆ HDD

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

Definition at line 37 of file cluster_config.h.

◆ SSD

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

Definition at line 35 of file cluster_config.h.

◆ STORAGE_TYPE_UNSPECIFIED

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

Definition at line 32 of file cluster_config.h.