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

Definition at line 32 of file instance_update_config.h.

Member Typedef Documentation

◆ InstanceType

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

Definition at line 40 of file instance_update_config.h.

◆ StateType

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

Definition at line 51 of file instance_update_config.h.

Constructor & Destructor Documentation

◆ InstanceUpdateConfig()

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

Definition at line 34 of file instance_update_config.h.

Member Function Documentation

◆ as_proto() [1/2]

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

Definition at line 99 of file instance_update_config.h.

◆ as_proto() [2/2]

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

Definition at line 105 of file instance_update_config.h.

◆ emplace_label()

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

Definition at line 91 of file instance_update_config.h.

◆ GetName()

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

Definition at line 109 of file instance_update_config.h.

◆ insert_label()

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

Definition at line 84 of file instance_update_config.h.

◆ set_display_name()

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

Definition at line 78 of file instance_update_config.h.

◆ set_name()

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

Definition at line 72 of file instance_update_config.h.

◆ set_state()

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

Definition at line 66 of file instance_update_config.h.

◆ set_type()

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

Definition at line 60 of file instance_update_config.h.

Member Data Documentation

◆ CREATING

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

Definition at line 56 of file instance_update_config.h.

◆ DEVELOPMENT

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

Definition at line 45 of file instance_update_config.h.

◆ PRODUCTION

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

Definition at line 43 of file instance_update_config.h.

◆ READY

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

Definition at line 54 of file instance_update_config.h.

◆ STATE_NOT_KNOWN

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

Definition at line 52 of file instance_update_config.h.

◆ TYPE_UNSPECIFIED

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

Definition at line 41 of file instance_update_config.h.