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::InstanceUpdateConfig Class Reference

Specify the initial configuration for updating an instance. More...

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

Public Member Functions

 InstanceUpdateConfig (Instance instance)
 
InstanceUpdateConfigset_type (InstanceType type)
 
InstanceUpdateConfigset_state (StateType state)
 
InstanceUpdateConfigset_name (std::string name)
 
InstanceUpdateConfigset_display_name (std::string display_name)
 
InstanceUpdateConfiginsert_label (std::string const &key, std::string const &value)
 
InstanceUpdateConfigemplace_label (std::string const &key, std::string value)
 
google::bigtable::admin::v2::PartialUpdateInstanceRequest const & as_proto () const &
 
google::bigtable::admin::v2::PartialUpdateInstanceRequest && as_proto () &&
 
std::string const & GetName ()
 

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
 

Convenient shorthands for the instance state.

using StateType = ::google::bigtable::admin::v2::Instance::State
 
static constexpr StateType STATE_NOT_KNOWN
 
static constexpr StateType READY
 
static constexpr StateType CREATING
 

Detailed Description

Specify the initial configuration for updating an instance.

Member Typedef Documentation

◆ InstanceType

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

◆ StateType

using google::cloud::bigtable::InstanceUpdateConfig::StateType = ::google::bigtable::admin::v2::Instance::State

Constructor & Destructor Documentation

◆ InstanceUpdateConfig()

google::cloud::bigtable::InstanceUpdateConfig::InstanceUpdateConfig ( Instance  instance)
inline

Member Function Documentation

◆ as_proto() [1/2]

google::bigtable::admin::v2::PartialUpdateInstanceRequest && google::cloud::bigtable::InstanceUpdateConfig::as_proto ( ) &&
inline

◆ as_proto() [2/2]

google::bigtable::admin::v2::PartialUpdateInstanceRequest const & google::cloud::bigtable::InstanceUpdateConfig::as_proto ( ) const &
inline

◆ emplace_label()

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

◆ GetName()

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

◆ insert_label()

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

◆ set_display_name()

InstanceUpdateConfig & google::cloud::bigtable::InstanceUpdateConfig::set_display_name ( std::string  display_name)
inline

◆ set_name()

InstanceUpdateConfig & google::cloud::bigtable::InstanceUpdateConfig::set_name ( std::string  name)
inline

◆ set_state()

InstanceUpdateConfig & google::cloud::bigtable::InstanceUpdateConfig::set_state ( StateType  state)
inline

◆ set_type()

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

Member Data Documentation

◆ CREATING

constexpr StateType google::cloud::bigtable::InstanceUpdateConfig::CREATING
staticconstexpr
Initial value:
=
google::bigtable::admin::v2::Instance::CREATING

◆ DEVELOPMENT

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

◆ PRODUCTION

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

◆ READY

constexpr StateType google::cloud::bigtable::InstanceUpdateConfig::READY
staticconstexpr
Initial value:
=
google::bigtable::admin::v2::Instance::READY

◆ STATE_NOT_KNOWN

constexpr StateType google::cloud::bigtable::InstanceUpdateConfig::STATE_NOT_KNOWN
staticconstexpr
Initial value:
=
google::bigtable::admin::v2::Instance::STATE_NOT_KNOWN

◆ TYPE_UNSPECIFIED

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