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

Convenient shorthands for the instance types.

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

Convenient shorthands for the instance state.

using StateType = ::google::bigtable::admin::v2::Instance::State
 
constexpr static StateType STATE_NOT_KNOWN
 
constexpr static StateType READY
 
constexpr static StateType CREATING
 
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 ()
 

Detailed Description

Specify the initial configuration for updating an instance.

Definition at line 33 of file instance_update_config.h.

Member Typedef Documentation

◆ InstanceType

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

Definition at line 42 of file instance_update_config.h.

◆ StateType

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

Definition at line 56 of file instance_update_config.h.

Constructor & Destructor Documentation

◆ InstanceUpdateConfig()

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

Definition at line 36 of file instance_update_config.h.

Member Function Documentation

◆ as_proto() [1/2]

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

Definition at line 113 of file instance_update_config.h.

◆ as_proto() [2/2]

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

Definition at line 107 of file instance_update_config.h.

◆ emplace_label()

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

Definition at line 99 of file instance_update_config.h.

◆ GetName()

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

Definition at line 117 of file instance_update_config.h.

◆ insert_label()

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

Definition at line 92 of file instance_update_config.h.

◆ set_display_name()

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

Definition at line 86 of file instance_update_config.h.

◆ set_name()

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

Definition at line 80 of file instance_update_config.h.

◆ set_state()

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

Definition at line 74 of file instance_update_config.h.

◆ set_type()

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

Definition at line 68 of file instance_update_config.h.

Member Data Documentation

◆ CREATING

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

Definition at line 64 of file instance_update_config.h.

◆ DEVELOPMENT

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

Definition at line 50 of file instance_update_config.h.

◆ PRODUCTION

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

Definition at line 47 of file instance_update_config.h.

◆ READY

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

Definition at line 61 of file instance_update_config.h.

◆ STATE_NOT_KNOWN

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

Definition at line 58 of file instance_update_config.h.

◆ TYPE_UNSPECIFIED

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

Definition at line 44 of file instance_update_config.h.