Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::bigtable::InstanceConfig Class Reference

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

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

Public Member Functions

 InstanceConfig (std::string instance_id, std::string display_name, std::map< std::string, ClusterConfig > clusters)
 
InstanceConfigset_type (InstanceType type)
 
InstanceConfiginsert_label (std::string const &key, std::string const &value)
 
InstanceConfigemplace_label (std::string const &key, std::string value)
 
google::bigtable::admin::v2::CreateInstanceRequest const & as_proto () const &
 
google::bigtable::admin::v2::CreateInstanceRequest && as_proto () &&
 

Convenient shorthands for the instance types.

using InstanceType = ::google::bigtable::admin::v2::Instance::Type
 
static constexpr InstanceType TYPE_UNSPECIFIED
 
static constexpr InstanceType PRODUCTION
 
static constexpr InstanceType DEVELOPMENT
 

Detailed Description

Specify the initial configuration for a new instance.

Member Typedef Documentation

◆ InstanceType

using google::cloud::bigtable::InstanceConfig::InstanceType = ::google::bigtable::admin::v2::Instance::Type

Constructor & Destructor Documentation

◆ InstanceConfig()

google::cloud::bigtable::InstanceConfig::InstanceConfig ( std::string  instance_id,
std::string  display_name,
std::map< std::string, ClusterConfig clusters 
)
inline

Member Function Documentation

◆ as_proto() [1/2]

google::bigtable::admin::v2::CreateInstanceRequest && google::cloud::bigtable::InstanceConfig::as_proto ( ) &&
inline

◆ as_proto() [2/2]

google::bigtable::admin::v2::CreateInstanceRequest const & google::cloud::bigtable::InstanceConfig::as_proto ( ) const &
inline

◆ emplace_label()

InstanceConfig & google::cloud::bigtable::InstanceConfig::emplace_label ( std::string const &  key,
std::string  value 
)
inline

◆ insert_label()

InstanceConfig & google::cloud::bigtable::InstanceConfig::insert_label ( std::string const &  key,
std::string const &  value 
)
inline

◆ set_type()

InstanceConfig & google::cloud::bigtable::InstanceConfig::set_type ( InstanceType  type)
inline

Member Data Documentation

◆ DEVELOPMENT

constexpr InstanceType google::cloud::bigtable::InstanceConfig::DEVELOPMENT
staticconstexpr
Initial value:
=
google::bigtable::admin::v2::Instance::DEVELOPMENT

◆ PRODUCTION

constexpr InstanceType google::cloud::bigtable::InstanceConfig::PRODUCTION
staticconstexpr
Initial value:
=
google::bigtable::admin::v2::Instance::PRODUCTION

◆ TYPE_UNSPECIFIED

constexpr InstanceType google::cloud::bigtable::InstanceConfig::TYPE_UNSPECIFIED
staticconstexpr
Initial value:
=
google::bigtable::admin::v2::Instance::TYPE_UNSPECIFIED